* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    line-height: 1.6;
    color: #000000;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title img {
    width: 100%;
    max-width: 450px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.text-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
    height: 80px;
    display: flex;
    align-items: center;
    background: #000000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: flex-end; /* ロゴが無いため、ナビゲーションを右端に寄せる */
    align-items: center;
    width: 100%;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-right: 0;
    position: relative;
    display: flex;
    align-items: center;
}

.nav ul li a {
    padding: 0 15px;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.15rem;
    transition: color 0.3s;
}

.nav ul li a:hover {
    color: #ff0000ce;
}

.nav ul li::after {
    content: "|";
    color: #ffffff;
    font-size: 0.8rem;
    opacity: 0.5;
}

.nav ul li:last-child::after {
    display: none;
}

.btn-contact {
    background: #ff0000ce;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

/* ==========================================
   HERO (MAIN VISUAL)
   ========================================== */
.hero {
    width: 100%;
    height: auto !important;
    line-height: 0;
}

.hero-img, 
.hero picture img {
    width: 100%;      
    height: auto !important;
    display: block;
}

.hero-content {
    display: none;
}

/* ==========================================
   SERVICES
   ========================================== */
#services {
    width: 100%; 
    padding: 80px 0; 
    background-color: #ffffff; 
    background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), 
                      url("./img/service-bg.webp");
    background-size: 100% auto; 
    background-repeat: no-repeat;
    background-position: center top;
}

#services .strength-subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333333;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px; 
    width: 85%;
    padding: 20px 0;
    margin: 0 auto;
}

.service-box {
    border: 1px solid #ddd;
    padding: 40px 30px; 
    text-align: center;
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
}

.service-box-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #111111;
    margin-top: 10px;
    margin-bottom: 5px;
    letter-spacing: 0.05em;
}

.service-img {
    background: #ffffff;
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 20px;
    padding: 0 5px;
    width: 100%;
}

.brand-logo-img {
    width: 85%;
    max-width: 150px;
    aspect-ratio: 360 / 100;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* ==========================================
   STRENGTH
   ========================================== */
.strength {
    background: linear-gradient(rgba(0, 0, 0, 0.699), rgba(0, 0, 0, 0.6)),
                url('./img/strength-bg.webp') no-repeat center / cover fixed;
    background-attachment: fixed;
    padding: 120px 0;
    color: #fff;
    text-align: center;
    width: 100%;
    position: relative;
}

.strength-body {
    max-width: 800px;
    margin: 0 auto;
}

.strength-subtitle {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
    margin-top: -20px;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.strength-text {
    font-size: 1.2rem;
    line-height: 2.1;
    opacity: 0.95;
    text-align: left;
}

.white-text {
    color: #fff !important;
}

/* ==========================================
   GREETING & VISION
   ========================================== */
.section-gray {
    background-color: #f9f9f9;
}

.round-card {
    background-color: #ffffff;
    border: 2px solid #eee;
    border-radius: 50px;
    padding: 60px 80px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 0 auto;
    max-width: 900px;
}

.dots-bg {
    background-image: radial-gradient(#dbdbdb5e 10px, transparent 10px);
    background-size: 50px 50px;
}

.round-card .text-block {
    font-size: 1.1rem;
    line-height: 2.0;
    text-align: left;
    margin: 0;
    max-width: 100%;
}

/* ==========================================
   COMPANY INFO
   ========================================== */
.company-info {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), 
                url('./img/office.jpg') no-repeat center / cover;
    padding: 80px 0;
    color: #fff;
    text-align: center;
    width: 100%;
}

.company-grid {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 40px;
    border-radius: 10px;
}

.info-item {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 0;
}

.info-item dt {
    width: 30%;
    font-weight: bold;
}

.info-item dd {
    width: 70%;
    text-align: left;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
}

/* ==========================================
   CONTACT FORM
   ========================================== */
.section-dark {
    background: #333;
    color: #fff;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 1rem;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 15px;
    background: #ff0000ce;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #b30000;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    padding: 35px 0;
    background: #222;
    color: #fff;
    font-size: 0.85rem; /* コピーライトの文字もほんの少し拡大 */
    width: 100%;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-logo img {
    height: 50px; /* 35pxから標準的な50pxへ拡大 */
    width: auto;
    display: block;
}

.copyright {
    margin: 0;
    letter-spacing: 0.03em;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s;
}

/* ==========================================
   RESPONSIVE (SMARTPHONE & TABLET)
   ========================================== */
@media (max-width: 768px) {
    .header {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0));
        box-shadow: none;
    }

    .header-inner {
        justify-content: flex-end; /* スマホ時もハンバーガーボタンを右端に維持 */
    }

    .menu-toggle {
        display: flex;
        background: rgba(0, 0, 0, 0.4);
        padding: 10px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        justify-content: space-between;
        align-items: center;
    }

    .menu-toggle span {
        background-color: #ffffff !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.5);
    }

    .menu-toggle.is-active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        padding-top: 100px;
        transition: all 0.4s;
        z-index: 100;
    }

    .nav.is-active {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        align-items: center;
    }

    .nav ul li {
        margin: 20px 0;
    }

    .nav ul li::after {
        display: none;
    }

    .section-title img {
        max-width: 100%;
    }

    .hero {
        height: auto !important; 
    }

    .hero-img, 
    .hero picture img {
        width: 100%;
        height: auto !important;
    }

    .service-box-title {
        font-size: 1.25rem;
    }

    .service-img {
        width: 100%;
        max-width: 180px; 
    }

    .brand-logos {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .brand-logo-img {
        width: 60%;
        max-width: 150px;
        margin: 0 auto;
    }

    .strength {
        padding: 80px 0;
        background-attachment: scroll;
    }

    .strength-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .strength-text,
    .round-card .text-block {
        font-size: 1rem;
        line-height: 1.8;
    }

    .round-card {
        border-radius: 30px;
        padding: 40px 25px;
    }

    .company-grid {
        padding: 20px;
    }

    .info-item {
        flex-direction: column;
    }

    .info-item dt,
    .info-item dd {
        width: 100%;
    }

    .info-item dt {
        font-size: 0.9rem;
        color: #ccc;
        margin-bottom: 5px;
    }

    .info-item dd {
        font-size: 1rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-logo img {
        height: 45px; /* スマホでは画面サイズに合わせて少しだけ縮小 */
    }

    .pc-only {
        display: none;
    }
}

@media (max-width: 480px) {
    .service-grid {
        grid-template-columns: 1fr;
        width: 90%;
    }
}