@charset "UTF-8";

/*------------------------
   etcページ　hタグ
--------------------------*/
.etc {
    padding: 0 1.5rem 3rem;
}

.etc h2 {
    margin: 40px 0 30px;
    font-size: 2.7rem;
    line-height: 1.2;
    background: #ffe8e9;
    border: none;
    padding: 22px 20px 12px;
    border-bottom: 6px solid #ffcfd1;
    color: #4A260A;
    text-align: left;
}

.etc h3 {
    border-left: 8px solid #f7c3de;
    margin: 60px 15px 30px 0;
    font-size: 2.6rem;
    padding: 7px 0 7px 10px;
    line-height: 1.1;
    border-bottom: 1px dashed #ccb681;
    clear: both;
}

/*------------------------
   etcページ　text
--------------------------*/
.etc p {
    font-size: 23px;
    line-height: 1.6;
}

.etc ul {
  font-size: 23px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.etc .kome {
  font-size: 18px;
  line-height: 1.6;
  margin: 30px 0;
}

/*------------------------
   etcページ　table
--------------------------*/
.etc table {
    font-size: 20px;
    line-height: 1.6;
    margin: 50px 0;
    border-color: #4A260A;
}

.etc table th {
    padding: 10px;
    width: 130px;
    line-height: 1.6;
}

.etc table td {
    padding: 10px 20px;
    line-height: 1.6;
}

.etc table.rank {
  font-size: 20px;
  line-height: 1.6;
  margin: 50px 0;
}

.etc table.rank th {
  padding: 10px;
  width: 130px;
  line-height: 1.6;
  font-size: 30px;
}

.etc table.rank td {
  padding: 10px 20px;
  line-height: 1.6;
}


/* 横棒グラフ */
.etc .question {
    font-size: 24px;
    font-weight: bold;
    border-bottom: 1px dashed #8C6239;
    margin: 70px 0 30px !important;
}

.etc .question span {
    font-size: 24px;
    font-weight: bold;
    margin-right: 15px;
}

.etc .question span.small {
    font-size: 18px;
    font-weight: 500;
}

.etc .bar-graph .answer {
    -webkit-animation: fade-in-text 2.2s 0.1s forwards;
    -moz-animation: fade-in-text 2.2s 0.1s forwards;
    animation: fade-in-text 2.2s 0.1s forwards;
    opacity: 0;
}

.etc .bar-graph-horizontal {
    max-width: 100%;
    margin: 50px 0 30px;
}

.etc .bar-graph-horizontal > div {
    display: flex;
    margin-bottom: 15px;
    width: 100%;
}

.etc .bar-graph-horizontal .answer {
    width: 110px;
    font-size: 22px;
    line-height: 50px;
}

.etc .bar-graph-horizontal .bar {
    border-radius: 3px;
    height: 50px;
    position: relative;
    max-width: 530px;
}

.etc .bar-graph-one .bar::after {
    -webkit-animation: fade-in-text 2.2s 0.1s forwards;
    -moz-animation: fade-in-text 2.2s 0.1s forwards;
    animation: fade-in-text 2.2s 0.1s forwards;
    color: #fff;
    content: attr(data-percentage);
    font-size: 18px;
    font-weight: 700;
    position: absolute;
    right: 10px;
    top: 14px;
}

/* 横棒グラフなし */
.etc .bar-none table {
  margin: 30px 0;
}

.etc .bar-none table tr,
.etc .bar-none table th,
.etc .bar-none table td {
  margin: 0;
  padding: 0;
  border: 0;
}

.etc .bar-none table tr:before {
  content: "\f04b";
  font-family: "Font Awesome 5 Free";
  display: inline-block;
  margin-right: 20px;
  position: relative;
  left: 10px;
  top: 15px;
  color: #f6a225;
  font-size: 10px;
  font-weight: 900;
}

.etc .bar-none table th {
  width: 540px;
  font-size: 22px;
  font-weight: normal;
  line-height: 50px;
  color: #4A260A;
  text-align: left;
}

.etc .bar-none table td {
  height: 50px;
  width: 100px;
  color: #4A260A;
  font-weight: 500;
  font-size: 20px;
  text-align: right;
  padding-right: 30px;
}

/* 横棒グラフ共通 */
.etc .bar-graph-one .bar {
  background: rgba(246, 162, 37, .7);
}

.etc .bar-graph-one .per0 {
  background: rgba(246, 162, 37, .3);
}

/* 個別で調整の時 */
/* .etc .bar-graph-one .bar1 .bar {
    background: rgba(0, 196, 207, .7);
}
.etc .bar-graph-one .bar2 .bar {
    background: rgba(0, 196, 207, .7);
}
.etc .bar-graph-one .bar3 .bar {
    background: rgba(0, 196, 207, .7);
}
.etc .bar-graph-one .bar4 .bar {
    background: rgba(0, 196, 207, .7);
}
.etc .bar-graph-one .bar5 .bar {
    background: rgba(0, 196, 207, .7);
}
.etc .bar-graph-one .bar6 .bar {
    background: rgba(0, 196, 207, .7);
} */

@-webkit-keyframes fade-in-text {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* 横棒グラフの長さ */
.etc .bar-graph-one .per0 {
    width: 10%;
}

.etc .bar-graph-one .per10 {
    width: 10%;
}

.etc .bar-graph-one .per20 {
    width: 20%;
}

.etc .bar-graph-one .per30 {
    width: 30%;
}

.etc .bar-graph-one .per40 {
    width: 40%;
}

.etc .bar-graph-one .per50 {
    width: 50%;
}

.etc .bar-graph-one .per60 {
    width: 60%;
}

.etc .bar-graph-one .per70 {
    width: 70%;
}

.etc .bar-graph-one .per80 {
    width: 80%;
}

.etc .bar-graph-one .per90 {
    width: 90%;
}

.etc .bar-graph-one .per100 {
    width: 100%;
}