@charset "UTF-8";

/*------------------------------------------------
＃ガクチカタイプ診断

breakpoint
pc  --> (min-width: 1280px)
tab --> (min-width: 744px) and (max-width: 1279px)
sp  --> (max-width: 743px)
-------------------------------------------------*/

/*------------------------------------------------
共通
-------------------------------------------------*/
:root {
    --shindan-main: #d70a16;
    --shindan-accent: #d70a16;
    --shindan-bg: #f7f7f7;
    /* 診断スタート・求人一覧へ遷移するボタンの色（全タイプ共通で緑系） */
    --shindan-cta: #3a9e46;
    --shindan-cta-shadow: #26702e;
}

/* タイプ別カラー（診断結果ページ）：キャラクターイラストの服の色に合わせたトーン */
body.type-a {
    --shindan-main: #d9477f;
    --shindan-bg: #fdedf2;
    --shindan-pattern: #f8d3e0;
    /* アンカーリンク（見出し・ボタン文字／ボタン背景） */
    --shindan-dark: #c51f5b;
    --shindan-soft: #f2b8cc;
}

body.type-b {
    --shindan-main: #5f9428;
    --shindan-bg: #f1f7e3;
    --shindan-pattern: #dfedc3;
    --shindan-dark: #4e7d1c;
    --shindan-soft: #d3e6ad;
}

body.type-c {
    --shindan-main: #4474b4;
    --shindan-bg: #eaf0f8;
    --shindan-pattern: #d3e0f1;
    --shindan-dark: #2f62a3;
    --shindan-soft: #c0d3ee;
}

body.type-d {
    --shindan-main: #c79a0a;
    --shindan-bg: #fdf8dc;
    --shindan-pattern: #f9eca8;
    --shindan-dark: #a47c00;
    --shindan-soft: #f5de8a;
}

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

body.shindantool {
    background-color: #fff;
    color: #222;
    font-family: Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS P Gothic", Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

.shindantool a,
.shindantool a:link,
.shindantool a:visited {
    color: #222222;
}

.shindantool img {
    max-width: 100%;
    height: auto;
}

@media (hover: hover) {

    .shindantool a:hover {
        color: #0066cc;
        transition: color 0.2s ease;
        text-decoration: none;
    }

    .shindantool a:hover img {
        opacity: 0.7;
        transition: opacity 0.2s ease;
    }
}

/*ヘッダー・パンくず*/
.shindantool #header {
    max-width: 960px;
    margin: 15px auto 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 10px;
}

.shindantool #header .logo img {
    display: block;
    width: 168px;
}

@media (hover: hover) {
    .shindantool #header .logo:hover img {
        opacity: 1;
        transition: none;
    }
}

.shindantool #header ul#subNavi {
    position: relative;
    top: auto;
    right: auto;
}

/*ロゴ＋エリア名＋エリア変更（CLP /clp/senior/index.htm のヘッダーに準拠）*/
.shindantool #header .logoArea {
    display: flex;
    align-items: center;
    gap: 8px;
}

/*「北陸・甲信越」など長いエリア名でも折り返さない*/
.shindantool #header .areaName {
    flex: 0 0 auto;
    font-size: 28px;
    line-height: 1;
    font-weight: bold;
    color: #d70a16;
    white-space: nowrap;
}

.shindantool #header .areaChangeBtn {
    font-size: 14px;
    line-height: 1;
    font-weight: bold;
    color: #d70a16;
    text-decoration: none;
    background: #fff;
    border: solid 1px #d70a16;
    border-radius: 4px;
    padding: 6px 8px;
    margin-left: 7px;
    white-space: nowrap;
}

.shindantool #header .areaChangeBtn::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 8px;
    background: #d70a16;
    /*シェブロン（∨）*/
    clip-path: polygon(0 0, 50% 60%, 100% 0, 100% 40%, 50% 100%, 0 40%);
    vertical-align: 1px;
    margin-left: 6px;
}

@media (hover: hover) {
    .shindantool #header .areaChangeBtn:hover {
        color: #d70a16;
        opacity: 0.7;
        transition: opacity 0.2s ease;
    }
}

.shindantool #bread {
    max-width: 960px;
    font-size: 12px;
    margin: 0 auto;
    padding: 0 10px;
}

.shindantool #main {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 10px;
}

/*------------------------------------------------
診断ツールLP
-------------------------------------------------*/
.lp {
    margin-top: 15px;
}

/*診断スタート後はLPを隠して設問だけを表示する*/
.lp.is-started {
    display: none;
}

.lp-kv {
    position: relative;
    background-color: #f2f7fb;
    background-image: radial-gradient(#d8e4ee 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    border-radius: 10px;
    padding: 30px 20px 35px;
    overflow: hidden;
}

.lp-kv-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.lp-kv-photo {
    position: absolute;
    z-index: 1;
    width: 130px;
    border: solid 6px #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
    background: #fff;
}

.lp-kv-photo img {
    display: block;
    width: 100%;
}

.lp-kv-photo01 {
    top: 20px;
    left: 10px;
    transform: rotate(-6deg);
    background: #fbe7f0;
}

.lp-kv-photo02 {
    top: 15px;
    right: 10px;
    transform: rotate(5deg);
    background: #e3edf8;
}

.lp-kv-photo03 {
    bottom: 25px;
    left: 25px;
    transform: rotate(4deg);
    background: #e6f4e4;
}

.lp-kv-photo04 {
    bottom: 20px;
    right: 25px;
    transform: rotate(-5deg);
    background: #fbf5d9;
}

.lp-kv-lead {
    font-size: 22px;
    font-weight: bold;
    line-height: 1.4;
}

.lp-kv-title {
    font-size: 46px;
    line-height: 1.2;
    font-weight: bold;
    color: #164c7e;
    margin: 5px 0;
}

.lp-kv-sub {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.4;
}

.lp-kv-free {
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    display: inline-block;
    position: relative;
    margin: 25px 0 30px;
    padding: 0 30px;
}

.lp-kv-free::before,
.lp-kv-free::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 2px;
    height: 26px;
    background: #222;
}

.lp-kv-free::before {
    left: 5px;
    transform: translateY(-50%) rotate(-25deg);
}

.lp-kv-free::after {
    right: 5px;
    transform: translateY(-50%) rotate(25deg);
}

/*スタートボタン*/
.startBtn,
.resultBtn {
    display: block;
    width: min(400px, 100%);
    margin: 0 auto;
    font-size: 26px;
    line-height: 1.2;
    font-weight: bold;
    color: #fff;
    background-color: var(--shindan-cta);
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 0 0 var(--shindan-cta-shadow);
    padding: 10px 15px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.startBtn span {
    display: block;
    font-size: 15px;
    margin-top: 4px;
}

@media (hover: hover) {

    .startBtn:hover,
    .resultBtn:hover {
        transform: translateY(4px);
        box-shadow: 0 0 0 0 var(--shindan-cta-shadow);
    }
}

/*この診断で分かること*/
.lp-about {
    margin-top: 35px;
}

.lp-about-title {
    font-size: 26px;
    line-height: 1.3;
    font-weight: bold;
    text-align: center;
}

.lp-about-title::before {
    content: "";
    display: inline-block;
    width: 38px;
    aspect-ratio: 115 / 118;
    background: url("/contents/shindantool/img/icon-e-chan-search.png") center center / contain no-repeat;
    vertical-align: -9px;
    margin-right: 8px;
}

.lp-about-list {
    counter-reset: aboutList;
    border: solid 2px #ddd;
    border-radius: 10px;
    padding: 20px 25px;
    margin-top: 15px;
}

.lp-about-list li {
    counter-increment: aboutList;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 18px;
    line-height: 1.5;
    padding: 8px 0;
}

.lp-about-list li::before {
    content: counter(aboutList);
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #d70a16;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    line-height: 26px;
    text-align: center;
    /*1行目の行ボックス（1.5em）と円（26px）の差を吸収して上下中央を揃える*/
    margin-top: calc((1.5em - 26px) / 2);
}

/*------------------------------------------------
診断ツール（設問／エリア選択）
-------------------------------------------------*/
.tool {
    margin-top: 15px;
}

/*診断スタート前は設問を表示しない
（html5reset-1.6.1.cssのsection{display:block}がhidden属性より優先されるため明示的に打ち消す）*/
.tool[hidden] {
    display: none;
}

.tool-inner {
    background: #f2f7fb;
    border-radius: 10px;
    padding: 35px 25px 25px;
}

.tool-step {
    display: none;
}

.tool-step.is-active {
    display: block;
}

.tool-q-num {
    font-size: 20px;
    font-weight: bold;
    color: #164c7e;
    text-align: center;
    line-height: 1;
}

.tool-q-lead {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
    color: #d70a16;
    margin-bottom: 10px;
}

.tool-q-text {
    font-size: 24px;
    line-height: 1.4;
    font-weight: bold;
    text-align: center;
    margin: 8px 0 25px;
}

.tool-q-text em {
    font-style: normal;
    border-bottom: solid 3px #ffd54f;
}

.tool-options {
    display: grid;
    gap: 12px;
    max-width: 640px;
    margin: 0 auto;
}

/*Q10（タイブレーク設問）で最多同数ではなかったタイプの選択肢*/
.tool-options li[hidden] {
    display: none;
}

.tool-options button {
    display: block;
    width: 100%;
    background: #fff;
    border: solid 2px #cfd8dc;
    border-radius: 20px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: normal;
    text-align: left;
    padding: 16px 22px;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

@media (hover: hover) {
    .tool-options button:hover {
        border-color: #d70a16;
        background: #fdf0f1;
    }
}

/*エリア選択*/
.tool-area-select {
    max-width: 400px;
    margin: 0 auto 25px;
    position: relative;
}

/*セレクトは「さっそくお仕事をさがそう！」（/contents/index.htm）と同じ赤いプルダウンボタンに合わせる*/
.tool-area-select select {
    appearance: none;
    outline: none;
    border: none;
    width: 100%;
    height: 52px;
    background: #fff url("/contents/shindantool/img/btn-select.png") right top / contain no-repeat;
    font-size: 17px;
    font-weight: normal;
    color: #000;
    line-height: 52px;
    padding: 0 calc(52px + 10px) 0 12px;
    text-overflow: ellipsis;
    cursor: pointer;
}

.tool-area-note {
    font-size: 13px;
    text-align: center;
    color: #666;
    margin-top: 12px;
}

/*戻る／進捗*/
.tool-foot {
    margin-top: 30px;
    text-align: center;
}

.backBtn {
    font-size: 14px;
    line-height: 1;
    font-weight: bold;
    color: #444;
    background: #e0e0e0;
    border: none;
    border-radius: 4px;
    padding: 10px 24px;
    cursor: pointer;
}

.backBtn[hidden] {
    display: none;
}

.tool-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 20px;
}

.tool-progress li {
    position: relative;
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #d6e2ea;
}

/*設問番号は読み上げ用に残し、進捗はイーちゃんの数で示す*/
.tool-progress li span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

/*Q10ぶんを非表示にしても線が余らないよう、つなぎ線は各項目の左側に出す*/
.tool-progress li+li::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    width: 4px;
    height: 3px;
    background: #d6e2ea;
    transform: translateY(-50%);
}

/*Q10（タイブレーク設問）へ進まなかった場合の10個目*/
.tool-progress li[hidden] {
    display: none;
}

/*回答済み・回答中の設問はイーちゃんを表示する*/
.tool-progress li.is-done,
.tool-progress li.is-current {
    background: url("/contents/shindantool/img/page.png") center center / contain no-repeat;
}

/*エリア変更からの遷移時は設問を出さない*/
.tool.is-areaOnly .tool-foot {
    display: none;
}

/*------------------------------------------------
診断結果ページ
-------------------------------------------------*/
.result-head {
    background: var(--shindan-bg);
    border-radius: 10px;
    padding: 30px 25px;
    margin-top: 15px;
}

.result-lead {
    font-size: 20px;
    line-height: 1.4;
    font-weight: bold;
    text-align: center;
}

.result-title {
    font-size: 42px;
    line-height: 1.2;
    font-weight: bold;
    text-align: center;
    color: var(--shindan-main);
    margin-top: 5px;
}

.result-visual {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.result-visual>img {
    display: block;
    background: #fff;
    border-radius: 8px;
}

.result-share {
    text-align: center;
    margin-top: 25px;
}

.result-share-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
}

.snsShare {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.snsShare li a {
    display: block;
}

.snsShare li img {
    display: block;
    width: 34px;
}

.result-body {
    margin-top: 25px;
}

.result-catch {
    font-size: 20px;
    line-height: 1.5;
    font-weight: bold;
    text-align: center;
    margin-bottom: 12px;
}

.result-catch em {
    font-style: normal;
    border-bottom: solid 2px var(--shindan-main);
}

.result-body p {
    font-size: 16px;
    line-height: 1.8;
}

/*アンカーリンク*/
.result-anchor {
    margin-top: 30px;
}

.result-anchor-title {
    background: var(--shindan-dark);
    color: #fff;
    font-size: 20px;
    line-height: 1.4;
    font-weight: bold;
    text-align: center;
    border-radius: 6px 6px 0 0;
    padding: 14px 15px;
}

.result-anchor-title span {
    font-size: 24px;
}

.result-anchor ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    /* ボタンの後ろは白に近いタイプ色 */
    background: #fff;
    background: color-mix(in srgb, var(--shindan-bg) 35%, #fff);
    border-radius: 0 0 6px 6px;
    padding: 18px;
}

.shindantool .result-anchor ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 60px;
    background: var(--shindan-soft);
    color: var(--shindan-dark);
    border: none;
    border-radius: 10px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    padding: 10px 14px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

@media (hover: hover) {
    .shindantool .result-anchor ul li a:hover {
        background: var(--shindan-dark);
        color: #fff;
    }
}

/*向いている職種ブロック*/
.jobBlock {
    margin-top: 30px;
}

.jobBlock-title {
    background: var(--shindan-bg);
    border-left: solid 5px var(--shindan-main);
    font-size: 24px;
    line-height: 1.3;
    font-weight: bold;
    padding: 14px 20px;
}

.jobBlock-episode {
    text-align: center;
    margin-top: 25px;
}

.jobBlock-episode>img {
    display: block;
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 50%;
    border: solid 2px var(--shindan-main);
    background: #fff;
    margin: 0 auto 12px;
}

.jobBlock-episode h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.jobBlock-episode p {
    font-size: 16px;
    line-height: 1.8;
    text-align: left;
    max-width: 640px;
    margin: 0 auto;
}

.jobBlock-listBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(420px, 100%);
    margin: 25px auto 0;
    font-size: 20px;
    line-height: 1.3;
    font-weight: bold;
    color: #fff !important;
    text-decoration: none;
    text-align: center;
    background-color: var(--shindan-cta);
    border: none;
    border-radius: 6px;
    box-shadow: 0 3px 0 0 var(--shindan-cta-shadow);
    padding: 16px 15px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.jobBlock-listBtn::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    border: solid 2px #fff;
    border-left: none;
    border-bottom: none;
    margin-left: 10px;
    transform: rotate(45deg) translate(-2px, 2px);
}

@media (hover: hover) {
    .jobBlock-listBtn:hover {
        color: #fff !important;
        transform: translateY(3px);
        box-shadow: 0 0 0 0 var(--shindan-cta-shadow);
    }
}

/*職種×勤務地×こだわり条件検索*/
.jobSearch {
    margin-top: 30px;
}

.jobSearch-title {
    background: var(--shindan-main);
    border: solid 2px var(--shindan-main);
    color: #fff;
    font-size: 18px;
    line-height: 1.4;
    font-weight: bold;
    text-align: center;
    padding: 10px 15px;
}

.jobSearch-title-job {
    font-size: 20px;
}

.jobSearch-body {
    background: #f7f7f7;
    padding: 28px 20px;
}

.jobSearch-body form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px 15px;
}

.jobSearch-body select {
    appearance: none;
    outline: none;
    border: solid 1px #bbb;
    border-radius: 4px;
    width: 100%;
    height: 40px;
    padding: 0 30px 0 10px;
    background: #fff url("/contents/shindantool/img/icon-select.svg") right 10px center / 12px auto no-repeat;
    font-size: 14px;
    color: #000;
    text-overflow: ellipsis;
    cursor: pointer;
}

.jobSearch-body .searchBtn {
    grid-column: 1 / -1;
    width: min(290px, 100%);
    margin: 0 auto;
    font-size: 18px;
    line-height: 1;
    font-weight: bold;
    color: #fff;
    background-color: var(--shindan-cta);
    border: none;
    border-radius: 5px;
    box-shadow: 0 3px 0 0 rgba(0, 0, 0, .25);
    padding: 14px 10px;
    cursor: pointer;
}

/*新着求人（求人カセットはCLP public/clp/template/css/common.css の #newJobs を流用）*/
.newJobs {
    margin-top: 30px;
}

.newJobs-title {
    background: var(--shindan-main);
    border: solid 2px var(--shindan-main);
    color: #fff;
    font-size: 18px;
    line-height: 1.4;
    font-weight: bold;
    text-align: center;
    padding: 10px 15px;
}

.newJobs .inner {
    padding-top: 20px;
}

.newJobs .inner ul {
    display: flex;
    flex-wrap: wrap;
}

.newJobs li {
    font-size: 15px;
    width: 32%;
    margin: 0 2% 2% 0;
    border-radius: 24px;
    border: solid 1px #e0e0e0;
    overflow: hidden;
}

.newJobs li:nth-child(3n) {
    margin-right: 0;
}

.newJobs li a {
    display: block;
    background: #fff;
    height: 100%;
    padding: 15px 15px 15px;
    text-decoration: none;
    word-break: break-all;
    color: #000000;
}

.newJobs img {
    display: block;
    margin: 0 auto 10px;
    max-width: 100%;
    height: auto;
}

.newJobs .noJobs {
    text-align: center;
    padding: 15px;
    font-size: 15px;
}

.newJobs .companyName {
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.newJobs .occupation {
    font-weight: bold;
    margin-top: 3px;
}

.newJobs .wage {
    font-weight: bold;
    color: #cc0000;
    margin-top: 3px;
}

.newJobs .workplace {
    font-weight: bold;
    margin-top: 3px;
}

.newJobs .employment {
    background-color: #e52222;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.2;
    color: #fff;
    padding: 5px;
    display: inline-block;
    margin-top: 5px;
}

.newJobs .newJobsBtn {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    max-width: 450px;
    min-height: 50px;
    margin: 20px auto 0;
    padding: 15px 20px;
    background: var(--shindan-main);
    color: #fff !important;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 40px;
    box-shadow: 0 4px 1px 0 rgba(0, 0, 0, .25);
}

@media (hover: hover) {

    .newJobs li a:hover {
        opacity: 0.7;
    }

    .newJobs .newJobsBtn:hover {
        color: #fff !important;
        transform: translateY(4px);
        box-shadow: none;
    }
}

/*内部リンク*/
.otherTypes {
    margin-top: 30px;
    background: var(--shindan-bg);
    border-radius: 8px;
    padding: 25px;
}

.otherTypes-title {
    font-size: 22px;
    line-height: 1.3;
    font-weight: bold;
    text-align: center;
}

.otherTypes-list {
    text-align: center;
    margin: 15px 0 25px;
}

.otherTypes-list li {
    margin-top: 8px;
}

.otherTypes-list li a {
    font-size: 18px;
    font-weight: bold;
    text-decoration: underline;
}

/* 各タイプのリンクはそのタイプの色で表示する（アンカーリンク見出しと同じ濃い色） */
.shindantool .otherTypes-list .otherTypes-a a {
    color: #c51f5b;
}

.shindantool .otherTypes-list .otherTypes-b a {
    color: #4e7d1c;
}

.shindantool .otherTypes-list .otherTypes-c a {
    color: #2f62a3;
}

.shindantool .otherTypes-list .otherTypes-d a {
    color: #a47c00;
}

.otherTypes-searchBtn,
.otherTypes-retryBtn {
    display: block;
    width: min(400px, 100%);
    margin: 0 auto;
    font-size: 20px;
    line-height: 1.3;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    padding: 16px 15px;
}

.otherTypes-searchBtn {
    color: #fff !important;
    background-color: #d70a16;
    border: none;
    box-shadow: 0 3px 0 0 #891f25;
}

.otherTypes-retryBtn {
    font-size: 16px;
    background: #e0e0e0;
    margin-top: 15px;
}

/*LINEバナー*/
.lineBanner {
    margin-top: 30px;
    text-align: center;
}

.lineBanner img {
    display: block;
    margin: 0 auto;
}

/*------------------------------------------------
tab
-------------------------------------------------*/
@media (min-width: 744px) and (max-width: 1279px) {

    .lp-kv-photo {
        width: 110px;
    }

    .lp-kv-title {
        font-size: 40px;
    }
}

/* タブレット・SPはシェアボタンをイラストの直下に表示する（PCは本文の下） */
@media (max-width: 1279px) {

    .result-head {
        display: flex;
        flex-direction: column;
    }

    .result-share {
        margin-top: 20px;
    }

    .result-body {
        order: 1;
    }
}

/*------------------------------------------------
sp
-------------------------------------------------*/
@media (max-width: 743px) {

    .shindantool #header {
        width: 100%;
        margin: 0 auto;
        padding: 15px 10px;
    }

    /*サブナビが非表示になるぶん、エリア変更は画面右端に寄せる*/
    .shindantool #header .logoArea {
        width: 100%;
        gap: 3px;
    }

    /*エリア名が長い場合はロゴ側を縮めて1行に収める*/
    .shindantool #header .logo {
        flex: 0 1 auto;
        min-width: 0;
    }

    .shindantool #header .areaName {
        font-size: 18px;
        /* ロゴの文字と高さをそろえる */
        position: relative;
        top: 2px;
    }

    /*ロゴ・エリア名と1行に並べるため小さめにする*/
    .shindantool #header .areaChangeBtn {
        flex: 0 0 auto;
        font-size: 12px;
        padding: 5px 7px;
        margin-left: auto;
    }

    .shindantool #header .areaChangeBtn::after {
        width: 12px;
        height: 7px;
        margin-left: 4px;
    }

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

    /*サブナビ（閲覧履歴・キープリストなど）はSPでは非表示*/
    .shindantool #subNavi {
        display: none;
    }

    /*パンくず*/
    .shindantool #bread {
        width: 100%;
        font-size: 12px;
        display: flex;
        overflow-x: auto;
        background-color: #dbdbdb;
        padding: 0;
    }

    .shindantool #bread .pcarrow {
        display: none;
    }

    .shindantool #bread>span {
        position: relative;
        font-size: 12px;
        vertical-align: middle;
        padding: 0 10px;
        height: 30px;
        line-height: 30px;
        white-space: nowrap;
        list-style: none;
        background-image: linear-gradient(to right, #ececec, #dbdbdb);
    }

    .shindantool #bread>span::after {
        content: '';
        display: inline-block;
        position: absolute;
        margin-left: 10px;
        border-top: 15px solid transparent;
        border-bottom: 15px solid transparent;
        border-left: 12px solid #dbdbdb;
        z-index: 1;
    }

    .shindantool #bread>span:last-child::after {
        display: none;
    }

    .shindantool #bread>span:nth-child(n+2) {
        padding-left: 20px;
    }

    /*LP*/
    /* SPは画面幅が足りず文字と重なるため、イラストを文字の上に横並びで配置する */
    .lp-kv {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0 8px;
        padding: 18px 12px 20px;
    }

    .lp-kv-photo {
        position: static;
        width: 100%;
        max-width: 80px;
        justify-self: center;
        border-width: 3px;
    }

    .lp-kv-inner {
        grid-column: 1 / -1;
        max-width: none;
        margin-top: 15px;
    }

    .lp-kv-lead {
        font-size: 16px;
    }

    .lp-kv-title {
        font-size: 30px;
    }

    /* 1行に収まるよう画面幅に合わせて文字サイズを調整 */
    .lp-kv-sub {
        font-size: min(14px, 3.5vw);
        white-space: nowrap;
    }

    .lp-kv-free {
        font-size: 16px;
        margin: 12px 0 14px;
    }

    .startBtn,
    .resultBtn {
        font-size: 20px;
        padding: 10px 10px;
    }

    .lp-about {
        margin-top: 22px;
    }

    .lp-about-title {
        font-size: 20px;
    }

    .lp-about-title::before {
        width: 30px;
        vertical-align: -8px;
    }

    .lp-about-list {
        padding: 15px;
    }

    .lp-about-list li {
        font-size: 15px;
        gap: 10px;
    }

    /*診断ツール*/
    .tool-inner {
        padding: 20px 5px 12px;
    }

    .tool-q-text {
        font-size: 19px;
        margin-bottom: 18px;
    }

    .tool-options button {
        font-size: 15px;
        padding: 12px;
        border-radius: 20px;
    }

    .tool-progress li {
        width: 20px;
        height: 20px;
    }

    /*診断結果*/
    .result-head {
        padding: 20px 15px;
    }

    .result-lead {
        font-size: 15px;
    }

    .result-title {
        font-size: 28px;
    }

    .result-visual>img {
        width: 180px;
        height: auto;
    }

    .result-share {
        margin-top: 15px;
    }

    .result-catch {
        font-size: 16px;
    }

    .result-body p {
        font-size: 15px;
        line-height: 1.7;
    }

    .result-anchor-title {
        font-size: 16px;
    }

    .result-anchor-title span {
        font-size: 19px;
    }

    .result-anchor ul {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .shindantool .result-anchor ul li a {
        min-height: 50px;
    }

    .jobBlock-title {
        font-size: 19px;
        padding: 10px 14px;
    }

    .jobBlock-episode p {
        font-size: 15px;
    }

    .jobBlock-listBtn {
        font-size: 17px;
    }

    .jobSearch-title,
    .newJobs-title {
        font-size: 16px;
    }

    .jobSearch-title-job {
        font-size: 18px;
    }

    .jobSearch-body {
        padding: 20px 15px;
    }

    .jobSearch-body form {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .newJobs .inner {
        padding-top: 15px;
    }

    .newJobs li {
        width: 49%;
        margin: 0 2% 3% 0;
        border-radius: 14px;
    }

    /*2カラムのため右端（2n・6n）のみmarginを詰める（CLPと同じ指定）*/
    .newJobs li:nth-child(2n),
    .newJobs li:nth-child(6n) {
        margin-right: 0 !important;
    }

    .newJobs li:nth-child(3n) {
        margin-right: 2%;
    }

    .newJobs li a {
        padding: 10px;
    }

    .newJobs .newJobsBtn {
        font-size: 16px;
        margin: 15px auto 0;
    }

    .otherTypes {
        padding: 20px 15px;
    }

    .otherTypes-title {
        font-size: 18px;
    }

    .otherTypes-list li a {
        font-size: 16px;
    }

    .otherTypes-searchBtn {
        font-size: 17px;
    }
}
