* 全体共通スタイル */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}
header {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 左寄せにする */
    padding: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex-wrap: nowrap; /* 折り返さない */
}

/* ヘッダーリンク */
header .header-link {
    display: flex;
    align-items: center;
    text-decoration: none; /* 下線を削除 */
    color: inherit; /* 親要素の色を継承 */
}

/* ロゴ画像 */
header .logo {
    width: 50px; /* ロゴの幅を固定 */
    height: auto; /* 高さを自動調整 */
    margin-right: 15px; /* テキストとの間隔を確保 */
}


/* 見出しのスタイル */
header h1 {
    font-size: 24px;
    margin: 0;
    color: #333;
    white-space: nowrap; /* 見出しの折り返しを防止 */
}



footer {
    background-color: #0073e6;
    color: #ffffff;
    text-align: center;
    padding: 20px;
}
footer a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 10px;
}


/* 画像の上下の余白をなくす */
img {
	display: block;
  }


a {
	display: block;
  }


/* ホームページ（index.html）用スタイル */
.hero {
    text-align: center;
    padding: 40px 20px;
    background-color: #f0f8ff;
}
.hero h2 {
    font-size: 28px;
    color: #0073e6;
}
.hero p {
    font-size: 18px;
    margin: 10px 0;
}
.profile {
    text-align: center;
    padding: 20px;
}
.profile img {
    border-radius: 50%;
    width: 120px;
    margin-bottom: 10px;
}
.services {
    padding: 20px;
    text-align: center;
}
.services .card {
    display: inline-block;
    margin: 10px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    width: calc(30% - 20px);
    box-sizing: border-box;
    text-align: center;
    font-size: 16px;
    color: #0073e6;
}
.news {
    padding: 20px;
    text-align: center;
}
.news .article {
    margin: 10px auto;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    max-width: 600px;
    text-align: left;
}
.news a {
    display: inline-block;
    margin-top: 10px;
    color: #0073e6;
    text-decoration: none;
}
.access {
    text-align: center;
    padding: 20px;
}
.access #map {
    margin-top: 20px;
    height: 300px;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #888;
    font-size: 18px;
}

/* 法的情報ページ（legal.html）用スタイル */
.container {
    width: 90%;
    max-width: 600px;
    margin: 20px auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}
.container h1{
	font-size:25px;
}
.container h2{
	font-size:20px;
}

.container h1, .container h2 {
    color: #0073e6;
}
.highlight {
    background-color: #e6f7ff;
    padding: 10px;
    border-left: 5px solid #0073e6;
    margin: 10px 0;
}
.highlight h3 {
    margin: 0;
}
.highlight p, .highlight ul {
    margin: 10px 0;
    padding-left: 20px;
}
ul {
    list-style-type: disc;
}
ul li {
    margin-bottom: 10px;
}

.marker {
    background-color: #fff8b5;
    padding: 0 5px;
    border-radius: 3px;
}

/* フォーム全体のスタイル */
.consultation-form {
    display: flex;
    flex-direction: column; /* 子要素を縦並び */
    gap: 15px; /* 各要素の間隔 */
    max-width: 600px; /* 最大幅を設定 */
    margin: 0 auto; /* 中央揃え */
}

/* 各フォーム要素のスタイル */
.consultation-form label {
    font-weight: bold;
    margin-bottom: 5px;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea,
.consultation-form button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* テキストエリアのサイズ */
.consultation-form textarea {
    resize: none; /* サイズ変更を無効化 */
}

/* プライバシーポリシー部分のスタイル */
.privacy-policy {
    display: flex;
    align-items: center;
    gap: 10px; /* チェックボックスと文字の間隔 */
    flex-wrap: nowrap; /* 折り返し防止 */
}

.privacy-policy input[type="checkbox"] {
    width: auto; /* チェックボックスを適切に表示 */
    margin: 0; /* デフォルトのマージンをリセット */
}

/* ボタンのスタイル */
.consultation-form .submit-button {
    background-color: #0073e6;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    padding: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.consultation-form .submit-button:hover {
    background-color: #005bb5;
}

/* 小さい画面用のメディアクエリ */
@media (max-width: 768px) {
    .consultation-form {
        padding: 10px;
    }

    .consultation-form label {
        font-size: 14px;
    }

    .consultation-form input,
    .consultation-form select,
    .consultation-form textarea,
    .consultation-form button {
        font-size: 14px;
    }
}