/* Google FontsからNoto Sans JPを読み込む */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* ヘッダー */
header {
    background-color: #ffffff;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    flex-wrap: wrap;
}

/* ロゴのスタイル */
.logo {
    width: 150px;
    height: auto;
    margin: 0;
    padding: 0 40px;
}

/* ハンバーガーメニュー */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger-menu span {
    width: 30px;
    height: 4px;
    background-color: #333;
    border-radius: 2px;
}

/* ナビゲーションメニュー */
nav {
    flex-grow: 1;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    gap: 50px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #F7BB41;
}

/* 言語切替ドロップダウン */
.language-switcher {
    margin-left: 20px;
    position: absolute;
    right: 80px; /* ハンバーガーメニューと重ならないように位置調整 */
}

.language-switcher select {
    padding: 8px;
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #ffffff;
    color: #333;
    cursor: pointer;
}

.language-switcher select:focus {
    outline: none;
    border-color: #F7BB41;
}

/* レスポンシブ対応（ハンバーガーメニュー表示） */
@media (max-width: 768px) {
    /* ヘッダー内の要素を横並びにする */
    .header-container {
        flex-direction: row;  /* 横並びに変更 */
        justify-content: space-between;  /* 要素を左右に配置 */
        align-items: center;  /* 垂直方向に中央揃え */
        padding: 0 20px;  /* 左右の余白を調整 */
    }

    /* ロゴのサイズ調整 */
    .logo {
        width: 120px;  /* ロゴサイズの調整 */
        margin-right: 20px;  /* ロゴとメニューの間にスペース */
    }

    /* ハンバーガーメニューを右端に配置 */
    .hamburger-menu {
        display: flex;
        position: absolute;
        right: 20px;  /* 右端に配置 */
        top: 20px;    /* 上端に配置 */
    }

    /* ナビゲーションメニュー */
    .nav-menu {
        display: none;  /* デフォルトでは非表示 */
        flex-direction: column;
        align-items: center;
        gap: 20px;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: #ffffff;
        width: 100%;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;  /* アクティブ時にメニューを表示 */
    }

    /* 言語切替ドロップダウンの配置調整 */
    .language-switcher {
        right: 100px;  /* ハンバーガーメニューとのスペース調整 */
    }
}

.language-switcher select:focus {
    outline: none;
    border-color: #F7BB41;
}

/* サービス概要セクション */
.service-overview {
    background-color: #f9f9f9;
    padding: 40px 20px;
    text-align: center;
}

.service-overview h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

.service-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 30px;
}

.service-item {
    width: 30%;
    background-color: #ffffff;
    padding: 20px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
    font-size: 1.5em;
    color: #333;
}

.service-item p {
    font-size: 1em;
    color: #555;
}

/* 会社概要ページ */
.company-overview {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.company-overview h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #333;
}

/* 会社情報テーブル */
.company-table {
    width: 100%;
    display: table;
    margin-bottom: 30px;
}

.row {
    display: table-row;
    border-bottom: 1px solid #ddd;
}

.label, .value {
    display: table-cell;
    padding: 15px;
    vertical-align: top;
}

.label {
    font-weight: 700;
    color: #333;
    background-color: #F7BB41;
    width: 30%;
    padding-left: 20px;
}

.value {
    color: #555;
}

.value ul {
    list-style-type: disc;
    padding-left: 20px;
}

/* リンクスタイル */
.company-info a {
    color: #F7BB41;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.company-info a:hover {
    text-decoration: underline;
    color: #e6a63f;
}

/* お問い合わせフォームのスタイル */
.contact-form-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-form-section h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
}

.contact-form-section p {
    font-size: 1.1em;
    margin-bottom: 30px;
    text-align: center;
    color: #555;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
    color: #555;
}

input[type="submit"] {
    background-color: #F7BB41;
    color: white;
    border: none;
    padding: 12px 30px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #e6a63f;
}

/* フッター */
footer {
    text-align: center;
    padding: 10px;
    background-color: #1f1f1d;
    color: white; 
    margin-top: 50px;
}