/*
Theme Name: ミノリアライズ
*/
@charset "UTF-8";

header {
    display: none;
}

footer {
    display: none;
}

.page-template-default {
    display: block;
}

.contact-form {
    padding: 40px 5%;
}

.contact-form .inner,
form {
    max-width: 800px;
    margin: 0 auto;
}

.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
}

.step {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    font-family: Oswald;
    background-color: #EDF1F5;
    color: #fff;
}

.step.active {
    background-color: #515151;
    color: #fff;
}

/* タイトルセクション */
.form-title {
    text-align: center;
    margin-bottom: 30px;
}

.wpcf7-list-item {
    margin-bottom: 10px;
}

.wpcf7-list-item:last-child {
    margin-bottom: 0;
}

.form-title h2 {
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 20px;
    color: #515151;
}

.form-title p {
    font-size: 14px;
    text-align: left;
    line-height: 1.8;
}

/* フォームコンテンツ */
.form-content {
    padding: 50px 0 100px;
    border-radius: 8px;
}

/* フォームグループ */
.form-group,
.check-group {
    margin-bottom: 30px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.required {
    border: 1px solid #D80606;
    color: #DB0606;
    font-size: 8px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-label .detail {
    font-size: 8px;
}

.optional {
    border: 1px solid #B2B1B1;
    color: #B2B1B1;
    font-size: 8px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 3px;
}

/* ラジオボタン */
.radio-group {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.form-group .sfa {
    flex-direction: column;
    align-items: flex-start;
}

.form-group input {
    margin-bottom: 0 !important;
}

.radio-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

input[type="radio"] {
    width: 16px;
    height: 16px;
    border: 1px solid #D7D5D2;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
}

.sfa .radio-item input[type="checkbox"],
.consulting .radio-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 1px solid #D7D5D2;
    cursor: pointer;
    position: relative;
}

.personal .radio-item input[id="individual"],
.corporation .radio-item input[id="corporation"] {
    border: 1px solid #515151;
}

.personal input[type="radio"]::after,
.corporation input[type="radio"]::after {
    display: block;
    content: " ";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #515151;
}

.radio-item label {
    font-size: 16px;
    color: #584F45;
    cursor: pointer;
}

/* 入力フィールド */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    height: 60px;
    font-size: 14px;
    text-align: left;
    padding: 10px;
    background-color: #EDF1F5;
    margin-bottom: 0;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    outline: none;
    border-color: #515151;
}

textarea {
    height: 200px;
    resize: vertical;
}

/* チェックボックス */
.checkbox-group {
    margin: 50px auto 0;
}

.checkbox-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.check-group input[type="checkbox"],
.checkbox-item input[type="checkbox"] {
    width: 28px;
    height: 28px;
    border: 1px solid #515151;
    cursor: pointer;
    position: relative;
}

.check-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

/* クリックされた時の背景色 */
input[type="checkbox"]:checked {
  font-size: 14px;
  background-color: #fff;
}

/* チェックマーク（✔︎）を擬似要素で作る */
input[type="checkbox"]::after {
  content: "\2714";
  position: absolute;
  left: 70%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  font-size: 16px;
  color: #515151;
  margin-left: 0;
  opacity: 0;
  transition: opacity 0.1s;
}

.wpcf7-list-item input[type="checkbox"]::after {
    font-size: 20px;
    top: 30%;
    left: 60%;
}

input[type="checkbox"]:checked::after {
  opacity: 1;
}

.sfa .radio-item input[type="checkbox"]::after {
    font-size: 14px;
    top: 90%;
}

.checkbox-item label {
    font-size: 12px;
    cursor: pointer;
    line-height: 1.6;
}

/* 送信ボタン */
.btn,
.btn-s,
.btn-b {
    position: relative;
    max-width: 300px;
    width: 100%;
    height: 70px;
    margin: 18px auto 0;
}

.btn::after {
    display: block;
    content: "\203A";
    font-size: 32px;
    position: absolute;
    top: 20%;
    right: 60px;
    width: 12px;
    height: 12px;
    color: #fff;
}

.btn-b::after {
    display: block;
    content: "\2039";
    font-size: 32px;
    position: absolute;
    top: 20%;
    left: 60px;
    width: 12px;
    height: 12px;
    color: #515151;
}

input[type="submit"],
.wpcf7-previous {
    display: block;
    max-width: 300px;
    width: 100%;
    height: 70px;
    background-color: #515151;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    text-align: center;
    margin: auto 0;
    cursor: pointer;
}

.wpcf7-previous {
    display: block !important;
    color: #515151;
    background-color: #EDF1F5;
}

input[type="submit"]:hover {
    background-color: #51515151;
}

form.submitting .wpcf7-spinner {
    display: none !important;
}

.top-page {
    display: block;
    width: 140px;
    height: 56px;
    background-color: #515151;
    border-radius: 12px;
    font-size: 16px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

/* 確認画面 */
.confirm input[type="text"],
.confirm input[type="email"],
.confirm input[type="tel"],
.confirm textarea {
    color: #999 !important;
    background-color: transparent !important;
}

.form-label .detail {
    font-size: 16px;
}

textarea {
    height: 100%;
}
/* 確認画面終わり */

/* thanksページ */
.thanks h2 {
    color: #515151;
}
/* thanksページ終わり */


/* *******************************
      レスポンシブ
********************************** */
@media (min-width: 1024px) {

.contact-form {
    padding: 80px 5%;
}

.step-indicator {
    gap: 80px;
    margin-bottom: 50px;
}

.step {
    width: 100px;
    height: 100px;
    font-size: 36px;
}

.form-content {
    padding: 40px 20px;
}

.form-title {
    margin-bottom: 50px;
}

.form-title h2 {
    font-size: 32px;
}

.form-title p {
    font-size: 16px;
    text-align: center;
}

.wpcf7-list-item {
    margin-bottom: 0;
}

.form-label .detail {
    font-size: 13px;
}

.form-group {
    width: 800px;
}

.radio-group {
    gap: 30px;
    margin-bottom: 30px;
}

.checkbox-item label {
    font-size: 16px;
}

textarea {
    height: 350px;
}

/* thanksページ */
.thanks h2 {
    font-size: 32px;
}

/* thanksページ終わり */

}