@charset "utf-8";

/* =========================================================
   RESET / BASE
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    /*\*/
    *zoom: 1;
    /**/
}

html {
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    *filter: expression(document.execCommand("BackgroundImageCache", false, true));
}

body {
    font-family: 'Lucida Grande', 'Hiragino Kaku Gothic Pro', 'qMmpS Pro W3', 'CI', Meiryo, 'lr oSVbN', sans-serif;
    /* font-family: "源ノ角ゴシック JP", "Source Han Sans JP",
        "Noto Sans JP", system-ui, -apple-system,
        BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; */
    margin: 0;
    padding: 0;
    height: 100%;
    min-height: 100%;
    background-color: #ffffff;
    text-align: center;
    font-size: 12px;
    /*\*/
    *font-size: 76%;
    /**/
    line-height: 1.7;
}

em {
    font-style: normal;
}

/* a:link,
a:active {
    color: #0055dd;
    text-decoration: none;
}

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

a:hover {
    color: #0055dd;
    text-decoration: underline;
} */

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

hr {
    display: none;
}

img {
    display: block;
    border: 0;
}

form {
    display: inline;
}

table {
    font-size: 12px;
    /*\*/
    *font-size: 100%;
    /**/
}

::-moz-selection {
    background: #77bbff;
    color: #FFF;
}

::selection {
    background: #77bbff;
    color: #FFF;
}

/* =========================================================
   BOX-SIZING / GLOBAL LINK
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

a:link,
a:active {
    /* color: #0055dd; */
    text-decoration: none;
}

a:visited {
    /* color: #0055dd; */
    text-decoration: none;
}

@media screen and (min-width: 768px) {

    a,
    button {
        transition: linear .25s;
    }
}

/* =========================================================
   LAYOUT: CONTAINER
   ========================================================= */

body>div#container {
    height: auto;
}

div#container {
    width: 100%;
    margin: 0 auto;
    position: relative;
    text-align: center;
    height: 100%;
    min-height: 100%;
    background-color: #fff;
}

/* =========================================================
   RESPONSIVE UTILITY / PC・SP表示切り替え
   ========================================================= */
.pc_size {
    font-size: 18px;
}

.sp_size {
    display: none;
}

@media (max-width: 768px) {
    .pc_size {
        display: none;
    }

    .sp_size {
        display: block;
    }
}

/* =========================================================
   HEADER
   ========================================================= */

/* --- HEADER: Common (PC / SP 共通) --- */

body,
#header {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    text-align: center;
}

#container,
#header,
#header .content,
#header .content .free,
#main,
#main .content,
#main .content .free,
#footer .content,
#footer .content .free {
    width: auto;
}

#header,
#footer,
#header *,
#footer * {
    box-sizing: border-box;
}

#header .content {
    margin: 0 auto;
    text-align: left;
    position: relative;
}

.free,
.free p,
.free h2,
.free h3,
.free h4,
.free h5,
.free h6,
.freeHead,
.freeHead p,
.freeHead h2,
.freeHead h3,
.freeHead h4,
.freeHead h5,
.freeHead h6 {
    color: #222;
}

.header-block {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 100;
    background-color: #FFF;
}

.header-contents {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
}

.header-inner {
    min-height: 90px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    align-items: stretch;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0;
}

.logo-title-wrap {
    margin: auto 0;
}

.logo-title-wrap a.header-logo {
    display: block;
    transition: linear .25s;
}

.logo-title-wrap a.header-logo:hover {
    opacity: .7;
}

#header img.logo {
    max-width: 130px;
    width: 100%;
    padding: 15px 0;
}

img {
    height: auto;
    vertical-align: bottom;
}

.h1-contents-wrap {
    max-width: calc(100% - 400px);
    width: 100%;
    height: 100%;
    margin: auto;
    line-height: 1.4;
    padding: 5px 0;
}

.h1-contents {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-title {
    width: auto;
    padding: 0;
    font-size: 16px;
    text-align: left;
    max-width: calc(100% - 220px);
    font-weight: bold;
    font-style: normal;
}

header h1 span, a.btn.introduction span {
    display: inline-block;
}

a.btn.introduction {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    position: relative;
    text-align: center;
    transition: linear 0.25s;
    background-color: #FFEE22;
    color: #182D7B;
    padding: 13px 26px 10px 18px;
    border-radius: 6px;
    max-width: 260px;
    width: 100%;
    min-height: 60px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

a.btn.introduction::before {
    content: "";
    position: absolute;
    right: 10px;
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    border-color: #182D7B;
}

a.btn.introduction:hover {
    opacity: .7;
}

.menu-button-wrap {
    max-width: 210px;
    width: 100%;
    display: flex;
    align-items: stretch;
}

.gnav-trigger {
    max-width: 210px;
    width: 100%;
    height: 100%;
    background-color: #182D7B;
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 8px 16px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    z-index: 10;
    -webkit-appearance: none;
    appearance: none;
    font-family: Arial;
}

.menu-label {
    margin-right: 8px;
    font-size: 18px;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 36px;
    height: 17px;
}

.gnav-trigger.is-open .menu-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  width: 70%;
}
.gnav-trigger.is-open .menu-icon span:nth-child(2) {
  opacity: 0;
}
.gnav-trigger.is-open .menu-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  width: 70%;
}
@media screen and (max-width: 1000px) and (min-width: 768px) {
  a.btn.introduction {
    max-width: 200px;
  }
}

@media screen and (max-width: 767px) {
  .menu-label {
    display: none;
  }
  .gnav-trigger.is-open .menu-icon span:nth-child(1), .gnav-trigger.is-open .menu-icon span:nth-child(3) {
    width: 100%;
  }
}


.menu-icon span {
    display: block;
    height: 2px;
    background-color: #FFF;
    width: 100%;
    transition: transform 0.3s, opacity 0.3s;
}

.menu-icon span:nth-child(3) {
    width: 70%;
}

.gnav {
    position: fixed;
    /* top: 90px; */
    left: 0;
    z-index: 9;
    width: 100%;
    height: auto;
    background-color: #182d7b;
    display: none;
    /* overflow-y: auto; */
    padding: 100px 20px 40px;
    overflow-y: auto;
}

.gnav nav {
    max-width: 1100px;
    padding: 0 10px;
    margin: 0 auto;
}

.gnav-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 10%;
    list-style: none;
    padding: 0;
    margin-right: 16%;
}

.gnav-list li a {
    display: flex;
    line-height: 1.7;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 10px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    border-bottom: 2px solid #fff;
    position: relative;
    transition: opacity 0.3s;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 30;
    display: none;
}

.h1-contents-wrap {
    max-width: calc(100% - 400px);
    width: 100%;
    height: 100%;
    margin: auto;
    line-height: 1.4;
    padding: 5px 0;
}

/* メニューオープン時は画面スクロールを固定 */
body.is-nav-open {
    overflow: hidden;
    touch-action: none;
    /* スマホでのスワイプ無効化（必要に応じて） */
}

.gnav-list li a::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    margin-left: 8px;
}

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

    .gnav {
        padding: 2px 35px 30px;
        height: 100%;
    }

    .gnav-list {
        margin-right: 0;
    }
}

@media screen and (max-width: 1100px) {
    .gnav-list {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
}

/* --- HEADER: PC (デスクトップ向け) --- */

@media screen and (min-width: 768px) {
    .sp-h1-contents-wrap {
        display: none;
    }
}

/* 幅 1000px 以下（タブレット等） */
@media screen and (max-width: 1000px) {
    .header-inner {
        gap: 20px;
    }
}

/* 幅 1260px 以下（PC の中間ブレイクポイント） */
@media screen and (max-width: 1260px) {
    .header-inner {
        padding-left: 10px;
        flex-direction: row;
    }
}

/* --- HEADER: SP (スマホ向け) --- */

@media (max-width: 768px) {
    .header-inner {
        min-height: 76px;
        padding-left: 20px;
    }

    #header img.logo {
        max-width: 100px;
    }

    .pc-h1-contents-wrap {
        display: none;
    }

    .h1-contents-wrap {
        max-width: calc(100% - 20px);
        padding: 5px 0 14px;
    }

    .menu-button-wrap {
        max-width: none;
        width: auto;
        margin-right: 20px;
    }

    .gnav-trigger {
        padding: 0;
        font-size: 16px;
        max-width: none;
        width: 40px;
        height: 40px;
        margin: auto;
    }

    .menu-label {
        display: none;
    }

    .menu-icon {
        width: 26px;
        height: 18px;
    }

    .h1-contents-wrap {
        max-width: calc(100% - 20px);
        padding: 5px 0 14px;
    }

    .h1-contents {
        flex-direction: column-reverse;
        gap: 14px;
    }

    .header-title {
	font-size: 14px;
        text-align: center;
        max-width: 100%;
        line-height: 1.5;
    }

    .header-title span {
        display: block;
    }

    a.btn.introduction {
        font-size: 15px;
        padding: 4px 16px 3px 10px;
        min-height: 40px;
    }
}

/* =========================================================
   MAIN
   ========================================================= */

/* --- MAIN: Common --- */

#main {
    margin: 0 auto;
    padding-top: 90px;
    text-align: center;
}

/* #main .content {
    margin: 0 auto;
    text-align: left;
    max-width: 1020px;
} */

#main .space {
    padding-bottom: 210px;
}

/* --- MAIN: SP (スマホ向け) --- */

@media (max-width: 768px) {
    #main {
        padding-top: 0;
    }

    /* #main .space {
        padding-bottom: 0;
    } */
}

/* =========================================================
   FOOTER
   ========================================================= */

/* --- FOOTER: Common --- */

#footer {
    min-height: 160px;
}

#footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

#footer .content .free {
    width: 100%;
    background-color: #182D7B;
}

.pagetop-button-contents {
    position: relative;
    padding-bottom: 72px;
    margin-bottom: -72px;
}

.pagetop-button.is-fixed {
    position: fixed;
    top: auto;
    bottom: 10px;
    z-index: 10;
}

.pagetop-button {
    position: absolute;
    top: 20px;
    right: 16px;
    width: 72px;
    height: 72px;
    border: 1px solid #fff;
    border-radius: 50%;
    background-color: #0e2d7b;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    cursor: pointer;
    transition: linear 0.25s;
}

.pagetop-button::before {
    content: "";
    position: absolute;
    inset: 0;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    top: -1px;
    left: -1px;
    background-color: rgba(255, 255, 255, 0.3);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
    transition: linear 0.25s;
    border-radius: 50vh;
    pointer-events: none;
}

.pagetop-icon::before {
    content: "";
    position: absolute;
    display: inline-block;
    top: calc(50% - 4px);
    left: calc(50% - 5px);
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(45deg);
}

footer {
    position: relative;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 160px;
}

.free footer p {
    color: #FFF;
}

footer p small {
    font-size: 15px;
}

footer p span {
    display: inline-block;
}

footer span.copy {
    font-family: Verdana, "Droid Sans" !important;
}

footer a:link,
footer a:active,
footer a:visited,
footer a:hover {
    color: #fff !important;
    text-decoration: none;
}

/* --- FOOTER: PC (ホバーなど) --- */

@media screen and (min-width: 768px) {
    /* .pagetop-button:hover {
        opacity: 1;
    } */

    a:hover,
    button:hover {
        cursor: pointer;
        text-decoration: none;
    }
}

/* --- FOOTER: SP (スマホ向け) --- */

@media (max-width: 768px) {
    footer {
        text-align: center;
        padding: 0 70px 0 15px !important;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    #footer {
        min-height: 135px;
    }

    footer p {
        text-align: left;
    }

    .pagetop-button {
        width: 50px !important;
        height: 50px !important;
        right: 10px;
    }
}

/* =========================================================
   REVIEW LIST 共通レイアウト
   ========================================================= */

#primary {
    background-color: #C8DDEF;
}

.kuchikomi-ttl-wrap {
    max-width: 1120px;
    width: 100%;
    margin: 30px auto 40px;
    padding: 0 20px;
    text-align: left;
}

.kuchikomi-ttl {
    font-size: 34px;
    font-weight: bold;
}

.kuchikomi-lead {
    font-size: 18px;
    font-weight: 500;
}

/* --- コンテナ --- */
.review-list-container {
    max-width: 1120px;
    margin: 20px auto;
    padding: 0 20px;
}

.review-list-ttl {
    font-size: 24px;
    font-weight: bold;
    text-align: left;
    margin-bottom: 20px;
}

/* --- ページヘッダー --- */
.page-header {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.page-title {
    font-size: 2.2rem;
    color: #003366;
    margin-bottom: 5px;
    /* border-bottom: 4px solid #0073aa; */
    padding-bottom: 10px;
    font-weight: 800;
}

.search-hit-count {
    font-size: 1.1rem;
    color: #d9534f;
    font-weight: bold;
    margin-bottom: 20px;
}

/* --- 検索フォーム --- */
.review-search-form-wrapper {
    max-width: 1120px;
    margin-bottom: 125px;
}

.review-search-form-wrapper .search-section-title {
    margin-bottom: 0;
}

.form-title {
    font-size: 30px;
    color: #222222;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: left;
    /* border-bottom: 1px solid #eee;
    padding-bottom: 10px; */
}

/* ---- 画面の端から端まで白い帯にするクラス ---- */
.bg-white-band {
    position: relative;
    z-index: 1;
    padding: 20px 0;
    margin: 0 0 20px;
    /* 横方向にマイナスマージンは付けない */
}

/* 疑似要素で画面幅いっぱいの白帯を敷く（横スクロールが出ない書き方） */
.bg-white-band::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - 50vw);
    /* 画面中央基準で左にずらす */
    width: 100vw;
    /* 画面幅いっぱい */
    background: #fff;
    z-index: -1;
}

.review-search-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.search-section {
    /* border-bottom: 1px dashed #eee;
    padding-bottom: 20px; */
}

.search-section:last-child {
    padding: 40px;
    background-color: #ffffff;
}

.search-section-title {
    font-size: 24px;
    color: #182D7B;
    margin-bottom: 30px;
    font-weight: bold;
    /* display: flex; */
    align-items: center;
}

/* .search-section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 16px;
    background-color: #0073aa;
    margin-right: 8px;
    border-radius: 2px;
} */

/* フリーワード検索行のレイアウト */
.search-row {
    display: flex;
    align-items: center;
    max-width: 440px;
    width: 100%;
    transition: all .3s ease;
}

/* .search-row:hover {
    opacity: .7;
} */

.search-field {
    flex-grow: 1;
    padding: 14px 21px 15px;
    border: 2px solid #182D7B;
    font-size: 13px;
    background-color: #ffffff;
    box-sizing: border-box;
    width: 100%;
}

/* 条件をクリアボタン */
button.search-clear {
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
    color: #182D7B;
    border: none;
    background: none;
    text-decoration-line: underline;
    transition: all .3s ease;
}

button.search-clear:hover {
    opacity: .7;
}

.keyword-section {
    display: flex;
    align-items: center;
    gap: 50px;
    margin: 40px 0;
}

h3.keyword-section-title {
    font-size: 18px;
    font-weight: 500;
    color: #222222;
}

/* キーワード検索ボタン */
.keyword-submit {
    padding: 12px 38px;
    white-space: nowrap;
}

/* フィルターグリッド */
/* .filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
} */

.filter-group {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid #D5D5D5;
}


.filter-group:last-child {
    border-bottom: none;
}

.filter-label {
    font-size: 16px;
    font-weight: bold;
    color: #222222;
    min-width: 100px;
}

/* まずは共通：トグルボタンはデフォルト非表示 */
.filter-toggle {
    display: none;
}

/* フィルター本体はデフォルト表示（PC用） */
.filter-grid {
    display: block;
}

/* スマホ時だけトグルボタンを表示 */
@media screen and (max-width: 767px) {
    .filter-section .search-section-title {
        position: relative;
        padding: 0 30px;
    }

    .filter-toggle {
        display: block;
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        width: 32px;
        height: 32px;
        padding: 0;
        border: none;
        background: transparent;
        cursor: pointer;
    }

    /* ＋／－アイコン部分（前に出したやつそのまま） */
    .filter-toggle__icon {
        position: relative;
        display: inline-block;
        width: 18px;
        height: 18px;
    }

    .filter-toggle__icon::before,
    .filter-toggle__icon::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        background-color: #182D7B;
        transform: translate(-50%, -50%);
        transition: transform .2s ease, opacity .2s ease;
    }

    /* 横線 */
    .filter-toggle__icon::before {
        width: 16px;
        height: 2px;
    }

    /* 縦線（＋の縦棒） */
    .filter-toggle__icon::after {
        width: 2px;
        height: 16px;
    }

    /* 開いた時は縦線を消して「－」に見せる */
    .filter-section.is-open .filter-toggle__icon::after {
        opacity: 0;
        transform: translate(-50%, -50%) scaleY(0);
    }
    .filter-label {
        min-width: auto;
    }

    .review-search-form-wrapper {
        margin-bottom: 50px;
    }
}

.checkbox-list {
    display: flex;
    flex-direction: row;
    row-gap: 8px;
    flex-wrap: wrap;
}

/*
.filter-group:last-child .checkbox-list .checkbox-item:nth-child(2) {
    width: 250px;
}*/
.filter-group:nth-child(4) .checkbox-list .checkbox-item:nth-child(2),
.filter-group:nth-child(4) .checkbox-list .checkbox-item:nth-child(4) {
    width: 268px;
}



.checkbox-item {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 16px;
    line-height: 1.4;
    width: 134px;
    white-space: nowrap;
}


/* 本物の input は隠す */
.checkbox-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* ラベルテキストの左にボックスを作る */
.checkbox-item .checkbox-text {
    position: relative;
    padding-left: 30px;
}

/* 未チェックのボックス */
.checkbox-item .checkbox-text::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 4px;

    /* ▼スクショと同じ色 */
    border: 2px solid #BAC6D0;
    background-color: #ffffff;

    /* ▼ドロップシャドウ（スクショと同じ 16% 黒） */
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.16);

    box-sizing: border-box;
}

/* チェックされたときのボックス */
.checkbox-item input[type="checkbox"]:checked+.checkbox-text::before {
    background-color: #182D7B;
    /* 紺 */
    border-color: #182D7B;
    box-shadow: 2px 2px 3px rgba(24, 45, 123, 0.35);
}

/* チェックマーク */
.checkbox-item input[type="checkbox"]:checked+.checkbox-text::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-55%) rotate(-45deg);
    width: 10px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
}


/* 絞り込みボタン */
.submit-row {
    display: flex;
    align-items: center;
    width: 100%;
    transition: all .3s ease;
    flex-direction: column;
    text-align: center;
    margin-top: 20px;
    max-width: 100%;
}

.filter-submit {
    padding: 15px 60px;
    width: 100%;
    /* フル幅に調整 */
    max-width: 300px;
    /* 最大幅を設定 */
    margin: 0 auto;
    border-radius: 999px;
    transition: all .3s ease;
}

.filter-submit:hover {
    opacity: .7;
}

/* 共通ボタンのスタイル */
.search-submit {
    background-color: #182D7B;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: all .3s ease;
}

.submit-row .search-submit {
    font-size: 22px;
}

/* --- カテゴリボタンの並び --- */
.review-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    /* ボタン同士の間を 24px に */
    margin-bottom: 40px;
}

/* カテゴリボタン本体 */
.category-nav-button {
    position: relative;
    /* 矢印配置の基準にする */
    display: flex;
    justify-content: space-between;
    /* 左：ラベル　右：件数＋矢印 */
    align-items: center;
    flex: 0 0 344px;
    /* 幅 345px（PC時） */
    max-width: 100%;
    padding: 22px 40px;
    /* 右側に矢印用の余白 */
    background-color: #ffffff;
    color: #182D7B;
    border: 2px solid #182D7B;
    border-radius: 999px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    box-sizing: border-box;
}

/* 矢印 */
.category-nav-button::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    /* ボタンの右端からの距離 */
    width: 7px;
    height: 7px;
    border-top: 2px solid #182D7B;
    /* 矢印の色 */
    border-right: 2px solid #182D7B;
    transform: translateY(-50%) rotate(45deg);
    transition: linear .25s;
}


.category-nav-button:hover {
    background-color: #182D7B;
    color: #fff;
}

.category-nav-button:hover::after {
    border-color: #fff;
}

.button-label {
    font-size: 18px;
    line-height: 1.3;
}

.button-count {
    font-size: 16px;
    /* margin-top: 2px; */
}

/* SP */
@media (max-width: 768px) {
    .submit-row .search-submit {
        font-size: 18px;
        padding: 13px 60px;
    }
}

/* =========================================================
   内部リンク（カテゴリ移動ボタン）
   ========================================================= */

#review-category-nav-jump {
    max-width: 960px;
    margin: 0 auto;
}

#review-category-nav-jump .review-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

#review-category-nav-jump .category-nav-button {
    align-items: center;
    justify-content: center;
    flex: 0 0 300px;
    width: 100%;
    max-width: 300px;
    padding: 21px 24px;
}

#review-category-nav-jump .category-nav-button::after {
    transform: translateY(-50%) rotate(135deg);
}

#review-category-nav-jump .button-label {
    font-size: 18px;
}



/* 見出し位置にスクロールしたときのヘッダー分の余白 */
.review-category {
    scroll-margin-top: 100px;
    /* ヘッダーの高さに合わせて調整 */
}

/* SP */
@media (max-width: 768px) {
    #review-category-nav-jump .review-category-nav {
        gap: 20px;
        flex-direction: column;
        /* 縦並び */
        align-items: center;
        /* 子要素を中央寄せ */
    }

    #review-category-nav-jump .category-nav-button {
        flex: 0 0 auto;
        /* ここは unset でもOK */
        width: 230px;
        /* ← 幅をここで指定 */
        max-width: 100%;
        /* 画面が230px未満の端末用の保険 */
        padding: 10px 16px;
        border-radius: 100px;
        text-align: center;
    }

    #review-category-nav-jump .button-label {
        width: 100%;
    }
}


.review-category {
    scroll-margin-top: 100px;
    /* 内部リンク移動箇所 */
}


/* 全ての口コミリンク（上部） */
.all-reviews-link-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

.all-reviews-link {
    color: #182D7B;
    text-decoration: underline !important;
    font-size: 22px;
    font-weight: bold;
    transition: all .3s ease;
}

.all-reviews-link:hover {
    opacity: .7;
}

/* 各カテゴリのセクション */
.review-category {
    max-width: 1120px;
    /* padding: 20px; */
    margin-bottom: 80px;
    /* background-color: #ffffff; */
}

.review-category h2 {
    font-size: 1.8rem;
    margin-top: 90px;
    padding-bottom: 10px;
    color: #182D7B;
    text-align: left;
}

.no-reviews {
    font-size: 16px;
    color: #222;
    padding: 10px 0;
    text-align: center;
}

/* 口コミリスト */
.review-items {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    text-align: left;
}

.review-item {
    background: #fff;
    padding: 45px 40px 40px;
    margin-bottom: 40px;
    border-top: 8px solid #182D7B;
    position: relative;
}

.review-item:last-child {
    border-bottom: none;
}

.review-meta-cate {
    border-bottom: 2px solid #ccc;
    margin-bottom: 12px;
}

.review-meta {
    font-size: 16px;
    color: #222222;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.review-timestamp {
    font-weight: 500;
}

.review-category-name {
    color: #222;
    font-weight: bold;
    font-size: 20px;
}

.review-title {
    font-size: 22px;
    margin: 5px 0 30px 0;
    color: #182D7B;
    font-weight: 700;
}

/* 質問文のCSSスタイル */
.review-question {
    margin-bottom: 28px;
    font-size: 18px;
    font-weight: bold;
    color: #222222;
}

/* 質問文の下に続く本文 */
.review-content {
    font-size: 16px;
    line-height: 1.6;
    color: #222;
    /* white-space: pre-wrap; */
    /* padding: 5px 0 0 10px; */
    /* 質問文の下に少しインデント */
}

/* 本文エリア共通 */
.review-item .review-content {
    position: relative;
    overflow: hidden;
    transition: max-height 0.6s ease;
}

/* 406px以上あるレビューだけ is-collapsed が付く */
.review-item.is-collapsed:not(.is-open) .review-content {
    max-height: 60px;
}

/* 初期表示で続きがあるように見せるフェードアウト */
.review-item.is-collapsed:not(.is-open) .review-content::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60px;
    /* フェードの高さはお好みで */
    pointer-events: none;
    /* 背景色はサイトに合わせて変更 */
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0),
            #ffffff);
}

/* is-open のときはフェードアウトを消す */
.review-item.is-collapsed.is-open .review-content::after {
    display: none;
}

/* もっと見るボタン */
.review-more {
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
    padding: 13px 20px 13px 40px;
    border: 1px solid #666;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    border-radius: 999px;
}

.review-item .review-more {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.review-more:hover {
    background: #666;
    color: #fff;
}

/* 406px以下の場合はボタン非表示（JSでクラス付与後有効） */
.review-item:not(.is-collapsed) .review-more {
    display: none;
}

/* アイコン：＋／− をCSSの線で表現（文字は使わない） */
.review-more__icon {
    position: relative;
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 25px;
}

/* 横棒（−） */
.review-more__icon::before,
.review-more__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    background: #666;
    transform: translate(-50%, -50%);
    transition: linear .25s;
}

.review-more:hover .review-more__icon::before,
.review-more:hover .review-more__icon::after {
    background: #fff;
}


/* 縦棒（＋ のときだけ表示） */
.review-more__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* 開いているときは縦棒を消して − にする */
.review-item.is-open .review-more__icon::after {
    display: none;
}

/* カテゴリに対応する質問文のスタイル（カテゴリ側） */
.category-question {
    font-size: 1.05rem;
    font-weight: bold;
    color: #0073aa;
    /* メインカラー */
    margin: 0 0 15px 0;
    padding: 10px 15px;
    border-left: 5px solid #ff9800;
    /* 強調線 */
    background-color: #f5fafd;
    /* 薄い背景色 */
    border-radius: 4px;
}

/* 個別カテゴリ後の「全て見る」ボタン */
.category-list-button-container {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    margin-top: 40px;
    padding: 20px;
    align-items: stretch;
}

.category-list-button {
    position: relative;
    /* レイアウト */
    display: flex;
    /* 中身をflexにする */
    align-items: center;
    /* 縦方向ど真ん中 */
    justify-content: center;
    /* 横方向ど真ん中 */
    width: calc(100% - 80px);
    height: 80px;
    /* ボタン高さを固定 */
    /* 見た目 */
    padding: 12px 25px;
    /* 左右の余白（高さはheightで管理） */
    background-color: #FFEE22;
    color: #182D7B;
    border-radius: 999px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 18%);
    /* 文字 */
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
    /* その他 */
    text-decoration: none;
    transition: linear .25s;
}

.category-list-button::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #182D7B;
    border-right: 2px solid #182D7B;
    transform: translateY(-50%) rotate(45deg);
    transition: linear .25s;
}

.category-list-button:hover {
    opacity: .7;
}

/* --- カテゴリボタン（別ブロック） --- */
.category-buttons-section {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 60px;
    justify-content: center;
}

.category-links-title {
    font-size: 1.3rem;
    color: #0073aa;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 5px;
}

.category-button-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.category-button {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 0 0 344px;
    max-width: 100%;
    padding: 22px 40px;
    background-color: #ffffff;
    color: #182D7B;
    border: 2px solid #182D7B;
    border-radius: 999px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    box-sizing: border-box;
}

.category-button::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #182D7B;
    border-right: 2px solid #182D7B;
    transform: translateY(-50%) rotate(45deg);
    transition: linear .25s;
}

.category-button:hover {
    background-color: #182D7B;
    color: #fff;
}

.category-button:hover::after {
    border-color: #fff;
}

.current-category-button {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 0 0 344px;
    max-width: 100%;
    padding: 22px 40px;
    background-color: #182D7B;
    color: #ffffff;
    border: 2px solid #182D7B;
    border-radius: 999px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    box-sizing: border-box;
}

.current-category-button::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
}

/* 全ての口コミリンク（カテゴリボタンの下） */
.all-reviews-link-container {
    text-align: right;
    margin-top: 15px;
    transition: all .3s ease;
}

.all-reviews-link-container:hover {
    opacity: .7;
}

.current-all-link {
    font-weight: bold;
    color: #182D7B;
    text-decoration: none;
    pointer-events: none;
}

/* ノジマの求人を見るボタン　page-review-category-list.php */
.recruit-cta-button-container {
    display: flex;
    gap: 40px;
    margin-bottom: 70px;
    padding: 20px;
    justify-content: center;
}

.recruit-cta-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 500px;
    max-width: 100%;
    height: 80px;
    padding: 12px 25px;
    background-color: #FFEE22;
    color: #182D7B;
    border-radius: 999px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 18%);
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
    text-decoration: none;
    transition: linear .25s;
}

.recruit-cta-button::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #182D7B;
    border-right: 2px solid #182D7B;
    transform: translateY(-50%) rotate(45deg);
    transition: linear .25s;
}

.recruit-cta-button:hover {
    opacity: .7;
}

/* 該当ページなし */
.review-not-found {
    font-size: 16px;
}

/* ページネーション */
.review-pagination {
    text-align: center;
    margin-top: 40px;
}

.review-pagination .page-numbers {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    /* 並び順を揃える */
    line-height: 1;
    /* 行間の影響を消す */

    width: 45px;
    height: 45px;
    margin: 0 4px;
    border: 2px solid #182D7B;
    border-radius: 999px;
    text-decoration: none;
    color: #182D7B;
    background: #fff;
    font-size: 18px;
    font-weight: 500;
    font-family: "源ノ角ゴシック JP", "Source Han Sans JP",
        "Noto Sans JP", system-ui, -apple-system,
        BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

/* 前へ／次へ：中のテキストを無効化 */
.review-pagination .page-numbers.prev,
.review-pagination .page-numbers.next {
    position: relative;
    font-size: 0;
    /* ベースラインのズレ防止 */
    overflow: hidden;
}

/* 右向き矢印（次へ） */
.review-pagination .page-numbers.next::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid #182D7B;
    border-right: 2px solid #182D7B;
    transform: translate(-50%, -50%) rotate(45deg);
}

/* 左向き矢印（前へ） */
.review-pagination .page-numbers.prev::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid #182D7B;
    border-left: 2px solid #182D7B;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.review-pagination .page-numbers.prev::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 13px;              /* 棒の長さ */
    height: 2px;              /* 棒の太さ */
    background: #182D7B;      /* 矢印と同じ色 */
    transform: translate(-50%, -50%);
}

.review-pagination .page-numbers.next::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 13px;
    height: 2px;
    background: #182D7B;
    transform: translate(-50%, -50%);
}

.review-pagination .page-numbers.current {
    background-color: #6174B7;
    color: #fff;
    border-color: #6174B7;
}

/* ホバー */
.review-pagination .page-numbers:hover:not(.current) {
    background-color: #182D7B;
    color: #fff;
    border-color: #182D7B;
    cursor: pointer;
}

.review-pagination .page-numbers.next:hover::before,
.review-pagination .page-numbers.prev:hover::before {
    border-color: #fff;
}

.review-pagination .page-numbers.next:hover::after,
.review-pagination .page-numbers.prev:hover::after {
    background: #fff;
}


/* =========================================================
   REVIEW LIST: SP レスポンシブ
   ========================================================= */

@media (max-width: 768px) {

    .kuchikomi-ttl-wrap {
        margin: 0 auto 30px;
        padding: 20px 70px 0;
        text-align: center;
    }

    .kuchikomi-ttl {
        font-size: 30px;
    }

    .review-list-ttl {
        font-size: 20px;
        text-align: center;
    }

    .all-reviews-link-wrapper {
        margin-bottom: 30px;
    }

    .all-reviews-link {
        font-size: 17px;
    }

    .review-category-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: space-between;
        margin-bottom: 22px;
    }

    .category-buttons-section {
        gap: 0;
        margin-bottom: 30px;
    }

    /* 各カテゴリのセクション */
    .review-category {
        margin-bottom: 60px;
    }

    .all-reviews-link-container {
        margin-top: 0;
    }

    .category-nav-button {
        flex: unset;
        justify-content: flex-start;
        width: calc(50% - 8px);
        /* min-width: auto; */
        /* width: 162px; */
        height: 50px;
        max-width: 100%;
        border-radius: 0;
        padding: 4px 10px;
        gap: 10px;
        text-align: left;
    }

    .category-nav-button::after {
        right: 10px;
    }

    .button-label {
        font-size: 15px;
        width: 60%;
    }

    .button-count {
        font-size: 13px;
    }

    .form-title {
        font-size: 20px;
        text-align: center;
    }

    .filter-grid {
        grid-template-columns: 1fr;
        /* モバイルは1列 */
    }

    .search-row {
        /* flex-direction: column; */
        align-items: stretch;
    }

    .search-submit {
        width: 100%;
        justify-content: center;
    }

    .search-section-title {
        font-size: 18px;
    }

    .keyword-section {
        gap: 20px;
        margin: 30px 0;
        flex-direction: column;
    }

    .keyword-submit {
        width: 100%;
        max-width: 80px;
        padding: 22px;
    }

    .category-button-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: space-between;
        margin-bottom: 22px;
    }

    .category-button {
        flex: unset;
        justify-content: flex-start;
        width: calc(50% - 8px);
        /* min-width: auto; */
        /* width: 162px; */
        height: 50px;
        max-width: 100%;
        border-radius: 0;
        padding: 4px 10px;
        gap: 10px;
        text-align: left;
    }

    .filter-submit {
        max-width: 230px;
    }

    .search-section:last-child {
        padding: 30px 11px 30px 20px;
    }

    .filter-group {
        align-items: flex-start;
        padding: 0 0 35px 0;
        border-bottom: none;
        flex-direction: column;
    }

    .checkbox-list {
        flex-wrap: wrap;
        gap: 20px;
    }

    /*
    .filter-group:last-child .checkbox-list {
        gap: 20px 0;
    }

    .filter-group:last-child .checkbox-list .checkbox-item:nth-child(2) {
        width: auto;
    }
*/
    .filter-group:nth-child(4) .checkbox-list .checkbox-item:nth-child(2),
    .filter-group:nth-child(4) .checkbox-list .checkbox-item:nth-child(4) {
        width: auto;
    }



    .filter-group:last-child .checkbox-list .checkbox-item {
        width: 95px;
    }

    button.search-clear {
        font-size: 16px;
    }

    .review-item {
        padding: 30px 20px;
        border-top: 6px solid #182D7B;
    }

    .review-category h2 {
        font-size: 20px;
        margin-top: 55px;
        /* padding-bottom: 10px; */
        text-align: center;
    }

    .category-list-button {
        width: 100%;
    }

    .category-list-button-container {
        display: flex;
        gap: 30px;
        justify-content: space-between;
        margin-top: 40px;
        padding: 0;
        align-items: stretch;
        flex-direction: column;
    }

    .category-list-button-container .category-list-button:nth-child(2) {
        border-radius: 10px;
    }

    .review-more {
        padding: 9px 35px;
    }

    .category-button::after {
        right: 10px;
    }

    /* ノジマの求人を見るボタン　page-review-category-list.php */
    .recruit-cta-button-container {
        padding: 0;
    }

    .recruit-cta-button {
        width: 100%;
        height: 60px;
    }

    /*ページネーション：SP用*/

    .review-pagination {
        display: flex;
        justify-content: center;
        flex-wrap: nowrap;
        /* 折り返さない */
        padding: 10px 8px 0;
        gap: 6px;
        /* 丸同士の間隔 */
    }

    .review-pagination .page-numbers {
        flex: 0 0 auto;
        width: 38px;
        /* 丸を少し小さく */
        height: 38px;
        margin: 0;
        font-size: 14px;
    }

    .review-meta {
        flex-direction: column-reverse;
    }
}

/* =========================
   口コミページ用：ページトップボタン固定
   ========================= */

/* ボタンを右下に固定するラッパー */
/*
.pagetop-button-contents {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 90;
    padding-bottom: 0;
    margin-bottom: 0;
}*/

/* ボタン本体の見た目（通常時は少し薄め） */
/*
.pagetop-button {
    position: static;
    top: auto;
    right: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(0, 48, 114, 1);
    text-decoration: none;
    opacity: 1;
    transition: background-color .25s linear;
}
*/

/* スクロール中に右下固定する用クラス */
/*
.pagetop-button.is-fixed {
    position: fixed;
    right: 16px;
    bottom: 10px;
    /* 通常時の底からの距離 */
    z-index: 10000;
}
*/


/* フッターにかかるあたりで少し上げる用（JSで付ける想定） */
.pagetop-button.is-fixed.is-over-footer {
    bottom: 68px;
    /* フッターに重ならない位置 */
}

@media screen and (min-width: 768px) {

    /* ほかのリンクは今まで通り */
    a:not(.pagetop-button):hover,
    button:hover {
        cursor: pointer;
        text-decoration: none;
        opacity: .7;
    }

    /* ページトップボタンだけはホバーで濃くする */
    .pagetop-button:hover {
        background: rgba(0, 48, 114, 0.7);
        /* 濃い紺 */
        opacity: 1 !important;
        /* グローバルの .7 を打ち消す */
    }
}