@charset "UTF-8";

/* ------------------------------------------------------------
   Global Reset & Box Sizing
------------------------------------------------------------ */
*,
::before,
::after {
    box-sizing: border-box;
}

body {
    margin: 0;
}

/* ------------------------------------------------------------
   Placeholder Stabilization (CLS Prevention)
------------------------------------------------------------ */
#gnav-placeholder {
    min-height: 80px;
    width: 100%;
}

#header-placeholder {
    min-height: 300px;
    width: 100%;
}

@media (min-width: 768px) {
    #header-placeholder {
        min-height: 380px;
    }
}

#cta-placeholder {
    min-height: 400px;
    width: 100%;
}

#footer-placeholder {
    min-height: 400px;
    width: 100%;
}

#hamburger-placeholder {
    min-height: 0;
}

/* ------------------------------------------------------------
   Common Variables
------------------------------------------------------------ */
:root {
    --sh-paper-bg: #333333;
    --sh-grid-line: rgba(255, 255, 255, 0.05);
    --sh-text-dark: #ffffff;
    --sh-text-light: #d1d5db;
    --sh-text-mute: #a8a29e;
    --sh-line-color: #ffffff;
    --sh-accent-green: #7da87b;
}

/* ------------------------------------------------------------
   Common Typography: Headings (h1-h3) and Body Text
------------------------------------------------------------ */
h1,
h2,
h3 {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333333;
    letter-spacing: 0.05em;
    line-height: 1.5;
    margin: 0;
}

/* h1 */
body h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    body h1 {
        font-size: 64px;
        margin-bottom: 32px;
    }
}

/* h2 */
body h2 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    body h2 {
        font-size: 36px;
        margin-bottom: 20px;
    }
}

/* h3 */
body h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    body h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
}

/* Body Text (p) */
body p {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333333;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.05em;
    margin: 0 0 20px 0;
}

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

/* Lists (ul, ol) */
body ul,
body ol {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333333;
    line-height: 1.8;
    margin: 0 0 20px 0;
    padding-left: 1.5em;
}

body li {
    margin-bottom: 8px;
}

/* Emphasis (strong, b) */
strong,
b {
    font-weight: 700;
}

/* ------------------------------------------------------------
   Common Components: Buttons
------------------------------------------------------------ */

/* Base Button */
.c-btn {
    display: inline-block;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    line-height: 1.5;
}

/* Primary Button */
.c-btn--primary {
    background-color: #333333;
    color: #ffffff;
    border: 2px solid #333333;
    padding: 16px 48px;
    border-radius: 50px;
    font-size: 16px;
}

.c-btn--primary:hover {
    background-color: #ffffff;
    color: #333333;
    border-color: #333333;
}

@media (max-width: 768px) {
    .c-btn--primary {
        padding: 14px 32px;
        font-size: 14px;
    }
}

/* Secondary Button */
.c-btn--secondary {
    background: transparent;
    border: 2px solid #333;
    color: #333;
    padding: 16px 48px;
    border-radius: 50px;
    font-size: 16px;
}

.c-btn--secondary:hover {
    background-color: #f9f9f9;
    border-color: #555;
    color: #555;
}

@media (max-width: 768px) {
    .c-btn--secondary {
        padding: 14px 32px;
        font-size: 14px;
    }
}

/* Text Link Button */
.c-btn--text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: #292524;
    font-weight: 700;
    font-size: 14px;
    padding: 0;
    border-bottom: 1px solid #292524;
    padding-bottom: 0.25rem;
    border-radius: 0;
}

.c-btn--text:hover {
    color: #3ba6e1;
    border-color: #3ba6e1;
}

@media (max-width: 768px) {
    .c-btn--text {
        font-size: 14px;
    }
}

.c-btn--text svg {
    width: 0.8em;
    height: 0.8em;
    transition: transform 0.3s ease;
}

.c-btn--text:hover svg {
    transform: translateX(4px);
}

/* ==========================================
   Common Shared Components
   ========================================== */

/* CTA Section */
.c-cta {
    position: relative;
    overflow: hidden;
    text-align: center;
    background-color: #fafaf7;
    background-image: linear-gradient(#f2f2f2 1px, transparent 1px), linear-gradient(90deg, #f2f2f2 1px, transparent 1px);
    background-size: 35px 35px;
    padding: 60px 20px;
    z-index: 10;
    /* Encapsulation */
    line-height: normal;
    letter-spacing: normal;
}

@media screen and (min-width: 768px) {
    .c-cta {
        padding: 120px 40px;
    }
}

.c-cta__inner {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
}

.c-cta__header {
    margin-bottom: 2.5rem;
}

@media screen and (min-width: 768px) {
    .c-cta__header {
        margin-bottom: 3rem;
    }
}

.c-cta__desc {
    color: #333333;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.1em;
}

@media screen and (min-width: 768px) {
    .c-cta__desc {
        font-size: 16px;
        line-height: 2;
    }
}

.c-cta__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
    width: 100%;
}

@media screen and (min-width: 768px) {
    .c-cta__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        margin-bottom: 80px;
    }
}

.c-cta__card {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 1000 / 600;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.c-cta__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.c-cta__card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

.c-cta__img-on {
    opacity: 0;
}

.c-cta__card:hover .c-cta__img-on {
    opacity: 1;
}

/* On mobile, only show ON image if desired, or keep both and toggle */
@media screen and (max-width: 767px) {
    .c-cta__img-on {
        opacity: 1;
        /* Always show ON on mobile */
    }

    .c-cta__img-off {
        opacity: 0;
    }
}

/* Floating Elements */
.c-cta__float-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.c-cta__float-img {
    position: absolute;
    object-fit: cover;
    border-radius: 8px;
    opacity: 0.6;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Positions & Animations */
.c-cta__float-img--1 {
    display: none;
    width: 140px;
    height: 140px;
    top: 10%;
    left: 5%;
    animation: cta-float1 20s ease-in-out infinite;
}

.c-cta__float-img--2 {
    width: 180px;
    height: 180px;
    top: 60%;
    left: 10%;
    animation: cta-float2 18s ease-in-out infinite;
}

.c-cta__float-img--4 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    right: 5%;
    animation: cta-float4 19s ease-in-out infinite;
}

.c-cta__float-img--5 {
    width: 200px;
    height: 200px;
    top: 15%;
    right: 25%;
    animation: cta-float5 21s ease-in-out infinite;
}

@media screen and (min-width: 1025px) {
    .c-cta__float-img {
        opacity: 0.8;
    }

    .c-cta__float-img--1 {
        display: block;
        width: 300px;
        height: 300px;
    }

    .c-cta__float-img--2 {
        width: 300px;
        height: 300px;
    }

    .c-cta__float-img--4 {
        width: 300px;
        height: 300px;
    }

    .c-cta__float-img--5 {
        width: 300px;
        height: 300px;
    }
}

/* Hide floating images on mobile */
@media screen and (max-width: 767px) {
    .c-cta__float-images {
        display: none;
    }
}

@keyframes cta-float1 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-40px);
    }
}

@keyframes cta-float2 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(50px);
    }
}

@keyframes cta-float4 {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(2deg);
    }
}

@keyframes cta-float5 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(40px);
    }
}

/* ==========================================
   Footer Component
   ========================================== */
.footer {
    background-color: #fcf7e8;
    padding: 80px 0 40px;
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
    width: 100%;
    /* Encapsulation */
    text-align: left;
    line-height: normal;
    letter-spacing: normal;
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.footer__left {
    flex-shrink: 0;
}

.footer__logo-group {
    margin-bottom: 30px;
}

.footer__logo-img {
    height: 70px;
    width: auto;
    display: block;
}

.footer__company-info {
    font-size: 14px;
    line-height: 1.8;
}

.company-name {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 16px;
}

.company-address {
    margin-bottom: 5px;
}

.footer__nav {
    display: flex;
    gap: 40px;
}

.footer__nav-group {
    display: flex;
}

.footer__nav-list--vertical {
    writing-mode: vertical-rl;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
}

.footer__nav-list li {
    list-style: none;
}

.footer__nav-list a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s;
    white-space: nowrap;
}

.footer__nav-list a:hover {
    color: #B3000E;
}

.footer__nav-sublist {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 5px 0 0;
}

.footer__nav-sublist li a {
    font-size: 14px;
    font-weight: normal;
}

.footer__bottom {
    margin-top: 80px;
}

.footer__divider {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    height: 4px;
    border-top: 2px solid #333;
    border-bottom: 1px solid #333;
    margin-bottom: 20px;
}

.footer__copyright {
    text-align: center;
    font-size: 14px;
    color: #999;
}

@media screen and (max-width: 1024px) {
    .footer {
        padding: 60px 0 20px;
    }

    .footer__inner {
        padding: 0 20px;
    }

    .footer__content {
        flex-direction: column;
        gap: 40px;
    }

    .footer__nav {
        flex-direction: column;
        gap: 30px;
    }

    .footer__nav-list--vertical {
        writing-mode: horizontal-tb;
        flex-direction: column;
        gap: 15px;
    }

    .footer__nav-sublist {
        flex-direction: column;
        padding: 5px 0 0 20px;
        margin-top: 10px;
    }

    .footer__logo-img {
        height: 50px;
    }

    .footer__bottom {
        margin-top: 40px;
    }
}

/* ------------------------------------------------------------
   Layout: Hamburger
------------------------------------------------------------ */
.hamburger-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2000;
    padding: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* Encapsulation */
    line-height: normal;
    text-align: center;
}

.hamburger-btn__line {
    width: 24px;
    height: 2px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.hamburger-btn.is-active .hamburger-btn__line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.hamburger-btn.is-active .hamburger-btn__line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 1999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.05);
    /* Encapsulation */
    text-align: left;
    line-height: normal;
    letter-spacing: normal;
}

@media screen and (max-width: 768px) {
    .nav-drawer {
        width: 100%;
    }
}

.nav-drawer.is-active {
    transform: translateX(0);
}

.nav-drawer__inner {
    width: 100%;
    height: 100%;
    padding: 240px 20px 40px;
    box-sizing: border-box;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Menu List (Standard/Desktop: Vertical) */
.nav-drawer__list {
    list-style: none;
    padding: 0;
    margin: 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    height: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
}

.nav-drawer__list>li {
    margin: 0;
}

.nav-drawer__list a {
    text-decoration: none;
    color: #111;
    font-size: 16px;
    font-weight: 500;
    font-family: "Noto Sans JP", sans-serif;
    transition: color 0.3s;
    display: inline-block;
    letter-spacing: 0.1em;
}

.nav-drawer__list a:hover {
    color: #E60012;
}

/* Sublist (Desktop: Vertical with divider) */
.nav-drawer__sublist {
    list-style: none;
    padding: 20px 5px 0 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-right: 1px solid #eee;
    margin-right: 15px;
}

.nav-drawer__sublist li {
    margin: 0;
}

.nav-drawer__sublist li a {
    font-size: 13px;
    font-weight: normal;
    color: #666;
}

/* Mobile: Revert to Horizontal/Stack */
@media screen and (max-width: 768px) {
    .nav-drawer {
        width: 100%;
        justify-content: flex-start;
    }

    .nav-drawer__inner {
        padding: 80px 40px;
        display: block;
        text-align: left;
    }

    .nav-drawer__list {
        writing-mode: horizontal-tb;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        height: auto;
        max-height: none;
        width: 100%;
        gap: 15px;
    }

    .nav-drawer__list>li {
        width: 100%;
        margin-bottom: 10px;
        border-bottom: 1px solid #f5f5f5;
        padding-bottom: 10px;
    }

    .nav-drawer__list a {
        display: block;
        width: 100%;
        font-size: 16px;
    }

    .nav-drawer__sublist {
        padding: 5px 0 0 15px;
        border-right: none;
        margin-right: 0;
        border-left: 2px solid #eee;
        gap: 8px;
    }

    .nav-drawer__sublist li {
        margin-bottom: 0;
    }
}

/* ------------------------------------------------------------
   Layout: Site Header (Global)
------------------------------------------------------------ */
body .site-header {
    width: 100%;
    background-color: #ffffff;
    position: relative;
    z-index: 1000;
    font-family: 'Noto Sans JP', sans-serif;
    /* Encapsulation */
    text-align: left;
    line-height: normal;
    letter-spacing: normal;
}

body .site-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body .site-header__logo {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
    letter-spacing: 0.1em;
}

/* ------------------------------------------------------------
   Layout: Sub-Header
------------------------------------------------------------ */
body .site-header--sub {
    background-color: var(--sh-paper-bg);
    border-bottom: 1px solid var(--sh-grid-line);
}

.sh-container {
    width: 100%;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--sh-text-dark);
    box-sizing: border-box;
    /* Encapsulation */
    text-align: left;
    line-height: normal;
    letter-spacing: normal;
}

.sh-inner {
    width: 100%;
    position: relative;
    z-index: 10;
}

.sh-header-section {
    background-color: var(--sh-paper-bg);
    background-image:
        linear-gradient(var(--sh-grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--sh-grid-line) 1px, transparent 1px);
    background-size: 30px 30px;
    border-bottom: 1px solid var(--sh-grid-line);
    position: relative;
    width: 100%;
    padding-top: 60px;
    padding-bottom: 60px;
    overflow: hidden;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .sh-header-section {
        padding-top: 100px;
        padding-bottom: 80px;
    }
}

body .sh-en-title {
    font-family: 'Syncopate', sans-serif;
    color: rgba(255, 255, 255, 0.08);
    /* Faint large text */
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.2;
    display: block;
    margin-bottom: 0;
    padding-left: 24px;
}

@media (min-width: 768px) {
    body .sh-en-title {
        font-size: 60px;
        font-weight: 400;
        padding-left: max(24px, calc(50% - 585px + 15px));
    }
}

.sh-jp-title-wrap {
    text-align: left;
    margin-top: 10px;
    padding-left: 24px;
}

@media (min-width: 768px) {
    .sh-jp-title-wrap {
        margin-top: 0;
        padding-left: max(24px, calc(50% - 585px + 15px));
    }
}

body .sh-jp-title {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 0.1em;
    margin: 0;
    color: #ffffff;
}

.sh-title-bar {
    width: 40px;
    height: 2px;
    background-color: #ffffff;
    margin-top: 20px;
}

/* Decorative stripe removed */

/* ------------------------------------------------------------
   Layout: Breadcrumb
------------------------------------------------------------ */
.sh-breadcrumb-nav {
    width: 100%;
    background-color: #333333;
    border-bottom: none;
}

.sh-breadcrumb-list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    list-style: none;
    padding: 16px 20px;
    margin: 0;
    font-size: 10px;
    color: #ffffff;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
}

@media (min-width: 768px) {
    .sh-breadcrumb-list {
        padding-left: max(24px, calc(50% - 585px + 15px));
        padding-right: 20px;
    }
}

.sh-breadcrumb-item {
    margin-bottom: 0;
}

.sh-breadcrumb-item a {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: opacity 0.3s;
}

.sh-breadcrumb-item a:hover {
    opacity: 0.7;
    text-decoration: none !important;
}

.sh-breadcrumb-item+.sh-breadcrumb-item::before {
    content: "/";
    padding: 0 10px;
}

/* ------------------------------------------------------------
   Common Components: Pagination
------------------------------------------------------------ */
.c-pagination {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 40px;
    margin-top: 60px;
}

.c-pagination__item {
    display: inline-block;
    background: none;
    border: none;
    color: #D6D3D1;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Syncopate', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0 0 12px 0;
    border-bottom: 3px solid transparent;
    line-height: 1;
}

.c-pagination__item:hover {
    color: #2F2F2F;
}

.c-pagination__item--active {
    color: #2F2F2F;
    border-bottom: 3px solid #2F2F2F;
    cursor: default;
}

.c-pagination__btn {
    display: inline-block;
    background: none;
    border: none;
    color: #D6D3D1;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Syncopate', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0 0 12px 0;
    line-height: 1;
}

.c-pagination__btn:hover {
    color: #2F2F2F;
}

@media screen and (max-width: 768px) {
    .c-pagination {
        gap: 24px;
        margin-top: 40px;
    }

    .c-pagination__item {
        font-size: 14px;
        padding-bottom: 8px;
    }

    .c-pagination__btn {
        font-size: 14px;
        padding-bottom: 8px;
    }
}

/* ------------------------------------------------------------
   Mobile Breadcrumb Truncation
   ------------------------------------------------------------ */
@media screen and (max-width: 768px) {
    .sh-breadcrumb-item {
        flex-shrink: 1;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        max-width: 100%;
    }
}