/* --- 全体設定 --- */
:root {
    --primary-color: #4682B4; /*  ヘッダー、フッター、バレット、ボタン、重要見出し */
    --accent-color: #f1c40f; /*  ナビゲーションの文字色、下線 */
    --text-color-dark: #333333; /* 主要な本文色 */
    --text-color-medium: #555555; /* やや薄めの本文色、詳細情報など */
    --text-color-light: #335359; /* info-section, リンクのデフォルト色など */
    --border-color-light: lightsteelblue; /* 区切り線、要素の境界線 */

    /* 背景色 */
    --light-background: #f8f8f8;
    --white-background: #ffffff;

    /* シャドウ */
    --shadow-subtle: rgba(0,0,0,0.05); /* 軽い影 */
    --shadow-medium: rgba(0,0,0,0.08); /* 中程度の影 */
    --shadow-strong: rgba(0,0,0,0.15); /* 強めの影 */
}
body {
    font-family: "Noto Sans JP", sans-serif, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    color: var(--text-color-dark);
    background-color: var(--light-background);
    line-height: 1.6;
}
.site-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px;
    background-color: var(--white-background);
    box-shadow: 0 0 20px var(--shadow-subtle);
    border-radius: 8px;
}
/* --- ヘッダーとナビゲーション --- */
.site-header {
    background-color: var(--primary-color);
    padding: 20px 0;
    margin-bottom: 40px;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.main-nav li {
    margin: 0 25px;
}
.main-nav a {
    text-decoration: none;
    color: var(--accent-color);
    font-weight: 500;
    padding: 8px 15px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1.2em;
    font-family: 'Yu Gothic UI Semibold','Yu Gothic UI','メイリオ', Meiryo,sans-serif;
    letter-spacing: 0.1em;
    display: block;
}
.main-nav a:hover {
    color: var(--white-background);
}
.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}
.main-nav a:hover::after {
    width: 100%;
}
/* リンクのデフォルトスタイル */
a {
    color: var(--text-color-light);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover, a:active {
    color: var(--primary-color);
}
.main-nav a, .footer-nav a {
    color: var(--accent-color);
}
.footer-nav a {
    color: #dddddd;
}

p {
    color: var(--text-color-medium);
    font-family:"Yu Gothic Medium", "BIZ UDゴシック Regular", "Hiragino Kaku Gothic ProN";
    line-height:1.6;
    font-size: 12pt;
}
hr {
    height: 2px;
    background-color: var(--border-color-light);
    border: none;
    margin: 60px 0;
    opacity: 0.6;
}
.company-info-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 30px;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 8px 25px var(--shadow-medium);
    border-radius: 12px;
    background-color: var(--white-background);
}
.company-images-container {
    width: 100%;
    max-width: 350px;
    text-align: center;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.company-image {
    width: 100%;
    height: auto;
    max-width: 300px;
    margin: 0 auto;
    display: block;
    box-shadow: 0 4px 10px var(--shadow-subtle);
    border-radius: 8px;
}
.company-details {
    width: 100%;
    max-width: 500px;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.8;
}
.company-details dt {
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 1.2em;
    border-left: 4px solid var(--accent-color);
    padding-left: 10px;
    line-height: 1.4;
}
.company-details dd {
    margin-bottom: 10px;
    padding-left: 1.5em;
    color: var(--text-color-medium);
}
/* --- アクセス・連絡先セクションの調整 --- */
.contact-access {
    margin-top: 40px;
    margin-bottom: 30px;
    padding: 0 15px;
}
.company-contact-info {
    text-align: center;
    margin-bottom: 40px;
    background-color: var(--white-background);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--shadow-subtle);
}
.company-contact-info p {
    margin-bottom: 8px;
    font-size: 1.1em;
    color: var(--text-color-dark);
}
.company-contact-info .co {
    margin-bottom: 5px;
    font-size: 1.05em;
    color: var(--text-color-dark);
}
.contact-item-group {
    margin-top: 20px;
    margin-bottom: 20px;
}
.contact-detail {
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: bold;
}
.contact-detail a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-detail a:hover {
    color: #2F6699;
}
.contact-icon {
    margin-right: 10px;
    color: var(--accent-color);
    font-size: 1.1em;
}
.section-separator {
    height: 1px;
    background-color: var(--border-color-light);
    margin: 50px auto;
    width: 70%;
    opacity: 0.6;
}
.access-list {
    list-style: none;
    padding-left: 0;
    margin-top: 30px;
    margin-bottom: 40px;
    text-align: center;
}
.access-list li {
    margin-bottom: 25px;
    background-color: var(--white-background);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow-subtle);
}
.access-list p {
    margin: 5px 0;
    line-height: 1.5;
    font-size: 1.05em;
    color: var(--text-color-medium);
}
.access-list li p:first-child {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1em;
    margin-bottom: 10px;
}
.map-link {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 25px;
}
.map-link img {
    vertical-align: middle;
    margin: 0 10px;
    opacity: 0.8;
}
.map-link a {
    font-weight: bold;
    color: #ed8877;
    font-size: 1.1em;
    letter-spacing: 0.05em;
    transition: transform 0.2s ease;
}
.map-link a:hover {
    transform: translateY(-2px);
}
.map-container {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 60px;
}
.map-container iframe {
    max-width: 100%;
    width: 100%;
    height: 400px;
    border: 1px solid var(--border-color-light);
    border-radius: 12px;
    box-shadow: 0 6px 20px var(--shadow-medium);
}
/* --- フッター --- */
.site-footer {
    background-color: var(--primary-color);
    color: var(--white-background);
    padding: 30px 0;
    text-align: center;
    margin-top: 80px;
    border-radius: 0 0 8px 8px;
}
.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.footer-nav li {
    margin: 0 15px 10px;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
    .site-wrapper {
        padding: 15px;
    }
    .main-nav li {
        margin: 0 10px;
    }
    .site-footer {
        padding: 20px 0;
    }
    .company-info-section, .contact-access {
        padding: 15px;
        box-shadow: 0 4px 15px var(--shadow-subtle);
    }
    .company-details dt {
        font-size: 1.1em;
    }
    .company-details dd {
        font-size: 0.95em;
    }
    .company-contact-info p {
        font-size: 1em;
    }
    .contact-detail {
        font-size: 1.1em;
    }
    .access-list {
        padding: 0 5px;
    }
}
/* --- PC表示時のレイアウト (768px以上) --- */
@media (min-width: 768px) {
    .company-info-section {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        max-width: 850px;
        margin-left: auto;
        margin-right: auto;
        padding: 35px;
    }
    .company-images-container {
        order: 1;
        margin-right: 50px;
        margin-bottom: 0;
        flex-shrink: 0;
        max-width: 300px;
    }
    .company-right-image {
        max-width: 100%;
        margin: 0 auto 20px auto;
    }
    .company-details {
        order: 2;
        flex-grow: 1;
        max-width: none;
    }
    .company-details dt {
        margin-top: 0;
    }
    .company-details dd {
        margin-bottom: 10px;
    }
    /* 連絡先・アクセス情報も横並びにする場合 */
    .contact-access {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        flex-wrap: wrap;
        max-width: 850px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 35px;
    }
    .company-contact-info {
        flex: 1;
        min-width: 320px;
        margin-right: 60px;
        text-align: left;
        margin-bottom: 0;
        padding: 30px;
    }
    .section-separator {
        display: none;
    }
    .access-list {
        flex: 1;
        min-width: 380px;
        margin-left: 0;
        text-align: left;
    }
    .map-container {
        padding: 0 35px;
        max-width: 850px;
        margin-left: auto;
        margin-right: auto;
    }
    .map-container iframe {
        height: 450px;
    }
}