@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.is-count-on #content-in .article h2::before
{
    display: none;
}
.is-main-serif .article h2,
.is-main-serif .article h3,
.is-main-serif .article h4,
.is-main-serif .article h5
{
  font-family: "Zen Old Mincho", serif;
}
.is-count-on #content-in .article h2{
    position: relative;
    font-size: 26px;
    Margin: 120px 0px 25px 0px;
    Padding: 25px 25px 15px 0px;
    font-weight: 700;
}
.article h2::after {
    content: '';
    position: absolute;
    display: inline-block;
    left: 0px;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #B69F8E 0%, #50463E 100%);
}
.article h3 {
    font-size: 21px;
    position: relative;
    border: none;
    Margin: 80px 34.2px 25px 7px;
    font-weight: 600;
}
.article h3::before {
    content: '';
    position: absolute;
    display: inline-block;
    width: 2px;
    height: 100%;
    left: -7px;
    bottom: 0;
    background: #B69F8E;
}
.article h4 {
    font-size: 18px;
    font-weight: 500;
    Margin: 60px 0px 25px;
}
.article h5,
.article h6
{
    font-size: 16px;
    font-weight: 500;
    Margin: 40px 0px 25px;
}
/* 自作ロゴフッター */
.logo_footer {
    margin-bottom: 150px;
}
.logo_footer ul{
    display: flex;
    flex-wrap: wrap;
    text-decoration: none;
    align-items: flex-start;
    vertical-align: middle;
    justify-items: center;
    list-style: none;
    width: 100%;
}
.logo_footer ul li{
    width: 25%;
    align-self: flex-start;
    padding-bottom: 1rem;
}
/**
 レスポンシブデザイン用のメディアクエリ
**/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /必要ならばここにコードを書く/
}
/*834px以下*/
@media screen and (max-width: 834px){
  /必要ならばここにコードを書く/
}
/*480px以下*/
@media screen and (max-width: 480px){
  /必要ならばここにコードを書く*/
}
@media screen and (max-width: 480px){

    /*スマホサイズでの表示*/

    .is-count-on #content-in .article h2{
    font-size: 20px;
    Margin: 80px 10px 10px 10px;
}

    .article h2::after {
    left: -10px;
    bottom: 0px;
}

    .article h3 {
    font-size: 18px;
}
    .article h4 {
    font-size: 16px;
}


/*ここから試し*/
body { font-family: sans-serif; color: #333; padding: 20px; }
.content-wrapper {
    padding: 25px 30px;
    border: 1px solid #e5d2b5; /* ★ここが変更されました★ */
    border-radius: 8px;
    max-width: 850px;
    margin: auto;
}
.chart-container { display: flex; align-items: center; gap: 40px; }
.left-column { width: 60%; max-width: 500px; }
.right-column { width: 40%; max-width: 300px; display: flex; flex-direction: column; gap: 1px; }

.radar-chart-wrapper {
    position: relative;
    height: 350px;
}
#myRadarChart {
    width: 100% !important;
    height: 100% !important;
}

.job-title {
    font-weight: bold;
    font-size: 1.2em;
}
.job-title::before {
    content: "■ ";
    color: rgb(161, 143, 131);
    font-weight: bold;
}

.rating-block { display: flex; justify-content: flex-start; align-items: center; font-weight: bold; gap: 8px; margin-bottom: 30px; }
#average-score { font-size: 20px; color: #0c0c0b; }
#star-rating { display: flex; font-size: 22px; }
.star-wrapper { position: relative; display: inline-block; }
.star-background { color: #ccc; }
.star-foreground { position: absolute; top: 0; left: 0; color: rgb(161, 143, 131); overflow: hidden; white-space: nowrap; }


.bar-chart-area { display: flex; flex-direction: column; gap: 15px; }
.bar-item-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 14px; font-weight: 600;}
.bar-label { color: #555; }
.bar-value { font-weight: bold;}
.bar-value.outlier { color: #c0392b; font-size: 16px; } /* 異常値や極端な値を強調 */
.progress-container { position: relative; height: 12px; width: 100%; }
.progress-bg, .progress-fill, .progress-lines { position: absolute; top: 0; left: 0; height: 100%; border-radius: 0px; }
.progress-bg { background-color: #e9ecef; width: 100%; } /* バーの背景色 */
.progress-fill { background-color: rgb(161, 143, 131); } /* バーの塗りつぶし部分 */
.progress-lines { width: 100%; background-image: repeating-linear-gradient(to right, transparent, transparent calc(10% - 1px), #fff calc(10% - 1px), #fff 10%); } /*バーに目盛り線を描画 */

.respondent-count { text-align: right; font-size: 14px; color: #555; margin-top: 15px; }

/* スマホ対応 */
@media (max-width: 768px) {
    body { padding: 15px; }
    .chart-container { flex-direction: column; align-items: stretch; gap: 25px; }
    .left-column, .right-column { width: 100%; max-width: none; }
    .radar-chart-wrapper { height: 400px; }
}

@media (max-width: 480px) {
    body { padding: 10px; }
    .content-wrapper { padding: 20px; }
    .radar-chart-wrapper { height: 320px; }
    .rating-block { margin-bottom: 20px; gap: 6px; }
    #average-score { font-size: 18px; }
    #star-rating { font-size: 20px; }
    .bar-chart-area { gap: 20px; }
}

@media (max-width: 360px) {
    .radar-chart-wrapper { height: 280px; }
    .content-wrapper { padding: 15px; }
}
/*ここまで試し*/