@charset "UTF-8";

/*
Theme Name: questionnaire Theme
Theme URI: http://localhost:10015/
Author: Your Name
Author URI: http://localhost:10015/
Description: A custom theme for the poll app.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: questionnaire
*/

/* ーーーーー リセット系 ーーーーー */

html,
body,
h1,
h2,
h3,
h4,
ul,
ol,
dl,
li,
dt,
dd,
p,
div,
span,
img,
a,
table,
tr,
th,
td {
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: normal;
    vertical-align: baseline;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

h1 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 100%;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 9px;
}

p {
    font-feature-settings: "palt";
}

:root {
    --gray01: #818080;
    --Key_red: #DE6E6E;
}

ol,
ul {
    list-style: none;
    list-style-type: none;
}

a {
    text-decoration: none;
}

a:link {
    text-decoration: none;
    color: #000000;
}

a:active {
    text-decoration: none;
    color: #000000;
}

a:hover {
    text-decoration: none;
    color: #000000;
}

a:visited {
    text-decoration: none;
    color: #000000;
}

button:link {
    text-decoration: none;
    color: #000000;
}

button:active {
    text-decoration: none;
    color: #000000;
}

button:hover {
    text-decoration: none;
    color: #000000;
}

button:visited {
    text-decoration: none;
    color: #000000;
}

li {
    font-feature-settings: "palt";
}

img {
    width: 100%;
}



.poll-title {
    font-size: 15px;
    letter-spacing: .02em;
    line-height: 1.6;
    margin-bottom: 4px;
}

.poll-author-name {
    font-size: 12px;
    letter-spacing: .02em;
    line-height: 1;
    margin-bottom: 6px;
    font-weight: 550;
}

.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 27px 4% 20px;
    border: 1px solid #888;
    max-width: 600px;
    width: 95%;
    position: relative;
    border-radius: 8px;
}

.poll_wrap {
    display: block;
    margin: 0 auto;
    max-width: 600px;
    width: 100%;
    background-color: white;
    padding: 0 0% 0px 0;
    position: relative;
}

.all_BG {
    background-color: #dbdbdb;
}

.poll {
    /* margin-bottom: 21px; */
    padding: 12px 5% 10px;
    border-top: 1px solid rgb(199, 199, 199);
}

.question_box {
    margin-bottom: 10px;
    width: 100%;
}

.choice_box {
    margin-bottom: 5px;
    width: 80%;
}

#add-choice {
    margin: 14px 0 20px;
    width: 133px;
    background-color: #e0e0e0;
    color: rgb(121, 121, 121);
    border: 1px solid rgb(121, 121, 121);
    font-size: 13px;
    line-height: 2;
    border-radius: 5px;
}

.choice_box_wrap {
    margin-bottom: 10px;
    display: -webkit-box;
    display: -ms-flex box;
    display: flex;
    flex-direction: column;
    gap: 4%;
}

.question_form {
    font-size: 15px;
    margin-bottom: 5px;
    font-weight: 550;
    color: #818080;
}

.choice_form {
    font-size: 13px;
    color: #818080;
    margin-bottom: 5px;
}

input#question {
    max-width: 100%;
    width: 100%;
    display: block;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #BEBCBC;
    height: 27px;
}

.choice_input {
    max-width: 100%;
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #BEBCBC;
    height: 27px;
}

.um-profile-nav,
.um-profile-body {
    display: none !important;
}

.title_flex {
    display: -webkit-box;
    display: -ms-flex box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    margin-bottom: 4px;
    width: 100%;
}

.button_flex {
    display: -webkit-box;
    display: -ms-flex box;
    display: flex;
    align-items: center;
    /* gap: 3%; */
    width: 100%;
}

h1.main-title a {
    display: block;
    width: 100%;
}

#navigation-links {
    display: -webkit-box;
    display: -ms-flex box;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

input,
textarea,
select {
    font-size: 16px;
    max-height: 100px;
    /* フォームフィールドの高さを制限する */
    -webkit-text-size-adjust: 100%;
    /* iPhoneの自動ズームを無効にする */
}

#question_submit,
.open-comment-modal {
    background-color: var(--Key_red);
    border: var(--Key_red);
    color: white;
    -webkit-appearance: none;
    outline: none;
    border-radius: 7px;
    padding: 3px 11px;
    font-size: 13px;
    line-height: 2;
}

.open-comment-modal:hover {
    color: white;
    cursor: pointer;
}

.searchform {
    position: relative;
    width: 100%;
    /* 全体の幅を100%にします */
    box-sizing: border-box;
    /* paddingやborderが幅に含まれるようにします */
}

.searchfield,
#comment {
    font-size: 14px;
    width: 100%;
    /* margin: 3px; */
    border: solid 1px #bbb;
    border-radius: 6px;
    background-color: #ffffff;
    /* submitボタンの幅と少しの余白を考慮します */
    box-sizing: border-box;
    /* paddingやborderが幅に含まれるようにします */
    text-align: center;
    color: var(--gray01);
}

.searchfield {
    text-align: left;
    padding-left: 37px;
}

#comment {
    text-align: left;
}

#open-form-modal {
    font-size: 16px;
    color: #818080;
    border: solid 1px var(--Key_red);
    border-radius: 6px;
    background-color: white;
    box-sizing: border-box;
    position: relative;
    text-align: left;
}

#open-form-modal:before {
    content: "";
    position: absolute;
    top: 50%;
    left: -16px;
    margin-top: -5px;
    border: 4px solid transparent;
    border-right: 12px solid #FFF;
    z-index: 2;
}

#open-form-modal:after {
    content: "";
    position: absolute;
    top: 50%;
    left: -20px;
    margin-top: -6px;
    border: 5px solid transparent;
    border-right: 14px solid var(--Key_red);
    z-index: 1;
}


.searchsubmit {
    background: transparent;
    border: none;
    color: #9f9f9f;
    cursor: pointer;
    font-size: 1.4em;
    padding: 0;
    position: absolute;
    top: 0;
    left: 8px;
    background-repeat: no-repeat;
    background-position: center;
    width: 26px;
    background-size: 100% 100%;
}


.searchsubmit:hover {
    opacity: .6;
}

.searchform,
#open-form-modal,
#open-form-modal {
    height: 40px;
}

.searchfield,
.searchsubmit {
    height: 100%;
}

.inner_content {
    padding: 0 0%;
    display: flex;
    column-gap: 15px;
}



.poll_content_wrap {
    width: calc(100% - 70px);
}

#question-box {
    padding-bottom: 8px;
}

.Q_chara {
    width: 66px;
    margin-right: 16px;
    pointer-events: none;
}

#open-form-modal {
    width: 100%;
    margin-right: 10px;
}

#open-form-modal p {
    padding-left: 34px;
}

#search-form-container {
    width: 40px;
}


#search-form-container,
#open-form-modal {
    font-size: 14px;
    line-height: 1.4;
}

@media screen and (max-width: 350px) {

    #search-form-container,
    #open-form-modal {
        font-size: 12px;
    }
}

.good-day_flex {
    display: -webkit-box;
    display: -ms-flex box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.good-day_flex .content_flex {
    display: -webkit-box;
    display: -ms-flex box;
    display: flex;
    align-items: center;
    /* gap: 10%; */
}

.poll-total-votes {
    white-space: nowrap;
}

.rog_icon {
    display: block;
    width: 20px;
    margin-right: 5px;
}

#navigation-links a {
    display: -webkit-box;
    display: -ms-flex box;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

#navigation-links p {
    font-size: 12px;
    color: var(--gray01);
}

.Q_icon02 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(0%, -50%);
    -webkit-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
    left: 9px;
    width: 27px;
}

.poll-date {
    color: var(--gray01);
    font-size: 12px;
    letter-spacing: .03em;
    line-height: 1;
}

.vote-option {
    border: none;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 15px;
    color: black;
    padding: 0px 10px;
    margin-bottom: 8px;
    margin-right: 8px;
    line-height: 2;
}

:root {
    --vote01: #FCBEBE;
    --vote02: #F3E3A9;
    --vote03: #AFC6FF;
    --vote04: #B2EFFC;
    --vote05: #C2F490;
}

.vote-option:first-of-type {
    background-color: var(--vote01);
}

.vote-option:nth-of-type(2) {
    background-color: var(--vote02);
}

.vote-option:nth-of-type(3) {
    background-color: var(--vote03);
}

.vote-option:nth-of-type(4) {
    background-color: var(--vote04);
}

.vote-option:nth-of-type(5) {
    background-color: var(--vote05);
}

.vote-option-selected-1 {
    color: var(--vote01);
    border: 1px solid var(--vote01);
    background-color: white !important;
}

.vote-option-selected-2 {
    color: var(--vote02);
    border: 1px solid var(--vote02);
    background-color: white !important;
}

.vote-option-selected-3 {
    color: var(--vote03);
    border: 1px solid var(--vote03);
    background-color: white !important;
}

.vote-option-selected-4 {
    color: var(--vote04);
    border: 1px solid var(--vote04);
    background-color: white !important;
}

.vote-option-selected-5 {
    color: var(--vote05);
    border: 1px solid var(--vote05);
    background-color: white !important;
}


.vote-option_flex {
    display: -webkit-box;
    display: -ms-flex box;
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
}

.wpulike-heart .wp_ulike_general_class {
    box-shadow: none !important;
}

.wpulike-heart .count-box {
    padding: 0 !important;
    color: var(--gray01) !important;
    font-weight: 400 !important;
    font-size: 11px !important;
}

.wpulike {
    padding: 0 !important;
}

.chart_box {
    position: relative;
    /* max-width: 400px; */
    width: 100%;
    display: block;
    height: 50vh;
    /* padding: 15px 15px; */
}

canvas[id*="poll-results-chart2"] {
    width: 100%;
}


.hidden {
    display: none;
}

.required-field-message,
.comment-reply-title,
.comment-form-author,
.comment-form-email,
.comment-form-url,
.logged-in-as {
    display: none;
}

.comment-form-comment label {
    display: none;
}

textarea#comment {
    margin-bottom: 10px;
}

.comment-form-comment textarea {
    width: 100%;
}

.comments .comment {
    padding: 10px 0 10px;
    border-bottom: 1px solid #818080;
}

.comments .comment .text {
    font-size: 15px;
    margin-bottom: 5px;
}

.comments .comment .day,
.comments .comment .author {
    font-size: 12px;
    color: #818080;
    margin-bottom: 0px;
}


.comments .comment .flex {
    display: -webkit-box;
    display: -ms-flex box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comments_wrap {
    background: white;
    padding: 20px 0%;
    border-radius: 10px;
}

.poll_count_icon_flex {
    display: flex;
    column-gap: 8px;
    align-items: center;
    font-size: 11px;
}

.poll_count_icon {
    width: 15px;
    height: auto;
}

#head .inner_content,
#question-box .inner_content {
    padding: 0 5%;
}

#question-box .inner_content {
    padding-bottom: 9px;
}

.um-register,
.um-profile {
    padding: 0 5%;
}

.um input[type="submit"].um-button,
.um input[type="submit"].um-button:focus,
.um a.um-button,
.um a.um-button.um-disabled:hover,
.um a.um-button.um-disabled:focus,
.um a.um-button.um-disabled:active {
    background-color: #ffd8d8;
    color: var(--Key_red);
}

.um input[type="submit"].um-button:hover,
.um a.um-button:hover {
    background-color: var(--Key_red);
    color: white;
}

#single_poll h2 {
    margin-bottom: 15px;
}

input#submit {
    background-color: var(--Key_red);
    color: white;
    border: none;
    font-size: 13px;
    line-height: 2;
    border-radius: 4px;
}

.user-profile {
    text-align: center;
    margin: 30px auto 20px;
}

.user-profile .avatar {
    width: 80px;
}


#single_poll .comment-modal {
    display: none;
    /* モーダルは最初は非表示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

#single_poll .comment-modal-content {
    background-color: #fff;
    max-width: 600px;
    width: 95%;
    position: relative;
    border-radius: 8px;
    margin: 10% auto;
    padding: 43px 3% 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#single_poll .close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    background: none;
    border: none;
    width: 34px;
    top: 4px;
    right: 4px;
}

#single_poll .registration_button {
    font-size: 15px;
    color: white;
    padding: 13px 15px;
    border-radius: 6px;
    background-color: var(--Key_red);
    margin-bottom: 15px;
    display: inline-block;
}

#single_poll .registration_button a {
    color: white;
}

/* 質問をする　常時表示ボタン */
#fixed-question-button {
    position: fixed;
    bottom: 8px;
    right: 8px;
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 90;
    width: 60px;
    height: 60px;
    background: none;
}

#close-form-modal {
    position: absolute;
    width: 34px;
    top: -3px;
    right: 4px;
    font-size: 45px;
}

#register {
    padding: 0 5% 28px;
}

#loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--Key_red);
    z-index: 1000;
    /* 他の要素より上に表示するためのz-index */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.loading-content {
    width: 100%;
}

.loading-logo {
    width: 30%;
    display: block;
    margin: 0 auto;
}

.poll .poll-author-avatar {
    width: 50px;
}

.poll-author-avatar img {
    border-radius: 50%;
    height: auto;
}

.um-header {
    border-bottom: none;
    padding: 0;
}

.um-profile.um-editing {
    padding-bottom: 0;
}

.form-modal_wrap {
    display: flex;
    margin: 20px auto 0;
    padding-bottom: 30px;
    justify-content: center;
    align-items: center;
    padding: 0 5% 30px;
}

.um-profile-edit {
    display: none;
}

.account_link_flex {
    display: flex;
    flex-direction: column;
    margin: 20px auto 20px;
    gap: 20px;
    font-size: 13px;
}

.um-profile-photo-overlay {
    display: none;
}

.um-account-meta img {
    width: 120px;
    height: 120px;
}

.um .um-tip:hover,
.um .um-field-radio.active:not(.um-field-radio-state-disabled) i,
.um .um-field-checkbox.active:not(.um-field-radio-state-disabled) i,
.um .um-member-name a:hover,
.um .um-member-more a:hover,
.um .um-member-less a:hover,
.um .um-members-pagi a:hover,
.um .um-cover-add:hover,
.um .um-profile-subnav a.active,
.um .um-item-meta a,
.um-account-name a:hover,
.um-account-nav a.current,
.um-account-side li a.current span.um-account-icon,
.um-account-side li a.current:hover span.um-account-icon,
.um-dropdown li a:hover,
i.um-active-color,
span.um-active-color {
    color: var(--Key_red);
}

.um a.um-link {
    color: var(--Key_red);
}

.um .um-field-group-head,
.picker__box,
.picker__nav--prev:hover,
.picker__nav--next:hover,
.um .um-members-pagi span.current,
.um .um-members-pagi span.current:hover,
.um .um-profile-nav-item.active a,
.um .um-profile-nav-item.active a:hover,
.upload,
.um-modal-header,
.um-modal-btn,
.um-modal-btn.disabled,
.um-modal-btn.disabled:hover,
div.uimob800 .um-account-side li a.current,
div.uimob800 .um-account-side li a.current:hover {
    background: var(--Key_red);
}

.return_arrow {
    font-size: 28px;
}

#search-form-container {
    position: relative;
    display: inline-block;
    border: 1px solid #aaa;
    border-radius: 6px;
    height: 40px;
    padding: 10px 7px;
}

.search-modal-content {
    display: none;
    position: fixed;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid #aaa;
    background-color: #fff;
    z-index: 2;
    max-width: 300px;
    width: 80%;
    padding: 20px 25px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}


.search-modal-overlay {
    display: none;
    position: fixed;
    /* 画面全体に表示 */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    /* 半透明の背景色 */
    z-index: 2;
    height: 100vh;
}

.searchform_close {
    cursor: pointer;
    position: absolute;
    top: -13px;
    right: -3px;
    padding: 5px;
    font-size: 28px;
}

.searchform .searchfield {
    width: 100%;
    box-sizing: border-box;
    padding: 5px 5px 5px 40px;
}

a#um-register-link {
    display: block;
    margin: 47px auto 0;
    background-color: rgb(152, 152, 152);
    text-align: center;
    color: white;
    padding: 21px;
    border-radius: 5px;
    width: 91%;
}

#new_register {
    padding-bottom: 28px;
}

#register .title,
#new_register .title {
    padding-left: 5%;
    font-size: 18px;
    font-weight: 550;
    letter-spacing: .06em;
    margin-bottom: 10px;
    margin-top: 28px;
}

#register .title {
    padding-left: 0;
}

#new_register .lead {
    padding-left: 5%;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: .06em;
    margin-bottom: 20px;
}

.um-avatar-upload-btn {
    padding: 8px 18px;
    border-radius: 21px;
    outline: none;
    border: none;
    background-color: #dedede;
}

.um-avatar-upload-btn p {
    font-size: 13px;
    letter-spacing: .09em;
    color: black;
    line-height: 1;
}

.answer_link {
    padding: 5px 14px;
    border-radius: 5px;
    background-color: #6ECADE;
    margin-right: 16px;
    display: block;
}

.poll .answer_link p {
    font-size: 12px;
    color: white;
    white-space: nowrap;
}

#question-box .about_link {
    cursor: pointer;
}

#question-box .about_link p {
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 4px;
    color: rgb(102, 102, 102);
}

#footer {
    background-color: var(--Key_red);
    text-align: center;
    font-size: 12px;
    color: white;
    padding: 50px 0;
}

#about {
    background-color: var(--Key_red);
    color: white;
    text-align: center;
    height: 100vh;
    padding-top: 150px;
}

#about .main_rogo {
    margin: 0 auto 50px;
    display: block;
    width: 48%;
}

#about .lead {
    font-size: min(3.5vw, 14px);
    letter-spacing: .09em;
    line-height: 1.8;
    margin-bottom: 45px;
}

#about .form-modal_wrap {
    width: 80%;
}

#about #open-form-modal:before {
    display: none;
}

.um-profile.um .um-name a {
    font-size: min(5vw, 23px);
}

.um-account {
    padding: 20px 3% 0;
}

.um-center {
    margin-top: 10px;
}

.um-field-area {
    display: flex;
    justify-content: center;
}

.header_fixed {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    max-width: 600px;
    width: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, 0%);
    -ms-transform: translate(-50%, -50%);
    background: white;
    z-index: 100;
}

.poll_box {
    padding-top: 160px;
}

.all_BG:before {
    content: '';
    width: 100%;
    height: 110vh;
    background-color: #dbdbdb;
    position: fixed;
    top: -50px;
    z-index: -1;
}

#register,
#new_register,
.um-profile {
    padding-top: 45px;
}

div#um_field_general_user_email {
    display: none;
}

@media (max-width: 600px) {
    .header_fixed {
        position: static;
        transform: translate(0%, 0%);
        -webkit-transform: translate(0%, 0%);
        -ms-transform: translate(0%, 0%);
    }

    .poll_box {
        padding-top: 0px;
    }

    .all_BG:before {
        content: none;
    }

    .um-profile {
        padding-top: 0px;
    }

    #about {
        padding-top: 80px;
    }

}

#contact {
    padding: 10px 5%;
}

#contact h1 {
    font-size: 22px;
    margin-bottom: 16px;
}

#contact p {
    font-size: 14px;
}

#contact .has-spinner {
    font-size: 13px;
    height: 32px;
}

#contact input,
#contact textarea,
#contact select {
    margin-top: 4px;
    margin-bottom: 13px;
    width: 99%;
}

#contact .content p {
    line-height: 1.5;
}

.contact_link p {
    color: white;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-bottom: 18px;
}

.grecaptcha-badge {
    visibility: hidden;
}

#about .register_button {
    background-color: white;
    color: black;
    font-size: 15px;
    padding: 10px 15px;
    border-radius: 6px;
}

#post_check {
    background-color: #ffebeb;
}

#post_check .title {
    font-size: 15px;
    letter-spacing: .02em;
    line-height: 1.6;
    margin-bottom: 4px;
}

#post_check .txt {
    font-size: 13px;
    letter-spacing: .02em;
    line-height: 1;
    color: var(--Key_red);
    margin-bottom: 6px;
}

#success-message .success-txt {
    margin-top: 8px;
    font-size: 15px;
    color: var(--Key_red);
}