/* リセットCSS (簡易版) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f0f0f0; /* 全体の背景色 */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px; /* ヘッダーとフォームの間にスペース */
}

header {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
    max-width: 800px;
    position: relative;
}

header h1 {
    font-size: 3em;
    font-weight: bold;
    color: #333;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

header .subtitle {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 20px;
}

.breadcrumb {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.9em;
    color: #777;
}

.breadcrumb a {
    color: #777;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.current-page {
    color: #333;
}


main {
    width: 100%;
    max-width: 800px; /* フォーム全体の最大幅 */
    padding: 20px;
}

/* グレーの枠と中の文章 */
.info-box {
    background-color: #e0e0e0; /* グレーの背景色 */
    padding: 20px 30px; /* 内側の余白 */
    border-radius: 8px; /* 角を少し丸くする */
    margin-bottom: 30px; /* フォームとの間に余白 */
    text-align: center; /* テキストを中央寄せ */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 軽い影 */
}

.info-box p {
    font-size: 1em;
    color: #555;
    line-height: 1.8;
}

/* フォームのスタイル */
.contact-form {
    background-color: #fff;
    padding: 40px 50px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #444;
}

.required {
    background-color: #e91e63; /* ピンク系の色 */
    color: #fff;
    font-size: 0.7em;
    padding: 3px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
}

.arbitrary {
    background-color: #9e9e9e; /* グレー系の色 */
    color: #fff;
    font-size: 0.7em;
    padding: 3px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    color: #555;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #007bff; /* フォーカス時の色 */
    outline: none;
}

textarea {
    resize: vertical; /* 縦方向のみリサイズ可能にする */
    min-height: 120px;
}

.checkbox-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: normal; /* チェックボックスのラベルは太字にしない */
    color: #555;
    display: flex;
    align-items: center;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2); /* チェックボックスを少し大きくする */
}

.privacy-policy, .confirmation {
    display: flex;
    align-items: center;
    margin-top: 25px;
}
.class4{
   font-size: 0.5em;  /*　赤い雫の文字 */
}

.privacy-policy .required {
    margin-right: 10px; /* 「必須」とチェックボックスの間隔 */
}

.privacy-policy input[type="checkbox"],
.confirmation input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
}

.submit-button {
    display: block;
    width: 200px;
    padding: 15px 20px;
    margin: 40px auto 0; /* 中央寄せ */
    background-color: #333; /* 黒系の色 */
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.submit-button:hover {
    background-color: #555;
    transform: translateY(-2px);
}
.action-btn{
    font-size: 1.3em;
}

/* レスポンシブ対応 (簡易版) */
@media (max-width: 768px) {
    body {
        padding-top: 30px;
    }

    header h1 {
        font-size: 2.5em;
    }

    .contact-form {
        padding: 30px;
    }

    .info-box {
        padding: 15px 20px;
    }

    .breadcrumb {
        position: static; /* スマートフォンでは通常の配置に */
        text-align: center;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2em;
    }

    .contact-form {
        padding: 20px;
    }

    .info-box p {
        font-size: 0.9em;
    }
}