@charset "utf-8";

/*
 * style.css
 *
 *  version --- 1.0
 *  updated --- 2017/11/30
 */

/* !HTML5 elements
---------------------------------------------------------- */
header,
footer,
nav,
section,
aside,
article {
  display: block;
}

/* !Reseting
---------------------------------------------------------- */
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

fieldset {
  border: none;
}

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

img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

table {
  border-collapse: collapse;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}

select::-ms-expand {
  display: none;
}

input[type="radio"]::-ms-check,
input[type="checkbox"]::-ms-check {
  display: none;
}

select,
input[type="radio"],
input[type="checkbox"],
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="reset"],
input[type="button"],
input[type="submit"],
textarea {
  appearance: none;
  border-radius: 0;
  font-family:
    "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo,
    sans-serif;
}

input[type="text"]::-ms-clear,
input[type="tel"]::-ms-clear,
input[type="number"]::-ms-clear {
  display: none;
}

input[type="reset"],
input[type="button"],
input[type="submit"] {
  font-family:
    "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo,
    sans-serif;
  cursor: pointer;
}

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

:root {
  --yellow: #ffb200;
  --orange: #ff8904;
  --orange-deep: #ff8904;
  --ink: #151515;
  --muted: #6b7280;
  --line: #EDEDED;
  --soft: #f3f1ed;
  --white: #fff;
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.055);
  --shell-max: 1400px;
  --header-max: 1360px;
  --slider-gap: 18px;
  --slider-visible: 4;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: #fff;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Noto Sans JP", system-ui, sans-serif;
}

/*
 * 黄色はページ本体のデザインレイヤーに持たせる。
 * body を白にしておくことで、通常のページ遷移で旧DOMが破棄される瞬間に
 * body の黄色がビューポート全面へ露出するのを防ぐ。
 */
.site-canvas {
  background: var(--yellow);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
img {
  display: block;
  max-width: 100%;
}

.material-symbols-rounded {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}
.icon--filled02 {
  font-variation-settings:
    "FILL" 1,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}

/* お気に入りページと同じヘッダーデザイン */
.site-header {
  position: relative;
  position: sticky;
  z-index: 80;
  top: 0;
  padding: 16px 40px;
  background: transparent;
  box-shadow: none;
}
.site-header__inner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 22px;
  max-width: var(--header-max);
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  width: fit-content;
  line-height: 1;
}
.brand__sub {
  margin-bottom: 3px;
  font-size: 9px;
  font-weight: 900;
}
.brand__sub font {
  font-size: 15px;
}
.brand__main {
  font-size: clamp(25px, 2.25vw, 35px);
  font-weight: 800;
  letter-spacing: -0.055em;
  white-space: nowrap;
}
.global-nav {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  isolation: isolate;
}
.global-nav__indicator {
  position: absolute;
  z-index: -1;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: calc((100% - 12px) / 3);
  border-radius: 999px;
  background: #e9e9e7;
  opacity: 0;
  transition:
    transform 0.32s cubic-bezier(0.2, 0.75, 0.2, 1),
    width 0.32s ease,
    opacity 0.18s ease;
}
.global-nav a {
  min-width: 102px;
  padding: 9px 16px;
  border-radius: 999px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}
.clips-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 15px;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: background-color 0.2s ease;
}
.clips-button.is-current{
  background: #f3f3f1;
  pointer-events: none;
}
@media screen and (min-width: 961px) {
  .clips-button:hover {
    background: #f3f3f1;
  }
}

.clips-button__count {
  display: grid;
  place-items: center;
  min-width: 25px;
  height: 25px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
}
.header-icon-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
@media screen and (min-width: 961px) {
  .header-icon-link:hover {
    background: var(--ink);
    color: #fff;
    transform: translateY(-1px);
  }
}
.fixed-header.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* HERO */
.hero {
  padding: 24px 0 100px;
  overflow: hidden;
}
.hero__title-wrap {
  width: calc(100% - 52px);
  max-width: 1313px;
  margin: 0 auto;
  text-align: center;
}
.hero__title {
  width: 100%;
}
.hero__title-wrap p {
  margin: 30px 0 0;
  font-size: 32px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.15em;
}
.hero-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  width: min(890px, calc(100% - 40px));
  min-height: 64px;
  margin: 56px auto 67px;
  padding: 8px 8px 8px 24px;
  border-radius: 16px;
  background: #fff;
}
.hero-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
}
.hero-search button {
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #FF6B35;
  color: #fff;
  font-weight: 700;
}
.icon_search {
  width: 24px;
}
.hero-collage__track {
  display: flex;
  grid-gap: 15px;
  width: max-content;
  animation: heroMarquee 64s linear infinite;
  will-change: transform;
}
@keyframes heroMarquee {
  to {
    transform: translateX(-50%);
  }
}
.hero__lead {
  margin: 75px auto 0;
  text-align: center;
  font-weight: 900;
  font-size: 28px;
  line-height: 2;
  letter-spacing: 0.1em;
}

/* 診断 */
.diagnosis-section {
  width: calc(100% - 40px);
  max-width: var(--shell-max);
  margin: 75px auto 0;
  max-width: 1236px;
}
.diagnosis-lead {
  width: 344px;
}
.diagnosis-lead > .material-symbols-rounded {
  color: var(--orange);
  font-size: 36px;
}
.diagnosis-lead small {
  color: var(--muted);
}
.diagnosis-lead h2 {
  margin: 2px 0 0;
  font-size: 24px;
}
.diagnosis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
@media screen and (min-width: 961px) {
  .diagnosis-card:hover {
    transform: translateY(-4px);
  }
}
.diagnosis-card > span {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 11px;
}
.diagnosis-card b {
  display: inline-block;
  margin-top: 17px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(20, 20, 50, 0.45);
  font-size: 12px;
}

/* お気に入りページと同じ白コンテンツ外枠と左右余白 */
.page-shell {
  width: calc(100% - 40px);
  max-width: var(--shell-max);
  margin: 0 auto;
  overflow: visible;
  border: 1px solid #272727;
  border-radius: 31px;
  background: #fff;
}
.topic-strip {
  width: 100%;
  overflow: hidden;
  border-bottom: 1px dashed #777;
  border-radius: 29px 29px 0 0;
  background: #f6f6f6;
}
.topic-strip:last-of-type {
  border-radius: 0 0 29px 29px;
  border-top: 1px dashed #777;
  border-bottom: 0;
}
.topic-strip__track {
  display: flex;
  width: max-content;
  animation: marquee 58s linear infinite;
  will-change: transform;
}
.topic-strip__group {
  display: flex;
  flex-shrink: 0;
  gap: 20px;
  padding: 20px 5px;
}
.topic-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid #272727;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}
@media screen and (min-width: 961px) {
  .topic-strip a:hover {
    color: #fff;
    background: #272727;
  }
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.page-content {
  padding: 66px 0 95px 58px;
}
.content-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(50px, 7vw, 100px);
  align-items: start;
}

/* PC追従フィルター */
.filter-sidebar {
  position: sticky;
  top: 86px;
  align-self: start;
  /*max-height: calc(100dvh - 108px);*/
}
.filter-panel {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 108px);
  max-height: calc(100dvh - 108px);
  padding: 40px 24px 0;
  /*overflow: hidden;*/
  border-radius: 24px;
  background: var(--soft);
}
.filter-panel__title {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
  margin-bottom: 12px;
}
.filter-panel__scroll {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  margin-right: -6px;
  scrollbar-width: thin;
  scrollbar-color: #c8c3ba transparent;
}
.filter-panel__scroll::-webkit-scrollbar {
  width: 6px;
}
.filter-panel__scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #c8c3ba;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 45px;
  padding: 0 11px;
  border: 1px solid #e1ddd6;
  border-radius: 9px;
  background: #fff;
}
.search-field .material-symbols-rounded {
  color: #8d929a;
  font-size: 20px;
}
.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
}
.filter-group {
  padding: 12px 0;
}
.filter-group h3 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  padding-bottom: 6px;

  background-image: linear-gradient(
    to right,
    #e5e7eb 0%,
    #e5e7eb 50%,
    transparent 50%
  );
  background-size: 6px 1.5px;
  background-position: bottom center;
  background-repeat: repeat-x;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.dot--blue {
  background: #2b7fff;
}
.dot--green {
  background: #00c950;
}
.dot--purple {
  background: #ad46ff;
}
.dot--pink {
  background: #ff4d8d;
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.filter-chips button {
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #d8d4cc;
  border-radius: 9px;
  background: #fff;
  color: #444;
  font-size: 11px;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}
.filter-chips button.is-selected {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

.filter-area__cities {
  margin-top: 9px;
}

.filter-area__city-list:not(.is-active) {
  display: none;
}
.filter-panel__actions {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: grid;
  gap: 11px;
  margin: 10px -20px 0;
  padding: 18px 20px 22px;
  padding: 18px 20px 122px;
  border-top: 1px solid rgba(207, 201, 191, 0.78);
  /*background: var(--soft);*/
}
.filter-panel__actions::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  top: -34px;
  height: 34px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    to bottom,
    rgba(243, 241, 236, 0),
    rgba(243, 241, 236, 0.42) 42%,
    rgba(243, 241, 236, 0.94)
  );
  backdrop-filter: blur(5px) saturate(1.04);
  mask-image: linear-gradient(to bottom, transparent, #000 38%, #000);
  transition: opacity 0.22s ease;
}
.filter-panel.is-scrollable:not(.is-scroll-end) .filter-panel__actions::before {
  opacity: 1;
}
.filter-panel__actions:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -40px;
  width: 100%;
  height: 140px;
  background: url(../img/top/icon_filter.svg) no-repeat bottom center;
  background-size: auto 136px;
}
.filter-submit {
  display: grid;
  place-items: center;
  min-height: 48px;
  border: 1px solid #000000;
  border-radius: 999px;
  background: #ff6b35;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 3px 3px 0px 0px #000000;
  transition: all 0.6s;
  position: relative;
  top: 0;
  left: 0;
}
@media screen and (min-width: 961px) {
  .filter-submit:hover {
    box-shadow: none;
    top: 3px;
    left: 3px;
  }
}
.filter-clear {
  border: 0;
  background: transparent;
  color: #555;
  font-weight: 700;
  font-size: 15px;
}

.main-content {
  min-width: 0;
}
.content-section {
  padding-bottom: 100px;
  margin-bottom: 80px;
  border-bottom: 1px dashed #aaa;
}
.content-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}
.section-header small {
  color: var(--orange-deep);
  font-weight: 700;
}
.section-header h2 {
  line-height: 1.6;
  font-size: clamp(25px, 2.4vw, 40px);
}
.section-header p {
  margin: 8px 0 0;
  font-size: 15px;
}
.section-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-header__actions > a {
  font-size: 13px;
  font-weight: 700;
}
.carousel-buttons {
  display: flex;
  gap: 7px;
}
.carousel-buttons button {
  border: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  background: #fff;
  transition:
    background-color 0.18s ease,
    transform 0.18s ease,
    opacity 0.18s ease;
}
@media screen and (min-width: 961px) {
  .carousel-buttons button:hover:not(:disabled) {
    background: #f3f3f1;
    transform: translateY(-1px);
  }
}
.carousel-buttons button:disabled {
  cursor: default;
  opacity: 0.28;
}
.carousel-buttons span {
  font-size: 0;
  height: 20px;
  width: 20px;
  background: url(../img/common/arrow_right.svg) no-repeat center center;
  background-size: 20px auto;
}
.carousel-buttons button[aria-label="前へ"] span {
  transform: rotateY(-180deg);
}
/* カードを4件完全表示し、右端を見切れさせない */
.slider-viewport {
  width: 100%;
  overflow: hidden;
}
.slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(
    (100% - (var(--slider-visible) - 1) * var(--slider-gap)) /
      var(--slider-visible)
  );
  gap: var(--slider-gap);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}
.slider-track::-webkit-scrollbar {
  display: none;
}
.slider-track > * {
  min-width: 0;
  scroll-snap-align: start;
}

.pickup-card,
.company-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0px 4px 20px 0px #00000008;
}
.pickup-card > div {
  padding: 14px;
}
.pickup-card span {
  color: var(--orange-deep);
  font-size: 10px;
  font-weight: 700;
}
.pickup-card h3 {
  min-height: 48px;
  margin: 7px 0 5px;
  font-size: 16px;
  line-height: 1.5;
}
.pickup-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.pickup-card--feature {
  background: #1b1b1b;
  color: #fff;
}
.pickup-card--feature p {
  color: rgba(255, 255, 255, 0.72);
}

.company-card {
  position: relative;
}
.company-card__image {
  position: relative;
}
.company-card__image img {
  width: 100%;
  aspect-ratio: 340 / 320;
  object-fit: cover;
}
.company-card .favorite {
  position: absolute;
  z-index: 3;
  top: 13px;
  right: 13px;
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #ff4747;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.07);
}
.company-card .match {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  align-content: center;
  width: 80px;
  height: 80px;
  border: 4px solid var(--orange);
  border-radius: 50%;
  background: #fff;
  text-align: center;
  font-weight: 800;
  line-height: 1;
}
.company-card .match > span {
  color: var(--orange-deep);
  font-size: 10px;
}
.company-card .match strong {
  font-size: 24px;
  line-height: 1.25;
}
.company-card__body {
  padding: 20px;
}
.company-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}
.company-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.1;
  margin: 0;
}
.company-tags {
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.company-tags span {
  padding: 3px 10px;
  border-radius: 999px;
  background: #f3f1ed;
  color: #111;
  font-size: 10px;
  line-height: 1.4;
}
.company-card .company-card__more {
  display: none;
}

.simple-list > a {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}
.simple-list time {
  color: var(--muted);
  font-size: 12px;
}
.event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.event-grid a,
.event-grid article {
  transition: background-color 0.18s ease;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 28px;
}
.event-grid span {
  font-size: 14px;
  font-weight: 700;
}
.event-grid h3 {
  margin: 12px 0;
}
.event-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.services > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.services a {
  display: grid;
  place-items: center;
  min-height: 100px;
  border-radius: 18px;
  background: #f3f0e8;
  font-size: 22px;
  font-weight: 800;
  transition: opacity 0.6s;
}
@media screen and (min-width: 961px) {
  .services a:hover {
    opacity: 0.8;
  }
}
.sp-bottom-nav {
  display: none;
}

@media (max-width: 1280px) {
  :root {
    --slider-visible: 3;
  }
  .page-content {
    padding-left: 42px;
  }
  .content-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 30px;
  }
  .filter-panel {
    padding-inline: 16px;
  }
  .filter-panel__actions {
    margin-inline: -16px;
    padding-inline: 16px;
  }
  .content-section{
    padding-bottom: 60px;
    margin-bottom: 60px;
  }
}

@media (max-width: 960px) {
  :root {
    --slider-visible: 2;
    --slider-gap: 12px;
  }
  .site-header {
    position: relative;
    position: absolute;
    width: 100%;
    top: auto;
    padding: 10px 13px;
  }
  main{
    padding-top: 60px;
  }

  body:not(.home) .site-header.is-scroll-fixed {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    background: var(--yellow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-110%);
  }

  body:not(.home) .site-header.is-scroll-fixed.is-scroll-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition:
      transform .28s cubic-bezier(.2, .75, .2, 1),
      opacity .18s ease;
  }
  .site-header__inner {
    grid-gap: 15px;
    grid-template-columns: 1fr auto;
  }
  .global-nav {
    display: none;
  }
  .brand__sub {
    font-size: 10px!important;
  }
  .brand__sub font{
    font-size: 13px!important;
  }
  .brand__main {
    width: 192px;
  }
  .clips-button {
    grid-gap: 5px;
    min-height: 39px;
    padding-inline: 8px;
  }
  .clips-button__label {
    font-size: 10px;
  }
  .header-icon-link {
    width: 39px;
    height: 39px;
  }
  .fixed-header {
    display: none;
  }
  .hero {
    padding-bottom: 0;
    padding-top: 10px;
  }
  .hero__title-wrap {
    width: calc(100% - 20px);
  }
  .hero-search {
    margin-block: 25px;
  }
  .hero__lead{
    font-size: 14px;
    line-height: 1.7;
    font-weight: 700;
    margin: 40px 46px 0;
  }
  .hero__lead br {
    display: none;
  }
  .page-content {
    padding: 60px 16px 64px;
  }
  .topic-strip__group {
    padding-block: 10px;
  }
  .topic-strip a {
    min-height: 24px;
    padding-inline: 10px;
    font-size: 10px;
  }
  .content-layout {
    display: block;
  }
  .filter-sidebar {
    display: none;
  }
  .content-section {
    padding-bottom: 60px;
    margin-bottom: 60px;
  }
  .section-header {
    align-items: flex-start;
    margin-bottom: 16px;
  }
  .section-header h2 {
    font-size: 22px;
    line-height: 1.2;
  }
  .section-header p {
    margin-top: 8px;
    font-size: 10px;
    line-height: 1.8;
  }
  .section-header__actions {
    align-items: flex-end;
  }
  .section-header__actions > a {
    display: none;
  }
  .event-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (min-width: 961px) {
  .sp-bottom-nav a:hover {
    background: #eeeeec;
    color: #333;
  }
}

@media (max-width: 560px) {
  :root {
    --slider-visible: 1;
    --slider-gap: 10px;
  }
  .hero__title-wrap p {
    font-size: 14px;
    margin-top: 15px;
  }
  .section-header {
    gap: 10px;
  }
  .carousel-buttons button {
    width: 38px;
    height: 38px;
  }
  .simple-list > a {
    grid-template-columns: 82px minmax(0, 1fr) auto;
    gap: 9px;
    font-size: 12px;
  }
  .services > div {
    grid-template-columns: 1fr;
    margin: 0;
    grid-gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-collage__track,
  .topic-strip__track {
    animation-duration: 120s;
  }
  .slider-track {
    scroll-behavior: auto;
  }
}

/* ===== 2026-07-23 responsive quality update ===== */
.hero-collage {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

/* 診断カードは縦長にし、ビジュアルの余白を確保 */
.diagnosis-card i {
  position: absolute;
  right: 24px;
  bottom: 14px;
  font-size: 132px;
  font-style: normal;
  opacity: 0.75;
}

/* PICK UPは16:9の大型バナースライダー */
.pickup-card__content span {
  align-self: flex-start;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.pickup-card__content h3 {
  min-height: 0;
  margin: 14px 0 8px;
  font-size: clamp(32px, 4vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}
.pickup-card__content p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(13px, 1.4vw, 18px);
}
.pickup-card__content b {
  margin-top: auto;
  font-size: clamp(12px, 1.35vw, 17px);
}
.pickup-card--coral {
  background: linear-gradient(135deg, #ff9d65, #ff5e72 54%, #f58bb8);
}
.pickup-card--aqua {
  background: linear-gradient(135deg, #51d8e2, #42a7d8 52%, #6979ef);
}
.pickup-card--green {
  background: linear-gradient(135deg, #7ad7aa, #25a878 52%, #157c67);
}
.pickup-card--violet {
  background: linear-gradient(135deg, #c37bed, #8d58db 52%, #5c55c9);
}
.pickup-card--amber {
  background: linear-gradient(135deg, #ffca6c, #f18f37 52%, #e86437);
}

/* 横スクロールを滑らかに操作できるようにする */
.slider-track,
.diagnosis-grid {
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 960px) {
  .hero-collage img {
    width: 1300px;
    height: auto;
  }

  /* 企業・先輩はカード単位に固定せずフリースライド */
  .slider-track {
    scroll-snap-type: none;
    scroll-behavior: auto;
    touch-action: pan-x pan-y pinch-zoom;
    padding-right: 18px;
  }
  .company-slider-track {
    grid-auto-columns: min(72vw, 330px);
  }
  .pickup-track {
    grid-auto-columns: min(88vw, 680px);
  }
  .slider-track > * {
    scroll-snap-align: none;
  }

  /* 診断カードを横方向のフリースライダーにする */
  .diagnosis-grid::-webkit-scrollbar {
    height: 6px;
  }
  .diagnosis-grid::-webkit-scrollbar-track {
    background: transparent;
  }
  .diagnosis-grid::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(30, 30, 30, 0.25);
  }
  .diagnosis-card i {
    font-size: 150px;
  }

  .pickup-card {
    border-radius: 22px;
  }
  .pickup-card__content {
    width: 62%;
    padding: clamp(20px, 5vw, 42px);
  }
  .pickup-card__content h3 {
    font-size: clamp(27px, 5.2vw, 44px);
  }
}

@media (max-width: 560px) {
  /* FV検索窓を1行に保つ */
  .hero-search {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding-right: 14px;
    gap: 6px;
    width: calc(100% - 32px);
    min-height: 50px;
    margin: 28px auto 40px;
    padding: 8px;
    padding-left: 16px;
  }
  .hero-search .material-symbols-rounded {
    font-size: 20px;
  }
  .hero-search input {
    width: 100%;
    min-width: 0;
    font-size: 14px;
  }
  .hero-search button {
    grid-column: auto;
    width: auto;
    min-width: 92px;
    min-height: 40px;
    margin: 0;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
  }

  /* メイン画像は縦方向にトリミングせず、画像全体を流す */
  .hero-collage img {
    height: auto;
    object-fit: contain;
  }
  .diagnosis-card i {
    right: 16px;
    bottom: 8px;
    font-size: 150px;
  }
  .pickup-card {
    border-radius: 18px;
  }
  .pickup-card__content {
    width: 67%;
    padding: 18px;
  }
  .pickup-card__content span {
    padding: 5px 8px;
    font-size: 8px;
  }
  .pickup-card__content h3 {
    margin: 8px 0 5px;
    font-size: 22px;
  }
  .pickup-card__content p {
    margin-bottom: 8px;
    font-size: 10px;
  }
  .pickup-card__content b {
    font-size: 9px;
  }
}

@media (max-width: 380px) {
}
.hero-collage img {
  flex: 0 0 auto;
  width: 2048px;
  height: auto;
  object-fit: contain;
  object-position: center;
  max-width: none;
}
@media (max-width: 960px) {
  .hero-collage img {
    width: 1300px;
  }
}

/* ===== 2026-07-23 PC card ratio / partial third-card update ===== */
@media (min-width: 961px) {
  /* SPと同じ縦長比率をPCにも適用 */
  .diagnosis-card {
  }

  /* 2枚をしっかり表示し、3枚目の端が少し見える幅 */
}

/* 診断カードはPC・SPで共通の4:5比率 */

/* 企業・先輩カードの共通インタラクション */
.company-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.company-card__link {
  display: block;
  color: inherit;
  height: 100%;
}
.company-card__media {
  display: block;
  overflow: hidden;
}
.company-card__media img {
  background: #FFB200;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media screen and (min-width: 961px) {
  .company-card:hover .company-card__media img {
    transform: scale(1.06);
  }
}
.company-card__more {
  display: inline-flex;
  display: none !important;
  align-items: center;
  gap: 4px;
  margin-top: 11px;
  color: var(--orange-deep);
  font-size: 11px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.company-card__more .material-symbols-rounded {
  font-size: 17px;
}
@media screen and (min-width: 961px) {
  .company-card:hover .company-card__more {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 960px) {
  .company-card__more {
    opacity: 1;
    transform: none;
  }
}

/* ===== 2026-07-23 iPhone / hover / SP slider refinement ===== */
/* iOS Safariでボタン・アイコン・並び替え文字がリンク色にならないよう明示 */
a,
button,
input,
select,
textarea,
label,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}
button,
input,
select,
textarea {
  color: inherit;
  -webkit-text-fill-color: currentColor;
}
button {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
button .material-symbols-rounded,
a .material-symbols-rounded,
.carousel-buttons button,
.sort-tab,
.sp-bottom-nav a {
  color: inherit;
}

/* ホバー時は浮き上がりと画像拡大のみ。追加シャドウは付けない */

@media (max-width: 960px) {
  /* スライダーだけ白コンテンツの左右端まで使い、カードが内側余白で切れないようにする */
  .main-content .slider-viewport {
    width: calc(100% + 32px);
    margin-left: -16px;
  }
  .main-content .slider-track {
    padding-left: 16px;
    padding-right: 16px;
    scroll-padding-left: 16px;
    scroll-padding-right: 16px;
  }
}

/* ===== 2026-07-23 SP vertical-scroll gesture fix ===== */
@media (max-width: 960px) {
  /*
   * 横スライダー上から縦方向へスワイプした場合も、ページスクロールを優先できるようにする。
   * 以前の touch-action: pan-x は縦パンを禁止していたため、縦横両方向をブラウザに許可する。
   */
  .slider-track,
  .diagnosis-grid {
    touch-action: pan-x pan-y pinch-zoom;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .slider-track > *,
  .diagnosis-grid > * {
    touch-action: pan-x pan-y pinch-zoom;
  }

  /* 画像そのもののドラッグ判定がスワイプ操作を邪魔しないようにする */
  .slider-track img,
  .diagnosis-grid img {
    -webkit-user-drag: none;
    user-select: none;
  }
}

/* ===== 2026-07-23 SP実機最終調整 ===== */
@media (max-width: 960px) {
  /* 診断カードは左右を切らず、1枚を表示領域内へ完全に収める */
  .diagnosis-section {
    width: calc(100% - 14px);
    padding-inline: 17px;
    overflow: visible;
    padding-right: 0;
  }
  .diagnosis-grid {
    grid-template-columns: none;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: none;
    touch-action: pan-x pan-y pinch-zoom;
    padding: 0 0 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(30, 30, 30, 0.26) transparent;
    width: 100%;
    scroll-padding-inline: 0;
  }
  .diagnosis-grid > * {
    min-width: 0;
  }

  /* 下部ナビをコンパクト化 */
  .sp-bottom-nav {
    position: fixed;
    z-index: 85;
    left: 11px;
    right: 11px;
    bottom: 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: 63px;
    padding: 6px;
    overflow: hidden;
    border: 0;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 18px rgba(20, 20, 20, 0.08);
  }
  .sp-bottom-nav a {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0;
    border-radius: 32px;
    color: #151515;
  }
  .sp-bottom-nav a.is-current {
    background: #eeeeec;
    color: #222;
  }
  .sp-bottom-nav .material-symbols-rounded {
    font-size: 20px;
  }
  .sp-bottom-nav small {
    font-size: 10px;
    font-weight: 700;
  }
  .page-shell {
    width: calc(100% - 20px);
    border-radius: 24px;
  }
}

/* ===== 2026-07-23 SP診断カード：次カードの見切れ＋画面端までのフリースライド ===== */
@media (max-width: 560px) {
  /* 見出しは従来の本文位置を維持し、スライダー部分だけ画面幅いっぱいに広げる */
  .diagnosis-section {
    margin-top: 32px;
    overflow: visible;
  }

  .diagnosis-grid > * {
    width: auto;
    min-width: 0;
  }
}

/* ===== 2026-07-23 TOP additional tuning ===== */
.slider-shell {
  position: relative;
}
.slider-shell > .carousel-buttons {
  display: flex;
  justify-content: flex-end;
  margin: -40px 80px 28px auto;
  grid-gap: 12px;
  width: 104px;
  background: rgba(243, 241, 237, 0.4);
  border-radius: 52px;
  padding: 6px;
}

/* PICK UPはテキスト込みの画像バナーに変更 */
.pickup-track {
  grid-auto-columns: min(86%, 800px);
  scroll-snap-type: x proximity;
  padding-right: 80px;
}
.pickup-card {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 0;
  border-radius: 24px;
  isolation: isolate;
  box-shadow: none;
  background: #fff;
  border: 0;
}
.pickup-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(15, 15, 20, 0.88) 0%,
    rgba(15, 15, 20, 0.68) 34%,
    rgba(15, 15, 20, 0.08) 68%,
    transparent 100%
  );
  display: none;
}
.pickup-card__link {
  display: block;
  color: inherit;
}
.pickup-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  position: static;
  z-index: -2;
  inset: auto;
  height: 100%;
  object-position: center;
  transform: none;
}
.pickup-card__content {
  position: absolute;
  inset: 0 auto 0 0;
  display: none;
  flex-direction: column;
  justify-content: center;
  width: min(58%, 570px);
  padding: clamp(24px, 4.5vw, 68px);
  color: #fff;
}

/* PCカードを少し小さくし、3枚目の端が見えるようにする */
@media (min-width: 961px) {
  .company-slider-track {
    grid-auto-columns: min(50%, 340px);
    scroll-snap-type: x proximity;
    padding-right: 1px;
    gap: 24px;
    padding-right: 80px;
  }
}

/* SPでは矢印をカードの左右に重ねて配置 */
@media (max-width: 960px) {
  .slider-shell > .carousel-buttons button {
    pointer-events: auto;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(39, 39, 39, 0.12);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
  }
  .pickup-section .slider-shell > .carousel-buttons {
    top: 50%;
  }
}

@media (max-width: 560px) {
  .pickup-track {
    grid-auto-columns: 296px;
    gap: 9px;
  }
  .slider-shell > .carousel-buttons {
    left: 0;
    right: 0;
  }
  .slider-shell > .carousel-buttons button {
    width: 36px;
    height: 36px;
  }
}

/* ===== 2026-07-23 free-slide UI refinement ===== */
/* カード自体は上へ移動させず、画像拡大と枠線変化だけでホバーを表現 */
@media screen and (min-width: 961px) {
  .company-card:hover {
    transform: none;
    border-color: rgba(255, 122, 22, 0.42);
    box-shadow: none;
  }
}

.slider-affordance {
  display: none;
}

@media (max-width: 960px) {
  /* フリースライドに対してページ送り矢印は使わず、連続スクロールのUIへ変更 */
  .slider-shell > .carousel-buttons {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: 4px;
    right: 4px;
    margin: 0;
    transform: translateY(-50%);
    justify-content: space-between;
    pointer-events: none;
    display: none;
  }

  .slider-shell {
    padding-inline: 0;
    position: relative;
  }

  /* 端のフェードで、横方向に続きがあることを自然に示す */
  .slider-shell::before {
    left: -1px;
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.92),
      rgba(255, 255, 255, 0)
    );
  }
  .slider-shell::after {
    right: -1px;
    background: linear-gradient(
      to left,
      rgba(255, 255, 255, 0.92),
      rgba(255, 255, 255, 0)
    );
  }
  .slider-shell.is-at-start::before,
  .slider-shell.is-at-end::after {
    opacity: 0;
  }

  /* スワイプ案内＋連続スクロール量を示すプログレスバー */
  .slider-affordance {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-height: 22px;
    margin-top: 10px;
    padding-right: 2px;
    color: #747474;
  }
  .slider-affordance__label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }
  .slider-affordance__label::before {
    content: "↔";
    font-size: 13px;
    line-height: 1;
  }
  .slider-progress {
    position: relative;
    width: 70px;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: #dedbd4;
  }
  .slider-progress__thumb {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    min-width: 14px;
    border-radius: inherit;
    background: #2a2a2a;
    transition:
      left 0.08s linear,
      width 0.15s ease;
  }
}

/* ===== 2026-07-23 SP card size refinement ===== */
@media (max-width: 960px) {
  /* 左右端のフェード表現は使用しない */
  .slider-shell::before,
  .slider-shell::after {
    content: none;
    position: absolute;
    z-index: 3;
    top: 0;
    bottom: 30px;
    width: 24px;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.18s ease;
    display: none;
  }
}

@media (max-width: 560px) {
  /* 診断カードは4:5比率を維持したまま少し小さくし、次カードが見える余白を増やす */
  .diagnosis-grid {
    grid-auto-columns: min(50vw, 185px);
    width: calc(100% + 50px);
    margin: 0;
    gap: 24px;
    padding: 0 20px 14px;
    scroll-padding-inline: 20px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: none;
    touch-action: pan-x pan-y pinch-zoom;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    padding-inline: 20px;
  }

  /* 企業・先輩カードもフリースライドのまま一段コンパクトにする */
  .company-slider-track {
    grid-auto-columns: min(68vw, 270px);
  }
}

@media (max-width: 380px) {
  .company-slider-track {
    grid-auto-columns: min(70vw, 223px);
  }
}

/* ===== 2026-07-24 visual audit: header / news / event ===== */
/* Reference proportions are scaled to the actual TOP content column. */
.hero-header {
  position: relative;
  padding: 16px 40px;
}
.hero-header .site-header__inner {
}
.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transform: translateY(-115%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.28s cubic-bezier(0.2, 0.75, 0.2, 1),
    opacity 0.18s ease;
  padding-block: 10px;
}
.hero-header .brand {
  display: inline-flex;
  justify-content: center;
  min-height: 44px;
  white-space: nowrap;
}
.hero-header .brand .brand__sub {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.hero-header .brand .brand__sub font {
  font-size: 22px;
}
@media (min-width: 961px) {
  .hero-header .clips-button__label,
  .fixed-header .clips-button__label {
    display: inline;
  }
}

.news-section,
.event-section {
}
.section-header--stack {
  display: block;
  margin-bottom: 40px;
}
.section-header--stack h2 {
  margin: 0 0 8px;
  font-size: clamp(34px, 3vw, 40px);
  line-height: 1.6;
  letter-spacing: -0.04em;
}
.section-header--stack p {
  margin: 0;
}

.news-list {
  display: grid;
  gap: 12px;
}
.news-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  align-items: center;
  gap: 18px;
  width: 100%;
  min-height: 106px;
  padding: 24px 26px 24px 32px;
  border: 1px solid #e4e1db;
  border-radius: 16px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease;
}
@media screen and (min-width: 961px) {
  .news-card:hover {
    border-color: #cec8be;
    background: #fdf7e6;
  }
}
.news-card__content {
  min-width: 0;
}
.news-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.news-card time {
  width: 62px;
  color: #666;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.news-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #FF8904;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.news-card strong {
  display: block;
  font-size: 15px;
  line-height: 1.55;
}
.news-card__arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #171717;
  font-size: 27px;
}

.event-grid--cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}
.event-card {
  padding: 28px 32px 30px;
  border: 1px solid #e3e0da;
  border-radius: 25px;
  background: #fff;
}
.event-card__tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.event-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.event-tag--blue {
  background: #e7edf9;
  color: #4669aa;
}
.event-tag--green {
  background: #e7f1e7;
  color: #4f8252;
}
.event-tag--pink {
  background: #f4e5eb;
  color: #a24f69;
}
.event-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}
.event-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.15;
}
.event-card.is-hidden {
  display: none;
}
.more-view-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(100%, 340px);
  min-height: 64px;
  margin: 40px auto 0;
  padding: 0 24px;
  border: 1px solid #d7d2ca;
  border-radius: 12px;
  background: #fff;
  color: #333;
  font-size: 16px;
  font-weight: 700;
  position: relative;
}
@media screen and (min-width: 961px) {
  .more-view-button:hover {
    background: #faf9f6;
  }
}
.more-view-button .material-symbols-rounded {
  font-size: 30px;
  transition: transform 0.2s ease;
  position: absolute;
  right: 12px;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
}
.more-view-button[aria-expanded="true"] .material-symbols-rounded {
  transform: rotate(180deg);
}

@media (max-width: 1280px) {
  .hero-header {
  }
  .section-header--stack h2 {
    font-size: 38px;
  }
  .news-card strong {
    font-size: 18px;
  }
  .event-card {
    padding-inline: 20px;
  }
  .event-grid--cards{
    grid-gap: 16px;
  }
  .event-grid a,
  .event-grid article{
    padding: 20px;
  }
}

@media (max-width: 960px) {
  .hero-header {
    position: absolute;
    min-height: auto;
    padding: 13px 10px;
  }
  .hero-header .site-header__inner {
    /*min-height: 44px;*/
  }
  .hero-header .brand {
    min-height: auto;
  }
  .section-header--stack {
    margin-bottom: 24px;
  }
  .section-header--stack h2 {
    margin-bottom: 8px;
    font-size: 22px;
  }
  .section-header--stack p {
    font-size: 11px;
    line-height: 1.81;
  }
  .news-section,
  .event-section {
    padding-bottom: 64px;
    margin-bottom: 64px;
  }
  .news-list {
    gap: 10px;
  }
  .news-card {
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 8px;
    min-height: 0;
    padding: 20px 10px 20px 16px;
    border-radius: 17px;
  }
  .news-card__meta {
    margin-bottom: 9px;
  }
  .news-card time {
    font-size: 10px;
  }
  .news-card__badge {
    min-height: 20px;
    padding-inline: 8px;
    font-size: 10px;
  }
  .news-card strong {
    font-size: 13px;
    line-height: 1.54;
  }
  .news-card__arrow {
    width: 28px;
    height: 28px;
    font-size: 22px;
  }
  .event-grid--cards {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .event-card {
    min-height: 0;
    padding: 21px 19px 23px;
    border-radius: 19px;
  }
  .event-card__tags {
    gap: 6px;
    margin-bottom: 13px;
  }
  .event-tag {
    padding-inline: 11px;
    font-size: 10px;
  }
  .event-card h3 {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.2;
  }
  .event-card p {
    font-size: 10px;
  }
  .more-view-button {
    min-height: 58px;
    width: 100%;
    margin-top: 18px;
    border-radius: 15px;
    font-size: 15px;
  }
  .more-view-button .material-symbols-rounded {
    font-size: 23px;
  }
}

/* Preserve category-specific filter interactions. */
.filter-group:has(.dot--blue) .filter-chips button.is-selected {
  border-color: #2b7fff;
  background: #2b7fff;
  color: #fff;
}
.filter-group:has(.dot--green) .filter-chips button.is-selected {
  border-color: #00c950;
  background: #00c950;
  color: #fff;
}
.filter-group:has(.dot--purple) .filter-chips button.is-selected {
  border-color: #ad46ff;
  background: #ad46ff;
  color: #fff;
}
.filter-group:has(.dot--pink) .filter-chips button.is-selected {
  border-color: #ff4d8d;
  background: #ff4d8d;
  color: #fff;
}

@media screen and (min-width: 961px) {
  .filter-group:has(.dot--blue) .filter-chips button:hover {
    border-color: #2b7fff;
    background: #2b7fff;
    color: #fff;
  }

  .filter-group:has(.dot--green) .filter-chips button:hover {
    border-color: #00c950;
    background: #00c950;
    color: #fff;
  }

  .filter-group:has(.dot--purple) .filter-chips button:hover {
    border-color: #ad46ff;
    background: #ad46ff;
    color: #fff;
  }

  .filter-group:has(.dot--pink) .filter-chips button:hover {
    border-color: #ff4d8d;
    background: #ff4d8d;
    color: #fff;
  }
}

/* ===== 2026-07-24 TOP SP 条件検索ボタン／ボトムシート ===== */


/*@media (max-width: 960px) {*/
  .sp-filter-trigger .material-symbols-rounded {
    font-size: 27px;
  }

  .sp-filter-trigger.has-selection .sp-filter-trigger__count {
    background: var(--orange);
    color: #fff;
  }

  .sp-filter-overlay {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: block;
    background: rgba(19, 19, 19, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  backdrop-filter: blur(5px);
  }

  .sp-filter-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  .sp-filter-sheet {
    position: fixed;
    z-index: 120;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    max-height: min(88dvh, 760px);
    overflow: hidden;
    border-radius: 26px 26px 0 0;
    background: #fff;
    box-shadow: 0 -18px 48px rgba(0, 0, 0, 0.2);
    transform: translateY(105%);
    visibility: hidden;
    transition:
      transform 0.28s cubic-bezier(0.2, 0.75, 0.2, 1),
      visibility 0s linear 0.28s;
  }

  .sp-filter-sheet.is-open {
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0s;
  }
  .bottom-sheet__handle,
  .sp-filter-sheet__handle {
    flex: 0 0 auto;
    width: 110px;
    height: 3px;
    margin: 18px auto 4px;
    border-radius: 999px;
    background: #ddd;
  }

  .sp-filter-sheet__header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 12px 18px 28px;
    margin: 0 20px;
    border-bottom: 1px dashed #d7d7d7;
    position: relative;
  }

  .sp-filter-sheet__header small {
    display: none;
    color: var(--orange-deep);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
  }

  .sp-filter-sheet__header h2 {
    font-size: 24px;
    line-height: 1.2;
  }

  .sp-filter-sheet__close {
    position: absolute;
    right: 0;
    top: 4px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f0ed;
    color: #222;
  }

  .sp-filter-sheet__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 20px 20px;
    -webkit-overflow-scrolling: touch;
  }

  .sp-filter-sheet__body .search-field {
    min-height: 46px;
  }

  .sp-filter-sheet__body .filter-group {
    padding: 18px 0;
    border-bottom: 1px dashed #d7d7d7;
  }

  .sp-filter-sheet__body .filter-group:last-of-type {
    border-bottom: none;
  }

  .sp-filter-sheet__body .filter-group h3 {
    margin-bottom: 14px;
    padding-bottom: 0;
    font-size: 18px;
    line-height: 1.2;
    background: none;
    grid-gap: 4px;
  }

  .sp-filter-sheet__body .filter-chips {
    gap: 12px;
  }

  .sp-filter-sheet__body .filter-chips button {
    min-height: 46px;
    padding: 5px 18px;
    font-size: 15px;
  }

  .sp-filter-sheet__actions {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    padding: 16px 20px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid #e7e3dc;
    background: rgba(255, 255, 255, 0.97);
  }

  .sp-filter-sheet__clear,
  .sp-filter-sheet__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 800;
  }

  .sp-filter-sheet__clear {
    padding: 0 13px;
    background: #fff;
    color: #F15B00;
  }

  .sp-filter-sheet__submit {
    display: grid;
    place-items: center;
    min-height: 48px;
    border: 1px solid #000000;
    border-radius: 999px;
    background: #ff6b35;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 2px 3px 0px 0px #000000;
  }

  body.is-filter-open {
    overflow: hidden;
  }
/*}*/

@media (max-width: 380px) {
  .sp-filter-sheet__actions {
    grid-template-columns: 1fr;
  }

  .sp-filter-sheet__clear {
    order: 2;
    min-height: 42px;
    border: 0;
  }
}

/* ===== 2026-07-24 SP 条件検索ボタン：参考イメージ準拠 ===== */
/*@media (max-width: 960px) {*/
  .sp-filter-trigger-wrap {
    position: sticky;
    top: 8px;
    z-index: 74;
    display: block;
    justify-content: flex-end;
    min-height: 0;
    margin: 0 0 22px;
    pointer-events: none;
    width: 100%;
    padding: 0;
  }

  .sp-filter-trigger {
    pointer-events: auto;
    display: grid;
    align-items: center;
    gap: 7px;
    min-height: 76px;
    padding: 0 24px;
    border: 1px solid #d8d8d8;
    border-radius: 18px;
    background: #fff;
    color: #252525;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
    position: relative;
    grid-template-columns: 1fr auto 1fr;
    width: 100%;
    line-height: 1;
  }

  .sp-filter-trigger__main {
    grid-column: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    white-space: nowrap;
  }

  .sp-filter-trigger .sp-filter-trigger__filter-icon {
    color: #252525;
    font-size: 27px;
  }

  .sp-filter-trigger__label {
    font-size: 18px;
    letter-spacing: 0.01em;
  }

  .sp-filter-trigger__chevron {
    grid-column: 3;
    justify-self: end;
    color: #111;
    font-size: 30px;
    transition: transform 0.2s ease;
  }

  .sp-filter-trigger[aria-expanded="true"] .sp-filter-trigger__chevron {
    transform: rotate(180deg);
  }

  .sp-filter-trigger__count {
    display: grid;
    place-items: center;
    display: none!important;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    background: #eceae5;
    color: #555;
    font-size: 10px;
    line-height: 1;
  }
/*}*/

@media (max-width: 560px) {
  .sp-filter-trigger-wrap {
    top: 8px;
    margin-bottom: 45px;
  }

  .sp-filter-trigger {
    min-height: 64px;
    padding-inline: 20px;
    border-radius: 12px;
  }

  .sp-filter-trigger .sp-filter-trigger__filter-icon {
    font-size: 22px;
  }

  .sp-filter-trigger__label {
    font-size: 17px;
  }

  .sp-filter-trigger__chevron {
    font-size: 28px;
  }
}

@media (max-width: 380px) {
  .sp-filter-trigger {
    min-height: 64px;
    padding-left: 12px;
    padding-inline: 17px;
  }

  .sp-filter-trigger__main {
    gap: 7px;
  }

  .sp-filter-trigger__label {
    font-size: 16px;
  }
}

/* ===== 2026-07-24 TOP diagnosis card content / illustration update ===== */
.diagnosis-card {
  position: relative;
  min-height: 0;
  padding: 56px 32px 0;
  overflow: hidden;
  border-radius: 28px;
  color: #fff;
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  text-align: left;
}
.diagnosis-card--blue {
  background: #1a85b7;
}
.diagnosis-card--purple {
  background: #b744e8;
}
.diagnosis-card--orange {
  background: #ee7600;
}
.diagnosis-card__content {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
}
.diagnosis-card__labels {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 28px;
}
.diagnosis-card__count,
.diagnosis-card__recommend {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.diagnosis-card__count {
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: transparent;
  color: #fff;
}
.diagnosis-card__recommend {
  border: 1px solid #ffc629;
  background: #ffc629;
  color: #1b1b1b;
}
.diagnosis-card h3 {
  margin: 17px 0;
  font-size: clamp(28px, 2.25vw, 34px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.08em;
}
.diagnosis-card p {
  margin: 0;
  line-height: 1.2;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 400;
}
.diagnosis-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 51px;
  margin-top: 25px;
  padding: 0 28px;
  border-radius: 999px;
  background: #3d2cff;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  box-shadow: none;
  transition:
    background-color 0.18s ease,
    transform 0.18s ease;
}
@media screen and (min-width: 961px) {
  .diagnosis-card:hover .diagnosis-card__cta {
    background: #2d1cf4;
    transform: translateX(2px);
  }
}
.diagnosis-card__pairing {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 25px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.diagnosis-card__pairing em {
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
}
.diagnosis-card__visual {
  display: flex;
  margin-top: 48px;
}
.diagnosis-card__visual--workstyle {
  margin-top: 53px;
}
.diagnosis-card__visual--workstyle img {
  width: 94.6%;
}
.diagnosis-card__visual--career {
  margin: 48px 0 -4px -37px;
}
.diagnosis-card__visual--career img {
  width: 91%;
}
.diagnosis-card__visual--ehimetchi {
  justify-content: center;
}
.diagnosis-card__visual--ehimetchi img {
  width: 76%;
}
@media (max-width: 1100px) {
  .diagnosis-card{
    padding: 56px 20px 0;
  }
}
@media (max-width: 960px) {
  .diagnosis-card {
    padding: 27px 16px 0;
  }
  .diagnosis-card h3 {
    font-size: clamp(27px, 7vw, 34px);
  }
  .diagnosis-card p {
    font-size: 14px;
  }
  .diagnosis-card__cta {
    min-height: 43px;
    margin-top: 14px;
    padding-inline: 18px;
    font-size: 13px;
  }
  .diagnosis-card__pairing {
    margin-top: 8px;
    font-size: 13px;
  }
  .diagnosis-card__visual {
    margin-top: 24px;
  }
  .diagnosis-card__visual--career{
    margin: 24px 0 -2px -18px;
  }
}

@media (max-width: 560px) {
  .diagnosis-card {
    min-height: 0;
    border-radius: 14px;
    width: 100%;
    padding: 27px 16px 0;
  }
  .diagnosis-card__labels {
    gap: 6px;
    min-height: 14px;
  }
  .diagnosis-card__count,
  .diagnosis-card__recommend {
    min-height: 14px;
    padding: 0 6px;
    font-size: 7px;
  }
  .diagnosis-card h3 {
    font-size: 16px;
    margin: 8px 0;
  }
  .diagnosis-card p {
    font-size: 8px;
  }
  .diagnosis-card__cta {
    min-height: 24px;
    margin-top: 11px;
    padding-inline: 13px;
    font-size: 9px;
  }
  .diagnosis-card__pairing {
    display: none;
  }
  .diagnosis-card__pairing em {
    font-size: 13px;
  }
}
@media screen and (min-width: 961px) {
  .news-section,
  .event-section,
  .services {
    padding-right: clamp(40px, 5.5vw, 80px);
  }
  .site-footer__operation{
    padding-left: 20px;
  }
}

/* ===== footer ===== */
.site-footer {
  padding: 24px 0 20px;
  background: var(--yellow);
}

.site-footer__inner {
  width: calc(100% - 40px);
  max-width: var(--shell-max);
  margin: 0 auto;
}

.site-footer__panel {
  overflow: hidden;
  border-radius: 24px;
  background: #111111;
  color: #ffffff;
  padding: 0 40px 44px;
}

.site-footer__logo img {
  width: 100%;
  height: auto;
}

.site-footer__content {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.75fr);
  gap: clamp(50px, 7vw, 110px);
  margin-top: clamp(90px, 10vw, 135px);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 22px;
}

.site-footer__links span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}
.site-footer__operation p {
  margin: 0;
  color: #ffffff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: .06em;
}
.site-footer__operation p span{
  font-weight: 500;
}

.site-footer__operation p + p {
  margin-top: 16px;
}
.site-footer__description p{
  font-size: 10px;
  line-height: 1.9;
  font-weight: 500;  
  letter-spacing: .06em;
}

.site-footer__faq {
  display: flex;
  flex-wrap: wrap;
  grid-gap: 10px 24px;
  margin-top: 33px;
  padding-left: 20px;
}

.site-footer__faq a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  transition: opacity .3s;
}

.site-footer__faq span {
  font-size: 12px;
}

.site-footer__copyright {
  margin: 24px 0 0;
  color: #111111;
  font-size: 11px;
  font-weight: 500;
  text-align: center;
}

@media screen and (min-width: 961px) {
  .site-footer__faq a:hover {
    opacity: .7;
  }
}

@media screen and (max-width: 960px) {
  .site-footer {
    padding: 12px 0 100px;
  }

  .site-footer__inner {
    width: calc(100% - 20px);
  }

  .site-footer__panel {
    padding: 0 16px 40px;
    border-radius: 20px;
  }

  .site-footer__content {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 42px;
    margin-top: 36px;
  }

  .site-footer__description p,
  .site-footer__operation p {
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: .05em;
  }
  .site-footer__description p{
    line-height: 1.9;
  }

  .site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
  }

  .site-footer__links span {
    min-height: 34px;
    padding: 0 10px;
    font-size: 11px;
  }

  .site-footer__operation p + p {
    margin-top: 18px;
  }

  .site-footer__faq {
    grid-gap: 10px 20px;
    margin-top: 20px;
    padding-left: 0;
  }

  .site-footer__faq a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #ffffff;
    font-size: 10px;
    font-weight: 500;
  }

  .site-footer__faq span {
    font-size: 10px;
  }

  .site-footer__copyright {
    margin-top: 16px;
    font-size: 11px;
  }


  .site-footer__logo {
    width: calc(100% + 12px);
    margin-left: -6px;
  }
}
@media screen and (max-width: 960px) {
  .diagnosis-lead{
    width: 212px;
  }
  .diagnosis-section{
    width: 100%;
    padding: 0 10px;
  }
  .diagnosis-grid{
    box-sizing: content-box;
    padding: 0 0 30px 0;
    margin: 0;
  }
  .pickup-card{
    border-radius: 8px;
  }
  .company-card .match{
    left: 11px;
    bottom: 11px;
    width: 58px;
    height: 58px;
    border: 3px solid var(--orange);
  }
  .company-card .match > span{
    font-size: 7px;
  }
  .company-card .match strong{
    font-size: 17px;
  }
  .company-card__body{
    padding: 16px 10px 20px;
  }
  .company-card h3 {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
  }
  .company-card p{
    font-size: 10px;
    line-height: 1.2;
  }
  .company-tags span{
    font-size: 9px;
  }
  .event-grid a,
  .event-grid article{
    padding: 24px 16px;
  }
  .event-grid span {
    min-height: 20px;
    font-size: 10px;
    padding: 0 8px;
  }
}
@media screen and (min-width: 961px) {
  .event-grid a:hover{
    background: #fdf7e6;
  }
  .sp {
      display: none!important;
  }
  .pc-filter-trigger{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    grid-gap: 3px;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 500;
    color: #364153;
  }
  .pc-filter-trigger .underline_span{
    font-size: 13px;
    text-decoration: underline;
  }
  .pc-filter-trigger:hover .underline_span{
    text-decoration: none;
  }
  /*.pc-filter-trigger*/
  .sp-filter-trigger{
    display: none!important;
  }
  .sp-filter-sheet {
    left: 50%;
    top: 50%;
    right: auto;
    bottom: auto;
    width: 720px;
    transform: translate(-50%,-50%);
    max-height: min(88dvh, 600px);
    border-radius: 26px;
    visibility: hidden;
    opacity: 0;
    transition: transform 0.28s cubic-bezier(0.2, 0.75, 0.2, 1),
      visibility 0s linear 0.28s,
      opacity linear 0.28s;
  }
  .sp-filter-sheet.is-open {
    opacity: 1;
    transform: translate(-50%,-50%);
  }
  .sp-filter-sheet__handle{
    display: none;
  }
  .sp-filter-sheet__header{
    justify-content: flex-start;
    padding: 36px 30px 23px;
    margin: 0;
    border-bottom: 1px solid #EBE8E1;
  }
  .sp-filter-sheet__header h2{
    font-size: 28px;
    margin-bottom: 7px;
  }
  .sp-filter-sheet__header p{
    font-size: 13px;
    font-weight: 400;
    color: #687080;
  }
  .sp-filter-sheet__close{
    top: 30px;
    right: 30px;
  }
  .sp-filter-sheet__body .filter-group h3 {
    margin-bottom: 12px;
    padding-bottom: 0;
    font-size: 15px;
    line-height: 1.2;
    background: none;
    grid-gap: 7px;
  }
  .sp-filter-sheet__body .filter-group h3 .dot {
    width: 7px;
    height: 7px;
  }
  .sp-filter-sheet__body .filter-group{
    padding: 20px 0;
  }
  .sp-filter-sheet__body .filter-chips {
    gap: 9px;
  }
  .sp-filter-sheet__body .filter-chips button {
    min-height: 38px;
    padding: 4px 13px;
    font-size: 13px;
  }
  .sp-filter-sheet__body{
    padding: 0 30px 20px;
  }
  .sp-filter-sheet__actions {
    gap: 12px;
    padding: 16px 30px 22px;
  }

  .sp-filter-sheet__clear,
  .sp-filter-sheet__submit {
    min-height: 50px;
    font-size: 13px;
  }

  .sp-filter-sheet__clear {
    padding: 0 18px;
    background: #fff;
    color: #555555;
    border: 1px solid #D9D5CD;
  }

  .sp-filter-sheet__submit {
    min-height: 50px;
    border: 1px solid #FF7817;
    background: #FF7817;
    color: #fff;
    font-size: 13px;
    box-shadow: none;
  }
  .section-header div{
    width: 100%;
  }
  .section-header p{
    max-width: calc(100% - 110px - 80px);
  }
}

@media only screen and (max-width : 960px){
  .pc {
    display: none!important;
  }
}

/* ===== PICK UP drawer PC ===== */
.pickup-card__link {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

body.is-pickup-open,
body.is-news-open {
  overflow: hidden;
}

.pickup-drawer {
  position: fixed;
  z-index: 500;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: visibility 0.3s ease, opacity 0.3s ease;
}

.pickup-drawer.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  backdrop-filter: blur(5px);
}

.pickup-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(19, 19, 19, 0.42);
}

.pickup-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: 640px;
  max-width: 100%;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.18);
  transform: translateX(640px);
  transition: transform 0.36s cubic-bezier(0.22, 0.75, 0.2, 1);
}

.pickup-drawer.is-open .pickup-drawer__panel {
  transform: translateX(0);
}

.pickup-drawer__close {
  position: absolute;
  z-index: 3;
  top: 15px;
  right: 655px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  color: #ffffff;
  transform: translateX(640px);
  transition: transform 0.36s cubic-bezier(0.22, 0.75, 0.2, 1);
}

.pickup-drawer.is-open .pickup-drawer__close {
  transform: translateX(0);
}

.pickup-drawer__close span {
  font-size: 36px;
  font-weight: 300;
  line-height: 1;
}

.pickup-drawer__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.pickup-drawer__page {
  display: none;
}

.pickup-drawer__page.is-active {
  display: block;
}

.pickup-drawer__company {
  padding: 32px 48px 28px;
}

.pickup-drawer__company h2 {
  margin: 0 0 15px;
  font-size: 20px;
  line-height: 1.8;
}

.pickup-drawer__company-table {
  padding: 20px;
  border: 1px solid #CFD8DC;
  border-radius: 20px;
}

.pickup-drawer__company-table > div {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 0;
  padding: 10px 0;
  border-bottom: 1px solid #ccd6dc;
}

.pickup-drawer__company-table > div:last-child {
  border-bottom: 0;
}

.pickup-drawer__company-table span,
.pickup-drawer__company-table p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.pickup-drawer__company-table span {
  color: #607D8B;
}

.pickup-drawer__company-table a {
  color: #0292D9;
  text-decoration: underline;
}
@media screen and (min-width: 961px) {
  .pickup-drawer__company-table a:hover{
    text-decoration: none;
  }
}
.pickup-drawer__company-table a.map_link{
  margin-left: 5px;
  font-size: 12px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 20px;
  border-radius: 10px;
  background: #607D8B;
  border: 1px solid #607D8B;
  color: #fff;
  box-shadow: 0px 1px 2px 0px #0000003D;
  text-decoration: none;
  transition: all .3s;
}
@media screen and (min-width: 961px) {
  .pickup-drawer__company-table a.map_link:hover{
    background: #fff;
    color: #607D8B;
  }
}

.pickup-drawer__company-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  margin-top: 27px;
  border-radius: 12px;
  background: #ff8400;
  border: 1px solid #ff8400;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0px 4px 6px -1px #0000001A;
  transition: all .3s;
}
@media screen and (min-width: 961px) {
  .pickup-drawer__company-link:hover{
    background: #fff;
    color: #ff8400;
  }
}

.pickup-drawer__page img,
.pickup-drawer__main-image {
  width: 100%;
  /*aspect-ratio: 640 / 360;*/
}

.pickup-drawer__article {
  padding: 38px 48px 40px;
}

.pickup-drawer__article h3 {
  display: inline-block;
  margin: 0 0 24px;
  padding: 5px 8px;
  border-radius: 4px;
  background: #F9F1DA;
  font-size: 24px;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.pickup-drawer__article p {
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  font-weight: 500;
}

.pickup-drawer__article img {
  width: 100%;
  margin: 33px 0;
  border-radius: 8px;
}

.pickup-drawer__pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  flex: 0 0 auto;
  padding: 29px 48px;
  border-top: 1px solid #dddddd;
  background: #ffffff;
}

.pickup-drawer__pager button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 57px;
  padding: 0 18px;
  border: 1px solid #d8dde0;
  border-radius: 30px;
  background: #ffffff;
  color: #364153;
  font-size: 14px;
}
.pickup-drawer__pager button span{
  font-size: 20px;
  transition: transform 0.36s cubic-bezier(0.22, 0.75, 0.2, 1);
}
@media screen and (min-width: 961px) {
  .pickup-drawer__pager button:hover span{
    transform: translateX(-6px);
  }
  .pickup-drawer__pager button+button:hover span{
    transform: translateX(6px);
  }
}


/* ===== NEWS drawer PC ===== */
.news-drawer__header {
  padding: 36px 0 23px;
  border-bottom: 1px solid #DDDDDD;
  margin: 0 48px;
}

.news-drawer__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.news-drawer__meta > span {
  color: #666;
  font-size: 14px;
  font-weight: 400;
}

.news-drawer__meta .news-drawer__badge {
  padding: 3px 10px;
  border-radius: 12px;
  background: #FF8904;
  color: #ffffff;
  font-size: 12px;
}

.news-drawer__header h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.5;
}

.news-drawer .pickup-drawer__pager {
  grid-template-columns: 1fr;
}

.news-drawer .pickup-drawer__pager button {
  font-size: 14px;
  width: 250px;
  margin: 0 auto;
  color: #364153;
  transition: all .3s;
}
@media screen and (min-width: 961px) {
  .news-drawer .pickup-drawer__pager button:hover{
    background: #364153;
    color: #fff;
  }
}

/* ===== PICK UP / NEWS drawer SP ===== */
@media screen and (max-width: 960px) {
  .pickup-drawer__panel {
    width: 100%;
    transform: translateX(100%);
  }

  .pickup-drawer__close {
    top: 15px;
    right: 15px;
    left: auto;
    color: #364153;
    transform: translateX(100%);
  }

  .pickup-drawer__company {
    padding: 32px 20px 28px;
  }

  .pickup-drawer__article {
    padding: 30px 20px 10px;
  }

  .pickup-drawer__pager {
    padding: 15px 20px;
    grid-gap: 20px;
  }

  .news-drawer__header {
    margin-right: 20px;
    margin-left: 20px;
  }
  .news-drawer__header h2{
    font-size: 20px;
  }
  .pickup-drawer__company-table > div{
    grid-template-columns: 100px 1fr;
  }
  .pickup-drawer__article h3{
    font-size: 18px;
  }
  .pickup-drawer__pager button{
    height: 48px;
    line-height: 1.2;
  }
  .pickup-drawer__pager button span{
    font-size: 18px;
  }
  .pickup-drawer__article div p {
    margin: 0 0 21px;
    font-size: 14px;
    line-height: 1.5;
  }
  .pickup-drawer__company-table{
    padding: 7px 12px;
    border-radius: 12px;
  }
}

/* ===== STAFF DETAIL PC ===== */
.staff_detial_shell {
  padding: 40px 20px 80px;
}

.staff-detial__layout {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 1189px;
  margin: 0 auto;
}

.staff-detial__main {
  min-width: 0;
  width: 800px;
  max-width: calc(100% - 300px - 20px);
}

.staff-detial__hero {
  display: flex;
  justify-content: space-between;
  grid-template-columns: 310px 1fr;
  align-items: center;
  gap: 20px;
}

.staff-detial__portrait {
  width: 38.75%;
  aspect-ratio: 310 / 358;
  overflow: hidden;
  border-radius: 20px;
}

.staff-detial__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-detial__profile {
  width: calc(100% - 38.75% - 20px);
  max-width: 450px;
  min-width: 0;
}

.staff-detial__type {
  display: inline-block;
  margin: 0 0 17px;
  padding: 0 11px;
  border-radius: 20px;
  background: #FFF7ED;
  color: #FF8904;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 700;
  box-shadow: 0px 1px 3px 0px #0000001A;
}

.staff-type-realistic {
  border-color: #F1BE43 !important;
  background-color: #F1BE43 !important;
  color: #FFFFFF !important;
}

.staff-type-investigative {
  border-color: #E18635 !important;
  background-color: #E18635 !important;
  color: #FFFFFF !important;
}

.staff-type-artistic {
  border-color: #766CA9 !important;
  background-color: #766CA9 !important;
  color: #FFFFFF !important;
}

.staff-type-social {
  border-color: #D2302A !important;
  background-color: #D2302A !important;
  color: #FFFFFF !important;
}

.staff-type-enterprising {
  border-color: #64AB4A !important;
  background-color: #64AB4A !important;
  color: #FFFFFF !important;
}

.staff-type-conventional {
  border-color: #4EACE6 !important;
  background-color: #4EACE6 !important;
  color: #FFFFFF !important;
}

.staff-detial__company {
  margin: 0 0 8px;
  color: #111111;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
}

.staff-detial__company-name,
.staff-detial__profile h1,
.staff-detial__summary {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.staff-detial__profile h1 {
  margin: 0;
  color: #111111;
  font-size: 38px;
  line-height: 1;
}

.staff-detial__summary {
  margin: 8px 0 0;
  color: #6A7282;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
}

.staff-detial__match {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  margin-top: 16px;
  padding: 32px 40px;
  border: 1px solid #FF8904;
  border-radius: 20px;
}

.staff-detial__match-score > span {
  color: #FF8904;
  font-size: 14px;
  font-weight: 700;
}

.staff-detial__match-score p {
  margin: 0;
  color: #FF8904;
  font-size: 45px;
  font-weight: 900;
  line-height: 1;
}

.staff-detial__match-score p span {
  font-size: 29px;
}

.staff-detial__match > p {
  margin: 0;
  color: #252525;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.75;
  max-width: 485px;
}

.staff-detial__match > p a {
  color: #FF8904;
  text-decoration: underline;
}
.staff-detial__match > p a:hover{
  text-decoration: none;
}

.staff-detial__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 8px;
  margin-top: 16px;
}

.staff-detial__facts > div {
  min-width: 0;
  padding: 20px 20px;
  border-radius: 16px;
  background: #f5f5f5;
}

.staff-detial__facts span {
  color: #666666;
  font-size: 12px;
  line-height: 1.2;
  display: block;
}

.staff-detial__facts p {
  margin: 8px 0 0;
  color: #111;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.staff-detial__block {
  margin-top: 80px;
}

.company-detial__section > h2,
.company-detial__section-title h2,
.staff-detial__block > h2 {
  margin: 0 0 24px;
  color: #101828;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
}

.staff-detial__type-card {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 68px 68px 68px 50px;
  border-radius: 20px;
  background: #faf9f6;
}

.staff-detial__type-copy{
  width: 368px;
  max-width: calc(100% - 240px - 30px);
}
.staff-detial__type-copy h3 {
  display: inline-flex;
  align-items: center;
  height: 40px;
  margin: 0 0 16px;
  padding: 0 16px;
  border-radius: 22px;
  background: #ff8400;
  color: #ffffff;
  font-size: 20px;
}

.staff-detial__type-copy p {
  margin: 0;
  color: #111;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.75;
}

.staff-detial__chart {
  width: 240px;
}

.staff-detial__chart-legend {
  position: absolute;
  top: 26px;
  right: 31px;
  display: grid;
  gap: 6px;
}

.staff-detial__chart-legend span {
  position: relative;
  padding-left: 32px;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.staff-detial__chart-legend span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 23px;
  border-top: 2px dashed #FF8904;
  content: "";
}

.staff-detial__chart-legend span:last-of-type:before {
  border-top-style: solid;
  border-top-color: #5E8B7E;
  border-width: 3px;
}

.staff-detial__interviews {
  display: grid;
  gap: 24px;
}

.staff-detial__interview {
  overflow: hidden;
  border: 2px solid #E9ECF2;
  border-radius: 8px;
  background: #ffffff;
}

.staff-detial__interview h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 16px;
  background: #E9ECF2;
  color: #272727;
  font-size: 20px;
  line-height: 1.5;
}

.staff-detial__interview h3 span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: #ff8400;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  font-family: 'roboto',"Noto Sans JP", system-ui, sans-serif;
}

.staff-detial__answer {
  padding: 24px;
}

.staff-detial__answer--image {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
}

.staff-detial__answer--image img {
  max-width: 320px;
  width: 40%;
  aspect-ratio: 320 / 213;
  object-fit: cover;
  border-radius: 8px;
}
.staff-detial__answer--image div{
  max-width: 392px;
}
.staff-detial__answer p {
  margin: 0;
  color: #2C2A29;
  font-size: 16px;
  line-height: 1.5;
}

.staff-detial__answer .staff-detial__answer-lead {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
}

/*
 * 1日のスケジュール。時刻の列は各列で一番長い時刻（例：10:00~12:00）に合わせて広がり、
 * その右に●と線、残りを本文に使う（行は subgrid で列幅をそろえる）。
 */
.staff-detial__schedule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
  padding: 40px;
  border-radius: 20px;
  background: #faf9f6;
}

.staff-detial__schedule-column {
  display: grid;
  grid-template-columns: minmax(60px, max-content) 16px minmax(0, 1fr);
  grid-auto-rows: auto;
  align-content: start;
  column-gap: 24px;
  row-gap: 40px;
  min-width: 0;
}

.staff-detial__schedule-column > div {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  align-items: start;
}

.staff-detial__schedule-column > div::before {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  margin-top: 8px;
  width: 12px;
  height: 12px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #ff8400;
  box-shadow: 0 0 0 1px #ff8400;
  box-sizing: border-box;
  content: "";
  z-index: 1;
}

/* ●の下から次の行の●までつなぐ線（行の間隔ぶん下に伸ばす） */
.staff-detial__schedule-column > div:after {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  align-self: stretch;
  width: 1px;
  margin-top: 20px;
  margin-bottom: -48px;
  background: #ff8400;
  content: "";
}
.staff-detial__schedule-column > div:last-child:after {
  content: none;
}

.staff-detial__schedule-column span {
  grid-column: 1;
  grid-row: 1;
  color: #ff7900;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

.staff-detial__schedule-column p {
  grid-column: 3;
  grid-row: 1;
  margin: 0;
  color: #222222;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.71;
  padding-top: 2px;
}

.staff-detial__related > h2 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon_related {
  min-width: 26px;
  width: 26px;
  height: 26px;
  background: url(../img/staff_detail/icon_related.svg)no-repeat;
  background-size: 100% auto;
}

.staff-detial__staff-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 32px 24px;
}

.staff-detial__staff-card {
  display: block;
  padding: 33px;
  border: 2px solid #EBE6DF;
  border-radius: 32px;
  color: #101828;
  box-shadow: 0px 1px 3px 0px #0000001A;
  transition: border-color 0.2s ease;
}

.staff-detial__staff-head {
  display: grid;
  grid-template-columns: 72px 1fr 74px;
  align-items: flex-start;
  gap: 12px;
}

.staff-detial__staff-head > img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0px 1px 3px 0px #0000001A;
}

.staff-detial__staff-head h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.625;
  font-weight: 700;
}

.staff-detial__staff-head div p {
  margin: 0 0 10px;
  color: #6A7282;
  font-size: 12px;
}

.staff-detial__staff-head div span {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 14px;
  background: #fff7ef;
  border: 1px solid #FFEDD4;
  color: #F54900;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 700;
  box-shadow: 0px 1px 3px 0px #0000001A;
}

.staff-detial__staff-score {
  margin-top: 7px;
  width: 74px;
  padding: 8px 5px;
  border: 1px solid #FF8904;
  border-radius: 12px;
  color: #FF8904;
  font-size: 22px;
  line-height: 1;
  text-align: center;
  font-weight: 700;
}

.staff-detial__staff-score span {
  display: block;
  color: #6A7282;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 500;
}

.staff-detial__staff-message {
  position: relative;
  margin: 12px 0 0;
  padding: 20px;
  border: 1px solid #EBE6DF;
  border-radius: 20px;
  background: #faf9f6;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.staff-detial__staff-message::before {
  position: absolute;
  top: -8px;
  left: 29px;
  width: 14px;
  height: 14px;
  border-top: 1px solid #e8e2da;
  border-left: 1px solid #e8e2da;
  background: #faf9f6;
  content: "";
  transform: rotate(45deg);
}

.staff-detial__staff-link {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
  color: #364153;
}

.staff-detial__staff-link span {
  width: 18px;
  height: 18px;
  font-size: 0;
  background: url(../img/common/arrow_right.svg)no-repeat center center;
  background-size: 18px auto;
}


/* !breadcrumb
---------------------------------------------------------- */
#breadcrumb {
  width: 100%;
  padding: 78px 0;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
  text-align: left;
}

#breadcrumb ul {
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-start;
}

#breadcrumb ul li {
  word-break: keep-all;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
  position: relative;
  color: #111;
}

#breadcrumb ul li + li:before {
  content: '›';
  font-size: 18px;
  line-height: 1;
  z-index: 2;
  width: 25px;
  text-align: center;
  display: inline-block;
  text-indent: 0;
  position: absolute;
  left: 0;
  top: -3px;
}

#breadcrumb ul li + li {
  padding-left: 25px;
}

#breadcrumb ul li:last-child {
  word-break: break-all;
  white-space: unset;
}

#breadcrumb ul li a{
  text-indent: 0;
  color: #111;
  text-decoration: underline;
  line-height: 1.5;
  display: inline-block;
}
#breadcrumb ul li a:hover{
  text-decoration: none;
}

.staff-detial__back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 54px;
  width: 100%;
  padding: 0 14px;
  border: 1px solid #d8dde5;
  border-radius: 30px;
  color: #344054;
  font-size: 14px;
  font-weight: 400;
}

.staff-detial__back span {
  width: 20px;
  height: 20px;
  font-size: 0;
  background: url(../img/common/arrow_right.svg)no-repeat center center;
  background-size: 100% auto;
  transform: rotateY(-180deg);
}

.staff-detial__side {
  min-width: 0;
  width: 300px;
}

.staff-detial__contact {
  position: sticky;
  top: 90px;
  padding: 24px;
  border: 1px solid #E5E7EB;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0px 4px 6px -1px #0000001A;
}

.staff-detial__contact h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #F3F4F6;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 700;
}

.icon_side {
  min-width: 18px;
  width: 18px;
  height: 18px;
  background: url(../img/staff_detail/icon_side.svg)no-repeat;
  background-size: 100% auto;
}

.staff-detial__contact-links {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.staff-detial__contact-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  gap: .25em;
  padding: 0 14px;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  color: #364153;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0px 1px 3px 0px #0000001A;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.staff-detial__contact-links a.is-outline {
  border-color: #FF8904;
  color: #FF8904;
  height: 60px;
}

.staff-detial__contact-links a.is-primary {
  border-color: #FF8904;
  background: #FF8904;
  color: #ffffff;
  height: 60px;
}

@media screen and (min-width: 961px) {
  .staff-detial__staff-card:hover {
    border-color: #ff8400;
  }

  .staff-detial__back:hover {
    background: #f6f7f8;
  }

  .staff-detial__contact-links a:hover {
    background: #344054;
    color: #ffffff;
  }

  .staff-detial__contact-links a.is-outline:hover {
    background: #FF8904;
    color: #ffffff;
  }

  .staff-detial__contact-links a.is-primary:hover {
    background: #ffffff;
    color: #FF8904;
  }
  .diagnosis_btn:hover{
    background: #fff;
    color: #FF8904;
  }

}



/*chart*/
.staff-detial__chart{
  position: relative;
}
.radar-chart-3 {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    padding: 30px;
}
.is_after{
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9;
}
.radar-chart-3 svg {
    width: 100%;
    height: 100%;
}

.radar-chart-3 dl {
    position: absolute;
    width: 100%;
    height: 100%;
}

.radar-chart-3 dl > div {
    position: absolute;
    color: #615D54;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.radar-chart-3 dl > div:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.radar-chart-3 dl > div:nth-child(2) {
    top: 20%;
    right: 10%;
    transform: translateX(50%);
}

.radar-chart-3 dl > div:nth-child(3) {
    bottom: 24%;
    right: 10%;
    transform: translateX(50%);
}

.radar-chart-3 dl > div:nth-child(4) {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.radar-chart-3 dl > div:nth-child(5) {
    bottom: 24%;
    left: 10%;
    transform: translateX(-50%);
}

.radar-chart-3 dl > div:nth-child(6) {
    top: 20%;
    left: 10%;
    transform: translateX(-50%);
}

.radar-chart-3 dd {
    margin: 0;
    display: none;
}
/*chart*/
.staff-detial__type-diagnosis-title{
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 10px;
}
.staff-detial__type-diagnosis-text{
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
  color: #6A7282;
}
.staff-detial__type-diagnosis-btn{
  margin-top: 16px;
}
.diagnosis_btn{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 283px;
  max-width: 100%;
  height: 47px;
  border-radius: 30px;
  border: 1px solid #FF8904;
  background: #FF8904;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  transition: color 0.2s ease, background-color 0.2s ease;
}


.staff-detial__match-diagnosis {
  text-align: center;
  margin-top: 16px;
  padding: 26px 40px;
  border: 1px solid #FF8904;
  background: #FCF6EF;
  border-radius: 20px;
}
.staff-detial__match-diagnosis .staff-detial__type-diagnosis-title{
  font-size: 18px;
  font-weight: 700;
}
.staff-detial__match-diagnosis .staff-detial__type-diagnosis-text{
  font-weight: 400;
}
@media screen and (max-width: 1199px) and (min-width: 961px) {
  .staff-detial__schedule{
    padding: 40px 20px;
    column-gap: 24px;
  }
  .staff-detial__schedule-column{
    column-gap: 12px;
  }
  .staff-detial__staff-card{
    padding: 33px 20px;
  }

  .staff-detial__main{
    max-width: calc(100% - 260px - 20px);
  }
  .staff-detial__side{
    width: 260px;
  }
  .staff-detial__contact{
    padding: 24px 20px;
  }
  .staff-detial__contact h2{
    font-size: 16px;
  }
}
@media screen and (max-width: 1099px) and (min-width: 961px) {
  .staff-detial__type-card{
    padding: 68px 20px;
  }
  .staff-detial__staff-grid {
    grid-template-columns: repeat(1,1fr);
  }
  .staff-detial__interview h3{
    font-size: 18px;
  }
  .staff-detial__answer .staff-detial__answer-lead{
    font-size: 18px;
    margin-bottom: 10px;
  }
  .staff-detial__answer p{
    font-size: 15px;
  }
}

/* ===== STAFF DETAIL SP ===== */
@media screen and (max-width: 960px) {
  .staff_detial_shell {
    padding: 30px 20px 60px;
  }

  .staff-detial__layout {
    display: block;
    width: 100%;
  }

  .staff-detial__main {
    width: 100%;
    max-width: 100%;
  }

  .staff-detial__hero {
    display: block;
  }

  .staff-detial__portrait {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .staff-detial__profile {
    width: 100%;
    max-width: 100%;
    margin-top: 24px;
  }

  .staff-detial__type {
    margin-bottom: 14px;
    font-size: 14px;
  }

  .staff-detial__profile h1 {
    font-size: 34px;
  }

  .staff-detial__summary {
    font-size: 13px;
    line-height: 1.6;
  }

  .staff-detial__match {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 20px;
  }

  .staff-detial__match > p {
    font-size: 14px;
    line-height: 1.7;
  }

  .staff-detial__match-diagnosis {
    padding: 24px 15px;
  }

  .staff-detial__match-diagnosis .staff-detial__type-diagnosis-title {
    font-size: 16px;
  }

  .staff-detial__facts {
    grid-template-columns: 1fr;
  }

  .staff-detial__facts > div {
    padding: 18px 20px;
  }

  .staff-detial__facts p {
    line-height: 1.5;
  }

  .staff-detial__block {
    margin-top: 56px;
  }

  .company-detial__section > h2,
  .company-detial__section-title h2,
  .staff-detial__block > h2 {
    margin-bottom: 20px;
    font-size: 22px;
  }

  .staff-detial__type-card {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 58px 20px 30px;
  }

  .staff-detial__type-copy {
    order: 2;
    width: 100%;
    max-width: 100%;
  }

  .staff-detial__type-copy h3 {
    height: auto;
    padding: 7px 14px;
    font-size: 18px;
    line-height: 1.4;
  }

  .staff-detial__type-copy p {
    font-size: 14px;
    line-height: 1.75;
  }

  .staff-detial__chart {
    order: 1;
    width: 240px;
    max-width: 100%;
  }

  .staff-detial__chart-legend {
    top: 20px;
    right: 20px;
  }

  .radar-chart-3 {
    padding: 28px;
  }

  .radar-chart-3 dl > div {
    font-size: 12px;
  }

  .staff-detial__type-diagnosis-title {
    font-size: 18px;
  }

  .staff-detial__type-diagnosis-text {
    font-size: 13px;
  }

  .diagnosis_btn {
    width: 100%;
    font-size: 15px;
  }

  .staff-detial__interviews {
    gap: 20px;
  }

  .staff-detial__interview h3 {
    align-items: flex-start;
    padding: 14px;
    font-size: 17px;
  }

  .staff-detial__interview h3 span {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .staff-detial__answer {
    padding: 20px;
  }

  .staff-detial__answer--image {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .staff-detial__answer--image img {
    width: 100%;
    max-width: 100%;
  }

  .staff-detial__answer--image div {
    width: 100%;
    max-width: 100%;
  }

  .staff-detial__answer p {
    font-size: 14px;
    line-height: 1.7;
  }

  .staff-detial__answer .staff-detial__answer-lead {
    margin-bottom: 12px;
    font-size: 18px;
  }

  .staff-detial__schedule {
    grid-template-columns: minmax(52px, max-content) 16px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 28px;
    padding: 30px 20px;
  }

  .staff-detial__schedule-column {
    display: contents;
  }

  .staff-detial__schedule-column > div:after {
    margin-bottom: -36px;
  }

  /* 1列にまとめるため、線は最後の列の最後の行でだけ止める */
  .staff-detial__schedule-column:not(:last-child) > div:last-child:after {
    content: "";
  }

  .staff-detial__schedule-column span {
    font-size: 16px;
  }

  .staff-detial__schedule-column p {
    font-size: 13px;
    line-height: 1.65;
  }

  .staff-detial__staff-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .staff-detial__staff-card {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .staff-detial__staff-head {
    grid-template-columns: 64px minmax(0, 1fr) 64px;
    gap: 10px;
  }

  .staff-detial__staff-head > img {
    width: 64px;
    height: 64px;
  }

  .staff-detial__staff-head div span {
    padding: 4px 7px;
    font-size: 9px;
  }

  .staff-detial__staff-score {
    width: 64px;
    font-size: 20px;
  }

  .staff-detial__staff-message {
    padding: 18px;
    font-size: 14px;
  }

  .staff-detial__staff-link {
    padding: 13px 10px;
    font-size: 13px;
  }

  #breadcrumb {
    overflow-x: auto;
    padding: 50px 0;
  }

  #breadcrumb ul {
    min-width: max-content;
  }

  .staff-detial__back {
    height: 50px;
  }

  .staff-detial__side {
    width: 100%;
    margin-top: 56px;
  }

  .staff-detial__contact {
    position: static;
    padding: 24px 20px;
    border-radius: 20px;
  }

  .staff-detial__contact h2 {
    font-size: 17px;
  }

  .staff-detial__contact-links a,
  .staff-detial__contact-links a.is-outline,
  .staff-detial__contact-links a.is-primary {
    height: 52px;
    font-size: 14px;
  }
}

/* ===== COMPANY DETAIL PC ===== */
.company-detial__visual {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 30px 30px 0 0;
}

.company-detial__visual img {
  width: 100%;
  aspect-ratio: 800 / 450;
  object-fit: cover;
}

.company_detial_shell > .staff-detial__layout {
  margin-top: -40px;
  position: relative;
  z-index: 8;
  padding: 0 20px;
  max-width: 1229px;
}

.company-detial__main {
  padding-top: 0;
}

.company-detial__heading {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  gap: 15px;
  position: relative;
}

.company-detial__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 130px;
  border: 5px solid #ffffff;
  box-sizing: border-box;
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff;
}

.company-detial__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-detial__heading h1 {
  margin: 0 0 4px;
  font-size: 32px;
  line-height: 1.1;
}

.company-detial__heading > div > p {
  margin: 0;
  color: #FF6B35;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}

.company-detial__favorite {
  position: static;
  align-self: end;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 16px;
  border: 1px solid #dfe3e8;
  border-radius: 24px;
  background: #ffffff;
  color: #151515;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0px 1px 3px 0px #0000001A;
  transition: all .3s;
}

.company-detial__favorite-icon {
  position: relative;
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
}

.company-detial__favorite-icon > span {
  position: relative;
  z-index: 2;
  font-size: 24px;
  transform-origin: center;
}

.company-detial__favorite-icon::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border: 2px solid #151515;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.2);
  content: "";
}

.company-detial__favorite-icon::after {
  position: absolute;
  inset: -9px;
  background:
    radial-gradient(circle, #151515 0 2px, transparent 2.5px) 50% 0 / 6px 6px no-repeat,
    radial-gradient(circle, #151515 0 2px, transparent 2.5px) 100% 25% / 6px 6px no-repeat,
    radial-gradient(circle, #151515 0 2px, transparent 2.5px) 100% 78% / 6px 6px no-repeat,
    radial-gradient(circle, #151515 0 2px, transparent 2.5px) 50% 100% / 6px 6px no-repeat,
    radial-gradient(circle, #151515 0 2px, transparent 2.5px) 0 78% / 6px 6px no-repeat,
    radial-gradient(circle, #151515 0 2px, transparent 2.5px) 0 25% / 6px 6px no-repeat;
  opacity: 0;
  transform: scale(.4);
  content: "";
}

.company-detial__favorite.is-active {
  border-color: #151515;
  color: #151515;
}
.company-detial__favorite.is-active .material-symbols-rounded{
  font-variation-settings:
    "FILL" 1,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}

.company-detial__favorite.is-active .company-detial__favorite-icon > span {
  animation: company-favorite-heart .55s cubic-bezier(.2, .8, .2, 1);
}

.company-detial__favorite.is-active .company-detial__favorite-icon::before {
  animation: company-favorite-ring .5s ease-out;
}

.company-detial__favorite.is-active .company-detial__favorite-icon::after {
  animation: company-favorite-particles .65s .08s ease-out;
}

@keyframes company-favorite-heart {
  0% {
    transform: scale(.75);
  }

  45% {
    transform: scale(1.35);
  }

  70% {
    transform: scale(.9);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes company-favorite-ring {
  0% {
    opacity: .8;
    transform: translate(-50%, -50%) scale(.2);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3.2);
  }
}

@keyframes company-favorite-particles {
  0% {
    opacity: 0;
    transform: scale(.35) rotate(0);
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(1.25) rotate(12deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .company-detial__favorite.is-active .company-detial__favorite-icon > span,
  .company-detial__favorite.is-active .company-detial__favorite-icon::before,
  .company-detial__favorite.is-active .company-detial__favorite-icon::after {
    animation: none;
  }
}

.company-detial__tags {
  margin-top: 38px;
  padding: 20px;
  border: 1px solid #dfe3e8;
  border-radius: 20px;
  background: #ffffff;
}

.company-detial__tags > p {
  margin: 0 0 8px;
  color: #364153;
  font-size: 14px;
  line-height: 1.7;
}

.company-detial__tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.company-detial__tags span {
  padding: 4px 10px;
  border-radius: 14px;
  background: #0000001A;
  color: #111;
  font-size: 10px;
}

.company-detial__tags .is-green {
  background: #4caf72;
  color: #ffffff;
}

.company-detial__section {
  margin-top: 80px;
}
.company-detial__tags+.company-detial__section{
  margin-top: 40px;
}

.company-detial__profile-card {
  display: grid;
  grid-template-columns: 1fr 270px;
  /*align-items: center;*/
  gap: 24px;
  padding: 32px;
  border-radius: 20px;
  background: #F4F4F4;
}

.company-detial__profile-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}

.company-detial__profile-card h3,
.company-detial__profile-card .company-detial__profile-lead {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

.company-detial__profile-card img {
  width: 270px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.company-detial__section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.company-detial__point-controls button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: #364153;
  box-shadow: 0px 1.1px 3.3px 0px #0000001A;
  transition: background-color 0.18s ease,
    transform 0.18s ease,
    opacity 0.18s ease;
}

.company-detial__point-viewport {
  overflow: hidden;
}

.company-detial__point-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.company-detial__point-track::-webkit-scrollbar {
  display: none;
}

.company-detial__point-card {
  flex: 0 0 640px;
  aspect-ratio: 640 / 360;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: #f5f5f5;
}

.company-detial__point-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
  opacity: 0.2;
}

.company-detial__gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 2px;
  align-items: start;
}

.company-detial__gallery-grid button {
  position: relative;
  padding: 0;
  border: 0;
  background: #ffffff;
  text-align: left;
}

.company-detial__gallery-grid img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  position: relative;
  transition: transform 0.35s ease;
}

.company-detial__gallery-grid span {
  display: block;
  padding: 3px 0 0;
  color: #6A7282;
  font-size: 12px;
  line-height: 1.5;
}
.gallery_img{
  position: relative;
  overflow: hidden;
}
.company-detial__gallery-grid button .gallery_img::after {
  opacity: 0;
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff url(../img/company_detail/icon_big.svg) no-repeat center;
  background-size: 21px auto;
  box-shadow: 0px 8px 24px 0px #00000029;
  content: "";
  transition: background-color 0.18s ease,
    transform 0.18s ease,
    opacity 0.18s ease;
}

.company-detial__report-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 8px 36px 40px;
  border: 1px solid #f2d5bb;
  border-radius: 20px;
  background: #ffffff;
  position: relative;
}
.company-detial__report-summary img{
  margin-top: 28px;
  width: 55%;
  max-width: 426px;
}

.company-detial__report-summary .staff-detial__chart-legend{
  display: flex;
  grid-gap: 18px;
  right: 40px;
  top: 40px;
}
.staff-detial__chart-legend span{
  font-size: 13px;
}
.company-detial__report-score{
  width: 48%;
  margin-right: -2%;
  max-width: 318px;
}
.company-detial__report-score > span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 28px;
  padding: 0 16px;
  border-radius: 14px;
  background: #FFEDD4;
  color: #F54900;
  font-size: 12px;
  font-weight: 700;
}

.company-detial__report-number {
  margin: 20px 0 12px;
  color: #FF8904;
  font-size: 88px;
  font-weight: 800;
  line-height: 1;
}

.company-detial__report-score h3 {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 11px;
}

.company-detial__report-score > p:not(.company-detial__report-number) {
  margin: 0;
  color: #6A7282;
  font-size: 14px;
  line-height: 1.625;
  font-weight: 500;
}

.company-detial__report-score > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 47px;
  margin-top: 16px;
  border-radius: 24px;
  background: #ff8400;
  color: #ffffff;
  border: 1px solid #ff8400;
  transition: color 0.2s ease, background-color 0.2s ease;
  font-size: 16px;
  font-weight: 700;
}

.company-detial__values {
  margin-top: 24px;
  padding: 40px;
  border: 1px solid #EADFCB;
  border-radius: 20px;
  background: #FAF9F6;
}

.company-detial__values-title {
  margin-bottom: 40px;
  text-align: center;
}

.company-detial__values-title h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.33;
}

.company-detial__values-title p {
  margin: 0;
  color: #667085;
  font-size: 14px;
  font-weight: 500;
}

.company-detial__value-row {
  display: grid;
  grid-template-columns: 145px 1fr;
  grid-template-rows: auto auto;
  gap: 20px 32px;
  margin-top: 20px;
  padding: 24px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0px 2px 10px 0px #00000005;
}

.company-detial__value-row > div:first-child {
  grid-row: 1 / 3;
  border-right: 1px solid #eeeeee;
}

.company-detial__value-row h4 {
  margin: 0 0 8px;
  font-size: 15px;
}

.company-detial__value-row > div:first-child > span {
  display: inline-flex;
  align-items: center;
  height: 31px;
  padding: 0 13px;
  border-radius: 8px;
  background: #F4F4F4;
  border: 1px solid #eee;
  color: #6A7282;
  font-size: 11px;
  font-weight: 700;
}

.company-detial__value-row > p {
  display: flex;
  justify-content: space-between;
  margin: 0;
  color: #6A7282;
  font-size: 12px;
  font-weight: 700;
}

.company-detial__value-bar {
  position: relative;
  height: 12px;
  margin: 12px 0;
  border-radius: 12px;
  background: #F3F4F6;
}

.company-detial__value-bar .is-company {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 3px solid currentColor;
  border-radius: 50%;
  background: #ffffff;
  color: #5E8B7E;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  transform: translate(-50%, -50%);
  box-shadow: 0px 1px 3px 0px #0000001A;
}

.company-detial__report--after .company-detial__report-number::after {
  font-size: 30px;
  content: "%";
}

.company-detial__report-number.is-less {
  color: #c7c7c7;
}

.company-detial__report--after .company-detial__report-number.is-less::after {
  content: "%未満";
}

.company-detial__report--after .company-detial__value-row > div:first-child > span {
  border: 1px solid #FFD6A7;
  background: #FFEDD4;
  color: #FF8904;
}

.company-detial__report--after .company-detial__value-row > div:first-child > span.is-near {
  border-color: #74e5b7;
  background: #d8f8e9;
  color: #07966f;
}

.company-detial__report--after .company-detial__value-row > div:first-child > span.is-different {
  border-color: #d5d8dd;
  background: #f3f4f6;
  color: #606b7b;
}

/* 値が一致しても「会社」と「自分」の両方が読めるようにする。 */
.company-detial__report--after .company-detial__value-bar.is-overlapping {
  margin-top: 28px;
  margin-bottom: 28px;
}

.company-detial__report--after .company-detial__value-bar.is-overlapping .is-company {
  top: calc(50% + 18px);
}

.company-detial__report--after .company-detial__value-bar.is-overlapping::after {
  top: calc(50% - 18px);
}

.company-detial__report--after .company-detial__value-bar::after {
  position: absolute;
  top: 50%;
  left: var(--self-position, 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: #FF8904;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  content: "自分";
  transform: translate(-50%, -50%);
  box-shadow: 0px 2px 8px 0px #FF64204D;
}

.workstyle-save-notice {
  margin: 20px auto;
  padding: 16px;
  max-width: 720px;
  border: 1px solid #e5a647;
  border-radius: 12px;
  background: #fff7e8;
  color: #663b0b;
}

.workstyle-save-notice[hidden] {
  display: none;
}


.company-detial__movie-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px;
}

.company-detial__movie-frame iframe {
  width: 100%;
  height: 100%;
}

.company-detial__overview .pickup-drawer__company-table {
  padding: 18px 24px;
}

.company-detial__social-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.company-detial__social-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  border: 1px solid #ddd;
  border-radius: 16px;
  color: #101828;
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 2;
  font-weight: 700;
}

.company-detial__social-grid img {
  width: 48px;
  height: 48px;
}

.company-detial__social-grid a.is-note img {
  width: 80px;
  height: auto;
  max-width: 80%;
}

.company-detial__side {
  padding-top: 0;
}

.company-detial__match-card {
  --match-color: #ff8400;
  --match-track: #edf0eb;
  --match-score: 0deg;
  margin-bottom: 40px;
  padding: 24px 24px 16px;
  border: 1px solid #EDEDED;
  border-radius: 20px;
  background: #ffffff;
}

.company-detial__match-card h2 {
  display: flex;
  justify-content: space-between;
  margin: 0;
  font-size: 20px;
}

.company-detial__match-card h2 span {
  display: inline-flex;
  align-items: center;
  height: 23px;
  padding: 0 16px;
  border-radius: 12px;
  background: #ECEFEA;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  min-width: 73px;
  text-align: center;
}

.company-detial__match-card > p {
  margin: 8px 0 0;
  color: #111;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
}

.company-detial__match-card .company-detial__match-lead {
  font-size: 10px;
  font-weight: 400;
  margin: 0;
}

.company-detial__match-card > .company-detial__match-ring {
  position: relative;
  display: grid;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  margin: 10px auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: conic-gradient(var(--match-color) var(--match-score), var(--match-track) 0);
}

.company-detial__match-ring::before {
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: #ffffff;
  content: "";
}

.company-detial__match-card .company-detial__match-value {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--match-color);
}

.company-detial__match-card .company-detial__match-number {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.company-detial__match-card .company-detial__match-unit {
  font-size: 18px;
  font-weight: 700;
}

.company-detial__match-card .company-detial__match-under {
  display: block;
  width: 100%;
  margin-top: 2px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.company-detial__match-card > .company-detial__match-message {
  margin: 0;
  color: #111827;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  white-space: pre-line;
}

.company-detial__match-action {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  width: 142px;
  margin: 10px auto 0;
  padding: 0 16px;
  border-radius: 999px;
  background: #FF8904;
  border: 1px solid #FF8904;
  color: #ffffff;
  transition: color 0.2s ease, background-color 0.2s ease;
  font-size: 16px;
  font-weight: 700;
}

.company-detial__match-action[hidden] {
  display: none;
}

.company-detial__match-card.is-undiagnosed {
  --match-color: #ff8400;
  --match-track: #edf0eb;
}

.company-detial__match-card.is-undiagnosed .company-detial__match-ring {
  background: var(--match-track);
}

.company-detial__match-card.is-low h2 span {
  background: #c7c7c7;
}
.company-detial__match-card.is-high h2 span {
  background: #FF8904;
}

.company-detial__match-card.is-low {
  --match-color: #c7c7c7;
  --match-track: #ececec;
}


.company-detial__similar {
  margin: 80px 0 0;
  padding: 80px 0;
  background: #faf9f6;
  border-top: 1px dashed #000000;
}

.company-detial__similar-inner {
  width: 100%;
  max-width: 1229px;
  padding: 0 20px;
  margin: 0 auto;
}
.company-detial__similar-inner #breadcrumb{
  padding: 45px 0;
}
.company-detial__similar h2 {
  margin: 0 0 24px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
}

.company-detial__similar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.company-detial__similar-grid > a {
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  color: #111111;
  box-shadow: 0px 4px 20px 0px #00000008;
  border: 1px solid #EDEDED;
}
.company-detial__similar-grid .img{
  overflow: hidden;
  padding: 0;
}
.company-detial__similar-grid img {
  width: 100%;
  aspect-ratio: 1.05 / 1;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.company-detial__similar-grid > a > div {
  padding: 15px 20px 30px;
}

.company-detial__similar-grid span {
  display: inline-flex;
  align-items: center;
  height: 17px;
  padding: 0 8px;
  color: #6B7280;
  background: #F3F1ED;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

.company-detial__similar-grid h3 {
  margin: 4px 0 12px;
  font-size: 18px;
  line-height: 1.22;
}

.company-detial__similar-grid p {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  color: #667085;
  font-size: 10px;
}

.company-detial__similar-grid p span {
  height: auto;
  color: #111;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
}

.company-detial__lightbox {
  position: fixed;
  z-index: 900;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background: rgba(20, 20, 20, 0.88);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.company-detial__lightbox.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.company-detial__lightbox-panel {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1080px) 50px;
  align-items: center;
  gap: 24px;
}

.company-detial__lightbox-panel > button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 24px;
}
.company-detial__lightbox-panel > button[data-gallery-next],
.company-detial__lightbox-panel > button[data-gallery-prev] {
  width: 52px;
  height: 52px;
  background: url(../img/company_detail/slick_next.svg)no-repeat center center rgba(255, 255, 255, 0.14);
  background-size: 11px auto;
  font-size: 0;
}
.company-detial__lightbox-panel > button[data-gallery-prev] {
  transform: rotateY(-180deg);
}

.company-detial__lightbox-panel > button[data-gallery-close] {
  position: absolute;
  top: -54px;
  right: 0;
}

.company-detial__lightbox-image {
  margin: 0;
  text-align: center;
}

.company-detial__lightbox img {
  width: 100%;
  aspect-ratio: 1080 / 613;
  object-fit: cover;
}

.company-detial__lightbox-image p {
  margin-top: 12px;
  color: #ffffff;
  font-size: 15px;
}

.company-point-drawer .pickup-drawer__article {
  padding-top: 30px;
}

/* PICK UP / 企業詳細：ポップアップ画像の表示最適化
   - 各ページのTOP画像は16:9で高さを統一
   - 本文画像は元画像の比率を維持
   - 本文画像が縦方向に大きくなる場合のみ、コンパクトに縮小して中央配置 */
.pickup-drawer .pickup-drawer__page img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}

/* TOP画像：企業詳細・TOPページのポップアップともに16:9で統一 */
.pickup-drawer .pickup-drawer__page img.is-point-image-main {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: none;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

/* 本文内で高くなりすぎる画像：比率を維持したまま最大480pxに抑える */
.pickup-drawer .pickup-drawer__page img.is-point-image-tall {
  width: auto;
  max-width: 100%;
  max-height: min(52vh, 480px);
  object-fit: contain;
}

body.is-company-modal-open {
  overflow: hidden;
}

@media screen and (min-width: 961px) {
  .company-detial__favorite:hover{
    border-color: transparent;
    box-shadow: none;
  }
  .company-detial__staff-card:hover,
  .company-detial__social-grid a:hover,
  .company-detial__similar-grid > a:hover {
    border-color: #ff8400;
  }
  .company-detial__gallery-grid button:hover img,
  .company-detial__similar-grid > a:hover img {
    transform: scale(1.06);
  }
  .company-detial__gallery-grid button:hover .gallery_img::after{
    opacity: 1;
    background: #f3f3f1 url(../img/company_detail/icon_big.svg) no-repeat center;
    background-size: 21px auto;
    transform: translateY(-3px);
  }
  .company-detial__point-controls button:hover{
    background: #f3f3f1;
  }

  .company-detial__match-action:hover{
    background: #fff;
    color: #FF8904;
  }
  .company-detial__report-score > a:hover {
    background: #ffffff;
    color: #ff8400;
  }
}
/* ===== COMPANY DETAIL MAIN VISUAL SWIPER ===== */
.company-detial__visual .swiper-wrapper,
.company-detial__visual .swiper-slide {
  height: 100%;
}

.company-detial__visual .swiper-slide {
  width: 800px;
}

/* ===== COMPANY DETAIL HEADING LABELS ===== */
.company-detial__logo-area {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.company-detial__status {
  display: flex;
  justify-content: center;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-height: 30px;
  margin-top: 16px;
  padding: 0 11px;
  border-radius: 999px;
  background: #4DA466;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.company-detial__heading-main {
  min-width: 0;
  padding-top: 53px;
}

.company-detial__labels {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.company-detial__labels .categ,
.company-detial__labels .tag {
  display: flex;
  align-items: center;
  gap: 10px;
}

.company-detial__labels span {
  display: block;
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 10px;
  line-height: 1.4;
  font-weight: 400;
}

.company-detial__labels .categ span {
  background: #0000001A;
  color: #4a4a4a;
}

.company-detial__labels .tag span {
  border: 1px solid #111111;
  background: #ffffff;
  color: #111111;
  font-weight: 700;
}

.company-detial__labels .company-detial__status {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: max-content;
  min-width: 0;
  max-width: 100%;
  min-height: 30px;
  margin-top: 0;
  padding: 6px 11px;
  border-radius: 999px;
  background: #4DA466;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  flex: 0 0 auto;
}

/* ===== COMPANY DETAIL POINT SLIDER ===== */
.company-detial__points {
  position: relative;
}
.siwper_box{
  position: relative;
}
.company-detial__point-controls {
  display: flex;
  gap: 8px;
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 10px;
  left: 10px;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.company-detial__point-controls button {
  pointer-events: auto;
}

.company-point-swiper {
  overflow: hidden;
}

.company-point-swiper .company-detial__point-card {
  width: 640px;
  max-width: 100%;
}

.company-point-swiper .company-detial__point-card.swiper-slide-active img{
  opacity: 1;
}

.company-detial__point-controls button img {
  width: 22px;
}

.company-point-swiper-prev img {
  transform: rotate(180deg);
}
@media screen and (max-width: 1099px) and (min-width: 961px) {
  .company-detial__report-summary{
    padding-left: 20px;
  }
  .company-detial__values{
    padding-left: 20px;
    padding-right: 20px;
  }
  .company-detial__similar-grid{
    grid-gap: 15px;
  }
  .company-detial__similar-grid > a{
    border-radius: 20px;
  }
  .company-detial__similar-grid > a > div{
    padding: 15px 15px 25px;
  }
}
/* ===== SP DIAGNOSIS: SCROLL THE WHOLE SECTION ===== */
@media screen and (max-width: 960px) {
  .diagnosis-grid {
    overflow: visible;
    overscroll-behavior: auto;
    -webkit-overflow-scrolling: auto;
    touch-action: inherit;
    width: 100%;
    display: flex;
    flex-direction: column;
    grid-gap: 10px;
  }

  .diagnosis-grid > * {
    touch-action: inherit;
  }
  .diagnosis-card{
    min-height: 132px;
    display: flex;
    justify-content: center;
    padding: 18px 10px 15px 174px;
    position: relative;
  }
  .diagnosis-card__labels{
    min-height: 0;
  }
  .diagnosis-card__recommend,
  .diagnosis-card__count{
    min-height: 17px;
    padding: 0 6px;
    font-size: 9px;
  }
  .diagnosis-card h3{
    margin: 5px 0;
  }
  .diagnosis-card p{
    font-size: 10px;
  }
  .diagnosis-card__cta {
    min-height: 28px;
    margin-top: 10px;
    padding-inline: 13px;
    font-size: 12px;
  }

  .diagnosis-card__visual{
    position: absolute;
    left: 0;
    bottom: 8px;
    width: 174px;
    display: flex;
    justify-content: center;
  }
  .diagnosis-card__visual--career{
    bottom: 0;
  }
  .diagnosis-card__visual--workstyle img{
    width: 130px;
  }
  .diagnosis-card__visual--career img{
    width: 149px;
  }
  .diagnosis-card__visual--ehimetchi img{
    width: 134px;
  }
}

/* ===== COMPANY DETAIL SP ===== */
@media screen and (max-width: 960px) {
  .company_detail .page-shell {
    width: calc(100% - 20px);
    border-radius: 20px;
  }

  .company-detial__visual {
    border-radius: 19px 19px 0 0;
  }

  .company-detial__visual .swiper-slide {
    width: 80%;
  }

  .company_detial_shell > .staff-detial__layout {
    display: block;
    margin-top: -24px;
    padding: 0 20px;
  }

  .company-detial__main {
    width: 100%;
    max-width: 100%;
  }

  .company-detial__heading {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 0 14px;
  }

  .company-detial__logo-area {
    grid-column: 1;
    grid-row: 1;
  }

  .company-detial__logo {
    width: 90px;
    height: 90px;
  }

  .company-detial__heading-main {
    display: contents;
    min-width: 0;
    padding-top: 0;
  }

  .company-detial__heading h1 {
    grid-column: 1 / 3;
    grid-row: 2;
    margin-top: 8px;
    font-size: 23px;
  }

  .company-detial__heading-main > p {
    grid-column: 1 / 3;
    grid-row: 3;
    font-size: 11px;
  }

  .company-detial__labels {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    gap: 8px;
    margin: 0;
  }

  .company-detial__labels .categ,
  .company-detial__labels .tag {
    flex-wrap: wrap;
    gap: 8px;
  }

  .company-detial__favorite {
    position: static;
    grid-column: 1 / 3;
    grid-row: 4;
    width: 100%;
    height: auto;
    margin-top: 15px;
    padding: 11px 16px;
  }

  .company-detial__tags {
    margin-top: 20px;
    padding: 20px;
    border-radius: 18px;
  }

  .company-detial__tags > p {
    font-size: 14px;
  }

  .company-detial__tags-list {
    gap: 8px;
  }

  .company-detial__section,
  .company-detial__heading + .company-detial__section {
    margin-top: 56px;
  }

  .company-detial__profile-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 20px;
    border-radius: 16px;
  }

  .company-detial__profile-card h3,
  .company-detial__profile-card .company-detial__profile-lead {
    font-size: 18px;
  }

  .company-detial__profile-card p {
    font-size: 14px;
  }

  .company-detial__profile-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .company-detial__point-card,
  .company-point-swiper .company-detial__point-card {
    width: calc(100vw - 80px);
    max-width: 100%;
    border-radius: 14px;
  }

  .company-detial__point-controls {
    right: -15px;
    left: -15px;
  }

  .company-detial__point-controls button {
    width: 30px;
    height: 30px;
  }
  .company-detial__point-controls button img {
    width: 16px;
  }

  .company-detial__gallery-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .company-detial__gallery-grid img {
    aspect-ratio: 16 / 10;
  }
  .company-detial__gallery-grid button .gallery_img::after {
    opacity: 1;
  }


  .company-detial__report-summary {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 24px;
    padding: 50px 20px 24px;
  }

  .company-detial__report-summary .staff-detial__chart-legend {
    top: 20px;
    right: 20px;
  }

  .company-detial__report-score {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
  }

  .company-detial__report-number {
    font-size: 68px;
  }

  .company-detial__report-summary img {
    width: auto;
    max-width: none;
    margin: 0 -20px;
  }

  .company-detial__values {
    padding: 28px 16px;
  }

  .company-detial__values-title {
    margin-bottom: 28px;
  }

  .company-detial__values-title h3 {
    font-size: 20px;
  }

  .company-detial__value-row {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 16px;
    padding: 18px 14px;
    border-radius: 16px;
  }

  .company-detial__value-row h4 {
    font-size: 13px;
  }

  .company-detial__value-row > p {
    gap: 10px;
    font-size: 9px;
  }

  .company-detial__value-bar .is-company,
  .company-detial__report--after .company-detial__value-bar::after {
    width: 30px;
    height: 30px;
    font-size: 9px;
  }

  .company-detial__movie-frame {
    border-radius: 14px;
  }

  .company-detial__overview .pickup-drawer__company-table {
    padding: 14px 16px;
  }

  .company-detial__overview .pickup-drawer__company-table > div {
    display: block;
    padding: 12px 0;
  }

  .company-detial__overview .pickup-drawer__company-table > div > span {
    display: block;
    width: 100%;
    margin-bottom: 5px;
  }

  .company-detial__overview .pickup-drawer__company-table p {
    width: 100%;
    overflow-wrap: anywhere;
  }

  .company-detial__social-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .company-detial__social-grid a {
    border-radius: 12px;
    font-size: 11px;
  }

  .company-detial__social-grid img {
    width: 34px;
    height: 34px;
  }


  .company-detial__social-grid a.is-note img {
    width: 68px;
    height: auto;
  }

  .company-detial__side {
    width: 100%;
    margin-top: 56px;
  }

  .company-detial__match-card {
    margin: 32px 0 0;
    padding: 24px 20px 20px;
  }

  .company-detial__match-action {
    width: 100%;
    height: auto;
    padding: 10px 16px;
  }

  .company-detial__similar {
    margin-top: 56px;
    padding: 56px 0;
  }

  .company-detial__similar-inner {
    padding: 0 20px;
  }

  .company-detial__similar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .company-detial__similar-grid > a{
    border-radius: 14px;
  }

  .company-detial__similar-inner #breadcrumb {
    padding: 36px 0;
  }

  .company-detial__lightbox {
    padding: 20px;
  }

  .company-detial__lightbox-panel {
    display: block;
    width: 100%;
  }

  .company-detial__lightbox-panel > button[data-gallery-prev],
  .company-detial__lightbox-panel > button[data-gallery-next] {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
  }

  .company-detial__lightbox-panel > button[data-gallery-prev] {
    left: -20px;
    transform: translateY(-60%) rotateY(-180deg);
  }

  .company-detial__lightbox-panel > button[data-gallery-next] {
    right: -20px;
  }

  .company-detial__lightbox-panel > button[data-gallery-close] {
    top: -50px;
  }
  .company-detial__value-row > div:first-child > span{
    height: 25px;
    border-radius: 4px;
  }
  .company-detial__report-score h3{
    font-size: 19px;
  }
}

/*0806*/
.company-card .match.is_less > span,
.company-card .match.is_less {
  border-color: #C2C1C0;
  color: #C2C1C0;
}
.company-card .match.is_less strong:after{
  content: '未満';
  display: block;
  font-size: 10px;
  font-weight: 900;
}
.pickup-card__link,
.company-detial__point-card{
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.company-detial__visual .swiper-wrapper {
  transition-timing-function: linear;
}
@media screen and (min-width: 961px) {
  .pickup-card__link:hover,
  .company-detial__point-card:hover img{
    opacity: .8!important;
  }
}

.staff-detial__staff-score{
  border-color: #EBE6DF;
}
.detail_after .staff-detial__staff-score{
  border-color: #FF8904;
}
.staff-detial__staff-score font{
  color: #6A7282;
}
.detail_after .staff-detial__staff-score font{
  color: #FF8904;
}
.staff-detial__staff-message{
  display: none;
}
.detail_after .staff-detial__staff-message{
  display: block;
}

/* ===== COMPANY DETAIL DYNAMIC VALUE CHART ===== */
.company-detial__value-chart {
  display: block;
  flex: 0 0 auto;
  width: 55%;
  max-width: 426px;
  height: auto;
  margin-top: 28px;
}

.company-detial__chart-axis {
  stroke: #1b2128;
  stroke-width: 1.5;
}

.company-detial__chart-arrow {
  fill: #1b2128;
}

.company-detial__chart-tick {
  stroke: #b9bfbd;
  stroke-width: 1;
}

.company-detial__chart-label {
  fill: #536070;
  font-size: 12px;
  font-weight: 700;
}

.company-detial__chart-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.company-detial__chart-line.is-company {
  stroke: #5e8b7e;
}

.company-detial__chart-line.is-self {
  stroke: #FF8904;
  stroke-dasharray: 7 7;
  stroke-width: 2px;
}

.company-detial__chart-point {
  stroke: #ffffff;
  stroke-width: 2;
}

.company-detial__chart-point.is-company {
  fill: #5e8b7e;
}

.company-detial__chart-point.is-self {
  stroke: #FF8904;
  fill: #ffffff;
}

@media screen and (max-width: 960px) {
  .company-detial__value-chart {
    width: auto;
    max-width: none;
    margin: 0 -20px;
  }
}

/*favorites*/
.favorites_wrap{
  padding-top: 20px;
}
.favorites_hd_box{
  width: calc(100% - 40px);
  max-width: var(--shell-max);
  margin: 0 auto;
}
.favorites_hd{
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  height: 80px;
  padding: 0 58px;
  font-size: 28px;
  font-weight: 700;
  border: 1px solid #272727;
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background: #fff;
  margin-bottom: -1px;
}
.favorites_hd::before,
.favorites_hd::after{
  position: absolute;
  right: -30px;
  bottom: 0;
  width: 30px;
  height: 30px;
  content: "";
}
.favorites_hd::before{
  background: #fff;
}
.favorites_hd::after{
  border-bottom: 1px solid #272727;
  border-left: 1px solid #272727;
  border-bottom-left-radius: 28px;
  background: var(--yellow);
}
.favorites_wrap .page-shell{
  border-top-left-radius: 0;
}
.favorites_shell{
  padding: 70px 0;
}
.favorites_list{
  display: grid;
  grid-template-columns: repeat(4,1fr);
  grid-gap: 70px 24px;
}
.favorites_shell #breadcrumb{
  padding: 100px 0;
}

/*staff list*/
.staff-list-sort{
  margin-bottom: 70px;
}
@media screen and (max-width: 960px) {
  .staff-list-sort{
    margin-bottom: 30px;
  }
}

.favorites_list .company-card{
  transition:
    opacity .22s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.favorites_list .company-card.is-removing { 
  opacity: 0; 
  transform: scale(.97);
}
.clip-card__favorite {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  color: #f04b42;
  box-shadow: 0 5px 12px rgba(0, 0, 0, .08);
  transition: transform .18s ease, background-color .18s ease;
}
.clip-card__favorite .material-symbols-rounded { 
  font-size: 20px;
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24; 
}
@media screen and (min-width: 961px) {
  .clip-card__favorite:hover { 
    transform: scale(1.05); 
    background: #fff5f4; 
  }
}
@media screen and (max-width: 1180px){
  .favorites_list{
    grid-template-columns: repeat(3,1fr);
    grid-gap: 70px 20px;
  }
}
@media screen and (max-width: 960px) {
  .favorites_shell{
    padding: 20px 0;
  }
  .favorites_hd_box{
    width: calc(100% - 20px);
  }
  .favorites_shell #breadcrumb{
    padding: 36px 0;
  }
  .favorites_hd {
    font-size: 20px;
    height: 52px;
    padding: 0 20px;
    border-radius: 24px 24px 0 0;
  }
  .favorites_hd::before,
  .favorites_hd::after {
    right: -26px;
    width: 26px;
    height: 26px;
  }
  .favorites_hd::after {
    border-bottom-left-radius: 24px;
  }
}
@media screen and (max-width: 800px) {
  .favorites_list{
    grid-template-columns: repeat(2,1fr);
    grid-gap: 20px;
  }
}
@media (max-width: 560px) {
  .favorites_list{
    grid-gap: 10px;
    /*grid-template-columns: repeat(1,1fr);*/
  }
  .company-card{
    border-radius: 10px;
  }
  .company-detial__similar-grid > a > div{
    padding: 10px 10px 15px;
  }
  .company-detial__similar-grid h3{
    font-size: 14px;
  }
}

/*faq*/
.faq_shell{
  padding: 125px 0 20px;
}
.faq_inner{
  max-width: 1300px;
  padding: 0 20px;
  margin: 0 auto;
}

.faq-category-heading small{
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
}
.faq-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(42px, 5vw, 78px);
  align-items: start;
}

.faq-category-nav {
  position: sticky;
  top: 90px;
}

.faq-category-nav > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.faq-category-list {
  display: grid;
  gap: 4px;
}

.faq-category-list button {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  padding: 12px 10px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #343943;
  text-align: left;
  font-weight: 700;
  line-height: 1.65;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.faq-category-list button > span {
  width: 13px;
  height: 3px;
  border-radius: 999px;
  background: #c6c6c6;
  transition: width .18s ease, background-color .18s ease;
}

.faq-category-list button.is-active {
  color: var(--orange-deep);
  background: #fff6ed;
}

.faq-category-list button.is-active > span {
  width: 20px;
  background: var(--orange);
}

.faq-category-panel[hidden] {
  display: none;
}

.faq-category-heading {
  margin-bottom: 24px;
}

.faq-category-heading h2 {
  margin: 4px 0 8px;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -.025em;
}

.faq-category-heading p {
  margin: 0;
  color: var(--muted);
}

.faq-accordion {
  display: grid;
  gap: 44px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid #e2ded7;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0px 4px 20px 0px #00000008;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.faq-item.is-open {
  border-color: #f2c699;
  box-shadow: 0 14px 28px rgba(215,113,22,.07);
}

.faq-question {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 94px;
  padding: 20px;
  border: 0;
  background: #fff;
  transition:background .3s;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.faq-toggle-icon {
  justify-self: end;
  color: var(--orange)!important;
  font-size: 27px;
}

.faq-mark {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
}

.faq-mark--q {
  background: var(--orange);
  color: #fff;
}

.faq-mark--a {
  border: 1px solid var(--orange);
  color: var(--orange-deep);
  background: #fff;
}

.faq-answer {
  overflow: hidden;
}

.faq-answer__inner {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  padding: 0 20px 20px;
}

.faq-answer p {
  margin: 0;
  color: #444;
  line-height: 1.6;
  font-size: 16px;
}

.faq-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 70px;
  padding: 30px 34px;
  border-radius: 24px;
  background: #f4f1ea;
}

.faq-contact h2 {
  margin: 3px 0 6px;
  font-size: 19px;
}

.faq-contact p {
  margin: 0;
  color: var(--muted);
}

.faq-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}

@media screen and (min-width: 961px) {
  .faq-category-list button:hover {
    background: #f5f4f1;
    transform: translateX(3px);
  }
  .faq-question:hover {
    background: #fffaf5;
  }
  .faq-item.is-open .faq-question:hover {
    background: #fff;
  }
  .faq-contact a:hover {
    background: var(--orange-deep);
  }
}

@media (max-width: 960px) {
  .faq-shell {
    margin-top: 4px;
  }
  .faq-page-content {
    padding: 34px 18px 96px;
  }
  .faq-page-heading {
    margin-bottom: 30px;
  }
  .faq-page-heading h1 {
    font-size: 36px;
  }
  .faq-page-heading > p:last-child {
    font-size: 14px;
  }
  .faq-layout {
    display: block;
  }
  .faq-category-nav {
    position: static;
    margin-bottom: 34px;
  }
  .faq-category-nav > p {
    margin-bottom: 12px;
  }
  .faq-category-list {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .faq-category-list::-webkit-scrollbar {
    display: none;
  }
  .faq-category-list button {
    flex: 0 0 auto;
    grid-template-columns: auto;
    min-height: 44px;
    padding: 8px 15px;
    border: 1px solid #dfdbd3;
    border-radius: 999px;
    background: #fff;
    white-space: nowrap;
  }
  .faq-category-list button > span {
    display: none;
  }
  .faq-category-list button:hover {
    transform: none;
  }
  .faq-category-heading h2 {
    font-size: 29px;
  }
  .faq-question {
    grid-template-columns: 40px minmax(0,1fr) 28px;
    gap: 11px;
    min-height: 78px;
    padding: 15px;
    font-size: 14px;
  }
  .faq-mark {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }
  .faq-answer__inner {
    grid-template-columns: 40px minmax(0,1fr);
    gap: 11px;
    padding: 0 15px 20px;
  }
  .faq-answer p {
    font-size: 13px;
  }
  .faq-contact {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 44px;
    padding: 24px;
  }
  .faq-contact a {
    width: 100%;
  }
  .faq-accordion {
    grid-gap: 16px;
  }
}

@media (max-width: 560px) {
  .faq-page-heading h1 {
    font-size: 32px;
  }
  .faq-category-heading h2 {
    font-size: 25px;
  }
  .faq-question {
    grid-template-columns: 36px minmax(0,1fr) 24px;
    padding: 14px 12px;
  }
  .faq-mark {
    width: 36px;
    height: 36px;
  }
  .faq-answer__inner {
    grid-template-columns: 36px minmax(0,1fr);
    padding-inline: 12px;
  }
}

.faq-category-select-wrap {
  display: none;
}

@media (max-width: 960px) {
  .faq_shell {
    padding: 30px 0 10px;
  }
  .faq-category-heading p {
    font-size: 14px;
  }
  .faq-category-list {
    display: none;
  }
  .faq-category-select-wrap {
    position: relative;
    display: block;
  }
  .faq-category-select {
    width: 100%;
    min-height: 48px;
    padding: 0 46px 0 15px;
    border: 1px solid #d9d5cd;
    border-radius: 14px;
    background: #fff;
    color: #222;
    font-size: 14px;
    font-weight: 700;
    -webkit-appearance: none;
    appearance: none;
  }
  .faq-category-select:focus-visible {
    outline: 3px solid rgba(255,122,22,.25);
    outline-offset: 2px;
  }
  .faq-category-select-wrap > .material-symbols-rounded {
    position: absolute;
    top: 50%;
    right: 14px;
    pointer-events: none;
    color: #555;
    transform: translateY(-50%);
  }
}

/*company*/
.company_shell {
  padding: 80px 0 0;
}

.results-area {
  min-width: 0;
}

.results-header {
  display: grid;
  gap: 27px;
  margin-bottom: 30px;
}

.results-header h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: .72px;
}

.results-header h2 small {
  font-size: 14px;
  margin-left: 13px;
}

.selected-tags-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F4F4F4;
}

.selected-tags__label {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.selected-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.selected-tag {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 0 12px 0 8px;
  border-radius: 9px;
  background: #364153;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
}

.selected-tag button {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
}

.selected-tag--empty {
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
}

.results-toolbar {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 35px;
  margin-bottom: 38px;
}

.sort-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sort-tab+.sort-tab {
  padding-left: 10px;
  border-left: 1px solid #DDDDDD;
}

.sort-tab {
  font-size: 12px;
  line-height: 1.2;
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  color: #555;
  font-weight: 400;
}

.sort-tab.is-active {
  color: #111;
  text-decoration: underline;
}

.hiring-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 12px;
}

.hiring-toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--orange);
  appearance: auto;
}

.clear-inline {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  gap: 3px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #615D54;
  font-weight: 500;
}

.clear-inline .material-symbols-rounded {
  font-size: 16px;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 20px;
}

.mobile-controls, .mobile-only{
  display: none;
}

.sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0,0,0,.42);
}

.bottom-sheet {
  position: fixed;
  z-index: 130;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  max-height: 88vh;
  border-radius: 27px 27px 0 0;
  background: #fff;
  transform: translateY(105%);
  transition: transform .25s ease;
}

.bottom-sheet.is-open {
  transform: translateY(0);
}

.bottom-sheet__header {
  position: relative;
  display: grid;
  place-items: center;
  padding: 10px 22px 14px;
}

.bottom-sheet__header h2 {
  margin: 0;
  font-size: 27px;
  font-weight: 800;
}

.sheet-close {
  position: absolute;
  right: 20px;
  top: 2px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #f3f3f3;
}

.bottom-sheet__body {
  overflow-y: auto;
  padding: 8px 24px 105px;
}

.bottom-sheet__footer {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr minmax(200px, 330px);
  gap: 15px;
  padding: 14px 24px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.97);
}

.bottom-sheet--compact {
  max-height: 54vh;
}

.sort-options {
  display: grid;
  padding: 7px 24px 28px;
}

.sort-options label {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.sort-options label input {
  appearance: auto;
}

body.sheet-open {
  overflow: hidden;
}

@media (max-width: 1180px) {
  .company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .company_shell {
    padding-top: 20px;
  }
  .site-header {
    padding: 10px 13px;
  }
  .site-header__inner {
    grid-template-columns: 1fr auto;
  }
  .global-nav {
    display: none;
  }
  .brand__sub {
    font-size: 7px;
  }
  .brand__main {
    font-size: clamp(19px, 5.6vw, 27px);
  }
  .clips-button__label {
    display: none;
  }
  .header-icon-link {
    width: 39px;
    height: 39px;
  }
  .page-shell {
  }
  .delete-selected, .filter-sidebar, .desktop-toolbar {
    display: none;
  }
  .content-layout {
    display: block;
  }
  .mobile-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 13px;
  }
  .control-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 53px;
    border: 1px solid #e2ded7;
    border-radius: 17px;
    background: #fff;
    font-weight: 700;
  }
  .mobile-only {
    display: flex;
  }
  .selected-summary {
    align-items: center;
    gap: 8px;
    padding: 12px 13px;
    margin-bottom: 18px;
    border: 1px solid var(--line);
    border-radius: 15px;
    font-size: 12px;
  }
  .selected-summary strong {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f1f1ef;
  }
  .selected-summary button {
    border: 0;
    background: transparent;
    color: var(--orange-deep);
    font-weight: 700;
  }
  .results-header{
    margin-bottom: 20px;
  }
  .results-header h2 {
    font-size: 22px;
  }
  .selected-tags-wrap {
    display: none;
  }
  .company-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .select-company {
    display: none;
  }
}

/* 企業一覧：件数に添える、サイトカラーになじむ控えめなお知らせ */
.results-header__top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.results-header__notice {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 0 auto;
  padding: 7px 12px 7px 10px;
  border-radius: 8px;
  background: #fff6e8;
  color: #595550;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.6;
}

.results-header__notice-mark {
  flex: none;
  color: var(--orange-deep);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

/* SP表示切り替え：PC同等の1列カード／コンパクトな2列カード */

.sp-view-switch {
  display: none;
}

@media (max-width: 960px) {
  .results-header__top {
    align-items: center;
  }
  .sp-view-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid #ddd9d1;
    border-radius: 999px;
    background: #f6f5f2;
  }
  .sp-view-switch__label {
    padding: 0 5px 0 8px;
    color: #747474;
    font-size: 10px;
    font-weight: 700;
  }
  .sp-view-switch__button {
    display: inline-grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 3px;
    min-height: 34px;
    padding: 0 9px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #737373;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
  }
  .sp-view-switch__button .material-symbols-rounded {
    font-size: 18px;
  }
  .sp-view-switch__button small {
    font-size: 10px;
    font-weight: 700;
  }
  .sp-view-switch__button.is-active {
    background: #fff;
    color: #202020;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  }
  /* 2列表示パターン */
  .company-grid.is-two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
  }
}

@media (max-width: 560px) {
  .results-header__top {
    gap: 8px;
  }
  .sp-view-switch__label {
    display: none;
  }
  .sp-view-switch__button {
    padding-inline: 8px;
  }
}

/* 狭い画面で見出しの末尾だけが1字落ちないように調整 */
@media (max-width: 360px) {
  .results-header h2 small {
    margin-left: 7px;
    font-size: 12px;
  }
}

/* 企業一覧ではページ見出しを置かず、検索結果をすぐに表示 */
.page-content {
  padding-top: clamp(34px, 4vw, 62px);
}

@media (max-width: 960px) {
  .page-content {
    padding-top: 24px;
  }
}

@media (max-width: 960px) {
  /* 2列表示を標準化し、切り替えUIは使用しない */
  .company-grid,
  .company-grid.is-two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
  }
  .sp-view-switch {
    display: none !important;
  }
  .results-header__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .results-header__notice {
    margin-left: 0;
  }
  /* 選択条件を複数行で確認可能にする */
  .selected-summary {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 7px 10px;
    padding: 10px 12px;
  }
  .selected-summary > span {
    font-weight: 700;
  }
  .selected-summary button {
    justify-self: end;
  }
  .selected-summary strong {
    grid-column: 1 / -1;
    width: 100%;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    line-height: 1.65;
    padding: 7px 10px;
    border-radius: 12px;
    overflow-wrap: anywhere;
  }
  /* 絞り込み・並び替えを一段コンパクトに */
  .mobile-controls {
    gap: 8px;
    margin-bottom: 10px;
  }
  .control-button {
    min-height: 44px;
    gap: 4px;
    border-radius: 14px;
    font-size: 13px;
  }
  .control-button .material-symbols-rounded {
    font-size: 18px;
  }
  .page-shell {
  }
}

@media (max-width: 560px) {
  .company-grid,
  .company-grid.is-two-column {
    gap: 10px 8px;
    /*grid-template-columns: repeat(1,1fr);*/
  }
  .control-button {
    min-height: 42px;
    font-size: 12px;
  }
}

#mobileConditionText {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 13px;
  border-radius: 8px;
}

#mobileConditionText span {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 0 12px 0 8px;
  border-radius: 5px;
  background: #364153;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
}

.side_diagnosis{
  margin-top: 85px;
}
.side_diagnosis a{
  transition: opacity .22s ease;
}
.side_diagnosis a:hover{
  opacity: .8;
}
.pagenav_text{
  font-size: 12px;
  font-weight: 500;
  margin-top: 55px;
  text-align: center;
}
/* !wp-pagenavi
---------------------------------------------------------- */
.wp-pagenavi {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0;
    text-align: center;
    gap: 13px;
    margin-top: 15px;
}

.wp-pagenavi a, 
.wp-pagenavi span {
    border: 0;
    padding: 0;
    margin: 0;
}

.wp-pagenavi .pages, 
.wp-pagenavi a, 
.wp-pagenavi .current {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 35px;
  height: 40px;
  padding: 0;
  border: 1px solid #EDEDED;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  position: relative;
  border-radius: 5px;
  transition: all .3s;
}
.wp-pagenavi .pages, 
.wp-pagenavi .current{
  color: #fff;
  background: #FF8904;
  border-color: #FF8904;
}

.wp-pagenavi .pages,
.wp-pagenavi .first,
.wp-pagenavi .last{
  display: none;
}
.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink{
  font-size: 0;
  border: transparent;
}
.wp-pagenavi .nextpostslink:before,
.wp-pagenavi .previouspostslink:before{
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  background: url(../img/common/page_prev.svg)no-repeat center center;
  background-size: 100% auto;
  width: 10px;
  height: 10px;
}
.wp-pagenavi .nextpostslink:before{
  background: url(../img/common/page_next.svg)no-repeat center center;
  background-size: 100% auto;
}
@media screen and (min-width: 961px) {
  .wp-pagenavi a:hover{
    color: #fff;
    background: #FF8904;
    border-color: #FF8904;
  }
  .wp-pagenavi .previouspostslink:hover:before{
    background: url(../img/common/page_prev_white.svg)no-repeat center center;
    background-size: 100% auto;
  }
  .wp-pagenavi .nextpostslink:hover:before{
    background: url(../img/common/page_next_white.svg)no-repeat center center;
    background-size: 100% auto;
  }
}
@media (max-width: 960px) {
  .pagenav_text{
    margin-top: 25px;
  }
}

/* ===== EHIMETCHI DIAGNOSIS PC ===== */
.ehimetchi_wrap .page-shell {
  overflow: hidden;
  background: #ffffff;
}

.ehimetchi-view{
  padding: 70px 0 0;
}

.ehimetchi-view[hidden],
.ehimetchi-question[hidden],
.ehimetchi-result[hidden] {
  display: none !important;
}

.ehimetchi-intro__hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ehimetchi-intro__heading > p {
  font-size: 20px;
  font-weight: 700;
}

.ehimetchi-intro__heading h1 {
  margin: 0;
  font-size: 56px;
  line-height: 1.45;
  font-weight: 900;
  letter-spacing: .08em;
}

.ehimetchi-intro__heading h1 span {
  color: #FF8904;
}

.ehimetchi-intro__meta {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.ehimetchi-intro__meta span {
  display: flex;
  align-items: center;
  height: 29px;
  padding: 0 12px;
  border-radius: 999px;
  background: #FF8904;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
}

.ehimetchi-share {
  position: absolute;
  top: 48px;
  right: 0;
}

.ehimetchi-share p {
  margin: 0 0 23px;
  font-size: 16px;
  line-height: 2;
  font-weight: 700;
}

.ehimetchi-share > div,
.ehimetchi-result-share > div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.ehimetchi-share a,
.ehimetchi-result-share a {
  display: block;
  width: 48px;
  height: 48px;
  transition:  opacity .3s;
}

.ehimetchi-share a img,
.ehimetchi-result-share a img {
  display: block;
  width: 100%;
  height: 100%;
}

.ehimetchi-intro__main-image {
  width: 290px;
  margin-top: 45px;
}

.ehimetchi-intro__lead {
  margin-top: 35px;
}

.ehimetchi-intro__lead h2 {
  margin-bottom: 20px;
  font-size: 24px;
}

.ehimetchi-intro__lead p {
  color: #615D54;
  font-size: 15px;
  line-height: 1.86;
}

.ehimetchi-primary-button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 75px;
  width: 590px;
  margin-top: 40px;
  border: 1px solid #3F35FF;
  border-radius: 999px;
  background: #3F35FF;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .1em;
  transition:  opacity .3s;
}

.ehimetchi-primary-button::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 19px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff url("../img/ehimetchi/arrow_blue.svg") center / 20px 20px no-repeat;
  transform: translateY(-50%);
}

.ehimetchi-type-list {
  margin-top: 50px;
}

.ehimetchi-type-list__heading {
  text-align: center;
}

.ehimetchi-type-list__heading > span,
.ehimetchi-about__content > span {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 400px;
  max-width: 100%;
  height: 51px;
  padding: 0 20px;
  border-radius: 999px;
  background: #FF8904;
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
}

.ehimetchi-type-list__heading > span::before {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 50%;
  width: 0;
  height: 0;
  border-top: 19px solid #ff8500;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
  transform: translateX(-50%);
}

.ehimetchi-type-list__heading h2 {
  margin: 0 0 40px;
  font-size: 48px;
  font-weight: 900;
}

.ehimetchi-type-list__heading h2 span {
  color: #ff7900;
  font-size: 75px;
  padding: 0 5px;
}

.ehimetchi-type-list__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 34px;
}

.ehimetchi-type-card {
  width: 370px;
  overflow: hidden;
  padding-bottom: 30px;
  border-radius: 28px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0px 4px 20px 0px #00000012;
}

.ehimetchi-type-card > div {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 156px;
  overflow: hidden;
  background: #ffe3c8;
}

.ehimetchi-type-card > div::before {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: -40px;
  left: -10%;
  width: 120%;
  height: 130px;
  border-radius: 70% 70% 0 0 / 100% 100% 0 0;
  background: #ffffff;
}

.ehimetchi-type-card.is-paper > div {
  background: #fff7c9;
}

.ehimetchi-type-card.is-pearl > div {
  background: #fce5f6;
}

.ehimetchi-type-card.is-dogo > div {
  background: #dcf9df;
}

.ehimetchi-type-card.is-ship > div {
  background: #dff6fb;
}
.ehimetchi-type-card .img {
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ehimetchi-type-card img {
  position: relative;
  z-index: 2;
  max-width: 180px;
  max-height: 145px;
}
.ehimetchi-type-card.is-paper img{
  max-width: 195px;
  max-height: 213px;
}

.ehimetchi-type-card h3 {
  margin-bottom: 15px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
}

.ehimetchi-type-card p {
  font-size: 15px;
  line-height: 1.86;
  margin: 0 20px;
}

.ehimetchi-about {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin: 90px 0 0;
  padding: 70px;
  overflow: hidden;
  border: 1px solid #EADFCB;
  border-radius: 32px;
  background: #FAF9F6;
  position: relative;
}

.ehimetchi-about__phones {
  position: relative;
  width: 378px;
  display: flex;
  align-items: flex-start;
}

.ehimetchi-about__phones img {
  width: 197px;
}

.ehimetchi-about__phones img:last-child {
  margin-left: -16px;
  margin-top: 65px;
}

.ehimetchi-about__content {
  width: 596px;
  max-width: calc(100% - 378px - 30px);
  padding-bottom: 20px;
  text-align: center;
}

.ehimetchi-about__content h2 {
  margin: 18px 0 40px;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
}

.ehimetchi-about__content > div {
  position: relative;
  z-index: 1;
  padding: 38px;
  border-radius: 10px;
  background: #ffffff;
}

.ehimetchi-about__content > div::before {
  content: "";
  position: absolute;
  bottom: -18px;
  left: 48%;
  width: 0;
  height: 0;
  border-top: 20px solid #ffffff;
  border-right: 16px solid transparent;
  border-left: 16px solid transparent;
}

.ehimetchi-about__content > div p {
  font-size: 15px;
  line-height: 1.86;
  text-align: left;
  color: #615D54;
}

.ehimetchi-about__content > div p.note {
  margin-top: 28px;
  font-size: 12px;
}

.ehimetchi-about__content > img {
  position: absolute;
  z-index: 2;
  right: 87px;
  bottom: 0;
  width: 171px;
}

.ehimetchi-primary-button.is-bottom {
  margin: 90px auto 0;
}

.ehimetchi-question-view {

}

.ehimetchi-question-shell {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.ehimetchi-question-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ehimetchi-question-top button {
  position: relative;
  padding: 0 0 0 28px;
  border: 0;
  background: transparent;
  color: #657083;
  font-size: 14px;
  transition: opacity .3s;
}

.ehimetchi-question-top button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  height: 20px;
  background: url("../img/ehimetchi/arrow_back.svg") center / contain no-repeat;
  transform: translateY(-50%);
}

.ehimetchi-question-top p {
  min-width: 228px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0 20px;
  border: 1px solid #eee;
  border-radius: 999px;
  color: #364153;
  font-size: 14px;
}

.ehimetchi-progress {
  height: 12px;
  margin: 35px 0 30px;
  overflow: hidden;
  border-radius: 999px;
  background: #F3F4F6;
}

.ehimetchi-progress span {
  display: block;
  width: 10%;
  height: 100%;
  border-radius: inherit;
  background: #FF8904;
  transition: width .25s ease;
}

.ehimetchi-question > p {
  margin: 0 0 10px;
  color: #FF8904;
  line-height: 1.6;
  font-size: 40px;
  font-weight: 700;
}

.ehimetchi-question h2 {
  margin: 0 0 35px;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: .45px;
}

.ehimetchi-answer-list {
  display: grid;
  gap: 20px;
}

.ehimetchi-answer-list button {
  width: 100%;
  padding: 17px 28px;
  border: 1px solid #ddd;
  border-radius: 16px;
  background: #ffffff;
  color: #111;
  text-align: left;
  font-size: 20px;
  font-weight: 700;
  transition: background-color .18s ease, border-color .18s ease, opacity .18s ease;
}

.ehimetchi-answer-list button.is-selected {
  background: #FFE0BE;
}

.ehimetchi-question-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 60px;
}

.ehimetchi-question-actions button {
  position: relative;
  min-width: 194px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 50px;
  border: 0;
  border-radius: 15px;
  background: #F3F4F6;
  color: #364153;
  font-size: 14px;
  font-weight: 700;
  transition: background-color .18s ease, border-color .18s ease, opacity .18s ease;
}

.ehimetchi-question-actions button::before {
  content: "";
  width: 20px;
  height: 20px;
}

.ehimetchi-question-actions button[data-question-prev]::before {
  background: url("../img/ehimetchi/arrow_back.svg") center / contain no-repeat;
  margin-right: 8px;
}

.ehimetchi-question-actions button:disabled {
  opacity: .45;
}

.ehimetchi-complete-view .ehimetchi-progress span {
  width: 100%;
}

.ehimetchi-complete {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 215px 0 40px;
}

.ehimetchi-complete__result {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 350px;
  height: 76px;
  padding: 0 58px 0 35px;
  border: 0;
  border-radius: 20px;
  background: #FF8904;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: opacity .3s;
}

.ehimetchi-complete__result::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 31px;
  width: 20px;
  height: 20px;
  background: url("../img/ehimetchi/arrow_white.svg") center / contain no-repeat;
  transform: translateY(-50%);
}

.ehimetchi-complete__previous {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 150px;
  height: 44px;
  margin-top: 210px;
  padding: 0 24px 0 45px;
  border: 0;
  border-radius: 13px;
  background: #F3F4F6;
  color: #364153;
  font-size: 13px;
  font-weight: 700;
  transition: opacity .3s;
}

.ehimetchi-complete__previous::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 25px;
  width: 18px;
  height: 18px;
  background: url("../img/ehimetchi/arrow_back.svg") center / contain no-repeat;
  transform: translateY(-50%);
}

.diagnosis_shell.is-result-view {
  position: relative;
  padding: 110px 0 0;
  background-color: #fffcf8;
  background-image:
    url("../img/ehimetchi/bg01.png"),
    url("../img/ehimetchi/bg02.png"),
    url("../img/ehimetchi/bg03.png"),
    url("../img/ehimetchi/bg04.png"),
    url("../img/ehimetchi/icon08.png"),
    url("../img/ehimetchi/icon10.png"),
    url("../img/ehimetchi/icon11.png"),
    url("../img/ehimetchi/icon01.png"),
    url("../img/ehimetchi/icon07.png"),
    url("../img/ehimetchi/icon06.png"),
    url("../img/ehimetchi/icon02.png"),
    url("../img/ehimetchi/icon03.png"),
    url("../img/ehimetchi/icon01.png"),
    url("../img/ehimetchi/icon09.png"),
    url("../img/ehimetchi/icon04.png");
  background-repeat: no-repeat;
  background-position:
    left top,
    right top,
    left bottom -65px,
    right bottom -65px,
    left 360px,
    calc(100% - 104px) 265px,
    right 345px,
    58px 866px,
    calc(100% - 10px) 960px,
    20px 1211px,
    left 1461px,
    right 1342px,
    calc(100% - 144px) 1502px,
    calc(100% - 38px) 1775px,
    left 1525px;
  background-size:
    515px 303px,
    390px 275px,
    504px 405px,
    390px 346px,
    259px 377px,
    104px 104px,
    132px 213px,
    186px 186px,
    71px 71px,
    72px 72px,
    193px 213px,
    215px 339px,
    186px 186px,
    217px 217px,
    378px auto;
}

.ehimetchi-result-view {
  position: relative;
  padding-top: 0;
  background: transparent;
}

.diagnosis_wrap .faq_inner {
  position: relative;
  z-index: 1;
  max-width: 1220px;
}

.ehimetchi-result-bg {
  display: none;
}

.ehimetchi-result,
.ehimetchi-result-share,
.ehimetchi-retry-button {
  position: relative;
  z-index: 1;
}

.ehimetchi-result {
}

.ehimetchi-result__hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 90px;
}
.ehimetchi-result__hero .img{
  width: 50%;
  min-width: 430px;
  min-height: 427px;
  padding-left: 20px;
  background: url("../img/ehimetchi/result_01.png")no-repeat center center,
  url("../img/ehimetchi/line.svg")no-repeat left calc(50% - 182px) top 54px;
  background-size: auto 427px,73px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ehimetchi-result__hero .cont{
  width: 50%; 
}
.ehimetchi-result__hero > img {
  display: block;
  position: relative;
  z-index: 1;
  max-width: 278px;
  max-height: 317px;
  margin: 0 auto;
  object-fit: contain;
}

.ehimetchi-result__hero > div > p:first-child {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 700;
}

.ehimetchi-result__hero h1 {
  display: inline-block;
  position: relative;
  margin: 0 0 65px;
  color: #FF8B25;
  font-size: 85px;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: .1em;
}

.ehimetchi-result__hero h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -11px;
  width: 100%;
  height: 13px;
  background: url("../img/ehimetchi/border.svg") center / auto 13px no-repeat;
}

.ehimetchi-result__hero h2 {
  margin: 0 0 22px;
  font-size: 29px;
  line-height: 1.2;
  letter-spacing: .1em;
}

.ehimetchi-result__hero h2 span {
  color: #FF8B25;
}

.ehimetchi-result__hero > div > p:last-child {
  margin: 0;
  font-size: 15px;
  line-height: 2;
  font-weight: 500;
  color: #615D54;
}

.ehimetchi-result__two-column {
  display: grid;
  position: relative;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-top: 42px;
}

.ehimetchi-result__two-column::before,
.ehimetchi-result__two-column::after,
.ehimetchi-result-roles::before {
  content: "";
  position: absolute;
  z-index: 3;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.ehimetchi-result__two-column::before {
  content: "愛媛県 こみきゃん";
  top: -65px;
  left: 50%;
  width: 130px;
  height: 147px;
  box-sizing: border-box;
  padding: 8px 0 0 67px;
  color: #555;
  font-size: 9px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
  background-image: url("../img/ehimetchi/result_02.png");
  transform: translateX(-90%);
}

.ehimetchi-result__two-column::after {
  content: "愛媛県 ダークみきゃん";
  right: -43px;
  bottom: -43px;
  width: 163px;
  height: 173px;
  box-sizing: border-box;
  padding-top: 17px;
  color: #555;
  font-size: 9px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
  background-image: url("../img/ehimetchi/result_03.png");
}

.ehimetchi-result-card,
.ehimetchi-result-roles,
.ehimetchi-result-message {
  position: relative;
  border: 2px solid #ff8300;
  border-radius: 28px;
  background-color: #ffffff;
  box-shadow: 4px 6px 0px 0px #FF8904;
}

.ehimetchi-result-card {
  padding: 48px;
}

.ehimetchi-result-card::before,
.ehimetchi-result-card::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: -21px;
  width: 24px;
  height: 52px;
  background: url("../img/ehimetchi/dot.svg") center / contain no-repeat;
}

.ehimetchi-result-card::before {
  left: 25%;
}

.ehimetchi-result-card::after {
  right: 25%;
}

.ehimetchi-result-card h2,
.ehimetchi-result-roles h2 {
  position: relative;
  margin: 0 0 34px;
  padding: 11px 20px;
  background: linear-gradient(90deg, #ff8421 0%, #ffb65f 100%);
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 50%, 100% 100%, 0 100%, 18px 50%);
  color: #ffffff;
  text-align: center;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 800;
}

.ehimetchi-result-card p {
  display: flex;
  align-items: center;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 700;
}
.ehimetchi-result-card p+p{
  margin-top: 15px;
}

.ehimetchi-result-card p span {
  display: block;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  margin-right: 18px;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  background: url("../img/ehimetchi/checkbox.svg") center / contain no-repeat;
}

.ehimetchi-result-roles {
  margin-top: 55px;
  padding: 48px 48px 73px;
  background-color: #ffffff;
  background-image: url("../img/ehimetchi/city.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
}

.ehimetchi-result-roles::before {
  content: "愛媛県イメージアップキャラクター みきゃん";
  top: 0;
  left: 50%;
  width: 214px;
  height: 193px;
  box-sizing: border-box;
  padding: 127px 0 0 208px;
  color: #555;
  font-size: 9px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
  background-image: url("../img/ehimetchi/result_04.png");
  transform: translate(-50%,-55%);
}

.ehimetchi-result-roles h2 {
  margin-bottom: 30px;
}

.ehimetchi-result-roles > div::before,
.ehimetchi-result-roles > div::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: -153px;
  width: 24px;
  height: 52px;
  pointer-events: none;
  background: url("../img/ehimetchi/dot.svg") center / contain no-repeat;
}

.ehimetchi-result-roles > div::before {
  left: 9%;
}

.ehimetchi-result-roles > div::after {
  right: 9%;
}

.ehimetchi-result-roles > div {
  display: grid;
  position: relative;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 16px;
}

.ehimetchi-result-roles > div > div {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  column-gap: 16px;
  padding: 25px 28px;
  border: 1px solid #ead8c7;
  border-radius: 6px;
  background: rgba(255, 250, 245, .94);
}

.ehimetchi-result-roles > div > div > span {
  display: block;
  width: 23px;
  height: 26px;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  background: url("../img/ehimetchi/map.svg") center / contain no-repeat;
}

.ehimetchi-result-roles p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
}

.ehimetchi-result-roles p.title {
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 700;
}

.ehimetchi-result-message {
  margin-top: 55px;
}

.ehimetchi-result-message .cont{
  position: relative;
  max-width: 790px;
  margin: 0 auto;
  padding: 40px 0;
}

.ehimetchi-result-message > div > span {
  display: block;
  width: 475px;
  padding: 7px 30px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff8500 0%, #ffb85f 100%);
  color: #ffffff;
  text-align: center;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
}

.ehimetchi-result-message p {
  margin: 23px 0 0;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 700;
}

.ehimetchi-result-message img {
  position: absolute;
  right: -60px;
  bottom: 0;
  display: block;
  width: 260px;
}

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

.ehimetchi-result-share p {
  margin: 0 0 23px;
  font-size: 16px;
  line-height: 2;
  font-weight: 700;
}


.ehimetchi-retry-button {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 250px;
  height: 52px;
  margin: 56px auto 0;
  padding: 0 20px;
  border: 0;
  border-radius: 15px;
  background: #F3F4F6;
  color: #3e485a;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .3s;
}

.ehimetchi-retry-button span {
  display: block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  background: url("../img/ehimetchi/arrow_back.svg") center / contain no-repeat;
}

@media screen and (min-width: 961px) {
  .diagnosis_shell.is-result-view[data-result-theme="B"] {
    background-image:
      url("../img/ehimetchi/result_b/bg01.png"),
      url("../img/ehimetchi/result_b/bg02.png"),
      url("../img/ehimetchi/result_b/bg03.png"),
      url("../img/ehimetchi/result_b/bg04.png"),
      url("../img/ehimetchi/result_b/icon08.png"),
      url("../img/ehimetchi/result_b/icon10.png"),
      url("../img/ehimetchi/result_b/icon11.png"),
      url("../img/ehimetchi/result_b/icon01.png"),
      url("../img/ehimetchi/result_b/icon07.png"),
      url("../img/ehimetchi/result_b/icon06.png"),
      url("../img/ehimetchi/result_b/icon02.png"),
      url("../img/ehimetchi/result_b/icon03.png"),
      url("../img/ehimetchi/result_b/icon01.png"),
      url("../img/ehimetchi/result_b/icon09.png"),
      url("../img/ehimetchi/result_b/icon04.png");
    background-size:
      515px 303px,
      390px 275px,
      504px 405px,
      390px 346px,
      348px 310px,
      112px 83px,
      132px 213px,
      186px 186px,
      149px 136px,
      123px 120px,
      193px 213px,
      215px 339px,
      186px 186px,
      233px 205px,
      378px 402px;
    background-position: 
      left top,
      right top,
      left bottom -65px,
      right bottom -65px,
      left 437px,
      calc(100% - 104px) 311px,
      right 345px,
      58px 866px,
      right 932px,
      8px 1100px,
      left 1461px,
      right 1342px,
      calc(100% - 144px) 1502px,
      right 1775px,
      left 1525px;
  }

  .diagnosis_shell.is-result-view[data-result-theme="B"] .ehimetchi-result[data-result="B"] .ehimetchi-result__hero .img {
    background-image:
      url("../img/ehimetchi/result_b/result_01.png"),
      url("../img/ehimetchi/result_b/line.svg");
    background-size: 430px 427px, 73px 71px;
  }

  .diagnosis_shell.is-result-view[data-result-theme="B"] .ehimetchi-result[data-result="B"] .ehimetchi-result__hero h1,
  .diagnosis_shell.is-result-view[data-result-theme="B"] .ehimetchi-result[data-result="B"] .ehimetchi-result__hero h2 span {
    color: #F1D208;
  }

  .diagnosis_shell.is-result-view[data-result-theme="B"] .ehimetchi-result[data-result="B"] .ehimetchi-result__hero h1::after {
    background-image: url("../img/ehimetchi/result_b/border.svg");
  }

  .diagnosis_shell.is-result-view[data-result-theme="C"] {
    background-image:
      url("../img/ehimetchi/result_c/bg01.png"),
      url("../img/ehimetchi/result_c/bg02.png"),
      url("../img/ehimetchi/result_c/bg03.png"),
      url("../img/ehimetchi/result_c/bg04.png"),
      url("../img/ehimetchi/result_c/icon08.png"),
      url("../img/ehimetchi/result_c/icon10.png"),
      url("../img/ehimetchi/result_c/icon11.png"),
      url("../img/ehimetchi/result_c/icon01.png"),
      url("../img/ehimetchi/result_c/icon07.png"),
      url("../img/ehimetchi/result_c/icon06.png"),
      url("../img/ehimetchi/result_c/icon02.png"),
      url("../img/ehimetchi/result_c/icon03.png"),
      url("../img/ehimetchi/result_c/icon01.png"),
      url("../img/ehimetchi/result_c/icon09.png"),
      url("../img/ehimetchi/result_c/icon04.png");
    background-size:
      515px 303px,
      390px 274px,
      504px 405px,
      390px 346px,
      275px 344px,
      115px 115px,
      132px 213px,
      186px 186px,
      71px 71px,
      80px 80px,
      193px 213px,
      215px 339px,
      186px 186px,
      345px 345px,
      378px 402px;
  }

  .diagnosis_shell.is-result-view[data-result-theme="C"] .ehimetchi-result[data-result="C"] .ehimetchi-result__hero .img {
    background-image:
      url("../img/ehimetchi/result_c/result_01.png"),
      url("../img/ehimetchi/result_c/line.svg");
    background-size: 430px 427px, 73px 71px;
  }

  .diagnosis_shell.is-result-view[data-result-theme="C"] .ehimetchi-result[data-result="C"] .ehimetchi-result__hero h1,
  .diagnosis_shell.is-result-view[data-result-theme="C"] .ehimetchi-result[data-result="C"] .ehimetchi-result__hero h2 span {
    color: #C599B9;
  }

  .diagnosis_shell.is-result-view[data-result-theme="C"] .ehimetchi-result[data-result="C"] .ehimetchi-result__hero h1::after {
    background-image: url("../img/ehimetchi/result_c/border.svg");
  }

  .diagnosis_shell.is-result-view[data-result-theme="D"] {
    background-image:
      url("../img/ehimetchi/result_d/bg01.png"),
      url("../img/ehimetchi/result_d/bg02.png"),
      url("../img/ehimetchi/result_d/bg03.png"),
      url("../img/ehimetchi/result_d/bg04.png"),
      url("../img/ehimetchi/result_d/icon08.png"),
      url("../img/ehimetchi/result_d/icon10.png"),
      url("../img/ehimetchi/result_d/icon10_02.png"),
      url("../img/ehimetchi/result_d/icon11.png"),
      url("../img/ehimetchi/result_d/icon01.png"),
      url("../img/ehimetchi/result_d/icon07.png"),
      url("../img/ehimetchi/result_d/icon06.png"),
      url("../img/ehimetchi/result_d/icon02.png"),
      url("../img/ehimetchi/result_d/icon03.png"),
      url("../img/ehimetchi/result_d/icon01.png"),
      url("../img/ehimetchi/result_d/icon09.png"),
      url("../img/ehimetchi/result_d/icon04.png");
    background-position:
      left top,
      right top,
      left bottom -65px,
      right bottom -65px,
      left 430px,
      right 174px top 344px,
      right 120px top 316px,
      right 345px,
      58px 866px,
      right 960px,
      7px 1098px,
      left 1461px,
      right 1342px,
      calc(100% - 144px) 1502px,
      right 1865px,
      left 1525px;
    background-size:
      515px 303px,
      390px 275px,
      504px 405px,
      390px 346px,
      296px 240px,
      74px 58px,
      92px 80px,
      132px 213px,
      186px 186px,
      91px 141px,
      112px 146px,
      193px 213px,
      215px 339px,
      186px 186px,
      107px 74px,
      378px 402px;
  }

  .diagnosis_shell.is-result-view[data-result-theme="D"] .ehimetchi-result[data-result="D"] .ehimetchi-result__hero .img {
    background-image:
      url("../img/ehimetchi/result_d/result_01.png"),
      url("../img/ehimetchi/result_d/line.svg");
    background-size: 430px 427px, 73px 71px;
  }

  .diagnosis_shell.is-result-view[data-result-theme="D"] .ehimetchi-result[data-result="D"] .ehimetchi-result__hero h1,
  .diagnosis_shell.is-result-view[data-result-theme="D"] .ehimetchi-result[data-result="D"] .ehimetchi-result__hero h2 span {
    color: #8CC98A;
  }

  .diagnosis_shell.is-result-view[data-result-theme="D"] .ehimetchi-result[data-result="D"] .ehimetchi-result__hero h1::after {
    background-image: url("../img/ehimetchi/result_d/border.svg");
  }

  .diagnosis_shell.is-result-view[data-result-theme="E"] {
    background-image:
      url("../img/ehimetchi/result_e/bg01.png"),
      url("../img/ehimetchi/result_e/bg02.png"),
      url("../img/ehimetchi/result_e/bg03.png"),
      url("../img/ehimetchi/result_e/bg04.png"),
      url("../img/ehimetchi/result_e/icon08.png"),
      url("../img/ehimetchi/result_e/icon10.png"),
      url("../img/ehimetchi/result_e/icon11.png"),
      url("../img/ehimetchi/result_e/icon01.png"),
      url("../img/ehimetchi/result_e/icon07.png"),
      url("../img/ehimetchi/result_e/icon06.png"),
      url("../img/ehimetchi/result_e/icon02.png"),
      url("../img/ehimetchi/result_e/icon03.png"),
      url("../img/ehimetchi/result_e/icon01.png"),
      url("../img/ehimetchi/result_e/icon09.png"),
      url("../img/ehimetchi/result_e/icon04.png");
    background-size:
      515px 303px,
      390px 275px,
      504px 405px,
      390px 346px,
      363px 248px,
      183px 112px,
      132px 213px,
      186px 186px,
      104px 127px,
      121px 146px,
      193px 213px,
      215px 339px,
      186px 186px,
      293px 159px,
      378px 402px;
    background-position: 
      left top,
      right top,
      left bottom -65px,
      right bottom -65px,
      left 462px,
      calc(100% - 104px) 265px,
      right 345px,
      58px 866px,
      calc(100% - 10px) 960px,
      6px 1026px,
      left 1461px,
      right 1342px,
      calc(100% - 144px) 1502px,
      right 1842px,
      left 1525px;
  }

  .diagnosis_shell.is-result-view[data-result-theme="E"] .ehimetchi-result[data-result="E"] .ehimetchi-result__hero .img {
    background-image:
      url("../img/ehimetchi/result_e/result_01.png"),
      url("../img/ehimetchi/result_e/line.svg");
    background-size: 430px 427px, 73px 71px;
  }

  .diagnosis_shell.is-result-view[data-result-theme="E"] .ehimetchi-result[data-result="E"] .ehimetchi-result__hero h1,
  .diagnosis_shell.is-result-view[data-result-theme="E"] .ehimetchi-result[data-result="E"] .ehimetchi-result__hero h2 span {
    color: #89C7D1;
  }

  .diagnosis_shell.is-result-view[data-result-theme="E"] .ehimetchi-result[data-result="E"] .ehimetchi-result__hero h1::after {
    background-image: url("../img/ehimetchi/result_e/border.svg");
  }
}

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

  .ehimetchi-complete button:hover,
  .ehimetchi-question-top button:hover,
  .ehimetchi-share a:hover,
  .ehimetchi-result-share a:hover,
  .ehimetchi-retry-button:hover,
  .ehimetchi-primary-button:hover,
  .ehimetchi-question-actions button:hover {
    opacity: .78;
  }

  .ehimetchi-answer-list button:hover {
    border-color: #ffb76f;
    background: #fff6ed;
  }
}
@media screen and (max-width: 1250px) {
  .ehimetchi-about{
    grid-gap: 30px;
    padding-left: 30px;
    padding-right: 30px;
  }
}
@media screen and (max-width: 1099px) {
  .ehimetchi-result-message img{
    right: 0;
  }
  .ehimetchi-result-card,
  .ehimetchi-result-roles{
    padding-left: 20px;
    padding-right: 20px;
  }
  .ehimetchi-result__hero h1{
    font-size: 57px;
  }
  .ehimetchi-result__hero h2{
    font-size: 24px;
  }
  .ehimetchi-about{
    grid-gap: 20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .ehimetchi-about__content > div{
    padding-left: 20px;
    padding-right: 20px;
  }
  .ehimetchi-about__content h2{
    font-size: 30px;
  }
}

/* ===== EHIMETCHI DIAGNOSIS SP ===== */
@media screen and (max-width: 960px) {
  .ehimetchi-view {
    padding-top: 40px;
  }

  .diagnosis_wrap .faq_inner {
    max-width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }

  .ehimetchi-intro__heading > p {
    font-size: 15px;
  }

  .ehimetchi-intro__heading h1 {
    font-size: 38px;
    line-height: 1.35;
    letter-spacing: .05em;
  }

  .ehimetchi-intro__meta {
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
  }

  .ehimetchi-intro__meta span {
    height: 25px;
    padding: 0 9px;
    font-size: 10px;
  }

  .ehimetchi-share {
    position: static;
    margin-top: 24px;
  }

  .ehimetchi-share p {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.5;
  }

  .ehimetchi-share > div,
  .ehimetchi-result-share > div {
    gap: 14px;
  }

  .ehimetchi-share a,
  .ehimetchi-result-share a {
    width: 40px;
    height: 40px;
  }

  .ehimetchi-intro__main-image {
    width: 210px;
    margin-top: 28px;
  }

  .ehimetchi-intro__lead {
    margin-top: 28px;
  }

  .ehimetchi-intro__lead h2 {
    margin-bottom: 14px;
    font-size: 20px;
    line-height: 1.5;
  }

  .ehimetchi-intro__lead p {
    font-size: 13px;
    line-height: 1.8;
  }

  .ehimetchi-intro__lead p br {
  }

  .ehimetchi-primary-button {
    width: 100%;
    max-width: 400px;
    height: 60px;
    margin-top: 30px;
    font-size: 16px;
  }

  .ehimetchi-primary-button::before {
    right: 12px;
    width: 32px;
    height: 32px;
    background-size: 16px 16px;
  }

  .ehimetchi-type-list {
    margin-top: 45px;
  }

  .ehimetchi-type-list__heading > span,
  .ehimetchi-about__content > span {
    width: 260px;
    height: 42px;
    padding: 0 15px;
    font-size: 18px;
  }

  .ehimetchi-type-list__heading h2 {
    margin-bottom: 28px;
    font-size: 23px;
    line-height: 1.45;
  }

  .ehimetchi-type-list__heading h2 span {
    padding: 0 3px;
    font-size: 45px;
  }

  .ehimetchi-type-list__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
    max-width: 760px;
    margin: 0 auto;
  }

  .ehimetchi-type-card {
    width: auto;
    padding-bottom: 18px;
    border-radius: 18px;
  }

  .ehimetchi-type-card > div,
  .ehimetchi-type-card .img {
    height: 120px;
  }

  .ehimetchi-type-card > div::before {
    bottom: -42px;
    height: 95px;
  }

  .ehimetchi-type-card img{
    max-width: 115px;
    max-height: 105px;
  }
  .ehimetchi-type-card.is-paper img{
    max-width: 135px;
    max-height: 155px;
  }

  .ehimetchi-type-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.35;
  }

  .ehimetchi-type-card p {
    margin: 0 10px;
    font-size: 11px;
    line-height: 1.65;
  }

  .ehimetchi-about {
    flex-direction: column;
    gap: 30px;
    margin-top: 55px;
    padding: 35px 20px 25px;
    border-radius: 22px;
  }

  .ehimetchi-about__phones {
    justify-content: center;
    width: 245px;
  }

  .ehimetchi-about__phones img {
    width: 130px;
  }

  .ehimetchi-about__phones img:last-child {
    margin-top: 45px;
    margin-left: -15px;
  }

  .ehimetchi-about__content {
    width: 100%;
    max-width: none;
    padding-bottom: 105px;
  }

  .ehimetchi-about__content h2 {
    margin: 15px 0 15px;
    font-size: 25px;
    line-height: 1.35;
  }

  .ehimetchi-about__content > div {
    padding: 22px 18px;
  }

  .ehimetchi-about__content > div p {
    font-size: 13px;
    line-height: 1.75;
  }

  .ehimetchi-about__content > div p.note {
  margin-top: 20px;
  font-size: 11px;
}

  .ehimetchi-about__content > img {
    right: 10px;
    width: 120px;
  }

  .ehimetchi-primary-button.is-bottom {
    margin-top: 50px;
  }

  .ehimetchi-question-view {
    padding-top: 35px;
  }

  .ehimetchi-question-shell {
    max-width: 100%;
  }

  .ehimetchi-question-top {
    gap: 12px;
  }

  .ehimetchi-question-top button {
    flex: 0 1 auto;
    padding-left: 23px;
    font-size: 12px;
    white-space: nowrap;
  }

  .ehimetchi-question-top button::before {
    width: 17px;
    height: 17px;
  }

  .ehimetchi-question-top p {
    min-width: 0;
    height: 38px;
    padding: 0 12px;
    font-size: 11px;
    white-space: nowrap;
  }

  .ehimetchi-progress {
    height: 9px;
    margin: 25px 0;
  }

  .ehimetchi-question > p {
    margin-bottom: 6px;
    font-size: 30px;
  }

  .ehimetchi-question h2 {
    margin-bottom: 25px;
    font-size: 19px;
    line-height: 1.55;
  }

  .ehimetchi-answer-list {
    gap: 10px;
  }

  .ehimetchi-answer-list button {
    padding: 15px 16px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.45;
  }

  .ehimetchi-question-actions {
    gap: 10px;
    margin-top: 35px;
  }

  .ehimetchi-question-actions button {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 12px;
    font-size: 12px;
  }

  .ehimetchi-complete {
    padding: 130px 0 30px;
  }

  .ehimetchi-complete__result {
    width: 100%;
    max-width: 340px;
    height: 64px;
    padding: 0 52px 0 28px;
    border-radius: 16px;
    font-size: 16px;
  }

  .ehimetchi-complete__result::after {
    right: 23px;
    width: 18px;
    height: 18px;
  }

  .ehimetchi-complete__previous {
    min-width: 140px;
    height: 42px;
    margin-top: 150px;
    font-size: 12px;
  }

  .diagnosis_shell.is-result-view {
    padding-top: 45px;
    background-image:
      url("../img/ehimetchi/bg01.png"),
      url("../img/ehimetchi/bg02.png"),
      url("../img/ehimetchi/bg03.png"),
      url("../img/ehimetchi/bg04.png");
    background-position:
      left top,
      right top,
      left bottom -30px,
      right bottom -30px;
    background-size:
      180px auto,
      145px auto,
      180px auto,
      145px auto;
  }

  .diagnosis_shell.is-result-view[data-result-theme="B"] {
    background-image:
      url("../img/ehimetchi/result_b/bg01.png"),
      url("../img/ehimetchi/result_b/bg02.png"),
      url("../img/ehimetchi/result_b/bg03.png"),
      url("../img/ehimetchi/result_b/bg04.png");
  }

  .diagnosis_shell.is-result-view[data-result-theme="C"] {
    background-image:
      url("../img/ehimetchi/result_c/bg01.png"),
      url("../img/ehimetchi/result_c/bg02.png"),
      url("../img/ehimetchi/result_c/bg03.png"),
      url("../img/ehimetchi/result_c/bg04.png");
  }

  .diagnosis_shell.is-result-view[data-result-theme="D"] {
    background-image:
      url("../img/ehimetchi/result_d/bg01.png"),
      url("../img/ehimetchi/result_d/bg02.png"),
      url("../img/ehimetchi/result_d/bg03.png"),
      url("../img/ehimetchi/result_d/bg04.png");
  }

  .diagnosis_shell.is-result-view[data-result-theme="E"] {
    background-image:
      url("../img/ehimetchi/result_e/bg01.png"),
      url("../img/ehimetchi/result_e/bg02.png"),
      url("../img/ehimetchi/result_e/bg03.png"),
      url("../img/ehimetchi/result_e/bg04.png");
  }

  .ehimetchi-result__hero {
    flex-direction: column;
    gap: 25px;
    margin-bottom: 65px;
  }

  .ehimetchi-result__hero .img {
    width: 100%;
    min-width: 0;
    min-height: 280px;
    padding-left: 0;
    background-position:
      center center,
      left calc(50% - 125px) top 42px;
    background-size:
      auto 275px,
      48px auto;
  }

  .ehimetchi-result__hero .cont {
    width: 100%;
    text-align: center;
  }

  .ehimetchi-result__hero > img,
  .ehimetchi-result__hero .img img {
    max-width: 205px;
    max-height: 225px;
  }

  .ehimetchi-result__hero > div > p:first-child {
    font-size: 15px;
  }

  .ehimetchi-result__hero h1 {
    margin-bottom: 48px;
    font-size: 42px;
    line-height: 1.35;
    letter-spacing: .05em;
  }

  .ehimetchi-result__hero h1::after {
    bottom: -10px;
    width: 100%;
    height: 10px;
    background-size: auto 10px;
  }

  .ehimetchi-result__hero h2 {
    margin-bottom: 18px;
    font-size: 20px;
    line-height: 1.45;
    letter-spacing: .04em;
  }

  .diagnosis_shell.is-result-view[data-result-theme="B"] .ehimetchi-result[data-result="B"] .ehimetchi-result__hero .img {
    background-image:
      url("../img/ehimetchi/result_b/result_01.png"),
      url("../img/ehimetchi/result_b/line.svg");
  }

  .diagnosis_shell.is-result-view[data-result-theme="B"] .ehimetchi-result[data-result="B"] .ehimetchi-result__hero h1,
  .diagnosis_shell.is-result-view[data-result-theme="B"] .ehimetchi-result[data-result="B"] .ehimetchi-result__hero h2 span {
    color: #F1D208;
  }

  .diagnosis_shell.is-result-view[data-result-theme="B"] .ehimetchi-result[data-result="B"] .ehimetchi-result__hero h1::after {
    background-image: url("../img/ehimetchi/result_b/border.svg");
  }

  .diagnosis_shell.is-result-view[data-result-theme="C"] .ehimetchi-result[data-result="C"] .ehimetchi-result__hero .img {
    background-image:
      url("../img/ehimetchi/result_c/result_01.png"),
      url("../img/ehimetchi/result_c/line.svg");
  }

  .diagnosis_shell.is-result-view[data-result-theme="C"] .ehimetchi-result[data-result="C"] .ehimetchi-result__hero h1,
  .diagnosis_shell.is-result-view[data-result-theme="C"] .ehimetchi-result[data-result="C"] .ehimetchi-result__hero h2 span {
    color: #C599B9;
  }

  .diagnosis_shell.is-result-view[data-result-theme="C"] .ehimetchi-result[data-result="C"] .ehimetchi-result__hero h1::after {
    background-image: url("../img/ehimetchi/result_c/border.svg");
  }

  .diagnosis_shell.is-result-view[data-result-theme="D"] .ehimetchi-result[data-result="D"] .ehimetchi-result__hero .img {
    background-image:
      url("../img/ehimetchi/result_d/result_01.png"),
      url("../img/ehimetchi/result_d/line.svg");
  }

  .diagnosis_shell.is-result-view[data-result-theme="D"] .ehimetchi-result[data-result="D"] .ehimetchi-result__hero h1,
  .diagnosis_shell.is-result-view[data-result-theme="D"] .ehimetchi-result[data-result="D"] .ehimetchi-result__hero h2 span {
    color: #8CC98A;
  }

  .diagnosis_shell.is-result-view[data-result-theme="D"] .ehimetchi-result[data-result="D"] .ehimetchi-result__hero h1::after {
    background-image: url("../img/ehimetchi/result_d/border.svg");
  }

  .diagnosis_shell.is-result-view[data-result-theme="E"] .ehimetchi-result[data-result="E"] .ehimetchi-result__hero .img {
    background-image:
      url("../img/ehimetchi/result_e/result_01.png"),
      url("../img/ehimetchi/result_e/line.svg");
  }

  .diagnosis_shell.is-result-view[data-result-theme="E"] .ehimetchi-result[data-result="E"] .ehimetchi-result__hero h1,
  .diagnosis_shell.is-result-view[data-result-theme="E"] .ehimetchi-result[data-result="E"] .ehimetchi-result__hero h2 span {
    color: #89C7D1;
  }

  .diagnosis_shell.is-result-view[data-result-theme="E"] .ehimetchi-result[data-result="E"] .ehimetchi-result__hero h1::after {
    background-image: url("../img/ehimetchi/result_e/border.svg");
  }

  .ehimetchi-result__hero > div > p:last-child {
    font-size: 13px;
    line-height: 1.8;
    text-align: left;
  }

  .ehimetchi-result__two-column {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 0;
  }

  .ehimetchi-result__two-column::before {
    top: -50px;
    width: 82px;
    height: 93px;
    left: 98%;
    padding: 3px 0 0 40px;
    font-size: 7px;
  }

  .ehimetchi-result__two-column::after {
    right: -31px;
    bottom: -28px;
    width: 100px;
    height: 106px;
    padding-top: 3px;
    font-size: 7px;
    text-align: center;
  }

  .ehimetchi-result-card,
  .ehimetchi-result-roles,
  .ehimetchi-result-message {
    border-radius: 20px;
    box-shadow: 3px 4px 0 0 #FF8904;
  }

  .ehimetchi-result-card {
    padding: 35px 18px 25px;
  }

  .ehimetchi-result-card::before,
  .ehimetchi-result-card::after {
    top: -17px;
    width: 18px;
    height: 39px;
  }

  .ehimetchi-result-card h2,
  .ehimetchi-result-roles h2 {
    margin-bottom: 24px;
    padding: 10px 18px;
    font-size: 15px;
  }

  .ehimetchi-result-card p {
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.6;
  }

  .ehimetchi-result-card p + p {
    margin-top: 12px;
  }

  .ehimetchi-result-card p span {
    width: 20px;
    height: 20px;
    margin-top: 1px;
    margin-right: 10px;
  }

  .ehimetchi-result-roles {
    margin-top: 30px;
    padding: 35px 15px 45px;
  }

  .ehimetchi-result-roles::before {
        width: 130px;
        height: 117px;
        padding: 87px 0 0 0;
        font-size: 7px;
        text-align: center;
  }

  .ehimetchi-result-roles > div {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ehimetchi-result-roles > div::before,
  .ehimetchi-result-roles > div::after {
    top: -116px;
    width: 18px;
    height: 39px;
  }

  .ehimetchi-result-roles > div::before {
    left: 12%;
  }

  .ehimetchi-result-roles > div::after {
    right: 12%;
  }

  .ehimetchi-result-roles > div > div {
    grid-template-columns: 23px 1fr;
    column-gap: 12px;
    padding: 16px;
  }

  .ehimetchi-result-roles > div > div > span {
    width: 19px;
    height: 22px;
  }

  .ehimetchi-result-roles p {
    font-size: 12px;
  }

  .ehimetchi-result-roles p.title {
    margin-top: 5px;
    font-size: 16px;
  }

  .ehimetchi-result-message {
    margin-top: 30px;
  }

  .ehimetchi-result-message .cont {
    max-width: none;
    padding: 20px 18px 150px;
  }

  .ehimetchi-result-message > div > span {
    width: 100%;
    padding: 8px 15px;
    font-size: 15px;
  }

  .ehimetchi-result-message p {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.5;
  }

  .ehimetchi-result-message img {
    right: 10px;
    width: 150px;
  }

  .ehimetchi-result-share {
    margin-top: 55px;
  }

  .ehimetchi-result-share p {
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.6;
  }

  .ehimetchi-retry-button {
    width: 100%;
    max-width: 280px;
    min-width: 0;
    height: 50px;
    margin-top: 42px;
    font-size: 13px;
  }
}
@media (max-width: 560px) {
  .ehimetchi-type-list__grid{
    grid-template-columns: repeat(1,1fr);
  }
}

.clips-empty { display: grid; justify-items: center; padding: 110px 20px; text-align: center; }
.clips-empty .material-symbols-rounded { color: #d1d1d1; font-size: 76px; }
.clips-empty h2 { margin: 10px 0 8px; font-size: 25px; }
.clips-empty p { margin: 0 0 24px; color: var(--muted); }
.clips-empty a { 
  padding: 13px 25px; 
  border-radius: 999px; 
  border: 1px solid var(--orange); 
  background: var(--orange); 
  color: #fff; 
  font-weight: 800; 
  transition: all .3s;
}
@media screen and (min-width: 961px) {
  .clips-empty a:hover{
    color: var(--orange);
    background: #fff;
  }
}

.favorites_list[hidden],
.clips-empty[hidden] {
  display: none !important;
}

/* ===== WORKSTYLE DIAGNOSIS ===== */
.workstyle_wrap .ehimetchi-type-list,
.workstyle_wrap .ehimetchi-share,
.workstyle_wrap .ehimetchi-result,
.workstyle_wrap .ehimetchi-result-share {
  display: none;
}

.workstyle_wrap .workstyle_result[hidden] {
  display: none !important;
}

  .workstyle_wrap .diagnosis_shell,
  .workstyle_wrap .diagnosis_shell.is-result-view {
    padding-top: 0;
    background-color: #ffffff;
    background-image: none;
  }

  .workstyle_wrap .diagnosis_shell.is-result-view {
    padding-top: 0;
  }

  .workstyle_wrap .ehimetchi-view {
    padding-top: 62px;
  }

  .workstyle_wrap .ehimetchi-intro__heading > p {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .workstyle_wrap .ehimetchi-intro__heading > p span {
    display: flex;
    align-items: center;
    height: 28px;
    padding: 0 12px;
    border: 1px solid #1A85B7;
    border-radius: 999px;
    color: #1A85B7;
    font-size: 13px;
    font-weight: 700;
  }

  .workstyle_wrap .ehimetchi-intro__heading h1 span {
    color: #1A85B7;
  }

  .workstyle_wrap .ehimetchi-intro__meta span {
    background: #1A85B7;
  }

  .workstyle_wrap .ehimetchi-intro__main-image {
    width: 300px;
  }

  .workstyle_wrap .ehimetchi-intro__lead h2 {
    font-size: 28px;
  }

  .workstyle_wrap .ehimetchi-about__content > span {
    background: #1A85B7;
  }

  .workstyle_wrap .ehimetchi-about__content > div p.note {
    margin-top: 28px;
    font-size: 12px;
  }

  .workstyle_wrap .ehimetchi-question-shell {
    max-width: 900px;
  }

  .workstyle_wrap .ehimetchi-question-top p {
    min-width: 240px;
  }

  .workstyle_wrap .ehimetchi-progress span,
  .workstyle_wrap .ehimetchi-complete__result {
    background: #1A85B7;
  }

  .workstyle_wrap .ehimetchi-question > p {
    color: #1A85B7;
  }

  .workstyle_wrap .workstyle_answer-list button.is-selected {
    border-color: #BCDCE8;
    background: #BCDCE8;
  }

  .workstyle_result {
    padding: 0 0 20px;
  }

  .workstyle_result__heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 80px;
    padding-bottom: 42px;
    border-bottom: 1px dashed #D9D9D9
  }

  .workstyle_result__heading > div {
    flex: 0 0 390px;
  }

  .workstyle_result__heading > div > span {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 15px;
    border-radius: 999px;
    background: #1A85B7;
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
  }

  .workstyle_result__heading h1 {
    margin-top: 16px;
    font-size: 58px;
    line-height: 1.25;
    font-weight: 700;
  }

  .workstyle_result__heading > p {
    max-width: 510px;
    color: #4B4B4B;
    font-size: 14px;
    line-height: 1.85;
  }

  .workstyle_result__balance,
  .workstyle_result__companies {
    margin-top: 48px;
  }

  .workstyle_result__section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 28px;
  }

  .workstyle_result__section-heading h2 {
    font-size: 36px;
    line-height: 1.4;
    font-weight: 700;
  }

  .workstyle_result__section-heading p {
    max-width: 480px;
    color: #5F5F5F;
    font-size: 12px;
    line-height: 1.7;
  }

  .workstyle_balance-chart {
    padding: 60px 105px;
    border-radius: 20px;
    background: #FAF9F6;
  }

  .workstyle_balance-chart__canvas {
    position: relative;
    max-width: 645px;
    margin: 0 auto;
  }

  .workstyle_balance-chart__canvas > img {
    display: block;
    width: 100%;
    height: auto;
  }

  .workstyle_balance-chart__graph {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
  }

  .workstyle_balance-chart polyline {
    fill: none;
    stroke: #FF8500;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 5;
  }

  .workstyle_balance-chart circle {
    fill: #ffffff;
    stroke: #FF8500;
    stroke-width: 5;
  }

  .workstyle_result__companies {
    margin-top: 60px;
  }

  .workstyle_company-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }


@media screen and (min-width: 961px) {
  .workstyle_wrap .workstyle_answer-list button:hover {
    border-color: #BCDCE8;
    background: #EDF7FA;
  }
}

/* ===== WORKSTYLE DIAGNOSIS SP ===== */
@media screen and (max-width: 960px) {
  .workstyle_wrap .ehimetchi-intro__lead h2{
    font-size: 20px;
  }
  .workstyle_wrap .ehimetchi-view {
    padding-top: 35px;
  }

  .workstyle_wrap .ehimetchi-intro__heading > p {
    gap: 10px;
    font-size: 13px;
  }

  .workstyle_wrap .ehimetchi-intro__heading > p span {
    height: 24px;
    padding: 0 10px;
    font-size: 11px;
  }

  .workstyle_wrap .ehimetchi-intro__heading h1 {
    font-size: clamp(29px, 9vw, 34px);
    letter-spacing: .03em;
    white-space: nowrap;
  }

  .workstyle_wrap .ehimetchi-intro__main-image {
    width: 260px;
    max-width: 75%;
  }

  .workstyle_wrap .ehimetchi-about__content > div p.note {
    margin-top: 20px;
    font-size: 11px;
  }

  .workstyle_wrap .ehimetchi-question-shell {
    max-width: 100%;
  }

  .workstyle_wrap .ehimetchi-question-top p {
    min-width: 0;
  }

  .workstyle_wrap .ehimetchi-question h2 {
    margin-bottom: 22px;
    font-size: 17px;
    line-height: 1.65;
  }

  .workstyle_wrap .workstyle_answer-list button {
    line-height: 1.6;
  }

  .workstyle_result {
    padding-bottom: 10px;
  }

  .workstyle_result__heading {
    flex-direction: column;
    gap: 18px;
    padding-bottom: 28px;
  }

  .workstyle_result__heading > div {
    flex: none;
    width: 100%;
  }

  .workstyle_result__heading > div > span {
    height: 26px;
    padding: 0 13px;
    font-size: 11px;
  }

  .workstyle_result__heading h1 {
    margin-top: 12px;
    font-size: 34px;
  }

  .workstyle_result__heading > p {
    max-width: none;
    margin-top: 0;
    font-size: 12px;
    line-height: 1.8;
  }

  .workstyle_result__balance,
  .workstyle_result__companies {
    margin-top: 35px;
  }

  .workstyle_result__section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 18px;
  }

  .workstyle_result__section-heading h2 {
    font-size: 24px;
  }

  .workstyle_result__section-heading p {
    max-width: none;
    font-size: 11px;
  }

  .workstyle_balance-chart {
    padding: 28px 10px;
    border-radius: 12px;
  }

  .workstyle_balance-chart polyline {
    stroke-width: 4;
  }

  .workstyle_balance-chart circle {
    stroke-width: 4;
  }

  .workstyle_company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }

  .workstyle_wrap .ehimetchi-retry-button {
    margin-top: 40px;
  }
}

/* ===== CAREER DIAGNOSIS PC ===== */
.career_wrap {
  --career-purple: #B953F1;
}

.career_wrap .diagnosis_shell,
.career_wrap .diagnosis_shell.is-result-view {
  padding-top: 0;
  background-color: #ffffff;
  background-image: none;
}

.career_wrap .ehimetchi-intro__heading > p span {
  border-color: var(--career-purple);
  color: var(--career-purple);
}

.career_wrap .ehimetchi-intro__heading h1 span {
  color: var(--career-purple);
}

.career_wrap .ehimetchi-intro__meta span,
.career_wrap .ehimetchi-about__content > span,
.career_wrap .ehimetchi-progress span,
.career_wrap .ehimetchi-complete__result {
  background: var(--career-purple);
}

.career_wrap .ehimetchi-intro__main-image {
  width: 300px;
}


.career_wrap .ehimetchi-question > p {
  color: var(--career-purple);
}

.career_wrap .career_answer-list button.is-selected {
  border-color: #ddd;
  background: #EAD5F6;
}

.career_type-list {
  margin-top: 50px;
}

.career_type-list .ehimetchi-type-list__heading > span {
  background: var(--career-purple);
}

.career_type-list .ehimetchi-type-list__heading > span::before {
  border-top-color: var(--career-purple);
}

.career_type-list .ehimetchi-type-list__heading h2 span {
  color: var(--career-purple);
}

.career_type-list__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.career_type-card {
  overflow: hidden;
  padding: 0;
  border: 1px solid #4D4D4D;
  border-radius: 10px;
  background: #ffffff;
  color: #171717;
  font-family: inherit;
  text-align: left;
  box-shadow: 0px 4px 20px 0px #00000013;
}

.career_type-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 740 / 446;
  object-fit: cover;
}

.career_type-card > div {
  padding: 20px;
}

.career_type-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 700;
}

.career_type-card h3 > span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: var(--type-color);
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
}

.career_type-card > div > p {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.career_type-card > div > p span {
  padding: 7px 16px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--type-color) 12%, #ffffff);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
}
.career_type-card > div > p span:before{
  content: '# ';
}

/* 「…」の補足タグだけ # を付けず、「…ほか」と表示 */
.career_type-card > div > p span:last-child:before {
  content: none;
}

.career_type-card > div > p span:last-child small:after {
  content: 'ほか';
}

.career_type-card.is-r { --type-color: #F1BE43; }
.career_type-card.is-i { --type-color: #E18635; }
.career_type-card.is-a { --type-color: #766CA9; }
.career_type-card.is-s { --type-color: #D2302A; }
.career_type-card.is-e { --type-color: #64AB4A; }
.career_type-card.is-c { --type-color: #4EACE6; }


.career_about .ehimetchi-about__content > div p.note {
  margin-top: 28px;
  font-size: 12px;
}

.career_result {
  padding-bottom: 20px;
}

.career_result__heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 80px;
  padding-bottom: 42px;
  border-bottom: 1px dashed #D9D9D9
}

.career_result__heading > div {
  flex: 0 0 390px;
}

.career_result__heading > div > span {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--career-purple);
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
}

.career_result__heading h1 {
  margin-top: 16px;
  font-size: 58px;
  line-height: 1.25;
  font-weight: 700;
}

.career_result__heading > p {
  max-width: 510px;
  color: #4B4B4B;
  font-size: 14px;
  line-height: 1.85;
}

.career_result__types,
.career_result__senior,
.career_result__companies {
  margin-top: 48px;
}

.career_result__section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 28px;
}

.career_result__section-heading h2 {
  font-size: 36px;
  line-height: 1.4;
  font-weight: 700;
}

.career_result__section-heading p {
  max-width: 540px;
  color: #5F5F5F;
  font-size: 12px;
  line-height: 1.7;
}

.career_chart {
  position: relative;
  height: 640px;
  border-radius: 28px;
  background: #FAF9F6;
}

.career_chart__canvas {
  position: absolute;
  top: 125px;
  left: 50%;
  width: 311px;
  height: 364px;
  transform: translateX(-50%);
}

.career_chart__canvas > img,
.career_chart__graph {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.career_chart__graph {
  overflow: visible;
}

.career_chart__graph polygon {
  fill: rgb(255 137 4 / 13%);
  stroke: #FF8904;
  stroke-linejoin: round;
  stroke-width: 4;
}

.career_chart__graph circle {
  fill: #ffffff;
  stroke: #FF8904;
  stroke-width: 4;
}

.career_axis-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 156px;
  padding: 11px 12px;
  border: 0;
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgb(34 34 34 / 9%);
  color: #222222;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.career_axis-card > span:first-child {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 2px solid var(--axis-color, #FF8904);
  border-radius: 50%;
  color: var(--axis-color, #FF8904);
  font-size: 13px;
  font-weight: 900;
}

.career_axis-card > span:nth-child(2) {
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
}

.career_axis-card > span:nth-child(3) {
  display: flex;
  align-items: baseline;
  margin-left: auto;
  font-size: 19px;
  font-weight: 700;
}

.career_axis-card small {
  color: #9B968E;
  font-size: 8px;
  font-weight: 700;
}

.career_axis-card > img {
  width: 26px;
  height: 26px;
}

.career_axis-card.is-r { --axis-color: #F7BD3C; top: 42px; left: 50%; transform: translateX(-50%); }
.career_axis-card.is-i { --axis-color: #EA852E; top: 169px; left: calc(50% + 204px); }
.career_axis-card.is-a { --axis-color: #7C70B6; bottom: 134px;left: calc(50% + 199px); }
.career_axis-card.is-s { --axis-color: #DD2C2A; bottom: 70px; left: 50%; transform: translateX(-50%); }
.career_axis-card.is-e { --axis-color: #5CAF49; bottom: 134px; right: calc(50% + 199px); }
.career_axis-card.is-c { --axis-color: #49AADE; top: 169px; right: calc(50% + 204px); }

.career_type-guide {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid #DDDAD5;
}

.career_type-guide__heading {
  margin-bottom: 18px;
}

.career_type-guide__heading h3 {
  color: #222222;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 800;
}

.career_type-guide__heading p {
  margin-top: 5px;
  color: #6F6B66;
  font-size: 12px;
  line-height: 1.7;
}

.career_type-guide__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}

.career_type-guide__card {
  --career-guide-color: #F7BD3C;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 108px;
  padding: 15px 16px;
  border: 1px solid #DEDCD8;
  border-radius: 12px;
  background: #FFFFFF;
  color: #222222;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}

.career_type-guide__letter {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--career-guide-color);
  color: #FFFFFF;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
}

.career_type-guide__body {
  display: block;
  min-width: 0;
}

.career_type-guide__name {
  display: block;
  color: #222222;
  font-size: 18px;
  line-height: 1.4;
  /* font-weight: 800; */
}

.career_type-guide__description {
  display: block;
  margin-top: 5px;
  color: #57534F;
  font-size: 14px;
  line-height: 1.65;
  /* font-weight: 500; */
}

.career_type-guide__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #6D6964;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.career_type-guide__more > span:last-child {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid #D7D4CF;
  border-radius: 50%;
  background: #FFFFFF;
  color: #44413D;
  font-size: 14px;
  line-height: 1;
}

@media (hover: hover) and (pointer: fine) {
  .career_type-guide__card:hover {
    border-color: var(--career-guide-color);
    background: #FCFCFB;
  }
}

.career_result__senior {
  margin-top: 70px;
}

.career_senior-grid,
.career_company-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.career_result__companies {
  margin-top: 70px;
  padding-top: 70px;
  border-top: 1px dashed #A6A6A6;
}

.career_company-grid .company-card {
  width: auto;
}

.career_modal[hidden] {
  display: none !important;
}

.is-career-modal-open {
  overflow: hidden;
}

.career_modal {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 36px;
}

.career_modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgb(0 0 0 / 58%);
}

.career_modal__panel {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100vw - 72px));
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  padding: 40px;
  border-radius: 26px;
  background: #ffffff;
}

.career_modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  cursor: pointer;
}

.career_modal__close img {
  display: block;
  width: 100%;
}

.career_modal__heading {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--career-type-color);
}

.career_modal__heading > span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  flex: 0 0 80px;
  border-radius: 50%;
  background: var(--career-type-color);
  color: #ffffff;
  font-size: 32px;
  font-weight: 900;
}

.career_modal__heading p {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .05em;
}

.career_modal__heading h2 {
  margin-top: 4px;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 700;
}

.career_modal__description {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.5;
}

.career_modal__jobs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.career_modal__jobs img {
  display: block;
  width: 100%;
}

.career_modal__features {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.55fr);
  grid-template-rows: auto 1fr;
  column-gap: 34px;
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--career-type-color) 11%, #ffffff);
}

.career_modal__features h3 {
  font-size: 18px;
  font-weight: 700;
  text-decoration: underline;
}

.career_modal__features > [data-career-modal-features] {
  grid-column: 1;
  margin-top: 12px;
}

.career_modal__features > [data-career-modal-features] p {
  position: relative;
  padding-left: 1em;
  text-indent: -1em;
  font-size: 14px;
  line-height: 1.75;
}

.career_modal__features > [data-career-modal-features] p::before {
  color: var(--career-type-color);
  content: "●";
}

.career_modal__examples {
  grid-column: 2;
  grid-row: 1 / span 2;
  padding-left: 28px;
  border-left: 1px solid color-mix(in srgb, var(--career-type-color) 35%, #ffffff);
}

.career_modal__examples-list {
  margin-top: 12px;
}

.career_modal__examples-list p {
  font-size: 14px;
  line-height: 1.75;
}

.career_modal__examples-list strong {
  display: inline;
  color: var(--career-type-color);
  font-weight: 700;
}

@media screen and (min-width: 961px) {
  .career_wrap .career_answer-list button:hover {
    border-color: #E4C7EF;
    background: #F7EDFB;
  }

  .career_axis-card,
  .career_senior-card {
    transition: transform .25s ease, box-shadow .25s ease;
  }

  .career_axis-card:hover,
  .career_senior-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgb(0 0 0 / 12%);
  }

  .career_axis-card.is-r:hover,
  .career_axis-card.is-s:hover {
    transform: translate(-50%, -4px);
  }
}
/* ===== CAREER DIAGNOSIS SP ===== */
@media screen and (max-width: 960px) {
  .career_wrap .ehimetchi-intro__main-image {
    width: 290px;
    max-width: 86%;
  }

  .career_type-list {
    margin-top: 42px;
  }

  .career_type-list__grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 25px;
  }

  .career_type-card > div {
    padding: 16px;
  }

  .career_type-card h3 {
    gap: 8px;
    font-size: 19px;
  }

  .career_type-card h3 > span {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .career_type-card > div > p {
    gap: 7px;
    margin-top: 12px;
  }

  .career_type-card > div > p span {
    padding: 5px 10px;
    font-size: 10px;
  }

  .career_about .ehimetchi-about__content > div p.note {
    margin-top: 20px;
    font-size: 11px;
  }

  .career_wrap .ehimetchi-question-shell {
    max-width: 100%;
  }

  .career_wrap .ehimetchi-question-top p {
    min-width: 0;
  }

  .career_wrap .ehimetchi-question h2 {
    margin-bottom: 22px;
    font-size: 17px;
    line-height: 1.65;
  }

  .career_wrap .career_answer-list button {
    line-height: 1.6;
  }

  .career_result {
    padding-bottom: 10px;
  }

  .career_result__heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 28px;
  }

  .career_result__heading > div {
    flex: none;
    width: 100%;
  }

  .career_result__heading > div > span {
    height: 26px;
    padding: 0 13px;
    font-size: 11px;
  }

  .career_result__heading h1 {
    margin-top: 12px;
    font-size: 34px;
  }

  .career_result__heading > p {
    max-width: none;
    font-size: 12px;
    line-height: 1.8;
  }

  .career_result__types,
  .career_result__senior,
  .career_result__companies {
    margin-top: 35px;
  }

  .career_result__section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 18px;
  }

  .career_result__section-heading h2 {
    font-size: 24px;
  }

  .career_result__section-heading p {
    max-width: none;
    font-size: 11px;
  }

  .career_chart {
    display: block;
    height: 360px;
    padding: 0;
    border-radius: 14px;
  }

  .career_chart__canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(45vw, 176px);
    height: auto;
    aspect-ratio: 311 / 364;
    margin: 0;
    transform: translate(-50%, -50%);
  }

  .career_chart__graph polygon,
  .career_chart__graph circle {
    stroke-width: 3;
  }

  .career_axis-card,
  .career_axis-card.is-r,
  .career_axis-card.is-i,
  .career_axis-card.is-a,
  .career_axis-card.is-s,
  .career_axis-card.is-e,
  .career_axis-card.is-c {
    position: absolute;
    min-width: 0;
    width: clamp(108px, 31vw, 121px);
    padding: 7px 6px;
    gap: 4px;
  }

  .career_axis-card.is-r {
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
  }

  .career_axis-card.is-i {
    top: 80px;
    left: calc(50% + 54px);
  }

  .career_axis-card.is-a {
    left: calc(50% + 54px);
    bottom: 80px;
  }

  .career_axis-card.is-s {
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
  }

  .career_axis-card.is-e {
    right: calc(50% + 54px);;
    bottom: 80px;
  }

  .career_axis-card.is-c {
    top: 80px;
    right: calc(50% + 54px);;
  }

  .career_axis-card > span:first-child {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    font-size: 11px;
  }

  .career_axis-card > span:nth-child(2) {
    flex: 1;
    font-size: 9px;
  }

  .career_axis-card > span:nth-child(3) {
    margin-left: 0;
    font-size: 14px;
  }

  .career_axis-card > img {
    width: 17px;
    height: 17px;
  }

  .career_type-guide {
    margin-top: 22px;
    padding-top: 20px;
  }

  .career_type-guide__heading {
    margin-bottom: 12px;
  }

  .career_type-guide__heading h3 {
    font-size: 16px;
  }

  .career_type-guide__heading p {
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.6;
  }

  .career_type-guide__grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .career_type-guide__card {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 0;
    padding: 12px;
    border-radius: 10px;
  }

  .career_type-guide__letter {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .career_type-guide__name {
    font-size: 14px;
  }

  .career_type-guide__description {
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.55;
  }

  .career_type-guide__more {
    gap: 5px;
    font-size: 9px;
  }

  .career_type-guide__more > span:first-child {
    display: none;
  }

  .career_type-guide__more > span:last-child {
    width: 26px;
    height: 26px;
    font-size: 13px;
  }

  .career_senior-grid,
  .career_company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }

  .career_result__companies {
    padding-top: 35px;
  }

  .career_wrap .ehimetchi-retry-button {
    margin-top: 40px;
  }

  .career_modal {
    align-items: flex-start;
    padding: 15px;
  }

  .career_modal__panel {
    width: 100%;
    max-height: calc(100vh - 30px);
    padding: 54px 15px 20px;
    border-radius: 18px;
  }

  .career_modal__close {
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
  }

  .career_modal__heading {
    gap: 12px;
  }

  .career_modal__heading > span {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    font-size: 24px;
  }

  .career_modal__heading p {
    font-size: 12px;
  }

  .career_modal__heading h2 {
    font-size: 24px;
  }

  .career_modal__description {
    margin-top: 16px;
    font-size: 14px;
  }

  .career_modal__jobs {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding: 0 8% 8px 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .career_modal__jobs::-webkit-scrollbar {
    display: none;
  }

  .career_modal__jobs img {
    flex: 0 0 84%;
    width: 84%;
    max-width: 84%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .career_modal__features {
    display: block;
    margin-top: 18px;
    padding: 14px;
  }

  .career_modal__features h3 {
    font-size: 16px;
  }

  .career_modal__features > [data-career-modal-features] p,
  .career_modal__examples-list p {
    font-size: 12px;
    line-height: 1.75;
  }

  .career_modal__examples {
    margin-top: 20px;
    padding-top: 18px;
    padding-left: 0;
    border-top: 1px solid color-mix(in srgb, var(--career-type-color) 35%, #ffffff);
    border-left: 0;
  }
}


/* ===== 愛WORKナビ 求人情報 ===== */
.company-detial__aiwork {
  /* アンカー移動時に固定ヘッダーと重ならないよう余白を確保 */
  scroll-margin-top: 110px;
}

.aiwork-jobs {
  overflow: hidden;
  border: 1px solid #9dcc2f;
  background: #ffffff;
}

.aiwork-jobs__title {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 10px 20px;
  background: #9dcc2f;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.28);
}

.aiwork-jobs__body {
  padding: 0 14px 18px;
}

.aiwork-jobs__head,
.aiwork-jobs__row {
  display: grid;
  grid-template-columns: 38% minmax(0, 62%);
  align-items: center;
}

.aiwork-jobs__head {
  min-height: 46px;
  border-bottom: 1px solid #77b82a;
  color: #5da91f;
  font-size: 16px;
  font-weight: 700;
}

.aiwork-jobs__head span,
.aiwork-jobs__row > * {
  padding: 0 10px;
}

.aiwork-jobs__row {
  min-height: 54px;
  border-bottom: 1px dotted #c9c9c9;
}

.aiwork-jobs__targets {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aiwork-jobs__targets span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 30px;
  border: 2px solid transparent;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.aiwork-jobs__targets .is-new-graduate {
  border-color: #72ad28;
  background: linear-gradient(#9ed54a, #7dbb31);
}

.aiwork-jobs__targets .is-graduate {
  border-color: #f37c20;
  background: linear-gradient(#ffab55, #ff8727);
}

.aiwork-jobs__targets .is-general {
  border-color: #777777;
  background: linear-gradient(#a8a8a8, #858585);
}

.aiwork-jobs__row > a {
  color: #0568be;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.staff-detial__contact-links a.is-aiwork-job {
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
}

.staff-detial__contact-links a.is-aiwork-job small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.staff-detial__contact-links a.is-aiwork-job span {
  display: block;
}

.staff-detial__contact-links a.is-aiwork-support {
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
}

.staff-detial__contact-links a.is-aiwork-support small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.staff-detial__contact-links a.is-aiwork-support span {
  display: block;
}

@media screen and (min-width: 961px) {
  .aiwork-jobs__row > a:hover {
    text-decoration: none;
  }
}
@media screen and (max-width: 960px) {
  .company-detial__aiwork {
    scroll-margin-top: 78px;
  }

  .aiwork-jobs__title {
    min-height: 48px;
    padding: 10px 14px;
    font-size: 18px;
  }

  .aiwork-jobs__body {
    padding: 0 8px 12px;
  }

  .aiwork-jobs__head,
  .aiwork-jobs__row {
    grid-template-columns: 46% minmax(0, 54%);
  }

  .aiwork-jobs__head {
    min-height: 42px;
    font-size: 14px;
  }

  .aiwork-jobs__head span,
  .aiwork-jobs__row > * {
    padding: 0 6px;
  }

  .aiwork-jobs__row {
    min-height: 50px;
  }

  .aiwork-jobs__targets {
    gap: 5px;
  }

  .aiwork-jobs__targets span {
    width: 50px;
    height: 26px;
    border-width: 1px;
    font-size: 12px;
  }

  .aiwork-jobs__row > a {
    font-size: 14px;
  }

}

/* ===== STAFF NO IMAGE ===== */
img.is-staff-noimage {
  box-sizing: border-box;
  background-color: var(--staff-noimage-bg, #E9E5DF);
  object-fit: contain !important;
  object-position: center bottom;
}

.staff-detial__portrait img.is-staff-noimage {
  padding: 7% 5% 0;
}

.company-card__media img.is-staff-noimage,
.company-detial__similar-grid img.is-staff-noimage {
  padding: 7% 5% 0;
}

.staff-detial__staff-head > img.is-staff-noimage {
  padding: 8px 5px 0;
}

/* ===== COMPANY DETAIL MOBILE CONTACT CTA ===== */
.company-detial__mobile-contact-cta {
  display: none;
}

@media screen and (max-width: 960px) {
  #company-contact {
    scroll-margin-top: 80px;
  }

  .company-detial__mobile-contact-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: block;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.12);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }

  .company-detial__mobile-contact-cta.is-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    pointer-events: none;
  }

  .company-detial__mobile-contact-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 54px;
    padding: 10px 16px;
    border-radius: 14px;
    background: #FF8904;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
  }

  .company-detial__mobile-contact-cta .icon_side {
    filter: brightness(0) invert(1);
  }
}

/* 先輩詳細：所属企業から企業詳細への導線 */
.staff-detial__company {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.staff-detial__company-name {
  text-decoration: none;
}

/* 社名はリンクにせず、隣の小さなボタンのみ企業詳細へのリンクにする */
.staff-detial__company-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border: 1px solid #0066cc;
  border-radius: 4px;
  background: transparent;
  color: #0066cc;
  font-size: 11px;
  line-height: 1;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}

.staff-detial__company-button-arrow {
  display: inline-block;
  font-size: 12px;
  line-height: 1;
  transition: transform .2s;
}

.staff-detial__company-button:hover,
.staff-detial__company-button:focus-visible {
  background: #0066cc;
  border-color: #0066cc;
  color: #fff;
}

.staff-detial__company-button:hover .staff-detial__company-button-arrow,
.staff-detial__company-button:focus-visible .staff-detial__company-button-arrow {
  transform: translateX(2px);
}

.staff-detial__company-button:focus-visible {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}

/* ===== PC HEADER: STICKY GLOBAL NAV ONLY =====
 * PCではヘッダー全体ではなく中央ナビだけを固定する。
 * ロゴ・お気に入り等は通常フローのままスクロールし、
 * 追従コンテンツは固定ナビの下に自然な余白を確保する。
 */
@media screen and (min-width: 961px) {
  :root {
    --pc-sticky-nav-top: 12px;
    --pc-sticky-content-top: 76px;
    --pc-filter-sticky-top: 24px;
  }

  .site-header:not(.fixed-header) {
    position: relative;
    top: auto;
  }

  .site-header__inner {
    position: relative;
  }

  /* navをfixedにしても左右要素の配置がずれないよう列を固定 */
  .site-header:not(.fixed-header) .brand {
    grid-column: 1;
  }

  .site-header:not(.fixed-header) .header-actions {
    grid-column: 3;
  }

  .site-header:not(.fixed-header) .global-nav {
    position: fixed;
    top: var(--pc-sticky-nav-top);
    left: 50%;
    z-index: 110;
    width: max-content;
    transform: translateX(-50%);
  }

  /* TOP用に用意されていた「ヘッダー全体」の追従コピーはPCでは使わない */
  .fixed-header {
    display: none !important;
  }

  /* 左カラムの検索条件は中央ナビと横方向に干渉しないため、
   * 画面上端との余白を小さくして視覚的な空きを抑える。 */
  .filter-sidebar {
    top: var(--pc-filter-sticky-top);
  }

  /* 中央付近に出る追従UIは固定ナビの下から開始する。 */
  .staff-detial__contact,
  .faq-category-nav {
    top: var(--pc-sticky-content-top);
  }

  .filter-panel {
    max-height: calc(100vh - var(--pc-filter-sticky-top) - 22px);
    max-height: calc(100dvh - var(--pc-filter-sticky-top) - 22px);
  }
}

/* ===== footer company CTA ===== */
.site-footer__company-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, 460px);
  min-height: 62px;
  margin-top: 24px;
  padding: 10px 14px 10px 18px;
  border-radius: 14px;
  background: #ffffff;
  color: #111111;
  text-decoration: none;
  transition: transform .2s ease, opacity .2s ease;
}

.site-footer__company-cta:hover {
  opacity: .92;
}

.site-footer__company-cta:focus-visible {
  outline: 3px solid #ffb200;
  outline-offset: 3px;
}

.site-footer__company-cta-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.site-footer__company-cta-copy strong {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.site-footer__company-cta-copy small {
  color: #6b6b6b;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.site-footer__company-cta-arrow {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffb200;
  color: #111111;
  font-size: 19px;
  font-weight: 500;
  line-height: 1;
}

@media screen and (max-width: 960px) {
  .site-footer__company-cta {
    width: min(100%, 420px);
    min-height: 58px;
    margin-top: 20px;
    padding: 9px 12px 9px 16px;
    border-radius: 13px;
  }

  .site-footer__company-cta-copy strong {
    font-size: 15px;
  }

  .site-footer__company-cta-copy small {
    font-size: 10px;
  }

  .site-footer__company-cta-arrow {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    font-size: 17px;
  }
}


/* 3つの診断共通：「結果を見る」クリック後の6色ドット演出 */
.diagnosis-result-loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgb(255 252 248 / 96%);
  opacity: 1;
  transition: opacity .18s ease;
}

.diagnosis-result-loading.is-leaving {
  opacity: 0;
  pointer-events: none;
}

.diagnosis-result-loading__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.diagnosis-result-loading__dots {
  position: relative;
  width: 112px;
  height: 112px;
}

.diagnosis-result-loading__dot {
  position: absolute;
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--dot-color);
  opacity: .35;
  transform: translate(-50%, -50%) scale(.8);
  animation: diagnosis-dot-glow 1.08s ease-in-out infinite;
  animation-delay: calc(var(--dot-index) * .12s);
}

.diagnosis-result-loading__dot:nth-child(1) { left: 50%; top: 12%; }
.diagnosis-result-loading__dot:nth-child(2) { left: 83%; top: 31%; }
.diagnosis-result-loading__dot:nth-child(3) { left: 83%; top: 69%; }
.diagnosis-result-loading__dot:nth-child(4) { left: 50%; top: 88%; }
.diagnosis-result-loading__dot:nth-child(5) { left: 17%; top: 69%; }
.diagnosis-result-loading__dot:nth-child(6) { left: 17%; top: 31%; }

.diagnosis-result-loading__text {
  margin: 0;
  color: #38302b;
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
}

@keyframes diagnosis-dot-glow {
  0%, 10%, 100% { opacity: .35; transform: translate(-50%, -50%) scale(.8); }
  38% { opacity: 1; transform: translate(-50%, -50%) scale(1.35); }
  65% { opacity: .35; transform: translate(-50%, -50%) scale(.8); }
}

@media (prefers-reduced-motion: reduce) {
  .diagnosis-result-loading,
  .diagnosis-result-loading__dot { animation: none; transition: none; }
  .diagnosis-result-loading__dot { opacity: 1; transform: translate(-50%, -50%); }
}


/* ===== 診断結果：再診断の導線（上部のショートカット＋下部の再診断案内） ===== */
.diagnosis_wrap { --diagnosis-retry-accent: #FF8904; }
.workstyle_wrap { --diagnosis-retry-accent: #1A85B7; }
.career_wrap { --diagnosis-retry-accent: #B953F1; }

/* 上部：診断結果の見出し付近に控えめに配置 */
.diagnosis-retry-top {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  max-width: 100%;
  margin: 0;
  padding: 8px 15px;
  border: 1px solid #D5DCE4;
  border-radius: 999px;
  background: #fff;
  color: #364153;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .2s ease, background-color .2s ease;
}
.diagnosis-retry-top__icon {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  background: url("../img/ehimetchi/arrow_back.svg") center / contain no-repeat;
}
.career_result__heading,
.workstyle_result__heading { position: relative; }
.career_result__heading > .diagnosis-retry-top,
.workstyle_result__heading > .diagnosis-retry-top {
  position: absolute;
  top: 0;
  right: 0;
}
.diagnosis-retry-topline {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 12px;
}

/* 下部：再診断したくなるきっかけのコピー＋強調したアクション */
.diagnosis-retry-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  margin: 56px auto 28px;
  padding: 32px 0 0;
  border-top: 1px dashed #D9D9D9;
  text-align: left;
}
.diagnosis-retry-cta__copy {
  flex: 1 1 auto;
  min-width: 0;
}
.diagnosis-retry-cta__title {
  margin: 0;
  color: #222;
  font-family: inherit;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .015em;
}
.diagnosis-retry-cta__note {
  margin: 6px 0 0;
  color: #666;
  font-size: 13px;
  line-height: 1.7;
}
.diagnosis-retry-cta .ehimetchi-retry-button,
.workstyle_wrap .diagnosis-retry-cta .ehimetchi-retry-button,
.career_wrap .diagnosis-retry-cta .ehimetchi-retry-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 286px;
  width: 286px;
  max-width: 100%;
  min-width: 0;
  height: 56px;
  min-height: 56px;
  margin: 0;
  padding: 0 22px;
  border: 1px solid #262626;
  border-radius: 999px;
  background: #262626;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .015em;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.diagnosis-retry-cta .ehimetchi-retry-button span {
  filter: brightness(0) invert(1);
}
@media (hover: hover) {
  .diagnosis-retry-top:hover {
    border-color: var(--diagnosis-retry-accent);
    background: #FFF;
    opacity: 1;
  }
  .diagnosis-retry-cta .ehimetchi-retry-button:hover {
    border-color: #444;
    background: #444;
    opacity: 1;
  }
}
.diagnosis-retry-top:focus-visible,
.diagnosis-retry-cta .ehimetchi-retry-button:focus-visible {
  outline: 3px solid var(--diagnosis-retry-accent);
  outline-offset: 3px;
}
@media screen and (max-width: 960px) {
  .career_result__heading > .diagnosis-retry-top,
  .workstyle_result__heading > .diagnosis-retry-top {
    position: static;
    align-self: flex-end;
    margin-top: 0;
  }
  .diagnosis-retry-top {
    min-height: 40px;
    padding: 7px 13px;
    font-size: 12px;
  }
  .diagnosis-retry-cta {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    margin: 42px auto 18px;
    padding: 26px 0 0;
  }
  .diagnosis-retry-cta__title {
    font-size: 18px;
  }
  .diagnosis-retry-cta__note {
    font-size: 12px;
  }
  .diagnosis-retry-cta .ehimetchi-retry-button,
  .workstyle_wrap .diagnosis-retry-cta .ehimetchi-retry-button,
  .career_wrap .diagnosis-retry-cta .ehimetchi-retry-button {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    min-height: 54px;
    height: 54px;
  }
}

/* 働き方タイプ診断結果：企業8件、PC 4件表示・1件送り */
.workstyle_wrap .workstyle_result__slider-track {
  --workstyle-result-visible: 4;
  --workstyle-result-gap: 22px;
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--workstyle-result-visible) - 1) * var(--workstyle-result-gap)) / var(--workstyle-result-visible));
  gap: var(--workstyle-result-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.workstyle_wrap .workstyle_result__slider-track::-webkit-scrollbar {
  display: none;
}
.workstyle_wrap .workstyle_result__slider-track > .company-card {
  min-width: 0;
  scroll-snap-align: start;
}
.workstyle_wrap .workstyle_result__slider-track:focus-visible {
  outline: 2px solid #1A85B7;
  outline-offset: 4px;
}
.workstyle_wrap .workstyle_result__slider-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin: -8px 0 16px;
}
.workstyle_wrap .workstyle_result__slider-controls[hidden] {
  display: none;
}
.workstyle_wrap .workstyle_result__slider-total {
  display: inline-block;
  margin-left: 12px;
  color: #747474;
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
  vertical-align: middle;
}
.workstyle_wrap .workstyle_result__slider-controls .carousel-buttons {
  gap: 8px;
}
.workstyle_wrap .workstyle_result__slider-controls > .workstyle_result__slider-total {
  margin-left: 0;
  margin-right: auto;
}
.workstyle_wrap .workstyle_result__slider-prev span {
  transform: rotateY(180deg);
}
@media (max-width: 960px) {
  .workstyle_wrap .workstyle_result__slider-track {
    --workstyle-result-visible: 2;
    --workstyle-result-gap: 14px;
    touch-action: pan-x pan-y;
  }
  .workstyle_wrap .workstyle_result__slider-controls {
    margin-top: 0;
  }
}
@media (max-width: 600px) {
  .workstyle_wrap .workstyle_result__slider-track {
    --workstyle-result-visible: 1.2;
    --workstyle-result-gap: 12px;
  }
  .workstyle_wrap .workstyle_result__slider-controls .carousel-buttons button {
    width: 36px;
    height: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .workstyle_wrap .workstyle_result__slider-track {
    scroll-behavior: auto;
  }
}


/* 企業詳細：長めのステータスを文字サイズを下げずに表示する */
@media screen and (max-width: 360px) {
  .company-detial__heading {
    grid-template-columns: 80px minmax(0, 1fr);
    column-gap: 10px;
  }

  .company-detial__logo {
    width: 80px;
    height: 80px;
  }
}

/* 企業一覧：絞り込み名称が長くなっても操作列が重ならないようにする */
@media screen and (min-width: 961px) and (max-width: 1250px) {
  .results-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px 18px;
  }

  .results-toolbar .sort-tabs {
    grid-column: 1 / -1;
  }
}

.hiring-toggle {
  white-space: nowrap;
}


/* 企業詳細：キャッチコピーを見出し全幅で表示し、画面端で自然に折り返す。
   お気に入り・ステータスは次の段に置き、文章と重ねない。 */
@media screen and (min-width: 961px) {
  .company-detial__heading {
    grid-template-areas:
      "logo name name"
      "logo subtitle subtitle"
      "logo labels favorite";
    grid-template-columns: 130px minmax(0, 1fr) auto;
    column-gap: 15px;
    row-gap: 0;
  }

  .company-detial__heading-main {
    display: contents;
  }

  .company-detial__logo-area {
    grid-area: logo;
    align-self: start;
  }

  .company-detial__heading-main > h1 {
    grid-area: name;
    min-width: 0;
    padding-top: 53px;
  }

  .company-detial__heading-main > p {
    grid-area: subtitle;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .company-detial__labels {
    grid-area: labels;
  }

  .company-detial__favorite {
    grid-area: favorite;
    white-space: nowrap;
  }

  /* ロゴ未登録の企業では、ロゴ用の空白列を作らない。 */
  .company-detial__heading--no-logo {
    grid-template-areas:
      "name name"
      "subtitle subtitle"
      "labels favorite";
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .company-detial__heading--no-logo .company-detial__logo-area {
    display: none;
  }

  .company-detial__heading--no-logo .company-detial__heading-main > h1 {
    padding-top: 0;
  }
}

/* スマートフォンでも、キャッチコピーは画面内で自然に折り返す。 */
@media screen and (max-width: 960px) {
  .company-detial__heading-main > p {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .company-detial__heading--no-logo .company-detial__logo-area {
    display: none;
  }

  .company-detial__heading--no-logo .company-detial__labels {
    grid-column: 1 / -1;
  }
}
