body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #313131;
    margin: 0;
    padding: 0;
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.title {
    font-size: 20px;
    font-weight: bold;
}

.support-link {
    position: absolute;
    right: 30px;
    text-decoration: none;
    background-color: #8f2045;
    color: white;
    border-radius: 6px;
    font-size: 14px;
    padding: 6px;
}

.logo {
    height: 25px;
    width: 25px;
    vertical-align: middle;
}

.alert {
    background-color: rgb(255, 202, 202);
    color: rgb(198, 0, 0);
    border-color: rgb(198, 0, 0);
    border: solid 2px;
    border-radius: 4px;
    padding: 8px;
}

.warning-text {
    font-size: 15px;
    margin-left: 6px;
}

.warning-mark {
    height: 17px;
    width: 17px;
    vertical-align: middle;
}

.question-mark {
    height: 20px;
    width: 20px;
    vertical-align: middle;
}

.form {
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    max-width: 480px;
}

.form-item {
    margin-top: 15px;
}

.form-input {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    border: 1px solid #cbd6e2;
    border-radius: 3px;
    height: 38px;
    padding-left: 10px;
    width: 100%;
    background: #f5f8fa;
    font-size: 15px;
    box-sizing: border-box;
}

.form-input.inquiry_detail {
    height: 80px;
    display:block;
}

.confirm-btn {
    background: green;
    color: #ffffff;
    font-size: 15px;
    line-height: 11px;
    border: none;
    border-radius: 3px;
    width: 125px;
    height: 40px;
    margin-top: 20px;
}

.form-item.btn {
    text-align: center;
}

.form-input:focus {
    outline: none;
    border-color: rgb(70, 184, 233);
}

::placeholder {
    color: rgb(175, 175, 175);
    font-size: 15px;
}

.err-msg {
    color: #f2545b;
    font-size: 13px;
}

.error {
    border: 1px #f2545b solid;
}

.require-mark {
    color: red;
}

.privacy-policy {
    height: 200px;
    max-width: 650px;
    overflow-y: auto;
    margin: 15px auto 50px auto;
}

.policy-title {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

.tooltip {
    position: relative;
    cursor: pointer;
}
   
.description {
    top: 80%;
    width: 300px;
    position: absolute;
    transform: translateY(-50%);
    padding: 8px;
    margin-left: 8px;
    border-radius: 10px;
    background-color: #666;
    font-size: 0.7em;
    color: #fff;
    visibility: hidden;
    opacity: 0;
    z-index: 1;
    transition: 0.3s all;
}
   
.tooltip:hover .description {
    left: 100%;
    visibility: visible;
    opacity: 1;
}

.tooltip-content {
    height: 210px;
    width: 300px;
}

@media screen and (max-width: 480px) {
    .form {
        max-width: 300px;
    }

    .header {
        display: block;
        text-align: center;
    }

    .support-link {
        position: static;
    }

    .description {
        transform: translateX(-50%);
        margin-top: 8px;
        margin-left: 30px;
    }
}