/* ================================
   全体レイアウト
================================ */
body {
    margin: 0;
    font-family: "Yu Gothic", sans-serif;
    background: #F7FBFF;
    color: #333;
     display:flex; は削除 → フォーム中央寄せの妨げになる */
}

/* ================================
   フォーム中央寄せ用メインコンテンツ
================================ */
.main {
/*     flex: 1;
    padding: 100%;
max with;350px
  width: 350px
   display: flex;
    justify-content: left;   /* 横方向の中央寄せ */
    padding: 40px 20px;
    box-sizing: border-box;
}

/* ================================
   問い合わせフォーム（表）
================================ */
.contact-table {
    width: 100%;              /* 中央に安定する幅 */
    max-width:80%;            /* スマホでは縮む */
    margin: 0 auto;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 16px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* 左側の項目名セル */
.contact-table th {
    width: 30%;
    background: #6FB7FF;
    color: #ffffff;
    padding: 12px;
    border: 1px solid #ccc;
    text-align: left;
}

/* 右側の入力欄セル */
.contact-table td {
    padding: 12px;
    border: 1px solid #ccc;
    color: #0A1F44;
　　 width: 70%;
}

/* 入力欄 */
.contact-table input,
.contact-table select,
.contact-table textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* 迷惑対策の説明文 */
.note {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #555;
}

/* ================================
   ボタン
================================ */
.contact-btn-wrap {
    margin-top: 20px;
    text-align: center;
}

.contact-btn {
    background: #6FB7FF;
    color: #fff;
    padding: 12px 20px;
    border: none;
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
}

.contact-btn:hover {
    background: #559FE8;
}

/* ================================
   見出し（h2）
================================ */
/* h2 と戻るボタンを横並びにする（左にボタン、右にタイトル） */
.form-title-row {
    display: flex;
    justify-content: flex-start;   /* 左寄せで並べる */
    align-items: center;
    gap: 40px;                      /* ボタンとタイトルの間に余白 */
    width: sum=with100%-240px;                   /* フォーム幅と合わせる */
    max-width: 90%;
    margin: 0 auto 20px auto;       /* 中央寄せ＋下に余白 */
}

/* h2 のデザインはそのまま */
.form-title-row h2 {
    margin: 0;
}

/* h2 の左側に置く戻るボタン */
.back-btn-inline {
    background: #6FB7FF;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    white-space: nowrap;            /* 折り返し防止 */
}

.back-btn-inline:hover {
    background: #559FE8;
}

/* チェックボックスと文字の縦位置を揃える */
.copy-row {
    display: flex;
   justify-content: flex-start;  /* ← 左寄せにする */ 
 align-items: center;   /* ← これが最重要。縦位置がピタッと揃う */
    gap: 3px;              /* □ と文字の間の余白（調整可） */
    line-height: 1;        /* テキストの高さを揃える */
}

.copy-row input[type="checkbox"] {
    margin: 0;             /* ブラウザの余計な余白を消す */
    transform: translateY(1px); /* ← 微調整（ズレが完全に消える） */
}
.contact-table td {
    padding-left: 0px;  /* ← もっと詰めたいなら 5px などに調整可能 */
}

/* ================================
   サイドバー
================================ */
.sidebar {
    width: 240px;
    min-width: 240px;
    max-width: 240px;
    background: #E8F3FF;
    padding: 30px 20px;
    box-shadow: 2px 0 6px rgba(0,0,0,0.1);
}

.sidebar h1 {
    font-size: 22px;
    color: #0A3D62;
    margin-bottom: 30px;
    text-align: center;
}

.sidebar nav a {
    display: block;
    padding: 12px;
    margin: 8px 0;
    background:  #F7FBFF;
    border-radius: 6px;
    text-decoration: none;
    color: #0A3D62;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.rogo {
    width: 240px;
    height: 55px;
    background: #E8F3FF url('higarogo2.png') center/contain no-repeat;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    position: relative;
   z-index: 1;
　　justify-content: center;   /* 横方向の中央寄せ */

}


@media (min-width: 601px) {
    .sp-header {
        display: none !important;
    }

　　　
　　.sp-menu　｛
　　　     display: none !important;
    }
