@charset "UTF-8";

/* f2ede6 */
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/
:root {
    --main: #00ada9;
    --border: #606060;
    --label-border: none;
    --accent: #00ada9;
    --hover: #26c2bf;
    --star: #ffad15;
    /* dd7437 */
}

input[type="text"],
select,
textarea,
::placeholder {
    background: #ededed;
    font-weight: bold;
}

::placeholder {
    color: #a4a4a4;
}

@media (min-width: 960px) {
    header {
        border-radius: 3em;
        width: calc(100% - 3em) !important;
        margin-inline: auto;
        margin-top: 1em;
        max-width: 1200px;

    }
}

/*
@media (max-width: 959px) {
    header {
        border-radius: 6px;
        width: calc(100% - 2em) !important;

    }
} */

body {
    font-weight: bold;
    background: #e9edf0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.6) max(1px, 0.07vw), transparent 0), linear-gradient(90deg, rgba(255, 255, 255, 0.6) max(1px, 0.07vw), transparent 0);
    background-size: .73vw .73vw;

}

/*
.l-content {
    background-color: #f5f5f5;
    background-image: linear-gradient(90deg, #fff 1px, transparent 1px), linear-gradient(#fff 1px, transparent 1px);
    background-position: 10px 10px;
    background-size: 8px 8px;

} */
.post_content>h2 {
    margin-inline: 0;
}

.c-title {
    font-size: 1.4em;
}

@media (max-width: 959px) {
    .c-title {
        font-size: 1.2em;
    }
}

.l-header {
    box-shadow: 0 1px 4px rgba(1, 16, 31, 0.1);
    /* position: sticky;
    top: 2em; */

}

.c-group {
    /* border: 2px solid var(--border); */
    /* box-shadow: 0 0 8px #fff0f0; */
    padding: 3em;
    background: #fff;
    border-radius: 1em;
    box-shadow: 0 1px 4px rgba(1, 16, 31, 0.1);

}



.l-sidebar .c-widget.widget_block {
    background: #fff;
    border-radius: 1em;
    padding-block: 3em;
    margin-bottom: 4px;
    box-shadow: 0 1px 4px rgba(1, 16, 31, 0.1);
}

.w-fixSide {
    margin-top: 4em;
}

.c-button a {
    box-shadow: none;
    border-radius: 4px;
}

/* .c-button a:hover {
    background: var(--hover);
    box-shadow: none;
} */

.filter-submit button:hover {
    background: var(--hover);
}

/* スマホ対応 */
@media (max-width: 959px) {
    .c-group {
        padding: 2em 1em;
    }
}


.filter-form {
    max-width: 900px;
    margin: 2em auto;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

.filter-item {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
}

.filter-item label {
    font-size: 0.9em;
    color: #333;
    margin-bottom: 0.5em;
}

.filter-item input,
.filter-item select {
    padding: 0.6em;
    border: 1px solid var(--label-border);
    border-radius: 4px;
    font-size: 1em;
    box-sizing: border-box;
}

.filter-submit {
    align-self: flex-end;
}

.filter-submit button {
    background: var(--accent);
    font-weight: bold;
    color: #fff;
    padding: 0.6em 1.2em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all .1s;
}

.filter-submit button:hover {
    background: var(--hover);
}

/* レビューフォーム全体 */
.review-form {
    max-width: 600px;
    margin: 2em auto;
}

/* ラベル */
.review-form label {
    display: block;
    margin-bottom: 0.3em;
    font-weight: bold;
    font-size: 0.95em;
}

/* 入力フィールド・セレクト・テキストエリア */
.review-form input[type="text"],
.review-form select,
.review-form textarea {
    width: 100%;
    padding: 0.6em;
    margin-bottom: 1.2em;
    border: 1px solid var(--label-border);
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

.review-form textarea {
    min-height: 20em;
}

/* セレクトの矢印調整（特にモバイル） */
.review-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%23333' stroke-width='1.5' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75em center;
    background-size: 10px 6px;
}

/* ボタン */
.review-form button[type="submit"] {
    width: 100%;
    margin-top: 2em;
    display: inline-block;
    padding: 0.75em 1.5em;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.review-form button[type="submit"]:hover {
    background: var(--hover);
}

.form-const {
    font-size: 0.8em;
    text-align: center;
}

.form-conts-check {
    margin-top: .5em;
    text-align: center;
}


.form-conts-check input {
    font-size: 0.8em;
}

.company-reviews {
    margin-top: 3em;
}

.company-reviews h2 {
    margin-bottom: 1em;
    /* border-left: 5px solid var(--main);
    padding-left: 0.6em; */
}

.company-reviews ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.company-reviews li {
    padding: 1em 1.2em;
    margin-bottom: 1.2em;
    background: #fff;
    border-bottom: solid 1px #ccc;
    /* border-left: 4px solid var(--main); */
    /* border-radius: 6px; */
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03); */
}

.company-reviews .review-top {
    /* background: #f1f1f1; */
    padding: .3em 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1em;
}


.review-date {
    font-size: .8em;
    font-weight: 400;
}

.company-reviews li p:first-child {
    font-weight: bold;
    color: #222;
}

.company-reviews li p.review-rating {
    font-size: 1.1em;
    color: var(--star);
    /* padding-inline: 1.2em; */

}

.company-reviews li p.review-rating span {
    color: red;

}

.review-comment {
    margin-top: 1.2em;
    font-weight: normal;
}

/* .company-reviews li p span {
    font-size: 1.2em;
    color: var(--star);
    font-family: "Arial", "sans-serif";
} */

@media (max-width: 959px) {
    .company-reviews {
        padding: 1.5em 1em;
    }

    .company-reviews li {
        padding: 1em;
    }
}

.company-reviews .more {
    max-width: 504px;
    width: 100%;
    margin-top: 2em;
    display: block;
    margin-inline: auto;
    padding: 0.75em 1.5em;
    /* background: var(--accent); */
    /* color: #fff; */
    background: #fff;
    border: solid 2px var(--border);
    border-radius: 6px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.company-reviews .more:hover {
    background: #eef2f4;
}


.review-average {
    font-size: 1.2em;
    margin-bottom: 1em;
    color: #333;
}

.review-average .stars,
.review-summary .stars {
    color: var(--star);
    margin-right: 0.3em;
}

.review-average .score,
.review-summary .score {
    color: red;
}

/*
.review-stars {
    display: flex;
    align-items: center;
    gap: .2em;
    font-size: 1.4em;
}


.review-stars .stars {
    color: var(--star);
    font-size: 1.4em;
}

.review-stars .score {
    color: red;
}
 */

.review-stars {
    display: flex;
    align-items: center;
    gap: .2em;
    font-size: 1.4em;
}

.review-stars .stars {
    position: relative;
    display: inline-block;
    color: #ccc;
    /* 背景の星（グレー） */
    font-family: sans-serif;
}

.review-stars .stars .filled {
    color: #ffad15;
    /* 星の色（指定通り） */
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
    width: 0%;
    pointer-events: none;
}

/* ここでスコアに応じて星を塗る */
.review-stars[data-score="0"] .filled {
    width: 0%;
}

.review-stars[data-score="0.5"] .filled {
    width: 10%;
}

.review-stars[data-score="1"] .filled {
    width: 20%;
}

.review-stars[data-score="1.5"] .filled {
    width: 30%;
}

.review-stars[data-score="2"] .filled {
    width: 40%;
}

.review-stars[data-score="2.5"] .filled {
    width: 50%;
}

.review-stars[data-score="3"] .filled {
    width: 60%;
}

.review-stars[data-score="3.5"] .filled {
    width: 70%;
}

.review-stars[data-score="4"] .filled {
    width: 80%;
}

.review-stars[data-score="4.5"] .filled {
    width: 90%;
}

.review-stars[data-score="5"] .filled {
    width: 100%;
}

.review-stars .score {
    color: red;
}

@media (max-width: 959px) {
    .l-header__logo {
        display: flex;
        align-items: center;
        gap: .5em;
    }
}

.l-header a.sitename {
    color: #111;
}

.read-more {
    padding: 0.1em 1em;
    font-weight: normal;
    color: #111;
    background: #fff;
    /* background-color: #f5f5f5; */
    border: 1px solid #111;
    border-radius: 4px;
    cursor: pointer;
    /* transition: all 0.3s ease; */
}

.read-more:hover {
    text-decoration: underline;
}

.form-note {
    font-size: 0.8em;
    color: #333;
}
