/* ==================================

    Contact - お問い合わせ

================================== */

select::-ms-expand {
  display: none; /* デフォルトの矢印を無効(IE用) */
}

.select-box {
/*  margin: 50px auto 0;*/
  position: relative;
}

select {
    -webkit-appearance: none;
    appearance: none; /* デフォルトの矢印を非表示 */
    width: 100%;
    padding: 4px;
    line-height: 1.8;
    font-size: 1.5rem;
    height: 40px;
    border: 1px solid #ddd;
}
select::-ms-expand {
  display: none; /* デフォルトの矢印を非表示(IE用) */
}

/* セレクトボックスの矢印デザイン変更 */
.select-box::before {
    border-bottom: 4.5px solid red;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    content: "";
    position: absolute;
    right: 9px;
    top: 22px;
    width: 0;
}
.select-box::after {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4.5px solid red;
    content: "";
    position: absolute;
    right: 9px;
    top: 32px;
    width: 0;
}

.contact-area-box {
    padding-top: 64px;
    max-width: 800px;
    margin: 0 auto;
}

h2 {
    text-align: center;
    font-size: 2.0rem;
    padding: 32px 0;
    font-weight: 500;
}

input[type="text"],
input[type="radio"],
input[type="email"],
select, textarea, button, label {
    font-family: 'Noto Sans JP', sans-serif;
}

/*select {
    width: 100%;
    padding: 2px 4px;
    line-height: 1.8;
    height: 35px;
    border: 1px solid #ddd;
}*/

form#contact {
    width: calc(100% - 16px);
    margin: 0 auto;
    padding: 32px 0;
}

@media screen and (min-width: 768px) {
    form#contact {
        width: calc(100% - 64px);
    }
}

#contact dl {
    margin-bottom: 32px;
}

#contact dl dt {
    line-height: 1.8;
    letter-spacing: 0.08em;
}

#contact dl dt span {
    font-size: 1.2rem;
    margin-right: 8px;
    display: inline;
    padding: 8px 16px;
    color: #fff;
    line-height: 1.8;
    letter-spacing: 0.5em;
}

#contact .req {
    background-color: #0061FF;
}

/* letter-spacingで出来る余白を調整 */
#contact span:after {
    content: '';
    margin-left: -0.5em;
}

#contact dl dd {
    font-size: 1.5rem;
    line-height: 1.8;
    letter-spacing: 0.08em;
    padding: 8px 0;
}

/* 注記 */
#contact dl dd p.ex-text {
    font-size: 1.2rem;
    line-height: 1.8;
    letter-spacing: 0.08em;
    padding: 8px;
}

#contact dl dd label {
    margin-right: 16px;
    line-height: 1.8;
    letter-spacing: 0.08em;
    cursor: pointer;
}

#contact dl dd input[type="text"],
#contact dl dd input[type="email"] {
    display: block;
    width: 100%;
    padding: 4px;
    font-size: 1.6rem;
    height: 40px;
    margin: 0;
    border: 1px solid #ddd;
}

#contact dl dd textarea {
    display: block;
    width: 100%;
    padding: 4px;
    font-size: 1.6rem;
    margin: 0;
    border: 1px solid #ddd;
}

.privacy-box {
    height: 200px;
    margin: 0 auto 16px;
    overflow-y: scroll;
    background-color: #FCFCFC;
    border: 1px solid #0061FF;
}

#contact ul li {
    font-size: 1.2rem;
    line-height: 1.8;
    letter-spacing: 0.08em;
    padding-left: 1rem;
    text-indent: -1em;
}

#contact ul li:before {
    content: '・';
}



/* ==================================
    Button - ボタン装飾
================================== */

.btn-box {
    margin: 64px auto 0;
    text-align: center;
}

.btn-box p {
    margin-top: 16px;
    font-size: 1.4rem;
}

.button {
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: auto;
    min-width: 120px;
    height: 50px;
    border: none;
    background-color:rgba(0,0,0,0);
    letter-spacing: 0.5rem;
    background-image: linear-gradient(45deg, #333333 0%, #333333 100%);
}

.btn-disabled {
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: auto;
    min-width: 120px;
    height: 50px;
    border: none;
    background-color: rgba(0,0,0,0);
    letter-spacing: 0.5rem;
    background-image: linear-gradient(45deg, #DDDDDD 0%, #DDDDDD 100%);
}

.button::after {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    transition-duration: .3s;
    opacity: 0;
    background-image: linear-gradient(135deg, #DDDDDD 100%, #DDDDDD 100%);
}

.button:hover {
    cursor: pointer;
}

.button__inner {
    width: 200px;
    font-size: 1.6rem;
    position: relative;
    z-index: 2;
    display: flex;
    min-width: 120px;
    height: 100%;
    padding: 0 16px;
    text-decoration: none;
    color: #FFF;
    justify-content: center;
    align-items: center;
    transition-duration: .3s;
}

.button__inner:hover {
    transition-duration: .3s;
    background-color: #0061FF;
}

.hover-none {
    pointer-events: none;
}



/* ==================================
    Comp - 完了画面
================================== */

.contact-comp-text {
    font-size: 1.8rem;
    text-align: center;
    padding: 32px 0;
}

.contact-comp-box {
    padding: 16px;
    text-align: justify;
}


@media screen and (min-width: 768px) {
    .contact-comp-box {
        padding: 32px 48px;
    }
}

a.contact-comp-home-box {
    display: block;
    width: calc(100% - 64px);
    border-radius: 32px;
    margin: 48px auto 80px;
    padding: 16px 0;
    color: #FFFFFF;
    background-color: #0055CB;
    text-align: center;
    font-size: 1.3rem;
    transition: .4s;
}

a.contact-comp-home-box:hover {
    color: #0055CB;
    background-color: #EBF2FF;
    transition: .4s;
}
