:root {
    --rohto: #57BC02;
    --rohto-500: #F4F8F0;

    --white: #fff;
}

* {
    font-family: sans-serif;
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-font-smoothing: antialiased;
    -webkit-font-feature-settings: 'palt';
    font-feature-settings: 'palt';
}

header {
    background: var(--rohto-500);
    padding: 35px 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.rohto-logo img {
    height: 84px;
    width: auto;
    height: clamp(30px,12vw,84px);
    max-width: 100%;
    object-fit: contain;
}

header h1 {
    margin: 0;
    background: var(--white);
    color: var(--rohto);
    font-size: 24px;
    border-radius: 30px;
    padding: 6px 50px;
    margin-top: 50px;
    font-size: clamp(17px,4vw,24px);
    width: fit-content;
    margin-top: clamp(30px,10vw,50px);
}

main.container {
    white-space: normal;
    word-break: break-all;
    padding: 20px 25px;
    max-width: 100%;
    margin: 0 auto;
    width: 610px;
    box-sizing: border-box;
    text-align: center;
}

h2.system-message {
    line-height: 1.6;
    font-size: 18px;
    background: var(--rohto-500);
    border-radius: 10px;
    padding: 20px 70px;
    margin: 65px 0;
    --container-pad: clamp(10px,8vw,70px);
    padding: 20px var(--container-pad);
    position: relative;
}

body > .message{
    cursor: pointer;
    position: fixed;
    opacity: 0.9;
    background: rgba(43, 185, 128, 0.29);
    color: rgb(0, 114, 69);
    border: 2px solid rgba(255,255,255,0.1) !important;
    font-weight: bold;
    padding: 12px 52px;
    max-width: 80%;
    border-radius: 8px;
    top: 8vh;
    font-size: 16px;
    backdrop-filter: blur(12px);
    left: 50%;
    transform: translate(-50%,0);
    box-shadow: 0 20px 60px 9px rgb(0 0 0 / 5%), 0 3px 4px -1px rgb(0 0 0 / 10%);
    transition: 0.2s;
    z-index: 99999;
}
body > .message.hidden{
    display: none;
}

.system-message b {
    color: #e91e63;
    font-size: 1.1em;
    margin-bottom: 18px;
    display: inline-block;
    border-bottom: 1px dashed currentColor;
}

/*h2.system-message:first-line {
    font-weight: bold;
    font-size: 1.1em;
}*/

h2.system-message:after {
    content: '';
    position: absolute;
    width: 150px;
    height: 30px;
    background-image: url(/img/balloon.png);
    background-repeat: no-repeat;
    bottom: -29px;
    background-size: contain;
    left: 50%;
    transform: translate(-50%,0);
}

a.rohto-button {
    display: block;
    background: var(--rohto);
    width: fit-content;
    max-width: 100%;
    line-height: 1;
    text-decoration: none !important;
    color: var(--white);
    padding: 9px 22px;
    border-radius: 30px;
    margin: 0 auto 10px;
    transition: 0.2s;
    letter-spacing: 1px;
    font-size: 18px;
}

a.rohto-button:hover {
    background: #a9c300;
}

footer {
    /* background: var(--rohto-500); */
    padding: 0 15px 75px;
}

footer > img {
    margin-left: 8vw;
    width: 220px;
    max-width: 80%;
}

.system-message .errormessage {
    font-size: 14px;
    line-height: 1.6;
    display: block;
    font-weight: normal;
    background: #FFF;
    padding: 10px 15px;
    text-align: left;
    /* border: 2px dotted currentColor; */
    color: #000000;
    margin-bottom: 20px;
}

.system-message .errormessage:before {
    content: 'このメッセージをコピーしてお問い合わせください';
    display: block;
    font-size: 11px;
    color: var(--rohto);
    /* font-weight: bold;
     */margin-bottom: 4px;
 }

 p.lead {
    color: var(--rohto);
    font-weight: bold;
    font-size: 16px;
    text-align: left;
    line-height: 1.3;
}

.assessments-wrap {
    margin-bottom: 40px;
    display: grid;
    grid-gap: 13px;
    margin-top: 40px;
}

.assessments-link {
    color: #333;
    background: var(--rohto-500);
    text-decoration: none;
    display: grid;
    grid-template-columns: 120px 1fr;
    padding: 17px 17px;
    border-radius: 7px;
    border: 2px solid transparent;
    text-align: left;
    align-items: center;
    transition: .2s;
}

.assessments-link:hover {
    border-color: var(--rohto);
}