

@charset "UTF-8";
.toiawase1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; /* 線と文字の間の隙間 */
    margin: 110px 0 40px 0;
}
.lines {
    display: flex;
    flex-direction: column;
    gap: 4px; /* 線と線の間の隙間 */
}
.line {
    width: 44px;     /*  ← これが線の長さ（お好みで調整） */
    height: 1px;     /* 線の太さ */
    background-color: #231815;
    transform: scaleY(1);
    backface-visibility: hidden;/* 高さをピクセル単位で明示 */
    will-change: transform;/* アンチエイリアス軽減 */
}
.toiawase1 span {
    font-size: 24px;
    font-weight: 900;
    color: #ea5504;
    text-align: center;
    line-height: 1.3;
    font-family: 'M PLUS Rounded 1c', sans-serif; /* 丸ゴシック */
}
.thirtysix {
    width: 400px;/* テキストの幅に合わせる */
    margin: -15px auto 0 auto;/* ブロック全体を中央寄せ */
    text-align: left;/* テキストは左寄せ */
    font-size: 20px;
    color: #231815;
    line-height: 1.5;
    
}
.thirtyseven {
    font-size: 28px;
    font-weight: bold;
    font-family: 'M PLUS Rounded 1c', sans-serif; /* 丸ゴシック */
    color: #ea5504;
    line-height: 1.3;
    text-align: center;
    padding-top: 2%;
    letter-spacing: 0.2em;
    margin: 20px auto;
    width: 360px;
}
.thirtyeight {
    font-size: 16px;
    color: #231815;
    text-align: center;
    margin: 1% auto;
    width: 400px;
}
.thirtynine P {
    font-size: 22px;
    font-weight: 500;
    color: #39a869;
    text-align: center;
    margin-bottom: 1%;
    font-family: 'M PLUS Rounded 1c', sans-serif; /* 丸ゴシック */
}
.thirtynine span {
    font-size: 38px;
    font-weight: 900;
    color: #ea5504;
}
.thirtynine {
    text-align: center;
    margin-top: 3%;
    margin-left: 1%;
}
/* 問い合わせフォーム */
/* フォーム全体のラッパー */
.contact-form-wrapper {
    max-width: 700px;
    margin: 50px auto;
    padding: 20px;
    color: #231815;
}
/* 見出し */
.contact-form-wrapper h2 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 10px;
    color: #39a869;
}

.contact-form-wrapper h3 {
    font-size: 18px;
    text-align: center;
    color: #231815;
    margin-bottom: 10px;
}
.form-desc {
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
}
/* 必須マーク */
.require {
    color: red;
    font-size: 14px;
}
/* dl, dt, dd のレイアウト */
form dl {
    margin-bottom: 20px;
}
form dt {
    margin-bottom: 5px;
    font-weight: bold;
}
form dd {
    margin-bottom: 20px;
}
/* 入力フィールド */
form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #e6e6e6;
    background-color: #e6e6e6;
    box-sizing: border-box;
}
/* テキストエリアのサイズ調整 */
form textarea {
    height: 150px;
    resize: vertical;
}
.form-check {
    text-align: left;
    margin: 20px 0;
    max-width: 600px; /* フォームの横幅に合わせて調整 */
    font-size: 16px;
    color: #231815;
    padding-left: 10px; /* 左に少し余白をつけると読みやすい */
    margin-left: 30%;
}
.form-check input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2); /* チェックボックスを少し大きく */
    vertical-align: middle;
}
.form-check .confirm-text {
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

/* 送信ボタン */
.form-submit {
    text-align: center;
}
.form-submit input[type="submit"] {
    background-color: #ea5504;
    color: #fff;
    font-size: 16px;
    padding: 5px 50px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.form-submit input[type="submit"]:hover {
  background-color: #c54400;
}

/* 緑の丸、トップへ */

.forty img {
    position: relative;
    z-index: 10;
    display: inline-block;
    margin-top: 15px; /* 適宜調整 */
    margin-left: 680px;
    width: 40px;
    height: 40px;
}
/* 最後に追加したもの */
.wpcf7-form-control {
  box-sizing: border-box;
}

/* 送信ボタン（Contact Form 7 の送信ボタン） */
.wpcf7-submit {
  background-color: #ea5504;
  color: #fff;
  font-size: 16px;
  padding: 5px 50px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.wpcf7-submit:hover {
  background-color: #c54400;
}






/* スマホ画面 */
@media screen and (max-width: 767px) {
    .toiawase1 {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px; /* 線と文字の間の隙間 */
        margin: -25px 0 30px 0; /* 上 30px、下 30px に調整 */
        position: relative;
      z-index: 1;
    }
    
    .lines {
        display: flex;
        flex-direction: column;
        gap: 4px; /* 線と線の間の隙間 */
    }
    .line {
        width: 30px;     /*  ← これが線の長さ（お好みで調整） */
        height: 1px;     /* 線の太さ */
        background-color: #231815;
        transform: scaleY(1);
        backface-visibility: hidden;/* 高さをピクセル単位で明示 */
        will-change: transform;/* アンチエイリアス軽減 */
    }
    .toiawase1 span {
        font-size: 23px;
        font-weight: bold;
        color: #ea5504;
        text-align: center;
        line-height: 1.3;
    }
    /* 文字 */
    .thirtysix {
    width: calc(100% - 32px);  /* 両端に16pxずつの余白を残して幅を自動調整 */
    max-width: 290px;          /* 改行を防ぐ最大幅 */
    margin: -15px auto 0 auto;
    text-align: left;
    font-size: 0.83rem;
    font-weight: bold;
    color: #231815;
    line-height: 1.5;
    box-sizing: border-box;
    }


    
    .thirtyseven {
        font-size: 20px;
        font-weight: bold;
        font-family: 'M PLUS Rounded 1c', sans-serif; /* 丸ゴシック */
        color: #ea5504;
        line-height: 1.3;
        text-align: center;
        padding-top: 2%;
        letter-spacing: 0.2em;
        margin: 15px auto 0 auto;
        width: 250px;
    }
    .thirtyeight {
        font-size: 12px;
        color: #231815;
        margin: 2% auto;
        width: 300px;
        font-weight: bold;
    }
    /* 電話でのお問い合わせ */
    .thirtynine P {
        font-size: 20px;
        color: #39a869;
        font-weight: bold;
        text-align: center;
        margin-bottom: 4%;
    }
    .thirtynine span {
        font-size: 28px;
        font-weight: bold;
        color: #ea5504;
        letter-spacing: 0.1em;
    }
    .thirtynine {
        text-align: center;
        margin: 5% auto;
        width: 310px;
    }
    .contact-form-wrapper {
        padding: 10px;
    }

    .contact-form-wrapper h2 {
        font-size: 17px;
    }
    .contact-form-wrapper h3 {
        font-size: 14px;
    }

    .form-desc {
        font-size: 14px;
    }

    form input,
    form textarea {
        font-size: 15px;
    }

    .form-submit input[type="submit"] {
        width: 40%;
    }
    .form-check {
        margin-left: 18%;
    }
    .form-check .confirm-text {
        margin-bottom: 8px;
        font-size: 13px;
        font-weight: bold;
        color: #232323;
    }
    /* 入力フィールド */
    form input[type="text"],
    form input[type="email"],
    form input[type="tel"],
    form textarea {
        width: 90%;
        max-width: 100%;
        padding: 10px;
        font-size: 16px;
        border: 1px solid #e6e6e6;
        background-color: #e6e6e6;
        box-sizing: border-box;
        margin-left: 5%;
    }
    form dt {
        margin-bottom: 5px;
        font-weight: bold;
        margin-left: 20px;
    }
    /* テキストエリアのサイズ調整 */
    form textarea {
        height: 200px;
        resize: vertical;
    }
    /* スマホ用：フォームの枠囲い */
    .form-border {
        border: 1px solid #231815;
        padding: 15px;
        margin: 20px 5px;
    }

    /* 緑の丸、トップへ */
    .forty img {
        margin-left: 80%;
        width: 20%;
        margin-bottom: -14%;
    }
}
@media (max-width: 360px) {
  .thirtysix {
    font-size: 0.85rem;
  }
}