/* General styles */
body {
    background-color: #f5f5f5;
    font-size: 1em;
    line-height: 1.8;
    font-family: "ヒラギノ角ゴ Pro W3", Hiragino Kaku Gothic Pro, "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", MS PGothic, sans-serif;
}

/* Header fixed position */
#head .fixbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* Adjust wrapper padding for fixed header */
#wrapper {
    padding-top: 100px;
}

/* ロゴと電話番号のサイズ調整 */
#logo {
    width: 150px; /* ロゴの幅を小さく調整 */
    height: auto;
    float: left;
    margin: 10px 0 10px 15px; /* ロゴを端から少し離して配置 */
}

#tel {
    width: 150px; /* 電話番号の画像の幅を小さく調整 */
    height: auto;
    float: right;
    margin: 10px 15px 10px 0; /* 電話番号を端から少し離して配置 */
}

/* ヘッダの固定位置 */
#head .fixbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center; /* コンテンツを垂直方向に中央揃え */
    justify-content: space-between; /* ロゴと電話番号の間にスペースを確保 */
}

/* 固定ヘッダに合わせて余白を調整 */
#wrapper {
    padding-top: 90px; /* ヘッダの新しいサイズに合わせて余白を調整 */
}

/* Form container */
#form-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Form group styling */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #66afe9;
    outline: none;
}

/* Required field styling */
.required {
    color: red;
}

/* Submit button */
.button_area input[type="submit"] {
    background: #293B88;
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    padding: 10px;
    border: none;
    border-radius: 4px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button_area input[type="submit"]:hover {
    background: #3751BF;
}

/* Footer */
#foot {
    background-color: #292929;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}

#foot h3 {
    margin-bottom: 10px;
}

#foot #address span {
    color: #76E0FF;
    text-decoration: underline;
}
