@charset "utf-8";
/* ============================================================
   基本スタイル(共通)
============================================================ */
.container {
}
.works-list {
    display: grid;
}
.btn-more .btn {
    margin: 2rem 0 5rem; /* 上下の余白（お好みで） */
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid #1860ad;
    color: #1860ad;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.2em;
    transition: all 0.3s;
}
.btn-more .btn:hover {
    background: #1860ad;
    color: #fff;
}
/* ============================================================
 サブビジュアル
============================================================ */
.sbu-visual {
    height: 350px;
    width: auto;
    background-color: #f0f5f5;
}


/* ============================================================
お問い合わせ
============================================================ */
.contact {
		padding: 20px 16px;
	}

.contact .section-title img {
    max-width: 270px;
    position: relative;
    text-align: center;
    z-index: 10;
    margin: -75px auto 3rem;
}
.lead {
  margin-bottom: 50px;
  font-size: 14px;
  text-align: center;
  line-height: 1.8;
  font-weight: 500;
}

/* フォーム全体ラッパー */
.form-wrapper {
    background-color: #e1effa;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    margin-bottom: 8vw;
	
	opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1.5s ease forwards;
}

/* アニメーション定義 */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 各フォーム項目のグループ */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

/* ラベルスタイル */
.form-group label {
    font-weight: bold;
    background: white;
    display: inline-block;
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
    width: fit-content;
}

/* 入力欄とテキストエリア */
.form-group input,
.form-group textarea {
    padding: 0.7rem;
    border: none;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    background-color: white;
}

/* 補足メモなど */
.note {
    font-size: 0.85rem;
    color: #333;
    margin-top: 0.5rem;
}

/* 送信ボタンのラッパー */
.form-submit {
    text-align: center;
}

/* 送信ボタン */
.form-submit button {
    background-color: #1860ad;
    color: white;
    padding: 0.5rem 2rem;
    font-size: 1.2rem;
    border: 1px solid #1860ad;
    cursor: pointer;
    margin-top: 30px;
	transition: all 0.3s;
}

/* ホバー時のボタン */
.form-submit button:hover {
    background: #fff;
    color: #1860ad;
	font-weight: bold;
}

/* ------------------------------
   レスポンシブ対応（600px以上）
------------------------------- */
@media (min-width: 600px) {
	
	.lead {
       margin-bottom: 50px;
       font-size: 16px;
       text-align: center;
       line-height: 1.8;
       font-weight: 500;
     }
   
    .form-wrapper {
        padding: 4rem;
    }

    .form-group {
        flex-direction: row;
        align-items: center;
    }

    .form-group label {
        width: 200px;
        margin-bottom: 0;
        margin-right: 1rem;
        text-align: center;
    }

    .form-group input,
    .form-group textarea {
        flex: 1;
    }

    .note {
        margin-left: 200px;
    }
}

/* -------------------------------------------------------
   送信完了ページ（thanks.html）用スタイル
-------------------------------------------------------- */

.thanks-message {
  text-align: center;
  padding: 5rem 2rem;
  background-color: #f0f5f5;
  max-width: 600px;
  margin: 200px auto 170px;
}

.thanks-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #1860ad;
}

.thanks-message h1 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
	letter-spacing: 0.15rem;
}

.thanks-message p {
   font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.thanks-btn {
  display: inline-block;
  padding: 0.7rem 2rem;
  font-size: 1rem;
  background-color: #1860ad;
  color: white;
  border: 1px solid #1860ad;
  text-decoration: none;
  transition: all 0.3s;
}
.thanks-btn:hover{
    background: #fff;
    color: #1860ad;
	font-weight: bold;
}
@media screen and (max-width: 600px) {
  .thanks-message {
    padding: 3rem 1.5rem;
    margin:180px 20px 150px;
  }

  .thanks-message h1 {
    font-size: 1rem;
  }

  .thanks-message p {
    font-size: 0.9rem;
  }

  .thanks-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
  }
}

