@charset "UTF-8";

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.8;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section__title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0.1em;
}

.pc-only {
    display: none;
}

@media (min-width: 768px) {
    .pc-only {
        display: inline;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    z-index: 100;
    border-bottom: 1px solid #eee;
    height: 80px;
    display: flex;
    align-items: center;
}

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

.header__logo a {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Adjust spacing as needed */
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.header__logo img {
    height: 40px;
    width: auto;
}

/* Nav */
.header__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 90;
}

.header__nav.active {
    opacity: 1;
    visibility: visible;
}

.header__nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.header__nav-item a {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

@media (min-width: 768px) {
    .header__nav {
        position: static;
        height: auto;
        width: auto;
        background-color: transparent;
        opacity: 1;
        visibility: visible;
        display: block;
    }

    .header__nav-list {
        display: flex;
        flex-direction: row;
        gap: 30px;
    }

    .header__nav-item a {
        font-size: 0.9rem;
        font-weight: 500;
        letter-spacing: 0.1em;
    }
}

/* Hamburger */
.header__hamburger {
    display: block;
    position: relative;
    width: 30px;
    height: 24px;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 100;
}

.header__hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: all 0.3s;
}

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

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

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

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

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

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

@media (min-width: 768px) {
    .header__hamburger {
        display: none;
    }
}

/* Mobile Menu Button (Hamburger) - Simplified for now, can be expanded if needed */
/* Since one page, we might just show simplified nav or rely on scroll */

/* Contact Page */
.contact-page {
    padding-top: 160px;
    background-color: #fff;
    min-height: 80vh;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.required {
    display: inline-block;
    background-color: #333;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    margin-left: 10px;
    border-radius: 2px;
    vertical-align: middle;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    font-family: inherit;
    font-size: 1rem;
    border-radius: 0;
    appearance: none;
}

.form-group p {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.form-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.btn {
    display: inline-block;
    padding: 15px 50px;
    border: 1px solid #333;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    min-width: 200px;
}

.btn-primary {
    background-color: #333;
    color: #fff;
}

.btn-primary:hover {
    background-color: #fff;
    color: #333;
}

.btn-secondary {
    background-color: #fff;
    color: #333;
}

.btn-secondary:hover {
    background-color: #f0f0f0;
}

.error-message {
    color: #cc0000;
    background-color: #ffe6e6;
    padding: 15px;
    margin-bottom: 30px;
    border: 1px solid #ffcccc;
}

.thanks-message {
    text-align: center;
    padding: 50px 0;
}

.thanks-message p {
    margin-bottom: 40px;
}


/* Key Visual */
.key-visual {
    height: 500px;
    width: 100%;
    margin-top: 80px;
    /* Offset for fixed header */
    background-image: url('../assets/img/main.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.key-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    /* Overlay to make text readable */
}

.key-visual__content {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
}

.key-visual__text {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .key-visual__text {
        font-size: 3rem;
    }
}

.mobile-only {
    display: block;
}

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

/* About */
.about {
    padding-top: 80px;
    /* Reduced since KV takes space, but keeping spacing consistent */
    background-color: #f9f9f9;
}

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

@media (min-width: 768px) {
    .about__container {
        flex-direction: row;
        justify-content: center;
        gap: 60px;
    }

    .about__image {
        width: 40%;
    }

    .about__content {
        width: 50%;
    }
}

.about__text {
    font-size: 1rem;
    text-align: justify;
}

/* Service */
.service {
    background-color: #fff;
}

.service__item {
    margin-bottom: 60px;
}

.service__item:last-child {
    margin-bottom: 0;
}

.service__subtitle {
    font-size: 1.4rem;
    border-left: 4px solid #333;
    padding-left: 15px;
    margin-bottom: 20px;
}

/* Works */
.works {
    background-color: #333;
    color: #fff;
    text-align: center;
}

.works .section__title {
    color: #fff;
}

.works__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.works__text {
    font-size: 1.1rem;
}

.works__button {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid #fff;
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0.1em;
    transition: all 0.3s;
}

.works__button:hover {
    background-color: #fff;
    color: #333;
}

/* Company */
.company {
    background-color: #fff;
}

.company__list {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid #eee;
}

.company__row {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

@media (min-width: 768px) {
    .company__row {
        flex-direction: row;
        align-items: baseline;
    }

    .company__row dt {
        width: 30%;
        font-weight: 700;
    }

    .company__row dd {
        width: 70%;
    }
}

/* Footer */
.footer {
    background-color: #f9f9f9;
    padding: 30px 0;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}