@charset "UTF-8";

:root {
    --primary-color: #5DADE2;
    --text-color: #2c3e50;
    --header-height: 70px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0; padding: 0; width: 100%;
    overflow-x: hidden; 
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: #f9f9f9;
    padding-top: var(--header-height);
    color: var(--text-color);
    line-height: 1.8;
}

img { max-width: 100%; height: auto; vertical-align: bottom; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

.hero-btn, .read-more-btn, .submit-btn, button.hero-btn { 
    display: inline-block; padding: 12px 50px;
    background: var(--primary-color); color: #fff;
    border: none; border-radius: 30px; font-weight: bold;
    cursor: pointer; font-size: 1rem; text-align: center; 
    transition: 0.3s; line-height: 1.5;
}
.hero-btn:hover, .read-more-btn:hover, .submit-btn:hover, button.hero-btn:hover {
    background: #3498db; transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(93, 173, 226, 0.3); color: #fff;
}
.btn-black { background: #333 !important; color: #fff !important; }
.btn-black:hover { background: #555 !important; box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important; }

.zh-text { display: none; }
body.lang-zh .ja-text { display: none; }
body.lang-zh .zh-text { display: block; }
.goog-te-banner-frame.skiptranslate { display: none !important; } 
body { top: 0px !important; }

header {
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1000; height: var(--header-height);
    display: flex; align-items: center;
}
.nav-container {
    width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.logo{
  display: flex;
  align-items: center;
  height: var(--header-height);
}

.logo img{
  height: 42px; 
  width: auto;
  display: block;
}
.nav-menu { display: flex; list-style: none; gap: 10px; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link { font-weight: 500; font-size: 0.85rem; padding: 10px 8px; display: block; }
.nav-link:hover { color: var(--primary-color); }

.dropdown {
    position: absolute; top: 100%; left: 0;
    background: #fff; min-width: 240px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px; list-style: none; padding: 0;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all 0.3s ease; border-top: 2px solid var(--primary-color);
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: block; padding: 12px 20px; color: #555; font-size: 0.85rem; border-bottom: 1px solid #f9f9f9; }
.dropdown li a:hover { background: #f0f8ff; color: var(--primary-color); }

.globe-icon { width: 22px; cursor: pointer; fill: #555; margin-left: 15px; }
.lang-dropdown {
    position: absolute; top: 50px; right: 0; background: #fff;
    padding: 10px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: none; flex-direction: column; gap: 5px; min-width: 160px; z-index: 2000;
}
.lang-dropdown.show { display: flex; animation: fadeInDropdown 0.2s ease; }
@keyframes fadeInDropdown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.lang-btn { background: none; border: none; padding: 10px; cursor: pointer; text-align: left; width: 100%; font-size: 0.9rem; }
.lang-btn:hover { background: #f0f8ff; color: var(--primary-color); }
#google_translate_wrapper { display: none; margin-top: 5px; border-top: 1px solid #eee; }
#google_translate_wrapper.visible { display: block; }
.hamburger { display: none; cursor: pointer; font-size: 1.5rem; margin-left: 15px; }

section { padding: 80px 20px; max-width: 1100px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2rem; color: var(--text-color); margin-bottom: 10px; }
.section-subtitle { color: var(--primary-color); font-weight: bold; letter-spacing: 1px; font-size: 0.9rem; }

.split-container {
    background: #fff; padding: 40px; border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.ceo-profile {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px;
}
.ceo-img {
    width: 200px !important;
    height: 200px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex-shrink: 0;
}
.ceo-text {
    flex: 1;
}

.text-block { margin-bottom: 30px; text-align: justify; }
.text-block h3 { font-size: 1.4rem; margin-bottom: 15px; border-left: 4px solid var(--primary-color); padding-left: 15px; }
.text-block p { margin-bottom: 20px; color: #444; line-height: 2; }
.content-img { width: 100%; border-radius: 8px; margin: 30px 0; object-fit: cover; }
.scroll-trigger { opacity: 0; transform: translateY(30px); transition: 0.8s; }
.scroll-trigger.visible { opacity: 1; transform: translateY(0); }
.page-header { background: #fff; padding: 60px 20px; text-align: center; border-bottom: 1px solid #eee; margin-bottom: 40px; }
.page-header h1 { font-size: 2rem; margin-bottom: 10px; }

.hero { background: url('IMG_1829.jpg') center/cover no-repeat; height: 55vh; margin-top: 30px; }
.company-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.company-card {
    background: #fff; border-radius: 12px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s;
    text-align: center; display: flex; flex-direction: column; cursor: pointer;
}
.company-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.company-thumb { height: 250px; object-fit: cover; width: 100%; }
.company-content { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.other-business { background: #eaeaea; padding: 60px 20px; border-radius: 8px; text-align: center; margin-top: 50px; }
.other-business-text { max-width: 800px; margin: 20px auto; color: #444; }

.clients-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.client-logo {
    background: #fff; border: 1px solid #eee; border-radius: 8px;
    aspect-ratio: 3/2; display: flex; align-items: center; justify-content: center; padding: 10px;
}
.client-logo img { max-width: 100%; max-height: 100%; filter: grayscale(100%); opacity: 0.7; }

.news-wrapper { max-width: 900px; margin: 0 auto; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.news-item { display: block; padding: 25px; border-bottom: 1px solid #eee; color: #333; transition: 0.3s; }
.news-item:hover { background: #fcfcfc; padding-left: 35px; }
.news-meta { font-size: 0.9rem; color: #888; margin-bottom: 8px; }
.news-title { font-size: 1.2rem; font-weight: bold; }

.contact-container { max-width: 800px; margin: 0 auto 80px; background: #fff; padding: 40px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 15px; }
.form-group.full { grid-column: 1 / -1; }
label { display: block; margin-bottom: 8px; font-weight: bold; font-size: 0.9rem; }
input, textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; font-size: 1rem; }
input:focus, textarea:focus { border-color: var(--primary-color); outline: none; background: #fdfdfd; }

.radio-label {
    display: flex; align-items: center; cursor: pointer;
    font-size: 1rem; font-weight: bold; color: var(--text-color); margin-top: 10px;
}
.radio-label input { display: none; }
.radio-custom {
    width: 22px; height: 22px; border: 2px solid #ccc;
    border-radius: 50%; margin-right: 12px; position: relative;
    background: #fff; transition: 0.3s; flex-shrink: 0;
}
.radio-label input:checked + .radio-custom { border-color: var(--primary-color); }
.radio-label input:checked + .radio-custom::after {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 12px; height: 12px; background: var(--primary-color); border-radius: 50%;
}

.privacy-section { background: #f8f9fa; padding: 25px; border-radius: 8px; border: 1px solid #eee; margin-top: 10px; }
.error-text { color: #e74c3c; font-size: 0.85rem; margin-top: 5px; display: none; font-weight: bold; }
.input-error { border-color: #e74c3c !important; background: #fdf0f0; }
.required-mark { color: #e74c3c; margin-left: 5px; }

.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7); 
    display: none; align-items: center; justify-content: center;
    z-index: 3000; opacity: 0; transition: opacity 0.3s;
    padding: 20px; 
}
.modal-overlay.active { display: flex; opacity: 1; }

.modal-content {
    background: #fff; 
    width: 100%; max-width: 600px;
    padding: 40px; 
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    max-height: 85vh; 
    overflow-y: auto;
    position: relative;
}

.modal-title {
    font-size: 1.6rem; text-align: center; margin-bottom: 30px;
    color: var(--primary-color); border-bottom: 2px solid #f0f0f0; padding-bottom: 20px;
    font-weight: bold;
}

.confirm-row {
    display: flex;
    justify-content: flex-start; 
    align-items: flex-start;     
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.confirm-label {
    width: 30%; 
    font-weight: bold;
    color: #666;
    font-size: 0.95rem;
    flex-shrink: 0; 
    padding-right: 15px;
}

.confirm-value {
    width: 70%; 
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
    white-space: pre-wrap;      
    word-wrap: break-word;      
    overflow-wrap: break-word;  
    word-break: break-all;      
}

.modal-buttons {
    display: flex; gap: 20px; justify-content: center; margin-top: 40px;
}
.btn-cancel {
    background: #ccc; color: #fff; border: none;
    padding: 12px 40px; border-radius: 30px; cursor: pointer; font-weight: bold;
    transition: 0.3s;
}
.btn-cancel:hover { background: #bbb; }
.btn-confirm {
    background: var(--primary-color); color: #fff; border: none;
    padding: 12px 50px; border-radius: 30px; cursor: pointer; font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(93, 173, 226, 0.4);
}
.btn-confirm:hover { background: #3498db; transform: translateY(-2px); }

.back-btn { display: inline-block; margin: 40px auto; padding: 10px 30px; border: 1px solid #ddd; text-decoration: none; color: #555; border-radius: 30px; transition: 0.3s; }
.back-btn:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }

footer { background: #222; color: #fff; padding: 50px 20px; margin-top: 50px; }

.footer-container { 
    max-width: 1100px; 
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 40px; 
}

.footer-links {
    display: flex;
    flex-direction: column; 
    gap: 10px; 
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    width: fit-content; 
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.sns-icons { display: flex; gap: 15px; margin-top: 20px; }
.sns-icon { width: 32px; height: 32px; background: #333; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.copyright { text-align: center; border-top: 1px solid #333; margin-top: 40px; padding-top: 20px; color: #666; font-size: 0.8rem; }

.lightbox-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); display: none; align-items: center; justify-content: center; z-index: 2000; opacity: 0; transition: opacity 0.3s; }
.lightbox-overlay.active { display: flex; opacity: 1; }
.lightbox-overlay img { max-width: 90%; max-height: 90%; border-radius: 4px; }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 40px; cursor: pointer; }

@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-menu { position: fixed; top: 70px; left: 0; width: 100%; background: #fff; flex-direction: column; padding: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); display: none; align-items: flex-start; max-height: 80vh; overflow-y: auto; }
    .nav-menu.active { display: flex; }
    .nav-item { width: 100%; border-bottom: 1px solid #f0f0f0; }
    .nav-link { padding: 15px 0; width: 100%; }
    .dropdown { position: static; box-shadow: none; display: none; opacity: 1; visibility: visible; transform: none; padding-left: 20px; border-top: none; }
    .nav-item:hover .dropdown { display: block; }

    .form-grid { grid-template-columns: 1fr; }
    
    .hero { 
        height: 56vw;
        min-height: 200px;
        background-size: contain !important;
        background-position: center top; 
    }
    
    .clients-grid { grid-template-columns: repeat(2, 1fr); }
    .split-container { padding: 20px; }

    .ceo-profile {
        flex-direction: column;
        align-items: center;
        text-align: center; 
    }
    .ceo-img {
        width: 150px !important;
        height: 150px !important;
        margin-bottom: 15px;
    }
    .ceo-text {
        text-align: left;
        width: 100%;
    }
    
    .modal-content { padding: 20px; width: 95%; }
    .confirm-row { flex-direction: column; }
    .confirm-label { width: 100%; margin-bottom: 5px; color: var(--primary-color); }
    .confirm-value { width: 100%; padding-left: 0; }
    .modal-buttons { flex-direction: column-reverse; gap: 10px; }
    .btn-cancel, .btn-confirm { width: 100%; }
}

.article-container {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    overflow: hidden;
}

.article-hero {
    width: 100%;
    height: 400px; 
    object-fit: cover;
    cursor: zoom-in;
}

.article-content {
    padding: 40px;
}

.meta {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

.title {
    font-size: 2rem;
    margin-bottom: 30px;
    line-height: 1.4;
    font-weight: 700;
    color: var(--text-color);
}

.body-text {
    line-height: 1.8;
    color: #444;
    font-size: 1.05rem;
}

.body-text p {
    margin-bottom: 25px;
    text-align: justify;
}

.body-text img {
    width: 100%;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #eee;
}

@media (max-width: 768px) {
    .article-hero {
        height: 250px; 
    }
    .article-content {
        padding: 25px;
    }
    .title {
        font-size: 1.5rem;
    }
    .article-container {
        margin: 20px;
    }
}
