.contact{
    padding: 40px 8% 30px;
    background:#0b0b0b;
    margin: 30px 0 50px 0;
}
.contact-inner {
    max-width: 98%;
    margin: 20px auto;
    background:#141414;
    border:1px solid #333;
    border-radius: 16px;
    padding: 30px;
    box-shadow:0 0 20px rgba(0,0,0,0.6);
}

form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
    margin-top: 5px;
}


/* カスタムセレクト本体 */
.custom-select {
  position: relative;
  background-color: #1f1f1f;
  border: 1px solid #444;
  border-radius: 12px;
  cursor: pointer;
  padding: 14px;
  color: #fff;
  font-size: 16px;
}

/* 選択肢リスト */
.select-items {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #1f1f1f;
  border: 1px solid #444;
  border-radius: 12px;
  margin-top: 4px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 10;
}

/* 個別選択肢 */
.select-items div {
  padding: 12px;
  cursor: pointer;
}

.select-items div:hover {
  background-color: #2a2a2a;
}

/* 初期は非表示 */
.select-hide {
  display: none;
}


input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #444;
    background: #1f1f1f;
    font-size: 16px;
    color: #fff;
    width: 100%;
    box-sizing: border-box;
    transition: border 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-color: #ff6a00;
    box-shadow: 0 0 10px rgba(255,106,0,0.3);
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 120px;
}


.privacy-agree input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 10px;
    margin-left: 10px;
    accent-color: #ff6a00;
    flex-shrink: 0;
}

.privacy-agree label {
    margin-top: 14px;
    display: inline-block;
    vertical-align: middle;
    line-height: 20px;
    cursor: pointer;
}

.submit-btn {
    background: linear-gradient(90deg,#ff6a00,#ff8c33);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.2s, transform 0.1s;
}

.submit-btn:disabled {
    background: #555;          /* グレーアウト */
    cursor: not-allowed;
}
.submit-btn:not(:disabled):hover {
    background: linear-gradient(90deg,#ff8c33,#ff9f50);
    transform: translateY(-2px);
}


.privacy-box {
    border: 1px solid #333;
    border-radius: 12px;
    background: #1a1a1a;
    padding: 12px;
    width: 100%;
}

.privacy-content {
    max-height: 300px;
    overflow-y: auto;
    padding: 8px;
    margin-bottom: 12px;
    line-height: 1.5;
    
    width: 100%;           /* 横幅調整 */
    box-sizing: border-box; 
}

.privacy-agree {
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-title{
    font-size: 22px;
    margin-bottom: 20px;
}

/* =========================
   PRIVACY POLICY
========================= */


/* 条文タイトル */
.privacy-box h3{
  font-size:20px;
  color:#ff6a00;
  margin-top:40px;
  margin-bottom:15px;
  border-left:4px solid #ff6a00;
  border-bottom:1px solid #333;
  padding-left:12px;
  padding-bottom:6px;
}

/* 本文 */
.privacy-box p{
  line-height:1.9;
  font-size:16px;
  margin-bottom:16px;
  color:#e5e5e5;
}

/* リスト */
/* リスト */
.privacy-box ul{
  margin:10px 0 20px 0;
  padding:0;
  list-style:none;
}

.privacy-box li{
  margin-bottom:6px;
  line-height:1.8;
}

/* セクション間区切り */
.privacy-box h3:not(:first-of-type){
  margin-top:50px;
}

/* 制定日 */
.privacy-box p:last-child{
  margin-top:40px;
  padding-top:20px;
  border-top:1px solid #333;
  font-size:14px;
  color:#ccc;
}

.privacy-box a{
  color: white;
  text-decoration: none;
}

.privacy-box a:hover{
  color: #ff6a00;
  text-decoration: none;
}

/* 必須ラベル用 */
.required-label {
    display: inline-block;
    background-color: #ff6a00; /* オレンジ背景 */
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 0.5px 8px;
    border-radius: 20px;
    margin-left: 5px;
    vertical-align: middle;
    margin-bottom: 3.5px;
}

/* =========================
   タブレット
========================= */

@media (max-width:1024px){

.privacy-box h3{
  font-size:18px;
}

}

/* =========================
   スマホ
========================= */

@media (max-width:768px){

.privacy-box h3{
  font-size:18px;
}

.privacy-box p{
  font-size:16px;
}
}