/* =========================================
   基本スタイル (PC・共通)
   ========================================= */

/* 全体のトーン設定 */
body {
    margin: 0;
    padding: 0;
    background-color: #f7f5f0;
    color: #333;
    font-family: 'Noto Serif JP', serif;
    line-height: 2.2;
    -webkit-font-smoothing: antialiased;
}

/* ヘッダー */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 60px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.2em;
    font-weight: 500;
    color: #2c3e50;
}

/* オー・ウムラウト (Ö) のデザイン調整 */
.umlaut {
    display: inline-block;
    position: relative;
    margin-right: 5px;
    padding-bottom: 2px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

/* ナビゲーションの文字サイズ */
nav a {
    text-decoration: none;
    color: #888;
    font-size: 1rem;
    letter-spacing: 0.1em;
    transition: 0.3s;
}

nav a:hover {
    color: #333;
}

/* ヒーローエリア */
.hero {
    padding: 0 60px;
    margin-bottom: 80px;
}

.hero-image-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 2px;
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
}

/* セクション共通 */
.content-section {
    padding: 100px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* ラベルの文字サイズ */
.label {
    display: block;
    font-size: 0.9rem;
    color: #bbb;
    letter-spacing: 0.4em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

h2 {
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
}

.grey-bg {
    background-color: #f0eee7;
    max-width: 100%;
}

/* 事業内容 */
.services {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.service-item h3 {
    font-size: 1.1rem;
    font-weight: 500;
}

/* 会社概要テーブル */
.company-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    text-align: left;
}

.company-table th, .company-table td {
    padding: 20px;
    border-bottom: 1px solid #e0ddd5;
}

.company-table th {
    width: 30%;
    color: #999;
    font-weight: normal;
}

/* フッター */
footer {
    padding: 60px;
    background-color: #f7f5f0;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #aaa;
    font-size: 0.8rem;
    flex-direction: column; /* 要素を縦に並べる */
    gap: 20px;
}

.footer-logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-umlaut {
    font-size: 1rem;
}

.privacy-accordion {
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.privacy-accordion summary {
    cursor: pointer;
    font-size: 0.8rem;
    color: #666; /* 変更：少し濃い色にして目立たせる */
    letter-spacing: 0.1em;
    list-style: none;
    outline: none;
    transition: color 0.3s;
    margin-bottom: 20px;
    text-decoration: underline; /* 追加：常時下線を引く */
    text-underline-offset: 3px; /* 追加：下線と文字の間隔を少し空けて上品に */
}

/* Chrome/Safari等で矢印を消すハック */
.privacy-accordion summary::-webkit-details-marker {
    display: none;
}

.privacy-accordion summary:hover {
    color: #333;
}

/* 開いたときの中身 */
.privacy-text {
    padding: 40px;
    background-color: #fff; /* 読みやすいよう白背景 */
    text-align: left;
    font-size: 0.85rem;
    color: #666;
    border-radius: 4px;
    border: 1px solid #e0ddd5;
    margin-top: 10px;
}

.privacy-text h3 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
    border-bottom: 1px solid #e0ddd5;
    padding-bottom: 10px;
}

.privacy-text dl {
    margin: 0;
}

.privacy-text dt {
    font-weight: 500;
    margin-top: 20px;
    color: #2c3e50;
}

.privacy-text dd {
    margin-left: 0;
    margin-top: 5px;
    line-height: 1.8;
}


/* =========================================
   スマホ用レスポンシブ設定 (画面幅768px以下)
   ========================================= */
@media screen and (max-width: 768px) {

    body {
        line-height: 1.8;
    }

    header {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .header-left {
        width: 100%;
        justify-content: center;
    }

    nav ul {
        gap: 20px;
        padding: 0;
        margin: 0;
        justify-content: center;
        flex-wrap: wrap;
    }

    nav a {
        font-size: 0.9rem;
    }

    .hero {
        padding: 0 15px;
        margin-bottom: 50px;
    }

    .content-section {
        padding: 60px 20px;
    }

    h2 {
        font-size: 1.4rem;
        margin-bottom: 30px;
    }

    .services {
        flex-direction: column;
        gap: 40px;
        margin-top: 30px;
    }

    .service-item {
        border-bottom: 1px solid #e0ddd5;
        padding-bottom: 30px;
    }

    .service-item:last-child {
        border-bottom: none;
    }

    .company-table th, .company-table td {
        display: block;
        width: 100%;
        padding: 10px 0;
        text-align: left;
    }

    .company-table th {
        border-bottom: none;
        padding-bottom: 0;
        color: #aaa;
        font-size: 0.8rem;
    }

    .company-table td {
        border-bottom: 1px solid #e0ddd5;
        padding-top: 5px;
        font-weight: 500;
    }

    /* フッター：スマホでも綺麗に */
    .footer-bottom {
        padding: 0 10px;
    }
    
    .privacy-text {
        padding: 20px; /* スマホでは余白を減らす */
    }
}