/* --- 基本設定 --- */
body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    color: #333;
    background-color: #fff;
    line-height: 1.8;
    font-size: 16px;
}

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

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.section-container {
    padding: 80px 0;
}

.section-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4%;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 10px;
    letter-spacing: 0.1em;
}

.section-subtitle {
    font-size: 14px;
    text-align: center;
    color: #888;
    margin: 0 0 60px;
}

.bg-lightgray {
    background-color: #f7f7f7;
}

.bg-dark {
    background-color: #222;
}

.text-white {
    color: #fff;
}

.view-more-button {
    text-align: center;
    margin-top: 40px;
}

.view-more-button a {
    display: inline-block;
    padding: 15px 60px;
    border: 1px solid #333;
    font-weight: 700;
    transition: all 0.3s;
}

.view-more-button a:hover {
    background-color: #333;
    color: #fff;
}

/* --- ヘッダー --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 4%;
    max-width: 1100px;
    margin: 0 auto;
}

.header-logo a {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.header-nav ul {
    display: flex;
}

.header-nav li {
    margin-left: 30px;
}

.header-nav a {
    font-weight: 700;
    font-size: 14px;
}

/* --- メインビジュアル --- */
.main-visual {
    height: 70vh;
    background-color: #eef2f7; /* 背景色を設定 */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px; /* 固定ヘッダー分の余白 */
    box-sizing: border-box;
}

.main-visual-content {
    padding: 40px;
}

.main-visual h2 {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 20px;
    line-height: 1.4;
    color: #334155;
}

.main-visual p {
    font-size: 18px;
    margin: 0;
    color: #475569;
}

/* --- SERVICEセクション --- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-item {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.service-item-header {
    background-color: #e2e8f0;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.service-item-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: #334155;
    line-height: 1.5;
    text-align: center;
}

.service-item-text {
    padding: 20px;
    flex-grow: 1;
    text-align: left;
}


/* --- WORKSセクション --- */
.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.works-item {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.works-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 5px;
}
.works-item-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 15px;
}
.works-item-text {
    font-size: 16px;
}


/* --- CONTACTセクション --- */
#contact {
    text-align: center;
}

.contact-text {
    color: #fff;
    margin-bottom: 40px;
}

#contact .view-more-button a {
    border-color: #fff;
    color: #fff;
}

#contact .view-more-button a:hover {
    background-color: #fff;
    color: #333;
}

/* --- フッター --- */
.footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto 20px;
    padding: 0 4%;
}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.footer-nav ul {
    display: flex;
}

.footer-nav li {
    margin-left: 20px;
}

.footer-nav a {
    font-size: 14px;
}

.copyright {
    text-align: center;
    font-size: 12px;
    color: #aaa;
    margin: 0;
}


/* --- 会社概要ページ --- */
.page-title-container {
    background-color: #f7f7f7;
    padding: 60px 0;
    margin-top: 80px; /* ヘッダーの高さ分 */
    text-align: center;
}

.page-main-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 10px;
    letter-spacing: 0.1em;
}

.page-sub-title {
    font-size: 14px;
    color: #888;
    margin: 0;
}

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

.company-table th, .company-table td {
    border: 1px solid #e0e0e0;
    padding: 20px;
    vertical-align: middle;
}

.company-table th {
    width: 25%;
    background-color: #f7f7f7;
    font-weight: 700;
    text-align: left;
}

.map-container {
    margin-bottom: 20px;
}

.access-info {
    text-align: center;
}
