/* 全般設定 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Noto Sans JP', 'Montserrat', sans-serif;
    color: #333;
    background-color: #faf9fc;
    line-height: 1.8;
    letter-spacing: 0.05em;
}
a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}
a:hover {
    opacity: 0.7;
}
li {
    list-style: none;
}

/* ヘッダー */
header {
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0 1px 10px rgba(0,0,0,0.02);
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* 【修正部分】ロゴの中のリンクが正しく表面に出て、クリックできるように修正しました */
.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #4a3b68;
    position: relative;
    z-index: 105; 
}
.logo a {
    display: inline-block;
    cursor: pointer;
}
nav ul {
    display: flex;
    gap: 30px;
}
nav a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
}

/* メインビジュアル */
.hero {
    height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding-top: 80px;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(53, 41, 79, 0.75) 0%, rgba(133, 115, 171, 0.55) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    padding: 0 20px;
}
.hero-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #ede7f6;
}
.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.4;
}
.hero-text {
    font-size: 1.05rem;
    font-weight: 300;
    margin-bottom: 40px;
}
.btn {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid #fff;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    transition: all 0.3s;
}
.btn:hover {
    background-color: #fff;
    color: #4a3b68;
    opacity: 1;
}

/* セクション共通 */
.section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.bg-light {
    background-color: #f4effa;
    max-width: 100%;
    padding: 100px calc((100% - 1160px) / 2);
}
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title span {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #9383b5;
    display: block;
    letter-spacing: 0.2em;
}
.section-title h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 500;
    color: #4a3b68;
}
.section-title p {
    font-size: 0.9rem;
    color: #888;
    margin-top: 5px;
}

/* コンセプト */
.concept-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}
.concept-text {
    flex: 1;
}
.concept-text h3 {
    font-size: 1.5rem;
    color: #4a3b68;
    margin-bottom: 20px;
    line-height: 1.5;
}
.concept-text p {
    margin-bottom: 15px;
    color: #555;
    font-size: 0.95rem;
}
.concept-img {
    flex: 1;
}
.concept-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(74, 59, 104, 0.08);
}

/* サービス */
.services-grid {
    display: flex;
    gap: 30px;
}
.service-card {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(74,59,104,0.03);
    text-align: center;
    padding-bottom: 30px;
}
.card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.service-card h3 {
    font-size: 1.15rem;
    color: #4a3b68;
    margin: 25px 15px 15px;
}
.service-card p {
    padding: 0 20px;
    color: #666;
    font-size: 0.9rem;
    text-align: left;
}

/* 会社概要 */
.company-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
}
.company-table tr {
    border-bottom: 1px solid #e2dbec;
}
.company-table th, .company-table td {
    padding: 20px;
    text-align: left;
    vertical-align: top;
}
.company-table th {
    width: 25%;
    color: #4a3b68;
    font-weight: 500;
}
.company-table td {
    color: #555;
}

/* ニュース */
.news-list {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
}
.news-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 10px;
}
.news-date {
    font-family: 'Montserrat', sans-serif;
    color: #9383b5;
    font-size: 0.9rem;
}
.news-category {
    background-color: #4a3b68;
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 10px;
    border-radius: 3px;
}

/* お問い合わせ */
.contact-area {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.contact-area p {
    margin-bottom: 30px;
    color: #555;
}
.btn-dark {
    background-color: #4a3b68;
    color: #fff;
    border: none;
}
.btn-dark:hover {
    background-color: #35294f;
}

/* フッター */
footer {
    background-color: #1e172a;
    color: #bfaecf;
    padding: 40px 20px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}
.copyright {
    font-size: 0.8rem;
}

/* レスポンシブ */
@media (max-width: 900px) {
    .services-grid { flex-direction: column; }
}
@media (max-width: 768px) {
    nav { display: none; }
    .hero h1 { font-size: 2rem; }
    .concept-flex { flex-direction: column; }
    .company-table th, .company-table td { display: block; width: 100%; padding: 10px 20px; }
    .company-table th { padding-top: 20px; }
    .footer-container { flex-direction: column; gap: 20px; text-align: center; }
}