/* =========================================================
   ページコンポーネント
========================================================= */

/* メールフォーム
--------------------------- */

.form {
    max-width: 980px;
    width: -webkit-calc(100% - 20px);
    width: calc(100% - 20px);
    margin: 0 auto 6em;
    font-weight: 500;
}

.form__content {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    margin: 0;
    border-bottom: 2px solid #fff;
}

.form__content__name {
    width: 320px;
    background-color: #cbebed;
    padding: 2em .5em 2em 1.5em;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    font-size: 2rem;
    border-bottom: 2px solid #fff
}

.form__content__name.\--isRequired {
    position: relative;
}

.form__content__name.\--isRequired::after {
    content: "必須";
    display: inline-block;
    background-color: #ff5959;
    color: #fff;
    font-weight: 700;
    padding: .25em 1em;
    position: absolute;
    font-size: 1.4rem;
    right: 40px;
}

.form__content__value {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    width: -webkit-calc(100% - 320px);
    width: calc(100% - 320px);
    margin: 0;
    padding: 2em 0 2em 1.5em;
    -webkit-box-sizing: border-box;
            box-sizing: border-box
}

.form__content__value input {
    padding: .75em;
    margin-right: .25em;
    border-radius: 4px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    border: 1px solid #9DA6A3;
    font-family: inherit;
}

.form__content__value input[type="number"] {
    width: 65px;
    margin: 0 .25em 0 .5em;
}

.form__content__value input[type="date"] {
    width: 150px;
}

.form__content__value.\--isLarge input {
    width: 300px;
    width: 100%;
}

.form__content__value select {
    padding: .5em;
    border-radius: 4px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    border: 1px solid #9DA6A3;
    font-family: inherit;
}

.form__content__value textarea {
    padding: .5em;
    border-radius: 4px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    border: 1px solid #9DA6A3;
    font-family: inherit;
    max-width: 540px;
    width: 100%;
}

.form__content__value p {
    line-height: 1.5;
    margin: 0 0 1em;
}

.form__content__value__item {
    display: inline-block;
    margin: .25em .75em .25em 0;
}

.form__content__value__text {
    font-weight: 700;
    font-size: 2rem;
    display: block;
    border-top: 1px solid #A2A2A2;
    padding-top: .75em;
    margin-bottom: 1em;
    width: 100%;
}

.form__content__value .form__content__value__calendar {
    width: 120px;
    margin-right: .5em;
}

.form__content__value.\--isGroupe div:first-of-type::after {
    content: "～";
    display: inline-block;
    margin-right: .5em;
}

.form__content__value.\--isGroupe div:last-of-type {

    .form__content__value__calendar {
            margin-left: .5em;
            margin-right: 0;
    }
}

.form__submit {
    margin: 4em 0 0;
}


/* ページレイアウト
--------------------------- */

.pl-secContact {
    text-align: center;
    padding-top: 6em;
    font-weight: 500;
    width: -webkit-calc(100% - 20px);
    width: calc(100% - 20px);
    margin: 0 auto;
}

.pl-secContact__headline {
    font-size: 3.6rem;
    -webkit-font-feature-settings: "pkna";
    font-feature-settings: "pkna";
    color: #333;
    border-top: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    padding: .5em 1em;
    display: inline-block;
    margin-bottom: 1em;
}

.pl-secContactText {
    line-height: 1.7;
}

.pl-secContact__box {
    border: 1px dotted #55a9ad;
    padding: 1em 2em;
    text-align: left;
    margin: 0 auto 4em;
    max-width: 980px;
    width: -webkit-calc(100% - 20px);
    width: calc(100% - 20px);
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}



#formWrap {
	max-width: 700px;
    width: -webkit-calc(100% - 20px);
    width: calc(100% - 20px);
	margin: 0 auto;
	color: #333;
    padding-top: 1em;
}

table.formTable {
	width: 100%;
	margin: 0 auto;
	border-collapse: collapse;
}

table.formTable td,
table.formTable th {
    text-align: left;
	border: 1px solid #ccc;
	padding: 10px;
}

table.formTable th {
	width: 30%;
	font-weight: normal;
	background-color: #cbebed;
	text-align: left;
}

p.error_messe {
	margin: 5px 0;
	color: #f00;
}

#formWrap .bottomNav__links {
    margin: 2em auto;
}

@media (max-width: 992px) {

    .form__content {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .form__content__name {
        width: 100%;
        padding: 1em .5em;
    }

    .form__content__name.\--isRequired::after {
        right: 1em;
    }

    .form__content__value {
        width: 100%;
        padding: 1em .5em;
    }

    .form__submit {
        margin-top: 1em;
    }

    .pl-secContact {
        padding-top: 7em;
    }

    .pl-secContact__headline {
        font-size: 2.8rem;
    }

    .pl-secContact__box {
        padding: 0 10px;
    }
}

@media (max-width: 768px) {

    .pl-secContact__headline {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {

    .form__content__value.\--isGroupe div {
        width: 100%;
    }

    .form__content__value.\--isGroupe div:first-of-type {
        margin-bottom: .5em;
    }

    .form__content__value.\--isGroupe div:last-of-type {

        .form__content__value__calendar {
            margin-left: 0;
        }
    }

    .pl-secContact__headline {
        font-size: 2rem;
    }

    #formWrap .bottomNav__links {
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -webkit-flex-direction: column-reverse;
            -ms-flex-direction: column-reverse;
                flex-direction: column-reverse;
    }
}