/* ===============================
   Reset & Base Styles
   =============================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    line-height: 1.8;
    color: #333;
    overflow-x: hidden;
    font-size: 16px;
}

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

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

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

/* Clear fix */
.cf::after {
    content: "";
    display: table;
    clear: both;
}

._sp {
    display: none;
}

/* ===============================
   Header Styles
   =============================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

header .inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .inner::after {
    content: none;
}

header h1 {
    font-size: 0;
    line-height: 1;
}

header h1 a {
    display: block;
}

header h1 img {
    height: 32px;
    width: auto;
}

/* Header Navigation */
.right-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.right-menu ul {
    display: flex;
    align-items: center;
    gap: 35px;
}

.right-menu li a {
    display: block;
    text-align: center;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.4;
    color: #333;
}

.right-menu li a:hover {
    opacity: 1;
    color: #4169E1;
}

.right-menu li a .en {
    font-size: 10px;
    color: #999;
    display: block;
    margin-top: 2px;
    letter-spacing: 1px;
}

/* LINE Button in Header */
.right-menu li.line a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #00B900;
    color: #fff;
    border-radius: 6px;
}

.right-menu li.line a:hover {
    background: #00A000;
    opacity: 1;
}

.right-menu li.line svg {
    width: 20px;
    height: 20px;
}

/* Mobile Menu Toggle */
.sp-menu {
    display: none;
    cursor: pointer;
}

.sp-menu a {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.sp-menu span {
    display: block;
    width: 28px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

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

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

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

/* Mobile Navigation Menu */
.menu-sp-list {
    display: none;
    background: #fff;
    border-top: 1px solid #eee;
}

.menu-sp-list.active {
    display: block;
}

.menu-sp-list ul {
    padding: 20px 0;
}

.menu-sp-list li {
    border-bottom: 1px solid #eee;
}

.menu-sp-list li a {
    display: block;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 500;
}

/* ===============================
   Main Content
   =============================== */
#main-contents {
    margin-top: 62px;
}

.sec {
    position: relative;
}

/* ===============================
   Main Visual Area
   =============================== */
.main_area {
    position: relative;
    height: calc(100vh - 62px);
    min-height: 600px;
    overflow: hidden;
}

.main_area .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.main_area .bg picture,
.main_area .bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main_area .scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: scrollBounce 2s ease-in-out infinite;
}

.main_area .scroll img {
    width: 70px;
    height: auto;
    display: block;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ===============================
   Concept Area (Background Image)
   =============================== */
.concept_area {
    position: relative;
    min-height: 500px;
    overflow: hidden;
}

.concept_area .bg-concept {
    width: 100%;
    height: 100%;
}

.concept_area .bg-concept img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===============================
   Company Section
   =============================== */
.company_area {
    padding: 120px 40px;
    background: #fff;
}

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

.company_area .title {
    text-align: center;
    margin-bottom: 80px;
}

.company_area .title .title-text {
    display: block;
    font-size: 52px;
    font-weight: bold;
    color: #333;
    letter-spacing: 3px;
    line-height: 1;
    margin-bottom: 15px;
}

.company_area .title .ja {
    font-size: 13px;
    color: #4169E1;
    display: block;
    letter-spacing: 3px;
}

.company_box {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.company_logo {
    flex: 0 0 220px;
    text-align: center;
}

.company_logo img {
    width: 100%;
    height: auto;
}

.company_info {
    flex: 1;
}

.company_info table {
    width: 100%;
    border-collapse: collapse;
}

.company_info table tr {
    border-bottom: 1px solid #e8e8e8;
}

.company_info table th {
    text-align: left;
    padding: 22px 20px;
    font-weight: 600;
    width: 120px;
    vertical-align: top;
    color: #4169E1;
    font-size: 14px;
    letter-spacing: 1px;
}

.company_info table td {
    padding: 22px 20px;
    line-height: 1.9;
    color: #333;
    font-size: 15px;
}

/* Fade-in Animation */
.fadein {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.fadein.scrollin {
    opacity: 1;
    transform: translateY(0);
}

/* ===============================
   Footer / Contact Section
   =============================== */
footer {
    padding: 100px 40px 80px;
    background: #1a1a1a;
    color: #fff;
    text-align: center;
    position: relative;
}

footer .inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

footer .title {
    margin-bottom: 35px;
}

footer .title .title-text {
    display: block;
    font-size: 52px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 3px;
    line-height: 1;
    margin-bottom: 15px;
}

footer .title .ja {
    font-size: 13px;
    color: #4169E1;
    display: block;
    letter-spacing: 3px;
}

footer p {
    margin-bottom: 30px;
    line-height: 2.2;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

.btn_area {
    margin: 45px 0;
}

.btn {
    display: inline-block;
    padding: 18px 60px;
    background: #0000FF;
    color: #fff;
    border-radius: 30px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #0000DD;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 255, 0.4);
    opacity: 1;
}

.sns_list {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0 60px;
}

.sns_list li.line a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: #fff;
    color: #00B900;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.sns_list li.line a:hover {
    transform: scale(1.08);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
    opacity: 1;
}

.sns_list li.line svg {
    width: 32px;
    height: 32px;
}

.footer_logo {
    margin: 60px 0 40px;
}

.footer_logo img {
    width: 200px;
    height: auto;
    margin: 0 auto;
    display: block;
}

footer address {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-style: normal;
    margin-top: 30px;
    letter-spacing: 1px;
}

/* Page Top Button */
.top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.top-btn.visible,
.top-btn.fixed {
    opacity: 1;
    visibility: visible;
}

.top-btn a {
    display: block;
    cursor: pointer;
}

.top-btn img {
    width: 75px;
    height: 75px;
    display: block;
    transition: transform 0.3s ease;
}

.top-btn:hover img {
    transform: scale(1.08);
}

/* ===============================
   Responsive Design
   =============================== */
@media screen and (max-width: 959px) {
    /* Header */
    header .inner {
        padding: 12px 20px;
    }

    header h1 img {
        height: 28px;
    }

    .right-menu {
        display: none;
    }

    .sp-menu {
        display: block;
    }

    /* Main Visual */
    .main_area {
        min-height: 500px;
        height: calc(100vh - 62px);
    }

    .main_area .scroll img {
        width: 55px;
    }

    /* Concept Area */
    .concept_area {
        min-height: 300px;
    }

    /* Company */
    .company_area {
        padding: 80px 20px;
    }

    .company_area .title {
        margin-bottom: 60px;
    }

    .company_area .title .title-text {
        font-size: 42px;
    }

    .company_box {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .company_logo {
        flex: none;
        max-width: 180px;
    }

    .company_info table th {
        width: 90px;
        padding: 18px 15px;
        font-size: 13px;
    }

    .company_info table td {
        padding: 18px 15px;
        font-size: 14px;
    }

    /* Footer */
    footer {
        padding: 80px 20px 60px;
    }

    footer .title .title-text {
        font-size: 42px;
    }

    .btn {
        padding: 16px 50px;
        font-size: 15px;
    }

    .sns_list li.line a {
        width: 60px;
        height: 60px;
    }

    .sns_list li.line svg {
        width: 28px;
        height: 28px;
    }

    .footer_logo img {
        width: 150px;
    }

    .top-btn {
        bottom: 20px;
        right: 20px;
    }

    .top-btn img {
        width: 60px;
        height: 60px;
    }

    ._sp {
        display: inline;
    }
}

@media screen and (max-width: 600px) {
    .concept_area {
        min-height: 200px;
    }

    .company_area .title .title-text {
        font-size: 32px;
    }

    footer .title .title-text {
        font-size: 32px;
    }

    .company_info table th,
    .company_info table td {
        display: block;
        width: 100%;
        padding: 12px 15px;
    }

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

    .company_info table td {
        padding-top: 5px;
    }

    .btn {
        padding: 14px 40px;
        font-size: 14px;
    }
}
