@charset "UTF-8";

:root {
    --main-color: #434343;
    --bg-color: #FFFFFF;
    --font-en: "Times New Roman", Times, serif;
    --font-jp: "Noto Serif JP", serif;
    --font-jp-gothic: "Noto Serif JP", serif;
    --header-height: 80px;
    --text-xs: 0.8rem;
    --text-sm: 0.9rem;
    --text-base: 1rem;
    --text-md: 1.1rem;
    --text-lg: 1.5rem;
    --text-xl: 2rem;
    --text-2xl: 3rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--main-color);
    font-family: var(--font-jp);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    font-size: 16px;
    position: relative;
}

body.modal-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

.en-font {
    font-family: var(--font-en);
}

.section-title {
    font-family: var(--font-en);
    font-size: var(--text-2xl);
    text-align: left;
    margin-bottom: 4rem;
    font-weight: normal;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.section-title .ja-caption {
    display: block;
    font-family: var(--font-jp);
    font-size: var(--text-base);
    color: rgba(67, 67, 67, 0.5);
    font-weight: normal;
    margin-bottom: 0.5rem;
    margin-top: 0;
    letter-spacing: 0.02em;
}

.subsection-title {
    font-family: var(--font-en);
    font-size: var(--text-xl);
    text-align: left;
    margin-bottom: 3rem;
    font-weight: normal;
    letter-spacing: 0.02em;
    color: var(--main-color);
    position: relative;
    display: inline-block;
    line-height: 1.2;
}

.subsection-title .ja-caption {
    display: block;
    font-family: var(--font-jp);
    font-size: var(--text-sm);
    color: rgba(67, 67, 67, 0.5);
    font-weight: normal;
    margin-bottom: 0.3rem;
    margin-top: 0;
    letter-spacing: 0.02em;
}

.scroll-reveal {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease;
    will-change: clip-path, opacity;
}

.scroll-reveal.is-visible {
    opacity: 1;
    clip-path: inset(0 0 0 0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-container-limit {
    max-width: 900px;
    margin: 0 auto;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    z-index: 1005;
    transition: transform 0.4s ease;
    border-bottom: none;
}

.header.hide {
    transform: translateY(-100%);
}

.logo {
    display: block;
        margin-right: 0;
    color: var(--main-color);
    z-index: 1002;
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    width: 150px;
        height: auto;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
}

.logo.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.logo:hover {
    opacity: 0.7;
}

.menu-btn {
    cursor: pointer;
    z-index: 1002;
    width: 30px;
    height: 20px;
    position: relative;
    border: none;
    background: transparent;
    padding: 0;
    appearance: none;
}

.menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--main-color);
    position: absolute;
    transition: all 0.3s ease;
}

.menu-btn:focus-visible {
    outline: 2px solid var(--main-color);
    outline-offset: 6px;
}

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

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

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

.menu-btn.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

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

.menu-btn.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.nav-overlay {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    clip-path: inset(0 0 100% 0);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1001;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
    clip-path: inset(0 0 0 0);
}

.nav-list {
    text-align: center;
}

.nav-list li {
    margin: 1.5rem 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.nav-overlay.active .nav-list li {
    opacity: 1;
    transform: translateY(0);
}

.nav-overlay.active .nav-list li:nth-child(1) {
    transition-delay: 0.1s;
}

.nav-overlay.active .nav-list li:nth-child(2) {
    transition-delay: 0.15s;
}

.nav-overlay.active .nav-list li:nth-child(3) {
    transition-delay: 0.2s;
}

.nav-overlay.active .nav-list li:nth-child(4) {
    transition-delay: 0.25s;
}

.nav-overlay.active .nav-list li:nth-child(5) {
    transition-delay: 0.3s;
}

.nav-overlay.active .nav-list li:nth-child(6) {
    transition-delay: 0.35s;
}

.nav-list a {
    font-family: var(--font-en);
    font-size: 1.5rem;
    color: var(--main-color);
    display: inline-block;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.nav-list a:not(.nav-contact-btn)::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--main-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.nav-list a:not(.nav-contact-btn):hover {
    opacity: 0.6;
}

.nav-list a:not(.nav-contact-btn):hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}


.nav-list .nav-contact-wrapper {
    margin-top: 3rem;
}

.nav-list .nav-contact-btn {
    border: 1px solid var(--main-color);
    padding: 1rem 4rem;
    border-radius: 0;
    font-size: 1.2rem;
    letter-spacing: 0.02em;
    transition: all 0.4s ease;
}

.nav-list .nav-contact-btn:hover {
    background-color: var(--main-color);
    color: #FFFFFF;
    opacity: 1;
}

.hero {
    min-height: 100vh;
    min-height: 100svh;
    height: 100vh;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    position: relative;
}

.hero-logo {
    width: 550px;
    max-width: 80%;
    opacity: 0;
    animation: heroFadeIn 2.5s ease-out forwards;
}

.hero-logo img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: scrollFadeIn 1s ease 2.8s forwards;
}

@keyframes scrollFadeIn {
    to {
        opacity: 1;
    }
}

.scroll-text {
    font-family: var(--font-en);
    font-size: var(--text-xs);
    letter-spacing: 0.02em;
    margin-bottom: 15px;
    color: var(--main-color);
    opacity: 0.8;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background-color: var(--main-color);
    animation: scrollLineLoop 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
    transform-origin: top;
}

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

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

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

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

.section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 8.5rem 0 6rem;
}

body.home main > section.section:not(.contact-section) {
    min-height: auto;
}

body.home main > section.hero + section.section {
    padding-bottom: 4.5rem;
}

body.home main > section.hero + section.section + section.section {
    padding-top: 6rem;
}

body.business-page main > section.section.bg-gray {
    min-height: auto;
}

.bg-gray {
    background-color: #F9F9F9;
}

.white-bg {
    background-color: #FFFFFF !important;
}

.contact-section {
    min-height: 40vh;
    height: auto;
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #F9F9F9;
    color: var(--main-color);
    position: relative;
}

.contact-action-btn {
    display: inline-block;
    border: 1px solid var(--main-color);
    padding: 1rem 4rem;
    border-radius: 0;
    font-family: var(--font-jp);
    font-size: 1.2rem;
    letter-spacing: 0.02em;
    color: var(--main-color);
    background-color: transparent;
    text-decoration: none;
    transition: all 0.4s ease;
    cursor: pointer;
}

.contact-action-btn:hover {
    background-color: var(--main-color);
    color: #FFFFFF;
    opacity: 1;
}

.contact-message {
    font-size: var(--text-md);
    margin: 0 auto 2rem;
    color: var(--main-color);
    font-family: var(--font-jp);
    line-height: 1.8;
    max-width: 34em;
    text-wrap: pretty;
}

.contact-section-inner {
    text-align: center;
}

.modal-title {
    text-align: center;
    margin-bottom: 3rem;
}

.policy-content {
    text-align: justify;
}

.policy-heading {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.5;
}

.thanks-copy {
    max-width: 700px;
}

.thanks-lead {
    font-size: var(--text-md);
    line-height: 2;
    margin-bottom: 1.25rem;
}

.thanks-note {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(67, 67, 67, 0.75);
    margin-bottom: 3rem;
}

.btn-wrapper {
    text-align: right;
    margin-top: 3rem;
}

.btn-wrapper.left {
    text-align: left;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0;
    border: none;
    border-radius: 0;
    font-family: var(--font-jp);
    font-size: var(--text-base);
    letter-spacing: 0.02em;
    color: var(--main-color);
    background: transparent;
    box-shadow: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: relative;
    cursor: pointer;
}


.btn::after {
    content: '→';
    font-family: var(--font-jp);
    margin-left: 15px;
    font-weight: normal;
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn:hover {
    opacity: 0.6;
    text-shadow: none;
}

.btn:hover::after {
    transform: translateX(10px);
}

.btn:focus-visible,
.contact-action-btn:focus-visible,
.nav-list .nav-contact-btn:focus-visible {
    outline: 2px solid var(--main-color);
    outline-offset: 6px;
}

.btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.btn.btn-back::after {
    display: none;
}

.btn.btn-back::before {
    display: inline-block;
    content: '←';
    font-family: var(--font-jp);
    margin-right: 15px;
    font-weight: normal;
    transition: transform 0.3s ease;
}

.btn.btn-back:hover::before {
    transform: translateX(-10px);
}

.news-item {
    display: flex;
    border-bottom: 1px solid #ddd;
    padding: 1.5rem 1.5rem;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    cursor: pointer;
}

.news-item:focus-visible {
    outline: 2px solid var(--main-color);
    outline-offset: -2px;
}

.news-item:hover {
    background-color: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
}

.news-meta-wrapper {
    display: flex;
    align-items: center;
    width: 280px;
    flex-shrink: 0;
    gap: 1rem;
    margin-right: 1rem;
}

.news-date {
    font-family: var(--font-en);
    font-size: var(--text-base);
    transition: color 0.3s ease;
}

.news-category {
    font-size: var(--text-xs);
    width: 120px;
    display: inline-block;
    text-align: center;
    padding: 0.2em 0;
    border: 1px solid currentColor;
    border-radius: 0;
    white-space: nowrap;
    opacity: 0.7;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.news-title {
    font-size: var(--text-md);
    transition: color 0.3s ease;
    flex-grow: 1;
}

.news-list-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #ddd;
}

.news-list-card {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    grid-template-areas:
        "image meta"
        "image content";
    column-gap: 2rem;
    row-gap: 0.75rem;
    cursor: pointer;
    padding: 2rem 1.5rem;
    border-bottom: 1px solid #ddd;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.news-list-card:focus-visible {
    outline: 2px solid var(--main-color);
    outline-offset: -2px;
}

.news-list-card:hover {
    background-color: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
}

.news-list-card:hover .news-summary {
    color: #eee;
}

.news-list-card:hover .news-read-more {
    color: #fff;
    opacity: 1;
}

.news-list-card .news-meta-wrapper {
    grid-area: meta;
    width: auto;
    margin: 0;
    gap: 0.75rem;
}

.news-list-image {
    grid-area: image;
    width: 300px;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-list-image img {
    width: 60%;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.news-list-image.photo {
    background-color: transparent;
    border: none;
    display: block;
    }

.news-list-image.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-list-card:hover .news-list-image img {
    transform: scale(1.05);
}

.news-list-content {
    grid-area: content;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.news-list-card .news-title {
    font-size: var(--text-lg);
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 0.5rem;
    line-height: 1.45;
}

.news-summary {
    font-size: var(--text-sm);
    color: #666;
    margin-top: 0;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.news-read-more {
    font-family: var(--font-jp);
    font-size: var(--text-sm);
    color: var(--main-color);
    display: inline-flex;
    align-items: center;
    opacity: 0.7;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: flex-end;
}

.news-read-more::after {
    content: '→';
    font-family: var(--font-jp);
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.news-list-card:hover .news-read-more::after {
    transform: translateX(5px);
}

.breadcrumb {
    margin-bottom: 2rem;
}

.breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: #666;
    font-size: 0.85rem;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    line-height: 1.6;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: ">";
    color: rgba(67, 67, 67, 0.4);
    margin-right: 0.5rem;
}

.breadcrumb-item a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--main-color);
    border-bottom-color: var(--main-color);
}

.breadcrumb-item[aria-current="page"] {
    color: var(--main-color);
    opacity: 0.8;
}

.news-detail-header {
    border-bottom: 1px solid #ddd;
    padding-bottom: 2rem;
    margin-bottom: 3rem;
}

.news-detail-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: #666;
}

.news-detail-date {
    font-family: var(--font-en);
    margin-bottom: 0;
    display: block;
}

.news-detail-title {
    font-size: var(--text-xl);
    font-weight: bold;
    line-height: 1.4;
}

.news-detail-content {
    line-height: 2;
    font-size: var(--text-base);
    white-space: pre-line;
    text-align: justify;
    margin-bottom: 5rem;
}

.news-detail-image-wrapper {
    width: 100%;
    margin-bottom: 4rem;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.news-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.capabilities-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-bottom: 6rem;
}

.capability-item {
    border-top: 1px solid #ddd;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.capability-header {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
}

.capability-id {
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: normal;
    color: var(--main-color);
    opacity: 0.3;
    line-height: 1;
}

.capability-title {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.4;
}

.capability-desc {
    font-size: var(--text-base);
    line-height: 2;
    text-align: justify;
    margin-left: 0;
}

@media (min-width: 769px) {
    .capability-item {
        display: grid;
        grid-template-columns: 80px 1fr;
        gap: 2rem;
    }

    .capability-header {
        display: contents;
    }

    .capability-id {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .capability-title {
        grid-column: 2;
        font-size: 2rem;
    }

    .capability-desc {
        grid-column: 2;
        max-width: none;
    }
}

.capabilities-wrapper {
    margin-top: 4rem;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
}

.business-card {
    padding: 0;
    border: 1px solid #eee;
    background: #fff;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease;
    cursor: default;
    display: flex;
    flex-direction: column;
    position: relative;
}

.business-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(67, 67, 67, 0.2);
    z-index: 2;
}

.business-card-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
}

.business-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.business-card:hover .business-card-image {
    transform: scale(1.03);
}

.business-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.business-title {
    font-size: var(--text-lg);
    margin-bottom: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.business-desc {
    font-size: var(--text-sm);
    color: #666;
    transition: color 0.3s ease;
}

.concept-text {
    font-size: var(--text-lg);
    line-height: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 6rem;
}

.company-profile {
    width: 100%;
    border-top: 1px solid #ddd;
}

.company-profile dl {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #ddd;
    padding: 1.5rem 0;
}

.company-profile dt {
    width: 30%;
    font-weight: bold;
    padding-left: 1rem;
}

.company-profile dd {
    width: 70%;
}

.form-group {
    margin-bottom: 2rem;
}

fieldset.form-group {
    border: 0;
    margin: 0 0 2rem 0;
    padding: 0;
    min-width: 0;
}

legend.form-label {
    width: 100%;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-jp);
    font-size: var(--text-sm);
    font-weight: bold;
}

.required-mark {
    color: #d93025;
    margin-left: 0.2rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ccc;
    background: #fff;
    font-size: var(--text-base);
    outline: none;
    border-radius: 0;
    appearance: none;
    transition: border-color 0.3s ease;
    font-family: var(--font-jp);
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--main-color);
    background-color: #fcfcfc;
}

.form-textarea {
    height: 200px;
    resize: vertical;
}

.form-radio-group,
.form-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.form-note {
    font-size: var(--text-sm);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.form-radio-label,
.form-checkbox-label {
    display: flex;
    align-items: center;
    font-size: var(--text-base);
    cursor: pointer;
}

.form-radio-input,
.form-checkbox-input {
    margin-right: 0.8rem;
    accent-color: var(--main-color);
    width: 1.2rem;
    height: 1.2rem;
    cursor: pointer;
}

.privacy-agreement {
    margin-top: 3rem;
    border-top: 1px solid #eee;
    padding-top: 2rem;
}

.privacy-link {
    text-decoration: underline;
    color: var(--main-color);
    cursor: pointer;
}

.privacy-link:hover {
    opacity: 0.7;
}

.hp-field-wrapper {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.hp-field {
    width: 1px;
    height: 1px;
    border: 0;
    padding: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.form-status {
    min-height: 1.8rem;
    font-size: var(--text-sm);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.form-status.is-success {
    color: #1b7f37;
}

.form-status.is-error {
    color: #c62828;
}

.footer {
    position: relative;
    background-color: #FFFFFF;
    color: var(--main-color);
    padding: 0;
    text-align: left;
    border-top: none;
}

.footer-content {
    padding: 4rem 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--main-color);
    color: #FFFFFF;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.footer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.footer-overlay a {
    color: #FFFFFF !important;
}

.footer-overlay .footer-logo,
.footer-overlay .footer-info,
.footer-overlay .copyright {
    color: #FFFFFF;
}

.footer-overlay .footer-logo img {
    filter: brightness(0) invert(1);
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    display: inline-block;
    width: 150px;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.footer-info {
    font-size: var(--text-sm);
    opacity: 0.8;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

.footer-links {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: var(--text-sm);
    opacity: 0.8;
    transition: opacity 0.3s ease;
    text-decoration: none;
    position: relative;
    display: inline-block;
    letter-spacing: 0.02em;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

@media (hover: hover) and (pointer: fine) {
    .footer-links a:hover {
        opacity: 1;
    }

    .footer-links a:hover::after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }
}

@media (hover: none), (pointer: coarse) {
    .footer-links a:hover {
        opacity: 0.8;
    }

    .footer-links a:hover::after {
        transform: scaleX(0);
        transform-origin: bottom right;
    }
}

.copyright {
    font-family: var(--font-en);
    font-size: var(--text-xs);
    opacity: 0.5;
    width: 100%;
    text-align: center;
    align-self: center;
    letter-spacing: 0.02em;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(67, 67, 67, 0.9);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 4rem 2rem;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 10;
    border: none;
    background: transparent;
    padding: 0;
    appearance: none;
}

.modal-close-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--main-color);
    position: absolute;
    top: 50%;
    left: 0;
}

.modal-close-btn span:nth-child(1) {
    transform: rotate(45deg);
}

.modal-close-btn span:nth-child(2) {
    transform: rotate(-45deg);
}

.modal-close-btn:focus-visible {
    outline: 2px solid var(--main-color);
    outline-offset: 6px;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .section-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }

    .hero-logo {
        width: 450px;
    }

    .section {
        padding: 7rem 0 5rem;
    }

    body.home main > section.hero + section.section {
        padding-bottom: 4rem;
    }

    body.home main > section.hero + section.section + section.section {
        padding-top: 5.25rem;
    }

    body.business-page main > section.section.bg-gray {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .hero {
        min-height: 100vh;
        min-height: 100svh;
        height: 100vh;
        height: 100dvh;
        padding-top: calc(var(--header-height) * 0.45);
        padding-bottom: calc(84px + env(safe-area-inset-bottom));
    }

    .container {
        padding: 0 1.25rem;
    }

    .hero-logo {
        width: 300px;
    }

    .scroll-indicator {
        bottom: calc(14px + env(safe-area-inset-bottom));
    }

    .scroll-line {
        height: 52px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .concept-text {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 3rem;
        text-align: left;
    }

    .section {
        padding: 6rem 0 4rem;
    }

    body.home main > section.hero + section.section {
        padding-bottom: 3rem;
    }

    body.home main > section.hero + section.section + section.section {
        padding-top: 4.25rem;
    }

    body.business-page main > section.section.bg-gray {
        min-height: auto;
    }

    .contact-message {
        font-size: 0.95rem;
        line-height: 1.9;
        max-width: 28em;
        margin-bottom: 2rem;
    }

    .policy-heading {
        font-size: var(--text-md);
    }

    .thanks-lead {
        font-size: var(--text-base);
    }

    .thanks-note {
        font-size: var(--text-sm);
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem 0;
    }

    .news-item:hover {
        padding-left: 0;
        padding-right: 0;
        background-color: transparent;
        color: inherit;
        border-color: #ddd;
    }

    .news-meta-wrapper {
        width: 100%;
        margin-bottom: 0.5rem;
        justify-content: flex-start;
    }

    .news-date {
        margin-bottom: 0;
        font-size: var(--text-sm);
        opacity: 0.7;
    }

    .news-title {
        font-size: var(--text-md);
        line-height: 1.5;
    }

    .news-list-card {
        display: flex;
        flex-direction: column;
        gap: 0.9rem;
    }

    .news-list-card .news-meta-wrapper {
        order: 1;
        width: 100%;
        margin: 0;
        gap: 0.6rem;
    }

    .news-list-card .news-list-image {
        order: 2;
    }

    .news-list-image {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .news-list-card .news-list-content {
        order: 3;
    }

    .news-list-card .news-title {
        font-size: 1.05rem;
        line-height: 1.45;
        margin-top: 0;
        margin-bottom: 0.4rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .business-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .business-card {
        padding: 0;
    }

    .business-card-content {
        padding: 1.5rem;
    }

    .company-profile dl {
        display: block;
        padding: 1rem 0;
    }

    .company-profile dt {
        width: 100%;
        padding-left: 0;
        margin-bottom: 0.25rem;
        color: #888;
        font-size: var(--text-sm);
    }

    .company-profile dd {
        width: 100%;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 3rem;
    }

    .btn-wrapper {
        text-align: right;
        margin-top: 2rem;
    }

    .btn {
        width: auto;
        padding: 0.5rem 0;
    }

    .news-detail-title {
        font-size: var(--text-lg);
    }

    .breadcrumb {
        margin-bottom: 1.5rem;
    }

    .breadcrumb-list {
        gap: 0.35rem;
        font-size: var(--text-xs);
    }

    .breadcrumb-item+.breadcrumb-item::before {
        margin-right: 0.35rem;
    }

    .sp-only {
        display: block;
    }
}

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

::placeholder {
    color: rgba(67, 67, 67, 0.3);
    opacity: 1;
        transition: color 0.3s ease;
}

:focus::placeholder {
    color: transparent;
}

::-ms-input-placeholder {
        color: rgba(67, 67, 67, 0.3);
}

:focus::-ms-input-placeholder {
    color: transparent;
}
