﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Outfit:wght@500;700&family=Oswald:wght@700&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

input,
button,
textarea,
select {
    font: inherit;
}

:root {
    --color-gray: #EAE6E0;
    --color-black: #2C2C2C;
    --color-pink1: #FF637E;
    --color-pink2: #FF2056;
    --color-pink3: #F0596D;
    --color-green: #94D030;
    --color-blue: #3D94FC;
    --color-orange: #FFA300;
    --color-purple: #AD46FF;
    --color-white: #FFF;
    --color-gradient: linear-gradient(180deg, #FF637E 0%, #BEDBFF 100%);
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    font-family: 'Outfit', sans-serif;
    color: #333;
    scrollbar-gutter: stable;
    /* Reserve space for scrollbar to prevent layout shift */
}

.background-iframe {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: -1;

}

.wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.0) 0%, rgba(255, 255, 255, 0.7) 80%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.0) 0%, rgba(255, 255, 255, 0.7) 80%);
}

header {
    padding: 0 40px;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-gray);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;

    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav li {
    perspective: 1000px;
}

nav a {
    display: block;
    text-decoration: none;
    color: var(--color-black);
    font-weight: 500;
    position: relative;
    width: auto;
    padding: 0 14px;
    height: 20px;
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1);
}

nav li:hover a {
    transform: rotateX(90deg);
}

nav a span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1rem, 1vw + 0.75rem, 1.125rem);
    font-weight: bold;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

nav a span:first-child {
    position: relative;

    transform: translateZ(10px);
}

nav a span:last-child {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotateX(-90deg) translateZ(10px);
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(0.6rem, 1vw + 0.75rem, 0.8rem);
    color: var(--color-pink3);
    font-weight: bold;
}

#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 102;

}

.menu-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-black);
    transition: all 0.3s ease-in-out;
}

.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #FF637E, #BEDBFF);
}

.hero-container {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 20;

}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 50px 100px;
}

.hero-logo {
    height: 25vh;
    width: auto;
    max-width: 90%;
    object-fit: contain;

}

.hero-logo-wrapper {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    width: auto;
    max-width: 100%;
}

.hero-logo-animated {
    position: absolute;
    top: 60%;
    left: 0%;
    width: 45%;
    height: auto;
    transform-origin: center center;
    animation: logoSwing 3s ease-in-out infinite alternate;
}

@keyframes logoSwing {
    0% {
        transform: translate(-50%, -50%) rotate(-15deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(20deg);
    }
}

.hero-message {
    height: auto;
    max-width: 90%;
    object-fit: contain;
    margin-top: 50px;
}

h1,
h2,
h1,
h2,
p {
    font-family: 'Noto Sans JP', sans-serif;
    text-align: left;
    margin: 0;
}

h1 {
    font-size: clamp(1.1rem, 3.5vw + 0.5rem, 2.5rem);
    font-weight: bold;
    letter-spacing: -0.02em;
    line-height: 1.29;
    margin-bottom: 1rem;
    background: var(--color-white);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: clamp(1.5rem, 3vw + 1rem, 2.25rem);
    font-weight: bold;
    letter-spacing: -0.02em;
    line-height: 1.63;
    color: var(--color-white);
}

h3 {
    font-size: clamp(1rem, 2vw + 0.5rem, 1.375rem);
    font-weight: bold;
    line-height: 1.5;
}

p {
    font-size: clamp(1rem, 1vw + 0.75rem, 1.125rem);
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.en-title {
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.5rem, 3vw + 1rem, 2.25rem);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.6px;
}

.footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 60px 20px 20px;
    font-family: "Noto Sans JP", sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo {
    flex: 0 0 auto;
}

.footer-logo img {
    width: 260px;
    height: auto;
}

.footer-right {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-nav {
    display: flex;
    gap: 60px;
}

.footer-nav-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-nav-col a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.footer-nav-col a:hover {
    color: var(--color-pink1);
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.social-icon {
    color: #fff;
    width: 24px;
    height: 24px;
    transition: opacity 0.3s;
}

.social-icon:hover {
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
}

.footer-bottom small {
    font-size: 12px;
    color: #888;
}

.sub-message {
    background-color: var(--color-pink1);
    color: var(--color-white);
}

.sub-message-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 20px 40px;

}

.sub-text {
    flex: 1;
    padding-right: 50px;
    text-align: left;
}

.sub-image {
    flex: 0.8;
    text-align: center;
}

.sub-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.sub-curve {
    line-height: 0;
    width: 100%;
    position: relative;
    bottom: -1px;

}

.sub-curve img {
    width: 100%;
    height: auto;
    display: block;
}

.title-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.title-header p {
    margin-top: -20px;
}

.services-curve {
    width: 100%;
    line-height: 0;
    margin-top: -3px;
    position: relative;
    z-index: 2;
    transform: translateZ(0);

    will-change: transform;
}

.services-curve img {
    width: 100%;
    height: auto;
    display: block;
}

.services {
    padding: 80px 2rem;
    text-align: center;
    background-color: transparent;
}

.section-title {
    font-size: clamp(1.5rem, 3vw + 1rem, 2.25rem);
    font-weight: 700;
    color: var(--color-black);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
}

.section-subtitle {
    font-size: clamp(0.8rem, 1vw + 0.75rem, 1rem);
    color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
}

.section-subtitle::before,
.section-subtitle::after {
    content: "";
    display: block;
    width: 30px;
    height: 1px;
    background-color: var(--color-black);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

}

.service-image-container {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.service-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: contain;
}

.service-icon {
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 110px;
    height: 90px;
    aspect-ratio: 11/9;
    top: -35px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.service-icon.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-item:nth-child(3) .service-icon {
    aspect-ratio: 110/75;
    width: 110px;
    height: auto;
    margin-left: 10px;
    top: -25px;
}

.service-title {

    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.5rem, 3vw + 1rem, 2.25rem);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.6px;
    text-transform: capitalize;
    margin: 10px 0;
}

.service-desc {
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(1rem, 1vw + 0.75rem, 1.125rem);
    font-style: normal;
    font-weight: 500;
    line-height: 1.7;
    text-align: left;
    color: var(--last-color-black, #2C2C2C);
    width: 100%;
    padding: 0 10px;
}

.service-web {
    color: var(--color-blue);
}

.service-graphic {
    color: var(--color-green);
}

.service-illustration {
    color: var(--color-orange);
    text-align: center;
}

.service-motion {
    color: var(--color-purple);
}

.process-speech-bubble {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 50;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.speech-bubble-right {
    top: 0;
    left: 30px;
}

.process-scroll-wrapper {
    position: relative;
    height: 400vh;

}

.process {
    min-height: 50vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 80px 0;
    position: sticky;
    top: 50px;
    overflow: hidden;
    background-color: #fff;
    z-index: 10;
}

.process-cards-container {
    display: flex;
    height: 100%;

    align-items: center;
    padding-left: calc(50vw - 300px);
    padding-right: calc(50vw - 300px);
    overflow: visible;
    width: max-content;
    padding-top: 0;
    transform-origin: left center;
}

.process-card {
    height: 700px;
    width: 600px;
    flex-shrink: 0;
    position: relative;
    margin-right: -40px;

}

html,
body {
    cursor: url('../images/click/cat_hand_cursor.svg') 16 16, auto;
}

a,
button,
.clickable,
.solution-card,
.form-submit,
input[type="submit"] {
    cursor: url('../images/click/cat_hand_cursor.svg') 16 16, pointer !important;
}

.solution-card *,
.form-submit * {
    cursor: inherit;
}

.process-card-left,
.process-card-right {
    width: 600px;
}

.process-card-slant {
    width: 635px;
}

.process-card-bg {
    position: absolute;
    left: 0;
    top: 109px;
    width: 100%;
    height: 600px;
    display: block;
}

.process-card-bg-right {
    transform: rotate(180deg);
    top: 62px;
}

.process-badge-slant {
    left: 232px;
}

.process-badge-right {
    left: 182px;
}

.process-free-badge {
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    margin-bottom: -15px;
    padding-bottom: 4px;
    z-index: 3;
}

.process-free-badge p {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 23px;
    color: black;
    text-align: center;
    margin: 0;
}

.process-step-badge {
    background-color: #ff2056;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 50px;
    margin-bottom: -15px;
    z-index: 2;
}

.process-step-badge.no-free-badge {
    margin-top: 19px;
}

.process-step-badge p {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 52px;
    color: white;
    text-align: center;
    letter-spacing: -0.64px;
    margin: 0;
}

.process-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -15px;
    transform: rotate(180deg);
    z-index: 1;
    height: 52px;
    width: 31px;
}

.process-arrow svg {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0 6.7% 25% 6.7%;
}

.process-content {
    position: absolute;
    display: flex;
    flex-direction: column;
    padding: 10px 30px;
    width: 529px;
    z-index: 10;
    gap: 5px;
}

.process-content-left {
    left: 28px;
    padding-left: 10px;
    padding-right: 30px;
    top: 130px;
}

.process-content-slant {
    left: 81px;
    top: 130px;
}

.process-content-right {
    left: 59px;
    padding-left: 30px;
    padding-right: 10px;
    top: 146px;
}

.process {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
    padding: 80px 2rem;
    padding-top: 100px;

}

.process::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-gray);

    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.process.is-visible::before {
    transform: scaleX(1);
}

.process-step-number {
    display: flex;
    align-items: baseline;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    line-height: 1;

    color: #bbb;
    padding-right: 5px;
    gap: 10px;
}

.process-step-text {
    font-size: 16px;
    letter-spacing: -3.2px;
    margin-right: -5px;
}

.process-step-num {
    font-size: 24px;
    letter-spacing: -4.8px;
    margin-right: -5px;
}

.process-description {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 27px;
    color: #0a0a0a;
    margin: 0;

}

.process-white-box {
    position: absolute;
    background-color: white;
    height: 59px;
    width: 241px;
    top: 321px;
}

.process-white-box-left {
    left: 168px;
}

.process-white-box-right {
    left: 168px;
}

.process-image-container {
    position: absolute;
    top: 280px;
    overflow: hidden;
    z-index: 10;
}

.process-image-left {
    left: 50%;
    transform: translateX(-50%);
    width: 451px;
    height: 353px;
}

.process-image-slant {
    left: 79px;
    width: 453px;
    height: 354.522px;
}

.process-image-right {
    left: 89px;
    width: 453px;
    height: 355px;
}

.process-image-container img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.process-cards-container::-webkit-scrollbar {
    height: 12px;
}

.process-cards-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.process-cards-container::-webkit-scrollbar-thumb {
    background: #ff2056;
    border-radius: 6px;
}

.process-cards-container::-webkit-scrollbar-thumb:hover {
    background: #e01b4a;
}

.ani1 {
    opacity: 0;

    transition: opacity 0.5s;
}

.ani1.is-visible {
    opacity: 1;
    animation: ani1 1.0s linear 0s 1;
}

@keyframes ani1 {
    0% {
        transform: scale(0.8, 1) translate(0%, -100%);
    }

    10% {
        transform: scale(0.8, 1) translate(0%, -15%);
    }

    20% {
        transform: scale(1.4, 0.6) translate(0%, 30%);
    }

    30% {
        transform: scale(0.9, 1.1) translate(0%, -10%);
    }

    40% {
        transform: scale(0.95, 1.2) translate(0%, -30%);
    }

    50% {
        transform: scale(0.95, 1.2) translate(0%, -10%);
    }

    60% {
        transform: scale(1.1, 0.9) translate(0%, 5%);
    }

    70% {
        transform: scale(1.0, 1.0) translate(0%, 0%);
    }

    100% {
        transform: scale(1.0, 1.0) translate(0%, 0%);
    }
}

.ani2 {
    opacity: 0;
    transition: opacity 0.5s;
}

.ani2.is-visible {
    opacity: 1;
    animation: ani2 0.8s linear 0s 1;
}

@keyframes ani2 {
    0% {
        transform: scale(1.0, 1.0) translate(0%, 0%);
    }

    15% {
        transform: scale(0.9, 0.9) translate(0%, 5%);
    }

    30% {
        transform: scale(1.3, 0.8) translate(0%, 10%);
    }

    50% {
        transform: scale(0.8, 1.3) translate(0%, -10%);
    }

    70% {
        transform: scale(1.1, 0.9) translate(0%, 5%);
    }

    100% {
        transform: scale(1.0, 1.0) translate(0%, 0%);
    }
}

.works {
    padding: 80px 2rem;
    text-align: center;
    background-color: transparent;
}

/* Page Header (Works & Privacy Policy) */
.page-header {
    background-color: var(--color-pink3);
    color: #fff;
    padding: 160px 200px 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
}

.page-header p {
    font-size: 16px;
    opacity: 0.9;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 2px;
}

@media screen and (max-width: 1024px) {
    .page-header {
        padding: 140px 20px 60px;
    }
}

/* Works Filter Tabs */
.works-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
    list-style: none;
    padding: 0;
}

.works-tab {
    padding: 8px 24px;
    border-radius: 50px;
    background-color: #f5f5f5;
    color: #555;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
    text-transform: capitalize;
}

.works-tab:hover {
    background-color: #eee;
}

.works-tab.active {
    color: #fff;
}

.works-tab.active[data-filter="all"] {
    background-color: var(--color-pink3);
    border-color: var(--color-pink3);
}

.works-tab.active[data-filter="web"] {
    background-color: var(--color-blue);
    border-color: var(--color-blue);
}

.works-tab.active[data-filter="graphic"] {
    background-color: var(--color-green);
    border-color: var(--color-green);
}

.works-tab.active[data-filter="illustration"] {
    background-color: var(--color-orange);
    border-color: var(--color-orange);
}

.works-tab.active[data-filter="movie"] {
    background-color: var(--color-purple);
    border-color: var(--color-purple);
}

/* Hide inactive works items */
.works-grid-item.hide {
    display: none;
}

.works .title-header {
    margin-bottom: 2rem;
}

.works-view-all {
    margin-bottom: 4rem;
}

.btn-view-all {
    display: inline-block;
    background-color: var(--color-pink3);
    color: var(--color-white);
    padding: 1rem 4rem;
    text-decoration: none;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: clamp(1rem, 1vw + 0.5rem, 1.2rem);

    transition: background-color 0.3s ease;
}

.btn-view-all:hover {
    background-color: var(--color-pink2);
}

.works-slider-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;

}

.works-slider-container {
    width: 100%;
    overflow: hidden;
}

.works-slider-track {
    display: flex;
    gap: 3rem;

    will-change: transform;
}

.works-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.works-grid-item,
.works-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    text-decoration: none;
    flex: 0 0 calc(33.333% - 2rem);
    padding: 10px 20px;
    min-width: 300px;
}

.works-image {
    width: 100%;
    overflow: hidden;
    background-color: #f0f0f0;
}

.works-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.works-grid-item:hover .works-image img,
.works-item:hover .works-image img {
    transform: scale(1.05);
}

.works-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.works-tag {
    display: inline-block;
    padding: 0.1rem 1rem;
    border-radius: 50px;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.tag-graphic {
    background-color: var(--color-green);
}

.tag-web {
    background-color: var(--color-blue);
}

.tag-illustration {
    background-color: var(--color-orange);
}

.tag-motion,
.tag-movie {
    background-color: var(--color-purple);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--color-black);
    padding: 0;
}

.slider-arrow:hover {
    background-color: var(--color-black);
    color: white;
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s, transform 0.7s;
}

.fade-in.is-visible {
    opacity: 1;
    transform: none;
}

.fade-in2 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.9s, transform 0.9s;
    transition-delay: 0.7s;
}

.fade-in2.is-visible {
    opacity: 1;
    transform: none;
}

.diamond {
    position: absolute;
    background: #fff;
    transform: rotate(45deg);
    pointer-events: none;

}

.d-far {
    width: 20px;
    height: 20px;
    filter: blur(0px);

    opacity: 0.4;
    z-index: 1;
    animation: float 10s infinite ease-in-out;
}

.d-mid {
    width: 50px;
    height: 50px;
    filter: blur(4px);

    opacity: 0.3;
    z-index: 5;
    animation: float 8s infinite ease-in-out reverse;
}

.d-near {
    width: 120px;
    height: 120px;
    filter: blur(12px);

    opacity: 0.2;
    z-index: 10;
    animation: float 6s infinite ease-in-out;
}

@keyframes float {

    0%,
    100% {
        transform: rotate(45deg) translate(0, 0);
    }

    50% {
        transform: rotate(45deg) translate(20px, -20px);
    }
}

.solutions {
    background-color: #ECE8E4;

    padding: 80px 20px;
    width: 100%;
}

.solutions-container {
    max-width: 1080px;
    margin: 0 auto;
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.solutions-column {
    display: flex;
    flex-direction: column;
}

.character-area {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 15px;
    height: 150px;

}

.char-img-wrapper img {
    max-width: 220px;
    height: auto;

}

.char-bubble {
    background: #fff;
    border-radius: 50px;
    padding: 15px 30px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    margin-bottom: 50px;
}

.char-bubble p {
    margin-top: 12px;
    font-weight: 800;
}

.char-bubble::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fff;
    transform: rotate(45deg);
    bottom: 0;
    margin-bottom: 5px;
}

.bubble-left::after {
    left: -8px;

    bottom: 50%;
    transform: translateY(50%) rotate(45deg);

}

.solutions-col-left .character-area {
    flex-direction: row;
}

.solutions-col-left .char-bubble::after {
    left: -8px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    bottom: auto;
}

.solutions-col-right .character-area {
    flex-direction: row;

}

.solutions-col-right .char-bubble::after {
    right: -8px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.solutions-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.solution-card {
    background: #fff;
    border-radius: 0;
    padding: 15px 25px;
    border: 2px solid #E57D8F;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    position: relative;
    transition: transform 0.2s;
}

.solutions-col-right .solution-card {
    border-color: #8C9EFF;
    border-width: 2px;

    border-style: solid;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    margin: 0;
}

.case-badge {
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
}

.badge-red {
    background-color: #FF6B81;
}

.badge-blue {
    background-color: #5C95FF;
}

.badge-green {
    background-color: #8BC34A;
}

.badge-orange {
    background-color: #FFA726;
}

.badge-purple {
    background-color: #AB47BC;
}

.solutions-col-left .solution-card {
    border: 1px solid var(--color-pink1);
    cursor: pointer;
}

.solutions-col-left .solution-card:hover {
    background-color: rgba(255, 32, 86, 0.3);

}

.solutions-col-right .solution-card:nth-child(1) {
    border: 1px solid var(--color-blue);
    cursor: pointer;
}

.solutions-col-right .solution-card:nth-child(1):hover {
    background-color: rgba(92, 149, 255, 0.3);

}

.solutions-col-right .solution-card:nth-child(2) {
    border: 1px solid var(--color-green);
    cursor: pointer;
}

.solutions-col-right .solution-card:nth-child(2):hover {
    background-color: rgba(139, 195, 74, 0.3);

}

.solutions-col-right .solution-card:nth-child(3) {
    border: 1px solid var(--color-orange);
    cursor: pointer;
}

.solutions-col-right .solution-card:nth-child(3):hover {
    background-color: rgba(255, 167, 38, 0.3);

}

.solutions-col-right .solution-card:nth-child(4) {
    border: 1px solid var(--color-purple);
    cursor: pointer;
}

.solutions-col-right .solution-card:nth-child(4):hover {
    background-color: rgba(171, 71, 188, 0.3);

}

.view-more {
    font-size: 12px;
    color: #555;
    text-decoration: none;
}

.card-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-top: 8px;
}

.modal {
    display: none;

    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(80, 80, 80, 0.8);

    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;

}

.modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;

    position: relative;
    border-top: 8px solid #ff2056;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    padding: 60px;

    overflow-y: auto;
    border-radius: 4px;

}

#works-modal .modal-content {
    background: transparent;
    padding: 0;
    margin: 5vh auto;
    border-top: none;
    box-shadow: none;
    max-width: 1000px;
    width: 80%;
}

.close-btn {
    position: sticky;
    top: 20px;
    float: right;
    /* To position it inside the scrolling content near the top edge */
    color: #aaa;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    z-index: 100;
    margin-top: -40px;
    margin-right: -30px;
}

.close-btn2 {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #aaa;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    z-index: 100;
}

.close-btn:hover,
.close-btn2:hover {
    color: #000;
}

.modal-header-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: sticky;
    top: -60px;
    background-color: #fff;
    z-index: 10;
    padding-top: 60px;
    padding-bottom: 20px;
    margin-top: -60px;
}

.modal-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-header-group .case-badge {
    font-size: 14px;
    padding: 6px 16px;
}

.modal-subtitle {
    font-size: 18px;
    color: #999;
    font-weight: bold;
}

.modal-title {
    font-size: 32px;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;

    color: #333;
    font-family: inherit;

}

.modal-description {
    font-size: 16px;
    line-height: 2;
    color: #333;
    margin-bottom: 40px;
}

.modal-gray-box {
    background: #f4f4f4;

    padding: 30px;
    border-radius: 8px;
}

.modal-gray-box h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.modal-gray-box p {
    font-size: 16px;
    line-height: 1.8;
}

.about {
    padding: 80px 20px;
    background-color: #fff;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.about-profile {
    display: flex;
    align-items: center;
    gap: 50px;
    justify-content: center;
}

.about-image {
    flex: 0 0 200px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
}

.about-text p {
    font-size: 15px;
    line-height: 2;
    margin-bottom: 20px;
    text-align: justify;
    font-feature-settings: "palt";
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-message {
    display: flex;
    align-items: center;
    gap: 50px;
    justify-content: center;
}

.about-message-text {
    flex: 1;
}

.about-message-text p {
    font-size: 15px;
    line-height: 2;
    text-align: justify;
    font-feature-settings: "palt";
}

.about-logo {
    flex: 0 0 250px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.about-logo img {
    width: 100%;
    height: auto;
    max-width: 200px;
    margin: 0 auto;
}

.contact {
    padding: 80px 0 0;

    background-color: transparent;
    display: flex;
    justify-content: center;
    overflow: hidden;

}

.contact-cat-bg {
    background-image: url('../images/07contact/cat_silhouette.png');
    background-repeat: no-repeat;
    background-size: 100% auto;

    width: 100%;
    max-width: none;

    padding: 18% 10% 12%;

    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-position: top center;

}

.contact-container {
    width: 100%;
    max-width: 600px;
    position: relative;
    z-index: 1;
    padding-top: 100px;
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-header .section-title {
    color: #fff;

}

.contact-header .section-subtitle {
    color: #fff;
}

.contact-header .section-subtitle::before,
.contact-header .section-subtitle::after {
    background-color: white;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 14px;
    font-family: "Noto Sans JP", sans-serif;
    color: #333;

}

.form-group label .required {
    margin-left: 5px;
    color: #333;
}

input[type='text'],
input[type='email'],
textarea {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

textarea {
    height: 150px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500 !important;
    position: relative;
    padding-left: 30px;
    user-select: none;
    line-height: 1.5;
    color: #333;

}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
}

.checkmark.circle {
    border-radius: 50%;
}

.checkmark.square {
    border-radius: 3px;
}

.custom-checkbox:hover input~.checkmark {
    background-color: #f0f0f0;
}

.custom-checkbox input:checked~.checkmark {
    background-color: #fff;
    border-color: #333;
}

.checkmark.circle:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked~.checkmark.circle:after {
    display: block;
}

.checkmark.circle:after {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
}

.checkmark.square:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked~.checkmark.square:after {
    display: block;
}

.checkmark.square:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #333;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Radio Buttons */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.custom-radio {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500 !important;
    position: relative;
    padding-left: 30px;
    user-select: none;
    line-height: 1.5;
    color: #333;
}

.custom-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.radiomark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
}

.custom-radio:hover input~.radiomark {
    background-color: #f0f0f0;
}

.custom-radio input:checked~.radiomark {
    background-color: #fff;
    border-color: #333;
}

.radiomark:after {
    content: "";
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
}

.custom-radio input:checked~.radiomark:after {
    display: block;
}

/* Hearing Grid */
.hearing-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #fdfdfd;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #eee;
}

.hearing-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hearing-label {
    font-size: 14px;
    font-weight: 500;
    color: #555;
}

.custom-select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
    background-color: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M12 13.172l4.95-4.95 1.414 1.414L12 16 5.636 9.636 7.05 8.222z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
}

.privacy-group {
    margin-top: 30px;
    margin-bottom: 30px;
}

.form-submit {
    text-align: center;
}

.submit-btn {
    display: inline-block;
    background-color: #fff;
    color: #FF637E;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    padding: 12px 60px;
    border: 1px solid #FF637E;

    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.submit-btn:hover {
    background-color: #ffeeF0;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.contact-form-wrapper {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    background-color: transparent;
    padding-bottom: 50px;
}

.row-radio {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.hearing-preferences .hearing-row {
    margin-bottom: 5px;
}

.hearing-preferences .hearing-label {
    font-size: 12px;
    margin-bottom: 8px;
    font-weight: 500;
}

.divider {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
    margin: 15px 0;
}

@media (max-width: 1024px) {

    .menu-icon {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.95);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease-in-out;
        z-index: 101;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    #menu-toggle:checked~nav {
        right: 0;
    }

    #menu-toggle:checked~.menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    #menu-toggle:checked~.menu-icon span:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked~.menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    nav a {
        height: auto;
        transform-style: flat;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
    }

    nav li:hover a {
        transform: none;
    }

    nav a span {
        position: static;
        transform: none;
        width: auto;
        height: auto;
    }

    nav a span:first-child {
        transform: none;
        font-size: clamp(1.5rem, 3vw + 1rem, 2.25rem);
        margin-bottom: 5px;
    }

    nav a span:last-child {
        position: static;
        transform: none;
        font-size: clamp(0.8rem, 1vw + 0.75rem, 1rem);
        color: var(--color-black);
        font-weight: normal;
        margin-top: -8px;
    }

    .hero-container {
        height: 100vh;
    }

    .hero-content {
        padding: 40px 20px;
    }

    .hero-logo {
        height: 22vh;

    }

    .hero-message {
        max-width: 85%;

    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .sub-message-container {
        padding: 60px 20px 20px;
    }

    .works-item {
        flex: 0 0 calc(50% - 1.5rem);

    }

    .about .title-header {
        margin-bottom: 50px;
    }

    .about-profile {
        flex-direction: row;
        align-items: flex-start;
        gap: 2rem;
    }

    .about-image {
        flex: 0 0 300px;

    }

    .contact-container {
        padding-top: 0;
    }
}

@media (max-width:834px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .character-area {
        height: auto;

    }
}

@media (max-width: 768px) {

    .services,
    .works,
    .solutions,
    .about,
    .process {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .process-cards-container {
        transform: none !important;

        padding-left: 20px;
        padding-right: 20px;
        gap: 20px;
        align-items: flex-start;

        height: auto;

        display: flex;
        flex-wrap: nowrap;
        overflow-x: scroll;

        -webkit-overflow-scrolling: touch;

        scroll-snap-type: x mandatory;
        padding-top: 90px;

        width: 100%;
        overflow-y: visible;
    }

    .process-scroll-wrapper {

        height: auto;
    }

    .process {
        position: static;

        overflow: visible;

    }

    .process-card {
        flex: 0 0 80vw;

        max-width: 320px;
        min-width: 300px;
        height: auto;

        display: flex;
        flex-direction: column;
        margin-right: 20px;

        background: #fff;
        border-radius: 20px;
        border: 3px solid #ff2056;
        overflow: visible;

        scroll-snap-align: center;

    }

    .process-card:last-child {
        margin-right: 20px;
    }

    .process-card-left,
    .process-card-right,
    .process-card-slant {
        width: 100%;

        max-width: none;
    }

    .process-card-bg {
        display: none;
    }

    .process-speech-bubble {
        position: absolute;
        top: -90px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 350px;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        z-index: 20;
    }

    .speech-bubble-right {
        left: 50%;
        top: -90px;
    }

    .process-speech-bubble img {
        width: 100%;

        height: auto;

        object-fit: contain;
    }

    .process-content {
        position: relative;
        inset: auto;

        width: 100%;
        padding: 20px 20px 10px 20px;
        order: 1;

    }

    .process-content-left,
    .process-content-right,
    .process-content-slant {
        left: auto;
        top: auto;
        padding: 20px 20px 10px 20px;
    }

    .process-step-number {
        margin-bottom: 10px;
    }

    .process-step-num {
        font-size: 20px;
    }

    .process-description {
        font-size: 14px;
        line-height: 1.6;
    }

    .process-image-container {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;

        order: 2;

        margin-top: auto;
        border-radius: 0 0 17px 17px;
        overflow: hidden;

    }

    .process-image-left,
    .process-image-right,
    .process-image-slant {
        left: auto;
        width: 100%;
        height: auto;

        transform: none;
    }

    .process-image-container img {
        position: static;

        inset: auto;
        width: 100%;

        height: auto;
        object-fit: contain;

        display: block;

    }

    .process-white-box {
        display: none;
    }

    .char-bubble {
        margin-bottom: 10px;
    }

    .char-img-wrapper img {
        max-width: 100px;
    }

    .card-desc {
        display: none;
    }

    .card-title {

        display: flex;
        flex-wrap: nowrap;
        overflow-x: scroll;

        -webkit-overflow-scrolling: touch;

        scroll-snap-type: x mandatory;
        width: 100%;
        overflow-y: visible;
    }

    .process-scroll-wrapper {

        height: auto;
    }

    .process {
        position: static;

        overflow: visible;

    }

    .process-card {
        flex: 0 0 80vw;

        max-width: 320px;
        min-width: 300px;
        height: auto;

        display: flex;
        flex-direction: column;
        margin-right: 20px;

        background: #fff;
        border-radius: 20px;
        border: 3px solid #ff2056;
        overflow: visible;

        scroll-snap-align: center;

    }

    .process-card:last-child {
        margin-right: 20px;
    }

    .process-card-left,
    .process-card-right,
    .process-card-slant {
        width: 100%;

        max-width: none;
    }

    .process-card-bg {
        display: none;
    }

    .process-speech-bubble {
        position: absolute;
        top: -90px;
        left: 0;
        right: 0;
        margin: auto;

        width: 100%;
        max-width: 350px;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        z-index: 20;
    }

    .process-speech-bubble.fade-in2 {
        transform: translateY(60px);

        transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
        transition-delay: 0.2s;

    }

    .process-speech-bubble.fade-in2.is-visible {
        transform: translateY(0);
    }

    .speech-bubble-right {
        left: 0;
        right: 0;
        margin: auto;
        top: -90px;
    }

    .process-speech-bubble img {
        width: 100%;

        height: auto;

        object-fit: contain;
    }

    .process-content {
        position: relative;
        inset: auto;

        width: 100%;
        padding: 20px 20px 10px 20px;
        order: 1;

    }

    .process-content-left,
    .process-content-right,
    .process-content-slant {
        left: auto;
        top: auto;
        padding: 20px 20px 10px 20px;
    }

    .process-step-number {
        margin-bottom: 10px;
    }

    .process-step-num {
        font-size: 20px;
    }

    .process-description {
        font-size: 14px;
        line-height: 1.6;
    }

    .process-image-container {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;

        order: 2;

        margin-top: auto;
        border-radius: 0 0 17px 17px;
        overflow: hidden;

    }

    .process-image-left,
    .process-image-right,
    .process-image-slant {
        left: auto;
        width: 100%;
        height: auto;

        transform: none;
    }

    .process-image-container img {
        position: static;

        inset: auto;
        width: 100%;

        height: auto;
        object-fit: contain;

        display: block;

    }

    .process-white-box {
        display: none;
    }

    .char-bubble {
        margin-bottom: 10px;
    }

    .char-img-wrapper img {
        max-width: 100px;
    }

    .card-desc {
        display: none;
    }

    .card-title {
        margin: 0.3rem 0 0rem 0;
    }

    .modal-content {
        padding: 30px 20px;
        width: 95%;
    }

    .modal-header-group {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 10px;
    }

    .modal-header-left {
        flex-direction: column;
        align-items: flex-start;
    }

    .modal-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .modal-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .about .title-header {
        margin-bottom: 20px;

    }

    .about-container {
        gap: 30px;
    }

    .about-profile {
        flex-direction: column;
        gap: 30px;
    }

    .about-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .about-message {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .about-logo {
        flex: 0 0 auto;
        width: 100%;
        max-width: 200px;
    }

    header {
        gap: 1rem;
        padding: 0 20px;
    }

    .hero-container {
        height: 100vh;
    }

    .hero-content {
        padding: 20px;
    }

    .hero-logo {
        height: 18vh;

        margin-bottom: 15px;
    }

    .hero-message {
        width: 90%;

        height: auto;
    }

    .hero-title {
        width: 90%;
    }

    .sub-message-container {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px 20px;
    }

    .sub-text {
        padding: 0 20px;
    }

    .sub-image {
        flex: 1;
        width: 80%;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .works-slider-wrapper {
        padding: 0 20px;
        overflow: visible;
    }

    .works-slider-container {
        overflow: visible;
    }

    .works-slider-track {
        display: flex;
        overflow-x: auto;
        gap: 20px;
        transform: none !important;

        scroll-snap-type: x mandatory;

        -webkit-overflow-scrolling: touch;
        padding-bottom: 20px;
        width: 100%;
    }

    .works-slider-track::-webkit-scrollbar {
        height: 6px;
        background: transparent;
    }

    .works-slider-track::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 3px;
    }

    .works-item {
        flex: 0 0 100%;

        max-width: none;
        min-width: 0;
        margin-right: 0;
        scroll-snap-align: center;
    }

    .works-view-all {
        margin-bottom: 1.5rem;
    }

    .slider-arrow {
        display: none;
    }


}

@media (min-width: 769px) and (max-height: 850px) {
    .process-card {
        transform: scale(0.8);
        transform-origin: center top;

        margin-right: -160px;
        margin-top: 80px;
    }
}

@media (max-height: 700px) {
    .process-cards-container {
        transform: scale(0.75);
    }
}

@media (max-height: 650px) {
    .process-cards-container {
        transform: scale(0.65);
    }
}

@media (min-width: 769px) {
    .contact-cat-bg {

        border-radius: 0;

    }

}

@media (max-width: 768px) {
    .contact-cat-bg {
        padding: 25% 6% 15%;

        width: 100%;

        aspect-ratio: auto;

        height: auto;
        min-height: 900px;

        background-size: 100% 100%;
        border-radius: 0;

    }

    .contact-header .section-title {
        font-size: 2rem;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-right {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .footer-nav-col {
        align-items: center;
    }

    .footer-logo img {
        width: 130px;
    }

    .hero-logo-wrapper {
        display: block;
        margin: 0 auto 20px auto;
        width: fit-content;
        text-align: center;
        padding-left: 40px;
    }

    .hero-logo-animated {
        top: 58%;
        left: 23%;
        width: 35%;
    }

    .close-btn {
        margin: 0;
    }
}

@media (max-width: 480px) {

    header {
        height: 60px;
    }

    .hero,
    .hero-container {
        height: 100svh;

        min-height: 100svh;
    }

    .hero-content {
        padding: 60px 20px 20px 20px;

        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hero-logo-animated {
        top: 58%;
        left: 27%;
        width: 28%;
    }

    .hero-logo {
        height: auto;
        width: 80%;

        max-width: 250px;
        padding-left: 45px;
    }

    .hero-message {
        height: auto;
        width: 90%;
        max-width: 320px;
        margin: 0 auto;
        margin-top: 30px;

    }

}

.section-padding-top {
    padding-top: 130px;
    padding-bottom: 100px;
}

.works-category {
    max-width: 1000px;
    margin: 0 auto 80px;

    padding: 0 20px;
}

.category-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    border-bottom: 2px solid #333;

    padding-bottom: 10px;
    margin-bottom: 30px;
    width: 100%;
}

.category-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-black);
    margin: 0;
    line-height: 1;
    letter-spacing: 0.05em;
}

.category-subtitle {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 0.9rem;
    color: var(--color-black);
    font-weight: 500;
}

.works-info {
    width: 100%;
    text-align: left;
}

.works-item-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.4;
    font-family: 'Noto Sans JP', sans-serif;
}

.works-item-desc {
    font-size: 0.9rem;
    color: #ffffff;
    line-height: 1.6;
    font-family: 'Noto Sans JP', sans-serif;
}

.works-page .works-view-all {
    display: none;
}

@media screen and (max-width: 768px) {
    .works-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 20px;
        padding-bottom: 20px;

        margin: 0 -20px;

        padding: 0 20px 20px;

        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .works-grid::-webkit-scrollbar {
        display: none;

    }

    .works-grid-item {
        flex: 0 0 85vw;

        max-width: 320px;
        scroll-snap-align: center;

    }

    .section-padding-top {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .works-category {
        margin-bottom: 60px;
    }

    .category-header {
        margin-bottom: 20px;
    }
}

.works-modal-content {
    border-top: none !important;
    overflow: hidden !important;
    display: flex;
    flex-direction: column;
}

.works-modal-content .modal-scroll-area {
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.works-modal-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    flex: 1;
    min-height: 0;
}

.works-modal-image {
    width: 100%;
    line-height: 0;
    margin-bottom: 10px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.works-modal-image::-webkit-scrollbar {
    width: 8px;
}

.works-modal-image::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.works-modal-image::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.works-modal-image::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.works-modal-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.works-modal-image-horizontal {
    width: 100%;
    line-height: 0;
    margin-bottom: 10px;
    flex: 1;
    min-height: 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    text-align: center;
}

.works-modal-image-horizontal::-webkit-scrollbar {
    height: 8px;
    /* Horizontal scrollbar thickness */
}

.works-modal-image-horizontal::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.works-modal-image-horizontal::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.works-modal-image-horizontal::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.works-modal-image-horizontal img {
    height: 65vh;
    /* Fit within view height so user doesn't have to scroll vertically to see the image */
    width: auto;
    display: inline-block;
    border-radius: 4px;
}

.works-modal-info {
    text-align: left;
    width: 100%;
}

.works-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
    font-family: "Noto Sans JP", sans-serif;
}

.works-modal-divider {
    border: 0;
    border-top: 1px solid #ddd;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.page-top {
    position: fixed;
    right: 20px;
    bottom: -60px;

    width: 60px;

    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.page-top span.top-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    background-color: var(--color-gray);

    -webkit-mask-image: url('../images/topbotton/button.svg');
    mask-image: url('../images/topbotton/button.svg');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    z-index: -1;
}

.page-top-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-top: 10px;

    width: 100%;
    height: 100%;
    font-family: 'Outfit', sans-serif;
}

.page-top-inner svg {
    width: 20px;
    height: 20px;
    margin-bottom: 2px;
}

.page-top-text {
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 0.05em;
}

.page-top.show {
    bottom: 80px;
    right: 80px;

    opacity: 1;
    visibility: visible;
}

@media screen and (max-width: 768px) {
    .page-top.show {
        bottom: 20px;
        right: 20px;

    }

}

.page-top:hover {
    transform: translateY(-3px);
}

.page-top:hover span.top-icon {
    background: var(--color-gradient);

}

/* Horizontal Modal Slider */

.works-modal-slider .modal-content {
    position: relative;
    width: 80%;
    max-width: 1000px;
    margin: 5vh auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.modal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1010;
    transition: background 0.3s;
}

.modal-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.works-modal-slider .modal-scroll-area {
    padding: 0;
    overflow-x: hidden;
    display: block;
    width: 100%;
    background: transparent;
    border-radius: 0;
}

.works-modal-image-horizontal {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
}

.works-modal-image-horizontal::-webkit-scrollbar {
    display: none;
}

.works-modal-image-horizontal img {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    scroll-snap-align: center;
    padding: 0;
}

.works-modal-slider .close-btn2 {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #fff;
    font-size: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 100;
}

.works-item-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 15px;
    text-align: left;
    padding: 0 15px;
}

.works-modal-slider .works-item-desc {
    color: #ffffff;
    text-align: left;
}

.works-modal-slider .modal-content {
    overflow: hidden;
    overflow-y: auto;
    background: transparent;
    box-shadow: none;
    border-top: none;
    max-height: 95vh;
}

.page-header {
    padding: 140px 20px 60px;
}

@media (max-width: 900px) {
    .works-modal-slider .modal-content {
        width: 100%;
        overflow: hidden;
    }

    .modal-prev {
        left: 10px;
    }

    .modal-next {
        right: 10px;
    }
}

@media screen and (max-width: 768px) {
    .page-header {
        padding: 100px 20px 20px;
    }

    .works {
        padding: 50px 20px 20px;
    }
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 20px;
    background-color: #f9f9f9;
}

.breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    font-family: 'Noto Sans JP', sans-serif;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    color: #888;
}

.breadcrumb li a {
    color: var(--color-pink3, #e58296);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb li a:hover {
    color: #d66479;
    text-decoration: underline;
}

.breadcrumb li+li {
    margin-left: 10px;
}

.breadcrumb li[aria-current="page"] {
    color: #333;
}

@media screen and (max-width: 768px) {
    .breadcrumb-inner {
        padding: 0 15px;
    }

    .breadcrumb ol {
        font-size: 0.8rem;
    }
}