* {
    box-sizing: border-box;
}

.contact-btn::before {
    position: absolute;
    content: '';
    width: 32px;
    height: 16px;
    top: 50%;
    right: 32px;
    transform: translateY(-50%);
    background: url();
    background-size: 100%;
    font-size: 1rem;
}

.btn-1 {
    border: none;
    cursor: pointer;
    font-size: 1em;
    margin: 20px auto;
}

.btn-1:nth-of-type(1) {
    background: #D9D9D9;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 18px 32px;
    gap: 20px;
    width: 270px;
    font-weight: 600;
}

.btn-1:nth-of-type(1)::after {
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 16px solid #000000;
    border-right: 0;
    content: "";
    display: block;
}

.btn-1:nth-of-type(1):hover {
    background-color: #000000;
    color: #ffffff;
    transition: 0.3s;
}
.btn-1:nth-of-type(1):hover::after {
    transition: 0.3s;
    border-left: 16px solid #ffffff;
}

.btn-1:nth-of-type(2) {
    background: var(--main);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 18px 32px;
    gap: 20px;
    width: 270px;
    color: #fff;
    font-weight: 600;
}

.btn-1:nth-of-type(2)::after {
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 16px solid #ffffff;
    border-right: 0;
    content: "";
    display: block;
}

.btn-1:nth-of-type(2):hover {
    background-color: #000000;
    transition: 0.3s;
}

.btn-1:nth-of-type(2):hover::after {
    transition: 0.3s;
    border-left: 16px solid #ffffff;
}

.btn_wrapper {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    margin: 0 auto 40px;
    gap: 20px;
}


/*------------------------
　入力時の画面拡大を防ぐ
------------------------*/
input,
select,
textarea {
    font-size: 1rem;
}



/*------------------------
　小見出し
------------------------*/
form dt {
    text-align: left;
    font-weight: 600;
    margin: 0 0 8px 0;
}

form dl div {
    margin: 30px auto;
}



/*------------------------
　index.php
------------------------*/
/*--- ラジオボタンとチェックボックス ---*/
/*--- ○と□ ---*/
dl .radio input,
dl .checkbox input {
    width: 16px;
    height: auto;
}

dl .radio dd,
dl .checkbox dd {
    text-align: left;
}

dl .radio p,
dl .checkbox p {
    margin-left: 10%;
}



/*--- 入力欄（氏名等） ---*/

dl .radio input {
    height: auto;
}

form dd {
    text-align: center;
}



/*--- 入力欄（お問い合わせ内容） ---*/
dl textarea {
    height: 240px;
}


@media (min-width:600px) {
    form dl div {
        display: flex;
        justify-content: space-between;
        margin: 30px auto;
        align-items: center;
    }

    form dt {
        flex-basis: 40%;
    }

    form dd {
        flex-basis: 60%;
    }
}


.hg_con h1 {
    color: var(--main);
}

#confirm .intro-txt {
    text-align: center;
    margin-bottom: 60px;
}


select {
    padding: 20px 40px;
    border-radius: 10px;
}

.message {
    align-items: flex-start;
}

.txt {
    background: var(--main);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 18px 32px;
    gap: 20px;
    width: 270px;
    color: #fff;
    font-weight: 600;
}

.txt::after {
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 16px solid #ffffff;
    border-right: 0;
    content: "";
    display: block;
}

.txt:hover {
    background-color: #000000;
    transition: 0.3s;
}

.txt:hover::after {
    transition: 0.3s;
    border-left: 16px solid #ffffff;
}



/*------------------------
　confirm.php
------------------------*/
#confirm dd {
    text-align: left;
    margin-left: 30px;
}


#confirm-page .fv-area {
    padding-top: 120px;
}

#confirm {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 16px;
}

.hg_con {
    text-align: center;
    margin-bottom: 30px;
}

#confirm .intro-txt {
    margin: 16px auto;
    display: block;
    line-height: 1.4rem;
}

#confirm dd {
    color: #1B284D;
    font-weight: 500;
}



/*------------------------
　submit.php
------------------------*/
/*--- メール（デバッグ） ---*/
pre {
    text-align: left; border: 1px solid black;
    white-space: pre-wrap;
}


#submit-page .fv-area {
    padding-top: 120px;
}

#submit {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 16px;
    text-align: center;
}

#submit p {
    width: fit-content;
    margin: 16px auto;
}

