/************************
** 全体
*************************/

/*@font-face {
    font-family: 'kozuka-gothic';
    src: url(./font/koduka-gothic-pr6n-l.woff);
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}*/

@font-face {
    font-family: 'kozuka-gothic';
    src: url(./font/koduka-gothic-pr6n-r.woff);
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'kozuka-gothic';
    src: url(./font/koduka-gothic-pr6n-m.woff);
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'kozuka-gothic';
    src: url(./font/koduka-gothic-pr6n-b.woff);
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body {
    color: #4d4d4d;
    font-family: kozuka-gothic, sans-serif;
    font-size: 14px;
    letter-spacing: 1.5px;
}

html, body, .wrap {
    width: 100%;
    min-height: 100vh;
    margin: 0 auto;
    padding: 0;
    position: relative;
    overflow-x: hidden;
    height: auto;
    box-sizing: border-box;
    word-break: break-all;
}

@media screen and (max-width: 480px) {
    body {
        font-size: 12px;
    }
}

svg {
    font-family: kozuka-gothic, sans-serif;
}

/************************
** ヘッダー
*************************/

header {
    background: linear-gradient(#e3e5ff, #c5b8e8);
    color: #fff;
    padding: 20px 0 10px;
    text-align: center;
    width: 100%;
}

.header_wrap {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

.header_title {
    position: relative;
    font-size: 24px;
    width: 130px;
    margin: 0 auto;
    text-align: center;
}

.header_title img {
    width: 120px;
}

.header_title a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    margin: 0 auto;
    padding: 0;
}

.header_subtitle {
    font-size: 12px;
}

.message_area {
    text-align: center;
}

.success_message {
    color: #453283;
    margin: 20px auto;
    padding: 20px;
    width: 80%;
    text-align: center;
    border: solid 1px #453283;
}

.error_message {
    color: #e36692;
    margin: 20px auto;
    padding: 20px;
    width: 80%;
    text-align: center;
    border: solid 1px #e36692;
}

/************************
** フッター
*************************/

footer {
    position: absolute;
    background-color: #8e90b4;
    color: #fff;
    bottom: 0;
    width: 100%;
    height: 150px;
}

.foot_wrap {
    margin: 0 auto;
    max-width: 500px;
}

.footnavi {
    font-size: 14px;
    padding: 10px 10px 0;
    display: inline-block;
}

.copyright {
    font-size: 10px;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    margin-top: 20px;
}

/************************
** メインコンテンツ
*************************/

.content {
    margin: 0 auto;
    max-width: 500px;
    padding-bottom: 150px;
}

.content_white {
    padding: 40px 10px;
}

.content_purple {
    background-color: #eff0ff;
    padding: 40px 10px;
}

/************************
** ボタンと入力フォーム
*************************/

input[type="text"] {
    font-size: 12px;
    font-family: kozuka-gothic, sans-serif;
    letter-spacing: 2px;
    -webkit-appearance: none;
}

input[type="text"]:focus {
    outline: none;
}

textarea {
    border-radius: 0;
}

select:focus {
    outline: none;
}

/*こっから下ボタン*/

.submit_wrap {
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
}

input[type="submit"], button, .btn {
    color: #fff;
    letter-spacing: 2px;
    font-size: 15px;
    text-align: center;
    margin: 0 auto;
    border: none;
    border-radius: 5px;
    padding: 3px 0;
    width: 90%;
    font-family: kozuka-gothic, sans-serif;
    box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, 0.3);
    outline: none;
    border: solid 2px rgba(0, 0, 0, 0);
}

.normal_btn {
    background-color: #8a7abe;
}

.thin_btn {
    background-color: #b9aaeb;
}

.dark_btn {
    background-color: #b9aaeb;
}

input[type="submit"]:hover, button:hover, .btn:hover {
    cursor: pointer;
}

.normal_btn:hover {
    background-color: #ca8bb1;
}

.thin_btn:hover {
    background-color: #ebc7dd;
}

.dark_btn:hover {
    background-color: #453283;
}

.normal_btn:focus {
    border: solid 2px #b56797;
}

.thin_btn:focus {
    border: solid 2px #ddabca;
}

.dark_btn:focus {
    border: solid 2px #8a7abe;
}

.link_wrap {
    width: 100%;
    text-align: center;
    margin: 20px auto;
}

.link_btn {
    display: inline-block;
    font-size: 12px;
    text-decoration: underline;
    margin: 0 auto;
    text-align: center;
    color: #453283;
}

.link_btn:hover {
    cursor: pointer;
}

/************************
** パーツ
*************************/

@keyframes show {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.a_wrap {
    position: relative;
}

.a_link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.nickname_A {
    color: #e1b0d6;
}

.nickname_B {
    color: #a592c6;
}

.page_title {
    font-size: 18px;
    margin-bottom: 50px;
    text-align: center;
    font-weight: bold;
}

.content_purple textarea, .content_purple input[type="text"] {
    width: 90%;
    border: none;
}

.message {
    color: #000;
    text-align: center;
    margin: 10px 0;
}

#validation_message {
    display: none;
    color: #e36692;
    text-align: center;
    font-size: 12px;
    margin-bottom: 10px;
}

/*セレクトボックス*/

#select_radio {
    position: relative;
    border-radius: 100px;
    border: none;
    box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, 0.3);
    width: 90%;
    text-align: center;
    padding: 8px 0;
    background-color: #fff;
    margin: 0 auto;
    font-size: 10px;
    /*矢印*/
    background-size: 20px 20px;
    background-position: right 20px center;
    background-repeat: no-repeat;
    background-image: url(./img/select_arrow.png);
}

#select_radio:hover, .radio_label:hover {
    cursor: pointer;
}

#radio_option {
    position: absolute;
    top: 35px;
    left: 0;
    background-color: #fff;
    border-radius: 0 0 20px 20px;
    box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, 0.3);
    display: none;
    width: 96%;
    height: 300px;
    padding: 10px 2%;
    z-index: 9999;
}

.radio_option_wrap {
    overflow-y: scroll;
    height: 300px;
}

.radio_label {
    display: block;
    padding: 3px 0;
    width: 95%;
    border-radius: 50px;
    margin: 0 auto;
}

.radio_label:hover {
    background-color: #e2e2f5;
}

.radio_select {
    display: none;
    opacity: 0;
}

input[type="radio"].radio_select:checked+.radio_label {
    background-color: #e2e2f5;
}

/*スクロールバー*/

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #f7f7f7;
    border: none;
    border-radius: 50px;
}

::-webkit-scrollbar-thumb {
    background: #e2e2f5;
    border-radius: 50px;
    box-shadow: none;
}

/************************
** 初期インプット、分析画面
*************************/

.question_item {
    margin-bottom: 140px;
    text-align: center;
}

.question_item_number {
    margin-bottom: 30px;
}

.question_item_text {
    margin-bottom: 30px;
}

.question_item_ans {
    position: absolute;
    width: 160%;
    transform: scale(0.7) translateX(-70%);
    left: 50%;
    transform-origin: top;
}

/*　▼ラジオボタンデザイン▼　*/

.input_frame {
    text-align: center;
}

.radio_frame {
    display: inline-block;
    margin: 0 auto;
    text-align: center;
    position: relative;
    vertical-align: top;
    /*横幅は各ページで指定*/
}

.radio_frame input[type="radio"] {
    opacity: 0;
    position: absolute;
    top: 25%;
    left: 38%;
}

.radio_frame input[type="radio"]+label {
    display: inline-block;
    margin: 5px;
    cursor: pointer;
    transition: .2s;
    transform: scale(0.9, 0.9);
}

.radio_frame input[type="radio"]:checked+label>.radio_design {
    transform: scale(1, 1);
    border: solid 10px #a99ad2;
}

.radio_frame input[type="radio"]:not(:checked)+label:hover>.radio_design {
    border: solid 10px #a99ad2;
}

.radio_design {
    border: solid 10px #e2e2f5;
    width: 20px;
    height: 20px;
    border-radius: 100px;
}

/*　▲ラジオボタンデザイン▲　*/

/************************
** プライバシーポリシー・利用規約
*************************/

.office_frame {
    font-weight: 100;
    color: #453283;
}

.office_title_frame {
    text-align: center;
    margin-bottom: 40px;
}

.office_title {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 2px 5px;
    display: inline-block;
    color: #453283;
    border-bottom: solid 1px #453283;
}

.office_text_frame {
    margin-bottom: 20px;
}

.office_text_frame h1 {
    font-weight: bold;
    font-size: 12px;
}

.office_text_frame p {
    font-size: 12px;
    word-break: break-all;
    margin: 0 auto;
}

.contact_frame {
    text-align: center;
    padding: 20px 10px;
    width: 95%;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, 0.3);
}

.contact_input_frame {
    margin: 0 auto;
    margin-bottom: 25px;
    width: 90%;
    text-align: center;
}

.contact_text_frame {
    text-align: left;
    margin-bottom: 5px;
    font-size: 11px;
    margin-left: 10px;
}

.contact_input_frame input[type="text"] {
    width: 90%;
    padding: 5px 10px;
    text-align: center;
    border-radius: 50px;
    border: none;
    border: solid 1px #000;
}

.contact_input_frame textarea {
    width: 90%;
    padding: 5px 10px;
    border: none;
    border: solid 1px #000;
}

/************************
** 送信確認用モーダル
*************************/

#modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 100;
    display: none;
    background-color: #45328377;
    animation: show 0.5s linear 0s;
}

.modal_window_frame {
    position: absolute;
    width: 280px;
    padding: 20px 10px;
    background-color: #fff;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, 0.3);
}

.modal_title {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.modal_submit_wrap {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}