@charset "UTF-8";

/*=========================
section__top
=========================*/
.section__top{
    height: 180px; 
    background-image: url(../images/blue_bg.png);
    background-repeat: no-repeat;/* 画像を繰り返し表示しない */
    background-size: cover;/* 画面を全体に囲む */
    background-position: center;/* 画像が中央から広がるように */
 }

  /* ページタイトルのスタイル */
.service__top__subtitle {
    font-family: "DM Sans", sans-serif;
    font-style: italic;
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-blue,#11438a);
    text-align: center; /* 中央揃え */
    padding-top: 65px;
    letter-spacing: 0.1em;/* 字間 */
}

.service__top__title {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--primary-blue,#11438a);
    text-align: center; /* 中央揃え */
    padding-bottom: 65px;
}

/* pcのsection__top */
@media screen and (min-width: 768px) {
    .section__top{
        height: 300px; 
     }

    /* ページタイトルのスタイル */
    .service__top__subtitle {
        font-size: 1.8rem;
        padding-top: 100px;
    }

    .service__top__title {
        font-size: 3.5rem;
    }
 }


 /*=========================
contact__step
=========================*/
.contact__step {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 500px; /* ステップ全体の最大幅 */
    margin: 0 auto;
}

.step {
    text-align: center;
    position: relative;
    flex: 1; /* 各ステップを均等に配置 */
}

.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 30%; /* 線を垂直方向の中央に配置 */
    left: 50%; /* 線の開始位置を中央に設定 */
    transform: translateX(0); /* 水平方向の位置調整 */
    width: calc(100%); /* 丸の直径分を引いた線の長さ */
    height: 1px;
    background-color: #11438a;
    z-index: -1;
}

.step__number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-lite-blue,#ecf2f6);
    color:var(--primary-blue,#11438a);
    font-family: "DM Sans", sans-serif;;
    font-style: italic;
    font-size: 1.6rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    z-index: 10;
}

.step__text {
    margin-top: 8px;
    font-size: 1.4rem;
    font-weight: bold;
    color:var(--primary-blue,#11438a);
}

.step--active .step__number {
    background:linear-gradient(to right, #11438a, #55a2e6);
    color:var(--primary-white,#FDFDFD);
}


/*=========================
contact__form
=========================*/
.section__contact{
    padding: 50px 6.6% 100px;
}

.form__parts{
    margin-top:50px ;
}

.form__category{
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 15px;
}

/* 必須のスタイル */
.form__category::after{
    content:"必須";
    display: inline-block;
    height: 20px;
    width: 35px;
    background:linear-gradient(to right, #11438a, #55a2e6);
    text-align: center;
    color: var(--primary-white,#FDFDFD);
    font-size: 1.2rem;
    font-weight: bold;
    margin-left: 5px;
}

/* 入力欄のスタイル */
input[type="text"],
.group__textArea{
    display: block;
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #11438a;
    border-radius: 5px;
    font-size: 1.4rem;
    font-weight:normal;
}

/* 入力欄にカーソルを合わせた時のスタイル */
input[type="text"]:focus,
.group__textArea:focus{
    outline: none;
    border: 1px solid #55a2e6;
    box-shadow: 0 0 5px #55a2e6;
}

/* 入力欄の中の文字のスタイル※特殊 */
::placeholder{
    color:#cccccc;
}

.group__textArea{
    min-height:150px;
}

.form__parts.form__parts--policy{
    margin-top: 30px;
    text-align: center;
}

.policy{
    font-size: 1.6rem;
    font-weight: bold;
}

.form__parts.form__parts--policy p{
    font-size: 1.4rem;
    font-weight: normal;
    margin-top: 30px;
    line-height: 25px;
}

.form__parts.form__parts--policy p a{
    color:var(--primary-blue,#11438a);
    font-weight: bold;
    border-bottom: 2px solid #11438a; /* 青いボーダーを下に追加 */
}

.form__parts.form__parts--policy p a:hover{
    opacity: 0.5;
}

/* チェックボックスの設定 */
input[type="checkbox"]{
    width: 20px;
    height: 20px;
    border: solid 1px #11438a;
    margin-right: 10px;
}

/* チェックを入れた時の設定 */
input[type="checkbox"]:checked{
    position: relative;
}

input[type="checkbox"]:checked::after{
    position: absolute;
    display: inline-block;
    content:"";
    width: 10px;
    height: 5px;
    border-left: 2px solid  var(--primary-blue,#11438a);
    border-bottom: 2px solid  var(--primary-blue,#11438a);
    top:45%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* pcのcontact__form */
@media screen and (min-width: 768px){
    .section__contact{
        padding: 100px 6.6%;
    }

    .form__parts{
        max-width: 800px; 
        margin: 50px auto 0;
    }

    .contact__btn_L{
        max-width: 600px;
    }

    .form__parts.form__parts--policy p br{
        display: none;
    }
}