@charset "utf-8";
/* CSS Document */

@import url("https://fonts.googleapis.com/css?family=Julius+Sans+One");
@import url("https://fonts.google.com/specimen/Sacramento");

/*全体の設定
---------------------------------------------------------------------------*/
* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}
body {
    margin: 0px;
    padding: 0px;
    color: darkslategray; /*全体の文字色*/
    font-family: "Sacramento", cursive, "ヒラギノ角ゴ Pro W3",
        "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "Osaka",
        "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    /* font-family:"Sacramento", cursive; */
    font-size: 16px; /*文字サイズ*/
    line-height: 2; /*行間*/
    background: #fafafa;
    -webkit-text-size-adjust: none;
}
h1,
h2,
h3,
h4,
h5,
p,
ul,
ol,
li,
dl,
dt,
dd,
form,
figure,
form {
    margin: 0px;
    padding: 0px;
    font-size: 100%;
    font-weight: normal;
}
ul {
    list-style-type: none;
}
ol {
    padding-left: 40px;
    padding-bottom: 15px;
}
img {
    border: none;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
table {
    border-collapse: collapse;
    font-size: 100%;
    border-spacing: 0;
}
iframe {
    width: 100%;
}

/* Form Layout */
.form-wrapper {
    background: #fafafa;
    margin: 3em auto;
    padding: 0 1em;
    max-width: 600px;
}

h1 {
    text-align: center;
    font-size: 1.5em;
    line-height: 1.2em;
    color: dimgray; /*文字色*/
    padding: 1em 0;
}

h1 span {
    font-size: 0.6em;
    letter-spacing: 0.5em; /*文字間隔を少し広げる*/
}

p.Message {
    text-align: center;
    font-size: 0.9em;
    line-height: 1.2em;
    color: steelblue; /*文字色*/
    letter-spacing: 0.3em; /*文字間隔を少し広げる*/
    padding: 1em 0;
}

form {
    padding: 0 1.5em;
}

.form-item {
    margin-bottom: 0.75em;
    width: 100%;
}

.form-item input {
    background: #fafafa;
    border: none;
    border-bottom: 2px solid #e9e9e9;
    color: darkslategray;
    font-size: 1em;
    height: 50px;
    transition: border-color 0.3s;
    width: 100%;
}

.form-item input:focus {
    border-bottom: 2px solid #c0c0c0;
    outline: none;
}

.flex {
    display: flex;
    margin-bottom: 10px;
    /* border: 1px solid #999; */
}
.flex div {
    /* border: 1px solid red; */
    width: 100%;
}

.staff {
    margin-left: auto;
    justify-content: space-between;
    margin-top: auto;

    font-size: 0.8em;
    color: dimgray;
    font-family: inherit;

    text-align: right;
    vertical-align: bottom;
}




.button-panel {
    margin: 2em 0 0;
    width: 100%;
}

.button-panel span {
    font-size: 0.6em;
}

.button-panel .button {
    background: steelblue;
    border: none;
    border-radius: 5px;
    box-shadow: 2px 2px 4px silver;
    color: #fff;
    cursor: pointer;
    height: 50px;
    /* margin: 10px; */
    margin-bottom: 25px;
    font-family: inherit;
    font-size: 1.3em;
    letter-spacing: 0.1em;
    line-height: 0.8em;
    text-align: center;
    -webkit-transition: 0.5s; /*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
    transition: background 0.3s ease-in-out;
    transition: 0.5s;
    width: 100%;
}

.button:hover {
    background: skyblue;
    letter-spacing: 0.2em; /*文字間隔を少し広げる*/
}

.form-footer {
    font-size: 1em;
    padding: 2em 0;
    text-align: center;
}

.form-footer a {
    color: #8c8c8c;
    text-decoration: none;
    transition: border-color 0.3s;
}

.form-footer a:hover {
    border-bottom: 1px dotted #8c8c8c;
}
