@charset "UTF-8";

/* Breakpoints: sm <=767 | md >=768 | lg >=992 | xl >=1280
 * 参考サイト方針: 768 で PC レイアウトへ、992/1280 でタイポ・細部を固定化。
 * 1920 は max-width 中央寄せ（専用ルールは不要。inner 1180 が余白を作る）。
 */

:root {
  --color-text-primary: #1a1a1a;
  --color-text-muted: #888;
  --color-bg-base: #fff;
  --color-bg-subtle: #edf3f8;
  --color-border-base: #3e3e3e;
  --color-border-light: #eee;
  --color-border-muted: #ddd;
  --color-border-focus: #ccc;
  --color-brand-primary: #023e78;
  --color-brand-primary-dark: #002a52;
  --color-brand-accent: #e61264;
  --color-brand-highlight: #fff400;
  --color-focus-ring: #0d6efd;
  --space-2xs: 8px;
  --space-xs: 16px;
  --space-sm: 20px;
  --space-2sm: 30px;
  --space-2md: 32px;
  --space-md: 40px;
  --space-lg: 60px;
  --space-xl: 120px;
  --font-base: "Noto Sans JP", "Helvetica Neue", arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", meiryo, sans-serif;
  --font-en: "Fira Sans", sans-serif;
  --font-size-base: 14px;
  --font-weight-base: 500;
  --font-weight-bold: 700;
  --line-height-base: 1.72;
}
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  /*
   * PerfectPixel 1280px照合用: スクロールバー分の幅縮小を防ぐ。
   * （外すと clientWidth が約15px狭くなり、ページ全体が再フローして大きくズレて見える）
   */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar {
  display: none;
}

html,
body {
  padding: 0;
  margin: 0;
}

body {
  min-height: -webkit-fill-available;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-base);
  line-height: var(--line-height-base);
  color: var(--color-text-primary);
  overflow-wrap: break-word;
  background: var(--color-bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    -webkit-animation-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
            animation-iteration-count: 1 !important;
    -webkit-transition-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
a,
p,
span,
em,
small,
strong,
sub,
sup,
mark,
del,
ins,
strike,
abbr,
dfn,
blockquote,
q,
cite,
code,
pre,
ol,
ul,
li,
dl,
dt,
dd,
div,
section,
article,
main,
aside,
nav,
header,
hgroup,
footer,
img,
figure,
figcaption,
address,
time,
audio,
video,
canvas,
iframe,
details,
summary,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  padding: 0;
  margin: 0;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

picture {
  display: block;
}

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

video,
iframe,
object {
  max-width: 100%;
  height: auto;
  border: none;
}

code,
kbd,
pre,
samp {
  font-family: monospace, sans-serif;
  font-size: inherit;
}

ul,
ol {
  list-style: none;
}

table {
  width: 100%;
  table-layout: fixed;
  border-spacing: 0;
  border-collapse: collapse;
  border: 1px solid var(--color-border-light);
}

th,
td {
  padding: 4px 6px;
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--color-border-light);
}

blockquote,
q {
  quotes: none;
}

blockquote::after,
blockquote::before,
q::after,
q::before {
  content: "";
  content: none;
}

address {
  font-style: normal;
}

b,
strong {
  font-weight: 700;
}

form {
  padding: 0;
  margin: 0;
}

label {
  display: inline-block;
}

a,
area,
button,
input,
label,
select,
summary,
textarea,
[tabindex] {
  -ms-touch-action: manipulation;
      touch-action: manipulation;
}

input,
button,
select,
optgroup,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button,
select {
  text-transform: none;
}

select {
  cursor: pointer;
}

textarea {
  overflow: auto;
  -ms-overflow-style: scrollbar;
  resize: vertical;
}

dialog {
  position: absolute;
  right: 0;
  left: 0;
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  padding: 1em;
  margin: auto;
  color: inherit;
  background-color: inherit;
  border: solid;
}
dialog:not([open]) {
  display: none;
}

summary {
  display: list-item;
  cursor: pointer;
}

[type=text],
[type=search],
[type=tel],
[type=url],
[type=email],
[type=password],
textarea {
  padding: var(--space-2xs);
  font-family: inherit;
  font-size: 1em;
  background-image: none;
  border: 1px solid var(--color-border-base);
  border-radius: 0;
}
[type=text]:focus,
[type=search]:focus,
[type=tel]:focus,
[type=url]:focus,
[type=email]:focus,
[type=password]:focus,
textarea:focus {
  border-color: var(--color-border-focus);
}
[type=text]:hover,
[type=search]:hover,
[type=tel]:hover,
[type=url]:hover,
[type=email]:hover,
[type=password]:hover,
textarea:hover {
  outline: none;
}

button,
[type=button],
[type=submit] {
  display: inline-block;
  width: auto;
  padding: 0.6em 2em;
  margin: 0;
  font-size: 16px;
  color: var(--color-bg-base);
  text-decoration: none;
  cursor: pointer;
  background-color: var(--color-text-primary);
  background-image: none;
  border: none;
  border-radius: 0;
  -webkit-transition: opacity 0.3s ease 0s;
  transition: opacity 0.3s ease 0s;
}
button:hover,
[type=button]:hover,
[type=submit]:hover {
  outline: none;
  opacity: 0.7;
}

[type=radio] {
  display: none;
}
[type=radio] + span {
  position: relative;
  display: inline-block;
  padding: 0 0 0 30px;
  margin: 0 16px 0 0;
  cursor: pointer;
}
[type=radio] + span::before {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 26px;
  height: 26px;
  content: "";
  background: var(--color-bg-base);
  border: 1px solid var(--color-border-base);
  border-radius: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
[type=radio] + span::after {
  opacity: 0;
  -webkit-transition: opacity 0.3s ease 0s;
  transition: opacity 0.3s ease 0s;
}
[type=radio]:checked + span::after {
  position: absolute;
  top: 50%;
  left: 8px;
  display: block;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--color-border-focus);
  border-radius: 50%;
  opacity: 1;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

[type=checkbox] {
  display: none;
}
[type=checkbox] + span {
  position: relative;
  display: inline-block;
  padding: 0 0 0 30px;
  margin: 0 16px 0 0;
  cursor: pointer;
  -webkit-transition: opacity 1s ease 0s;
  transition: opacity 1s ease 0s;
}
[type=checkbox] + span::before {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 28px;
  height: 28px;
  content: "";
  background: var(--color-bg-base);
  border: 1px solid var(--color-border-base);
  border-radius: 2px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
[type=checkbox] + span::after {
  opacity: 0;
  -webkit-transition: opacity 0.3s ease 0s;
  transition: opacity 0.3s ease 0s;
}
[type=checkbox]:checked + span::after {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 28px;
  height: 16.8px;
  margin-top: -0.2em;
  content: "";
  border-bottom: 4px solid var(--color-text-primary);
  border-left: 4px solid var(--color-text-primary);
  opacity: 1;
  -webkit-transform: translateY(-50%) rotate(-45deg);
          transform: translateY(-50%) rotate(-45deg);
}

select {
  padding: 0.4em 2.4em 0.4em 0.8em;
  font-family: inherit;
  font-size: 1em;
  color: inherit;
  cursor: pointer;
  border: 1px solid var(--color-border-base);
  border-radius: 0;
}
select::-ms-expand {
  display: none;
}
select:focus {
  border-color: var(--color-border-focus);
}

[data-target] {
  cursor: pointer;
}

[aria-busy=true] {
  cursor: progress;
}

[aria-controls] {
  cursor: pointer;
}

@media screen and (min-width: 768px) {
  .l-contents__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: var(--space-sm);
  }
  .l-contents__main {
    width: calc(100% - 260px - var(--space-sm));
  }
  .l-contents__side {
    width: 260px;
  }
}
@media screen and (min-width: 992px) {
  .l-contents__inner {
    gap: var(--space-md);
  }
  .l-contents__main {
    width: calc(100% - 300px - var(--space-md));
  }
  .l-contents__side {
    width: 300px;
  }
}

.l-footer {
  position: relative;
  padding: 70px 0 16px;
  background: var(--color-text-primary);
}
@media screen and (max-width: 767px) {
  .l-footer {
    box-sizing: border-box;
    padding: 70px 0 13px;
  }
  .l-footer > .l-inner {
    position: relative;
    top: 0;
    width: 280px;
    height: auto;
    padding: 0;
    margin: 0 auto;
  }
}
@media screen and (min-width: 768px) {
  .l-footer {
    box-sizing: border-box;
    padding: 123px 0 20px;
  }
}

.l-footer__logo {
  display: block;
  max-width: 291px;
  margin: 0 auto;
  font-family: "Roboto", var(--font-en), sans-serif;
  font-size: 40px;
  font-weight: 700;
  font-style: italic;
  line-height: normal;
  color: var(--color-bg-base);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  .l-footer__logo {
    width: 280px;
    max-width: 280px;
    height: 47px;
    font-size: 40px;
    line-height: 47px;
    letter-spacing: normal;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}
@media screen and (min-width: 768px) {
  .l-footer__logo {
    width: 363px;
    max-width: 363px;
    height: 61px;
    font-size: 52px;
    line-height: 61px;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

.l-footer__info {
  text-align: center;
}

.l-footer__info-text {
  display: inline-block;
  margin-top: var(--space-2md);
  color: var(--color-bg-base);
  text-align: left;
}
@media screen and (max-width: 767px) {
  .l-footer__info-text {
    margin-top: 22px;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
  }
}
@media screen and (min-width: 768px) {
  .l-footer__info-text {
    margin-top: 22px;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
  }
}

.l-footer__copyright {
  margin-top: 35px;
  font-size: 12px;
  color: var(--color-bg-base);
  text-align: center;
}
@media screen and (max-width: 767px) {
  .l-footer__copyright {
    margin-top: 38px;
    line-height: 17px;
  }
}
@media screen and (min-width: 768px) {
  .l-footer__copyright {
    margin-top: 76px;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
  }
}

.l-footer__page-top {
  position: absolute;
  right: 10px;
  bottom: 20px;
  width: 40px;
}
@media screen and (max-width: 767px) {
  .l-footer__page-top {
    right: 10px;
    bottom: 20px;
    width: 40px;
    height: 40px;
  }
}
@media screen and (min-width: 768px) {
  .l-footer__page-top {
    right: 20px;
    bottom: 40px;
    width: 40px;
    height: 40px;
  }
  .l-footer__page-top img {
    display: block;
    width: 40px;
    height: 40px;
  }
}
@media (hover: hover) {
  .l-footer__page-top:hover {
    cursor: pointer;
  }
}

.l-header {
  background: var(--color-bg-base);
  -webkit-transition: position 0.3s;
  transition: position 0.3s;
}
.l-header.is-fixed {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 40;
}

.l-header--spacing.is-fixed {
  padding-top: var(--space-lg);
}

.l-header__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  height: 60px;
  padding-left: var(--space-sm);
}
@media screen and (min-width: 1280px) {
  .l-header__inner {
    height: 100px;
    padding: 0 16px;
  }
}

.l-header__logo {
  display: block;
  text-decoration: none;
  -webkit-transition: opacity 0.3s ease 0s;
  transition: opacity 0.3s ease 0s;
}
@media (hover: hover) {
  .l-header__logo:hover {
    opacity: 0.7;
  }
}
.l-header__title {
  -webkit-transition: opacity 0.3s ease 0s;
  transition: opacity 0.3s ease 0s;
}
@media screen and (min-width: 1280px) {
  .l-header__logo {
    width: auto;
    padding-left: 0;
  }
}

.l-header__title {
  margin: 0;
  font-family: "Roboto", var(--font-en), sans-serif;
  font-size: 28px;
  font-weight: 700;
  font-style: italic;
  line-height: 33px;
  color: var(--color-brand-primary);
  white-space: nowrap;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media screen and (min-width: 1280px) {
  .l-header__title {
    font-size: 40px;
    line-height: 1;
  }
}

.l-inner--wide, .l-inner--narrow, .l-inner {
  width: 100%;
  height: inherit;
  padding-right: var(--space-sm);
  padding-left: var(--space-sm);
  margin: 0 auto;
}
@media screen and (min-width: 768px) {
  .l-inner--wide, .l-inner--narrow, .l-inner {
    padding-right: var(--space-md);
    padding-left: var(--space-md);
  }
  .l-inner {
    max-width: 1180px;
  }
  .l-inner--narrow {
    max-width: 848px;
  }
  .l-inner--wide {
    max-width: 1180px;
  }
}

/* SP 375: section 上下 19px（PC は min-width 768 で上書き） */
.l-section {
  padding: 19px 0;
}
@media screen and (min-width: 768px) {
  .l-section {
    padding: var(--space-xl) 0;
  }
}

.l-section--only-above {
  padding-top: var(--space-xl);
}

.l-section--only-bottom {
  padding-bottom: var(--space-lg);
}

/* 下層FV直後のコンテンツ余白（.l-contents と併用 / 単体ページでも共用） */
.l-section--lower-fv {
  padding: var(--space-lg) 0 100px;
}
@media screen and (min-width: 768px) {
  /* Figma lower-padding-top-pc: 70 / lower-padding-bottom-pc: 160 */
  .l-section--lower-fv {
    padding: 70px 0 160px;
  }
}

.l-skew {
  -webkit-transform: skewY(10deg);
          transform: skewY(10deg);
}
@media screen and (min-width: 768px) {
  .l-skew {
    -webkit-transform: skewY(10deg);
            transform: skewY(10deg);
  }
}
.l-skew > * {
  -webkit-transform: skewY(-10deg);
          transform: skewY(-10deg);
}
@media screen and (min-width: 768px) {
  .l-skew > * {
    -webkit-transform: skewY(-10deg);
            transform: skewY(-10deg);
  }
}

.c-accordion__item {
  padding: 13px 0;
  border-bottom: 1px solid var(--color-border-muted);
}
@media screen and (min-width: 768px) {
  .c-accordion__item {
    padding: 31px 0;
  }
}

.c-accordion__title {
  position: relative;
  padding-right: 65px;
  font-size: 16px;
  font-weight: 700;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}
@media screen and (min-width: 768px) {
  .c-accordion__title {
    font-size: 20px;
    line-height: 1.45;
  }
}
@media (hover: hover) {
  .c-accordion__title:hover {
    cursor: pointer;
  }
}
.c-accordion__title::before, .c-accordion__title::after {
  position: absolute;
  top: 13px;
  right: 8px;
  width: 21px;
  height: 2px;
  content: "";
  background: var(--color-text-primary);
  -webkit-transition: background-color 0.3s, -webkit-transform 0.3s;
  transition: background-color 0.3s, -webkit-transform 0.3s;
  transition: background-color 0.3s, transform 0.3s;
  transition: background-color 0.3s, transform 0.3s, -webkit-transform 0.3s;
}
@media screen and (min-width: 768px) {
  .c-accordion__title::before, .c-accordion__title::after {
    top: 15px;
    right: 11px;
  }
}
.c-accordion__title::before {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}

.c-accordion__title.is-open {
  color: var(--color-brand-accent);
}
.c-accordion__title.is-open::before, .c-accordion__title.is-open::after {
  background: var(--color-brand-accent);
}
.c-accordion__title.is-open::before {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.c-accordion__title.is-open::after {
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.c-accordion__content {
  display: none;
  padding-top: var(--space-xs);
  font-size: 14px;
  line-height: 24px;
  color: var(--color-text-primary);
}
@media screen and (min-width: 768px) {
  .c-accordion__content {
    padding: 28px 50px 0 40px;
  }
}

.c-breadcrumbs {
  margin-block: 10px;
  overflow: auto;
  font-size: 12px;
  line-height: 1.4166666667;
  color: var(--color-text-muted);
  white-space: nowrap;
}
/* SP: 1列固定・切れてもよい（ellipsis）。横スクロールは出さない */
@media screen and (max-width: 767px) {
  .c-breadcrumbs {
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
  }
  .c-breadcrumbs .l-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    max-width: 100%;
    min-width: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  .c-breadcrumbs a,
  .c-breadcrumbs__chevron-right {
    -ms-flex-negative: 0;
        flex-shrink: 0;
  }
  .c-breadcrumbs .current-item {
    min-width: 0;
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
@media screen and (min-width: 768px) {
  /* Figma breadcrumb-pc: 高さ37 / 行17 / 左90（l-innerと同期） */
  .c-breadcrumbs {
    box-sizing: border-box;
    height: 37px;
    margin: 0;
    overflow: visible;
    font-size: 12px;
    line-height: 17px;
  }
  .c-breadcrumbs .l-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    height: 37px;
    padding-top: 0;
    padding-bottom: 0;
  }
}
@media screen and (min-width: 1280px) {
  .c-breadcrumbs .l-inner {
    max-width: 1180px;
    padding-right: 40px;
    padding-left: 40px;
  }
}
.c-breadcrumbs [typeof=ListItem]:not(:has(a)) {
  color: var(--color-text-primary);
}
.c-breadcrumbs .current-item {
  font-weight: 700;
  color: var(--color-text-primary);
}

.c-breadcrumbs__chevron-right {
  margin: 0 8px;
}
/*
 * カテゴリアーカイブ共通（new/interview/seminar/program）
 * SPは inline 配置のため、タグ間の改行スペースが各セグメントに加算され、
 * PerfectPixel 照合時に後半（>> カテゴリ名）が二重に見える。
 * Figma breadcrumb: flex + gap 8px に揃えて余白を固定する。
 */
.category-seminar .c-breadcrumbs .l-inner,
.category-new .c-breadcrumbs .l-inner,
.category-interview .c-breadcrumbs .l-inner,
.category-program .c-breadcrumbs .l-inner,
.single-post .c-breadcrumbs .l-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  gap: 8px;
}
.category-seminar .c-breadcrumbs .c-breadcrumbs__chevron-right,
.category-new .c-breadcrumbs .c-breadcrumbs__chevron-right,
.category-interview .c-breadcrumbs .c-breadcrumbs__chevron-right,
.category-program .c-breadcrumbs .c-breadcrumbs__chevron-right,
.single-post .c-breadcrumbs .c-breadcrumbs__chevron-right {
  margin: 0;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
/* SP: nowrap のまま。現在ページ名を flex 収縮 + ellipsis */
@media screen and (max-width: 767px) {
  .category-seminar .c-breadcrumbs .l-inner,
  .category-new .c-breadcrumbs .l-inner,
  .category-interview .c-breadcrumbs .l-inner,
  .category-program .c-breadcrumbs .l-inner,
  .single-post .c-breadcrumbs .l-inner {
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    max-width: 100%;
  }
  .category-seminar .c-breadcrumbs a,
  .category-new .c-breadcrumbs a,
  .category-interview .c-breadcrumbs a,
  .category-program .c-breadcrumbs a,
  .single-post .c-breadcrumbs a {
    -ms-flex-negative: 0;
        flex-shrink: 0;
  }
  .category-seminar .c-breadcrumbs .current-item,
  .category-new .c-breadcrumbs .current-item,
  .category-interview .c-breadcrumbs .current-item,
  .category-program .c-breadcrumbs .current-item,
  .single-post .c-breadcrumbs .current-item {
    min-width: 0;
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
/* Figma single breadcrumb: current は Medium / color-contrast（bold なし） */
.single-post .c-breadcrumbs .current-item {
  font-weight: 500;
}
.c-breadcrumbs a,
.c-breadcrumbs .current-item,
.c-breadcrumbs__chevron-right {
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.c-button--tertiary, .c-button--secondary, .c-button--primary {
  line-height: 1;
  text-align: center;
  -webkit-transition: background-color 0.3s, color 0.3s;
  transition: background-color 0.3s, color 0.3s;
}

.c-button--primary {
  color: var(--color-brand-primary);
  background: var(--color-bg-base);
  border: 1px solid var(--color-brand-primary);
}
@media (hover: hover) {
  .c-button--primary:hover {
    color: var(--color-bg-base);
    background: var(--color-brand-primary);
  }
}
.c-button--primary.c-button--icon-arrow {
  position: relative;
  margin-top: 60px;
}
.c-button--primary.c-button--icon-arrow::after {
  background: url(../img/icons/button/arrow-right-brand.svg) center/cover no-repeat;
}
@media screen and (hover: hover) and (min-width: 768px) {
  .c-button--primary.c-button--icon-arrow:hover::after {
    background-image: url(../img/icons/button/arrow-right-white.svg);
  }
}

.c-button--secondary {
  color: var(--color-bg-base);
  background: var(--color-brand-primary);
  border: 1px solid var(--color-brand-primary);
}
@media (hover: hover) {
  .c-button--secondary:hover {
    background: var(--color-brand-primary-dark);
  }
}

.c-button--tertiary {
  color: var(--color-brand-highlight);
  border: 2px solid var(--color-brand-highlight);
}
@media screen and (min-width: 768px) {
  .c-button--tertiary {
    border-width: 3px;
  }
}
@media (hover: hover) {
  .c-button--tertiary:hover {
    color: var(--color-text-primary);
    background: var(--color-brand-highlight);
  }
}
.c-button--tertiary.c-button--icon-arrow {
  position: relative;
}
.c-button--tertiary.c-button--icon-arrow::after {
  background: url(../img/icons/button/arrow-right-highlight.svg) center/cover no-repeat;
}
@media screen and (hover: hover) and (min-width: 768px) {
  .c-button--tertiary.c-button--icon-arrow:hover::after {
    background-image: url(../img/icons/button/arrow-right-black.svg);
  }
}

.c-button--icon-arrow {
  position: relative;
}
/* SP 375: right 10px（PC は min-width 768 で上書き） */
.c-button--icon-arrow::after {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 18px;
  height: 12px;
  padding-left: 0;
  content: "";
  -webkit-transition: background-image 0.3s, right 0.3s;
  transition: background-image 0.3s, right 0.3s;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
@media screen and (min-width: 768px) {
  .c-button--icon-arrow::after {
    right: 30px;
    width: 20px;
    height: 13px;
  }
}
@media screen and (hover: hover) and (min-width: 768px) {
  .c-button--icon-arrow:hover::after {
    right: 13px;
  }
}

@media screen and (min-width: 1280px) {
  .c-drawer {
    display: none;
  }
}

.c-drawer__icon-area {
  width: 60px;
  height: 60px;
  text-align: center;
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
}

.c-drawer__checkbox {
  display: none;
}

.c-drawer__inner {
  padding: 0 var(--space-md);
}
@media screen and (max-width: 767px) {
  .c-drawer__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 40px;
    box-sizing: border-box;
    min-height: 100%;
    padding: 60px 40px;
  }
}

.c-drawer__nav {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: var(--space-md);
}
@media screen and (max-width: 767px) {
  .c-drawer__nav {
    width: 100%;
    margin-top: 0;
  }
}

.c-drawer__content {
  position: fixed;
  top: 60px;
  left: 0;
  z-index: 30;
  display: none;
  width: 100%;
  height: calc(100vh - 60px);
  overflow: auto;
  background: var(--color-brand-primary);
}

.c-drawer__lists {
  width: 100%;
}
@media screen and (max-width: 767px) {
  .c-drawer__lists {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 41px;
    width: auto;
  }
}

.c-drawer__list {
  position: relative;
}

.c-drawer__link {
  display: block;
  padding: var(--space-sm);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-bg-base);
  text-align: center;
}
@media screen and (max-width: 767px) {
  .c-drawer__link {
    padding: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 23px;
    color: var(--color-bg-base);
    white-space: nowrap;
  }
}

.c-drawer__buttons {
  margin-top: var(--space-sm);
}
@media screen and (max-width: 767px) {
  .c-drawer__buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 32px;
    width: 100%;
    max-width: 295px;
    margin-top: 0;
  }
}

.c-drawer__button--contact, .c-drawer__button--download {
  display: block;
  width: 100%;
  max-width: 320px;
  padding: 19px 15px;
  margin: 0 auto;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  border: 1px solid var(--color-bg-base);
}
.c-drawer__button--contact:last-child, .c-drawer__button--download:last-child {
  margin-top: var(--space-2md);
}
@media screen and (max-width: 767px) {
  .c-drawer__button--contact, .c-drawer__button--download {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 295px;
    height: 68px;
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
  }
  .c-drawer__button--contact:last-child, .c-drawer__button--download:last-child {
    margin-top: 0;
  }
}

.c-drawer__button--download {
  color: var(--color-bg-base);
}

.c-drawer__button--contact {
  color: var(--color-brand-primary);
  background: var(--color-bg-base);
}

.c-drawer__icon {
  position: relative;
  top: 50%;
  right: 0;
  z-index: 40;
  display: inline-block;
  width: 50px;
  height: 50px;
  cursor: pointer;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
@media screen and (max-width: 767px) {
  .c-drawer__icon {
    width: 28px;
    height: 23px;
  }
}

.c-drawer__bar {
  position: absolute;
  top: 50%;
  left: 0%;
  display: block;
  width: 27px;
  height: 2px;
  cursor: pointer;
  content: "";
  background: var(--color-brand-primary);
  border-radius: 6px;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.c-drawer__bar::before,
.c-drawer__bar::after {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 27px;
  height: 2px;
  cursor: pointer;
  content: "";
  background: var(--color-brand-primary);
  border-radius: 6px;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.c-drawer__bar::before {
  top: -6px;
}

.c-drawer__bar::after {
  top: 8px;
}

#drawer-checkbox:checked ~ .c-drawer__icon .c-drawer__bar {
  background: rgba(51, 51, 51, 0);
}

#drawer-checkbox:checked ~ .c-drawer__icon .c-drawer__bar::before,
#drawer-checkbox:checked ~ .c-drawer__icon .c-drawer__bar::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 100%;
  height: 100%;
  margin: -8% 0 0 -50%;
  content: "";
}

#drawer-checkbox:checked ~ .c-drawer__icon .c-drawer__bar::before {
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}

#drawer-checkbox:checked ~ .c-drawer__icon .c-drawer__bar::after {
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

@media screen and (min-width: 768px) {
  .c-footer-links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

.c-footer-links__item--contact, .c-footer-links__item--download {
  position: relative;
  padding: 36px 40px;
}
@media screen and (max-width: 767px) {
  .c-footer-links__item--contact, .c-footer-links__item--download {
    height: 265px;
    padding: 41.5px 40px;
  }
  .c-footer-links__main {
    -webkit-transform: translateY(-6px);
            transform: translateY(-6px);
  }
}
@media screen and (min-width: 768px) {
  .c-footer-links__item--contact, .c-footer-links__item--download {
    width: 50%;
    min-height: 340px;
    padding: 52px 40px 52px;
  }
  /* カテゴリアーカイブ共通（new/interview/seminar/program） — padding-top 54px（他ページは 52px） */
  .category-seminar .c-footer-links__item--contact,
  .category-seminar .c-footer-links__item--download,
  .category-new .c-footer-links__item--contact,
  .category-new .c-footer-links__item--download,
  .category-interview .c-footer-links__item--contact,
  .category-interview .c-footer-links__item--download,
  .category-program .c-footer-links__item--contact,
  .category-program .c-footer-links__item--download {
    padding: 54px 40px 52px;
  }
}
.c-footer-links__item--contact::before, .c-footer-links__item--download::before {
  position: absolute;
  inset: 0 0 0 0;
  content: "";
}

.c-footer-links__item--download {
  background: url(../img/common/cta/download/sp.jpg) center/cover no-repeat;
}
@media screen and (min-width: 768px) {
  .c-footer-links__item--download {
    background: url(../img/common/cta/download/pc.jpg) center/cover no-repeat;
  }
}
.c-footer-links__item--download::before {
  background: rgba(0, 87, 172, 0.8);
}

.c-footer-links__item--contact {
  background: url(../img/common/cta/contact/sp.jpg) center/cover no-repeat;
}
@media screen and (min-width: 768px) {
  .c-footer-links__item--contact {
    background: url(../img/common/cta/contact/pc.jpg) center/cover no-repeat;
  }
}
.c-footer-links__item--contact::before {
  background: rgba(2, 62, 120, 0.8);
}

.c-footer-links__main {
  position: relative;
  z-index: 1;
  color: var(--color-bg-base);
  text-align: center;
}

.c-footer-links__en {
  font-size: 40px;
  line-height: normal;
}
@media screen and (min-width: 768px) {
  .c-footer-links__en {
    font-size: 4.6875vw;
  }
}
@media screen and (min-width: 992px) {
  .c-footer-links__en {
    font-size: 60px;
  }
}

.c-footer-links__jp {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
}
@media screen and (min-width: 768px) {
  .c-footer-links__jp {
    margin-top: 4px; /* カンプより約2px下だった分 */
  }
}

.c-footer-links__button {
  display: block;
  max-width: 295px;
  padding: 28px 10px;
  margin: var(--space-md) auto 0;
  font-size: 16px;
}
@media screen and (min-width: 768px) {
  .c-footer-links__button {
    max-width: 315px;
    padding: 34px 15px;
    margin: 37px auto 0;
    font-size: 24px;
  }
}

/* CF7 が各フィールドを <p> で包むため余白は label 側で制御 */
.c-form .wpcf7-form > p {
  margin: 0;
}

.c-form__label {
  display: block;
  /* Figma input-sp 間 gap 20 / label 14 Bold */
  margin-bottom: var(--space-sm);
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
}
@media screen and (min-width: 768px) {
  .c-form__label {
    /* Figma input-pc / select / textarea 間 gap 32 */
    margin-bottom: 32px;
    font-size: 18px;
  }
}

.c-form__required {
  /* Figma icon-must SP: 36×17 / 10 bold / gap 8 */
  display: inline-block;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  min-width: 36px;
  height: 17px;
  padding: 0 8px;
  margin-left: 8px;
  font-size: 10px;
  font-weight: 700;
  line-height: 17px;
  color: var(--color-bg-base);
  text-align: center;
  vertical-align: middle;
  background: var(--color-brand-accent);
}
@media screen and (min-width: 768px) {
  .c-form__required {
    /* Figma icon_must PC: 40×20 / 12 bold / gap 9 */
    min-width: 40px;
    height: 20px;
    margin-left: 9px;
    font-size: 12px;
    line-height: 20px;
  }
}

.c-form__textarea, .c-form__input {
  display: inline-block;
  width: 100%;
  padding: 12px 14px;
  margin-top: 3px;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid var(--color-border-muted);
  border-radius: 5px;
}
@media screen and (min-width: 768px) {
  .c-form__textarea, .c-form__input {
    /* Figma input: h44 / px16 py10 / label↔field gap 12 */
    padding: 10px 16px;
    margin-top: 12px;
  }
}
.c-form__textarea::-webkit-input-placeholder, .c-form__input::-webkit-input-placeholder {
  font-size: 14px;
  color: var(--color-border-focus);
}
.c-form__textarea::-moz-placeholder, .c-form__input::-moz-placeholder {
  font-size: 14px;
  color: var(--color-border-focus);
}
.c-form__textarea:-ms-input-placeholder, .c-form__input:-ms-input-placeholder {
  font-size: 14px;
  color: var(--color-border-focus);
}
.c-form__textarea::-ms-input-placeholder, .c-form__input::-ms-input-placeholder {
  font-size: 14px;
  color: var(--color-border-focus);
}
.c-form__textarea::placeholder, .c-form__input::placeholder {
  font-size: 14px;
  color: var(--color-border-focus);
}
@media screen and (min-width: 768px) {
  .c-form__textarea::-webkit-input-placeholder, .c-form__input::-webkit-input-placeholder {
    font-size: 16px;
  }
  .c-form__textarea::-moz-placeholder, .c-form__input::-moz-placeholder {
    font-size: 16px;
  }
  .c-form__textarea:-ms-input-placeholder, .c-form__input:-ms-input-placeholder {
    font-size: 16px;
  }
  .c-form__textarea::-ms-input-placeholder, .c-form__input::-ms-input-placeholder {
    font-size: 16px;
  }
  .c-form__textarea::placeholder, .c-form__input::placeholder {
    font-size: 16px;
  }
}

.c-form__input {
  height: 44px;
}

.c-form__textarea {
  /* Figma textarea-sp: 140 / py 13.5 */
  height: 140px;
  padding-top: 13.5px;
  padding-bottom: 13.5px;
}
@media screen and (min-width: 768px) {
  .c-form__textarea {
    /* Figma textarea-pc: 240 / py 12.5 */
    height: 240px;
    padding-top: 12.5px;
    padding-bottom: 12.5px;
  }
}

.c-form__link {
  color: var(--color-brand-primary);
  text-decoration: underline;
}

.c-form__link-to-privacy {
  /* Figma check-sp: リンク 14 Bold */
  margin: 0 6px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-primary);
  text-decoration: underline;
}
@media screen and (min-width: 768px) {
  .c-form__link-to-privacy {
    display: inline-block;
    /* Figma check-pc: リンク↔文 gap 10 */
    margin: 0 10px 0 0;
    font-size: 16px;
  }
}

.c-form__select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  /* Figma select-sp: radius 5 / arrow ≈11×7 right 14 */
  border-radius: 5px;
  background: transparent url(../img/icons/form/select-arrow.svg) no-repeat center right 14px/11px 7px;
}
@media screen and (min-width: 768px) {
  .c-form__select {
    /* Figma select-pc: radius 4 / arrow 14×10 right 16 */
    border-radius: 4px;
    background: transparent url(../img/icons/form/select-arrow.svg) no-repeat center right 16px/14px 10px;
  }
}
.c-form__select.is-empty {
  color: var(--color-border-focus);
}

.wpcf7-list-item {
  /* cf7のチェックボックスをreset */
  margin-left: 0;
}

/* Figma check-sp: 28×28 checkbox / text ml38 (=gap10) / text 14 */
.wpcf7-acceptance [type=checkbox] + span {
  padding-left: 38px;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  color: var(--color-text-primary);
  vertical-align: middle;
}
@media screen and (min-width: 768px) {
  .wpcf7-acceptance [type=checkbox] + span {
    /* Figma check-pc: 32×32 / gap 10 / text 16 */
    padding-left: 42px;
    font-size: 16px;
  }
}
.wpcf7-acceptance [type=checkbox] + span::before {
  width: 28px;
  height: 28px;
  border-radius: 2px;
}
@media screen and (min-width: 768px) {
  .wpcf7-acceptance [type=checkbox] + span::before {
    width: 32px;
    height: 32px;
  }
}
.wpcf7-acceptance [type=checkbox]:checked + span::after {
  left: 3px;
  width: 20px;
  height: 12px;
}
@media screen and (min-width: 768px) {
  .wpcf7-acceptance [type=checkbox]:checked + span::after {
    left: 4px;
    width: 24px;
    height: 14px;
  }
}

.wpcf7-spinner {
  display: none;
}

.c-gnav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100%;
}

.c-gnav__lists {
  display: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-gnav__list {
  position: relative;
}

.c-gnav__buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-left: var(--space-2md);
}

.c-gnav__button {
  display: none;
}
.c-gnav__button:last-child {
  margin-left: 10px;
}

@media screen and (min-width: 1280px) {
  .c-gnav__lists {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    width: 478px;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
  }
  .c-gnav__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 16px;
  }
  .c-gnav__list:not(:first-child) {
    margin-left: 16px;
  }
  .c-gnav__list:not(:first-child)::before {
    display: block;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 14px;
            flex: 0 0 14px;
    width: 14px;
    height: 24px;
    content: "／";
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
  }
  .c-gnav__link {
    display: block;
    height: 24px;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    color: var(--color-text-primary);
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .c-gnav__list:nth-child(1) .c-gnav__link {
    width: 42px;
  }
  .c-gnav__list:nth-child(2) .c-gnav__link {
    width: 84px;
  }
  .c-gnav__list:nth-child(3) .c-gnav__link,
  .c-gnav__list:nth-child(4) .c-gnav__link,
  .c-gnav__list:nth-child(5) .c-gnav__link {
    width: 56px;
  }
  .c-gnav__buttons {
    margin-left: 30px;
  }
  .c-gnav__button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    box-sizing: border-box;
    width: 176px;
    height: 68px;
    padding: 0 15px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
  }
}

.c-heading {
  color: var(--color-brand-primary);
}
@media screen and (min-width: 768px) {
  .c-heading {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

.c-heading__en {
  font-size: 52px;
  line-height: 1;
}
@media screen and (min-width: 768px) {
  .c-heading__en {
    font-size: 7.8125vw;
  }
}
@media screen and (min-width: 992px) {
  .c-heading__en {
    font-size: 100px;
  }
}

.c-heading__jp {
  margin-top: 3px;
  font-size: 16px;
  font-weight: 700;
}
@media screen and (min-width: 768px) {
  .c-heading__jp {
    font-size: 1.875vw;
  }
}
@media screen and (min-width: 992px) {
  .c-heading__jp {
    font-size: 24px;
  }
}

.c-heading__link {
  position: relative;
  display: block;
  text-align: right;
}
@media screen and (min-width: 768px) {
  .c-heading__link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-top: 0;
  }
}

.c-heading__link-text {
  font-size: 20px;
}
@media screen and (min-width: 768px) {
  .c-heading__link-text {
    display: block;
    padding-right: 140px;
    margin-top: -6px;
    font-size: 32px;
  }
}

.c-heading__link-arrow--color-blue, .c-heading__link-arrow--color-black, .c-heading__link-arrow--color-white {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: 17.2vw;
  height: 2px;
  margin: 0 21px 0 8px;
  vertical-align: middle;
  -webkit-transition: width 0.3s, right 0.3s;
  transition: width 0.3s, right 0.3s;
}
@media screen and (min-width: 768px) {
  .c-heading__link-arrow--color-blue, .c-heading__link-arrow--color-black, .c-heading__link-arrow--color-white {
    position: absolute;
    top: 44%;
    right: 1%;
    width: 95px;
    height: 2px;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
}
.c-heading__link-arrow--color-blue::before, .c-heading__link-arrow--color-black::before, .c-heading__link-arrow--color-white::before {
  position: absolute;
  right: 4px;
  bottom: -2px;
  display: inline-block;
  width: 2px;
  height: 14px;
  content: "";
  -webkit-transform: rotate(-55deg);
          transform: rotate(-55deg);
}
@media screen and (min-width: 768px) {
  .c-heading__link-arrow--color-blue::before, .c-heading__link-arrow--color-black::before, .c-heading__link-arrow--color-white::before {
    right: 6px;
    bottom: -3px;
    height: 18px;
  }
}

.c-heading__link-arrow--color-white {
  background: var(--color-bg-base);
}
.c-heading__link-arrow--color-white::before {
  background: var(--color-bg-base);
}

.c-heading__link-arrow--color-black {
  background: var(--color-text-primary);
}
.c-heading__link-arrow--color-black::before {
  background: var(--color-text-primary);
}

.c-heading__link-arrow--color-blue {
  background: var(--color-brand-primary);
}
.c-heading__link-arrow--color-blue::before {
  background: var(--color-brand-primary);
}

.c-heading__link-circle--fill, .c-heading__link-circle--border {
  position: absolute;
  top: 36%;
  right: 0;
  width: 40px;
  height: 40px;
  border-style: solid;
  border-width: 2px;
  border-radius: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
@media screen and (min-width: 768px) {
  .c-heading__link-circle--fill, .c-heading__link-circle--border {
    top: 32%;
    width: 51px;
    height: 51px;
  }
}

.c-heading__link-circle--border {
  border-color: var(--color-brand-highlight);
}

.c-heading__link-circle--fill {
  background: var(--color-brand-highlight);
  border-color: var(--color-brand-highlight);
}

@media screen and (min-width: 768px) {
  .c-heading__link:hover .c-heading__link-arrow--color-white, .c-heading__link:hover .c-heading__link-arrow--color-black, .c-heading__link:hover .c-heading__link-arrow--color-blue {
    right: -15.2%;
    width: 142px;
    height: 2px;
  }
}

.c-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.c-meta__cats {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.c-meta__cat {
  padding: 4px 9px;
  font-size: 12px;
  line-height: 1;
  color: var(--color-brand-accent);
  white-space: nowrap;
  border: 1px solid var(--color-brand-accent);
}
@media screen and (min-width: 768px) {
  .c-meta__cat {
    padding: 6px 9px;
    font-size: 14px;
  }
}

.c-meta__time {
  margin-left: 12px;
  font-size: 14px;
  color: var(--color-text-muted);
}
@media screen and (min-width: 768px) {
  .c-meta__time {
    margin-left: 0;
  }
}

.c-meta-single {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.c-meta-single__cats {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 10px;
}

/* Figma single category tag: SP px24 py8 / PC h36・pad 0 23 / Medium 14 */
.c-meta-single .c-meta__cat {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  box-sizing: border-box;
  min-width: 0;
  height: auto;
  padding: 8px 24px;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  color: var(--color-brand-accent);
  white-space: nowrap;
  border: 1px solid var(--color-brand-accent);
}
@media screen and (min-width: 768px) {
  .c-meta-single .c-meta__cat {
    min-width: 104px;
    height: 36px;
    padding: 0 23px;
  }
}

.c-meta-single__cat .post-categories {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 10px;
}

.c-meta-single__cat .post-categories a {
  display: block;
  padding: 10px 23px;
  font-size: 14px;
  line-height: 1;
  color: var(--color-brand-accent);
  white-space: nowrap;
  border: 1px solid var(--color-brand-accent);
}

.c-meta-single__time {
  margin-left: 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  color: var(--color-text-muted);
}
@media screen and (min-width: 768px) {
  .c-meta-single__time {
    margin-left: 0;
  }
}

.c-mv-lower {
  position: relative;
}
.c-mv-lower::after {
  position: absolute;
  inset: 0 0 0 0;
  z-index: 0;
  content: "";
  background: rgba(26, 26, 26, 0.2);
  pointer-events: none;
}

.c-mv-lower__img--service, .c-mv-lower__img--contact, .c-mv-lower__img--download, .c-mv-lower__img--news, .c-mv-lower__img--company, .c-mv-lower__img--case {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 250px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.c-mv-lower__img--service::before, .c-mv-lower__img--contact::before, .c-mv-lower__img--download::before, .c-mv-lower__img--news::before, .c-mv-lower__img--company::before, .c-mv-lower__img--case::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 165px;
  height: 250px;
  content: "";
  background: url(../img/common/lower-hero/sp.png) center/cover no-repeat;
}
@media screen and (min-width: 768px) {
  .c-mv-lower__img--service::before, .c-mv-lower__img--contact::before, .c-mv-lower__img--download::before, .c-mv-lower__img--news::before, .c-mv-lower__img--company::before, .c-mv-lower__img--case::before {
    width: 365px;
    background-image: url(../img/common/lower-hero/pc.png);
  }
}

.c-mv-lower__main {
  position: absolute;
  top: 50%;
  left: 20px;
  z-index: 2;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
@media screen and (min-width: 768px) {
  .c-mv-lower__main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 8px;
    left: 17%;
  }
}
@media screen and (min-width: 1280px) {
  .c-mv-lower__main {
    left: 220px;
  }
}

.c-mv-lower__en {
  display: inline-block;
  padding: 3px 0;
  font-size: 32px;
  line-height: 1;
  color: var(--color-brand-primary);
  background: #fff;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media screen and (min-width: 768px) {
  /* Figma / 参考: 768〜 で 60px 固定 */
  .c-mv-lower__en {
    padding: 6px 0;
    font-size: 60px;
    line-height: 1;
    color: var(--color-brand-primary);
    background: #fff;
  }
}

.c-mv-lower__jp {
  display: inline-block;
  padding: 4px 0;
  margin-top: var(--space-2xs);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-brand-primary);
  background: #fff;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media screen and (min-width: 768px) {
  .c-mv-lower__jp {
    padding: 1px 0;
    margin-top: 0;
    font-size: 20px;
    line-height: 1;
    color: var(--color-brand-primary);
    background: #fff;
  }
}

.c-mv-lower__img--company {
  background-image: url(../img/about/hero/sp.jpg);
}
@media screen and (min-width: 768px) {
  .c-mv-lower__img--company {
    background-image: url(../img/about/hero/pc.jpg);
  }
}

.c-mv-lower__img--news {
  background-image: url(../img/news/hero/sp.jpg);
}
@media screen and (min-width: 768px) {
  .c-mv-lower__img--news {
    background-image: url(../img/news/hero/pc.jpg);
  }
}

.c-mv-lower__img--download {
  background-image: url(../img/download/hero/sp.jpg);
}
@media screen and (min-width: 768px) {
  .c-mv-lower__img--download {
    background-image: url(../img/download/hero/pc.jpg);
  }
}

.c-mv-lower__img--contact {
  background-image: url(../img/contact/hero/sp.jpg);
}
@media screen and (min-width: 768px) {
  .c-mv-lower__img--contact {
    background-image: url(../img/contact/hero/pc.jpg);
  }
}

.c-mv-lower__img--service {
  background-image: url(../img/service/hero/sp.jpg);
}
@media screen and (min-width: 768px) {
  .c-mv-lower__img--service {
    background-image: url(../img/service/hero/pc.jpg);
  }
}

.c-mv-lower__img--case {
  background-image: url(../img/case/hero/sp.jpg);
}
@media screen and (min-width: 768px) {
  .c-mv-lower__img--case {
    background-image: url(../img/case/hero/pc.jpg);
  }
}

.c-sidebar-cats {
  padding-top: 54px;
}
@media screen and (min-width: 768px) {
  .c-sidebar-cats {
    /* Figma menu-side: category y 568 - new-arrival 488 = 80 */
    padding-top: 80px;
  }
}

.c-sidebar-cats__lists {
  margin-top: 16px;
}

.c-sidebar-cats__list {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  box-sizing: border-box;
  height: auto;
  min-height: 57px;
  padding: 0 0 0 39px;
  border-top: 1px solid var(--color-border-muted);
}
.c-sidebar-cats__list:last-child {
  border-bottom: 1px solid var(--color-border-muted);
}
.c-sidebar-cats__list::before {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 20px;
  height: 20px;
  content: "";
  background: url(../img/icons/navigation/chevron-right-brand.svg) center/9.424px 16.026px no-repeat;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.c-sidebar-cats__link {
  display: block;
  font-size: 16px;
  font-weight: 700;
  /* 16 × 1.4375 = 23。固定で重なり／見切れを防ぐ */
  line-height: 23px;
}

.c-sidebar-new {
  padding-top: 96px;
}
@media screen and (min-width: 768px) {
  .c-sidebar-new {
    padding-top: 0;
  }
}

.c-sidebar-new__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 12px;
  margin-top: var(--space-sm);
}
@media screen and (min-width: 768px) {
  .c-sidebar-new__item {
    gap: 10px;
    margin-top: 16px;
  }
}
.c-sidebar-new__item:first-of-type {
  margin-top: 19px;
}
@media screen and (min-width: 768px) {
  .c-sidebar-new__item:first-of-type {
    /* Figma new-arrival itemSpacing: 16 */
    margin-top: 16px;
  }
}

.c-sidebar-new__thumbnail {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  width: calc(37.61% - 6px);
}
@media screen and (min-width: 768px) {
  .c-sidebar-new__thumbnail {
    width: 100px;
  }
}
.c-sidebar-new__thumbnail > img {
  width: 100%;
  /* Figma list-post-sp: 120×90（SP 375） */
  height: 90px;
  -o-object-fit: cover;
     object-fit: cover;
}
@media screen and (min-width: 768px) {
  .c-sidebar-new__thumbnail > img {
    width: 100px;
    height: 100px;
    max-height: none;
  }
}

.c-sidebar-new__body {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  width: calc(62.39% - 6px);
  min-width: 0;
}
@media screen and (min-width: 768px) {
  /*
   * flex 縦積み（旧: grid 同一セル重ね + title mt:35）。
   * 同一セル重ねは描画競合・タイトル重なりの温床のため分離。
   * meta 27 + gap 8 = title 開始 35（Figma 準拠）
   */
  .c-sidebar-new__body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    width: 190px;
    max-width: 190px;
  }
}

.c-sidebar-new__meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
@media screen and (min-width: 768px) {
  .c-sidebar-new__meta {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    width: 190px;
    height: 27px;
  }
}

.c-sidebar-new__cats {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.c-sidebar-new__cat {
  padding: 1.5px 9px;
  font-size: 12px;
  line-height: normal;
  color: var(--color-brand-accent);
  white-space: nowrap;
  border: 1px solid var(--color-brand-accent);
}
@media screen and (min-width: 768px) {
  .c-sidebar-new__cat {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    height: 30px;
    padding: 0 9px;
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
}

.c-sidebar-new__new {
  margin-left: var(--space-2xs);
  font-size: 14px;
  color: var(--color-brand-accent);
}

.c-sidebar-new__time {
  margin-left: 12px;
  font-size: 14px;
  /* Figma: Medium 14 / leading normal（body 1.72 継承を切る） */
  line-height: normal;
  color: var(--color-text-muted);
}
@media screen and (min-width: 768px) {
  .c-sidebar-new__time {
    margin-left: 0;
    font-weight: 500;
    line-height: normal;
  }
}

.c-sidebar-new__title {
  display: -webkit-box;
  /* autoprefixer: ignore next */
  -webkit-box-orient: vertical;
  /* Figma list-post-sp: meta→title gap 6 / 行高 17（2行=34） */
  margin-top: 6px;
  /*
   * 3行 clamp。max-height は line-height×3 と一致させる
   * （line-height:normal や br 併用時の見切れ／行重ねを防ぐ）
   */
  max-height: 51px; /* 17 × 3 */
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  line-height: 17px;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  /* break-word は意図 br（リリー／ス）と競合し途中割れ＋重なりの原因になる */
  word-break: normal;
  overflow-wrap: break-word;
  text-overflow: ellipsis;
}
@media screen and (min-width: 768px) {
  .c-sidebar-new__title {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    -ms-flex-item-align: start;
        align-self: flex-start;
    width: 190px;
    /* meta 27 + 8 = 35（Figma title 開始）。grid 重ね廃止後の mt */
    max-height: 60px; /* 20 × 3 */
    margin-top: 8px;
    line-height: 20px;
    word-break: break-word;
  }
  /* カテゴリアーカイブ共通 — meta 25 に対し title 開始 ≈ 35 → mt 10 */
  .category-seminar .c-sidebar-new__title,
  .category-new .c-sidebar-new__title,
  .category-interview .c-sidebar-new__title,
  .category-program .c-sidebar-new__title {
    width: 190px;
    max-height: 60px;
    margin-top: 10px;
    line-height: 20px;
  }
}

.c-sidebar__title {
  font-size: 20px;
  font-weight: 700;
}
@media screen and (min-width: 768px) {
  .c-sidebar__title {
    /* Figma: 20 Bold / lineHeight AUTO ≈ 24 */
    margin-top: 0;
    line-height: normal;
  }
  /*
   * カテゴリアーカイブ共通（new/interview/seminar/program）
   * 現状(padding-top:5)から6px上 → margin-top:-1px（5-6=-1）
   * Figma menu-side: 見出し h24 + itemSpacing 16 / カテゴリ開始までの間隔 80
   */
  /* カテゴリアーカイブ共通 — meta 高さ 25px（他ページは 27px） */
  .category-seminar .c-sidebar-new__meta,
  .category-new .c-sidebar-new__meta,
  .category-interview .c-sidebar-new__meta,
  .category-program .c-sidebar-new__meta {
    height: 25px;
  }
  /* カテゴリアーカイブ共通 — カテゴリラベル高さ 29px（他ページは 30px） */
  .category-seminar .c-sidebar-new__cat,
  .category-new .c-sidebar-new__cat,
  .category-interview .c-sidebar-new__cat,
  .category-program .c-sidebar-new__cat {
    height: 29px;
  }
  .category-seminar .c-sidebar-new,
  .category-new .c-sidebar-new,
  .category-interview .c-sidebar-new,
  .category-program .c-sidebar-new {
    padding-top: 0;
    margin-top: -1px; /* 5 - 6 = -1。現状から6px上 */
  }
  .category-seminar .c-sidebar-new > .c-sidebar__title,
  .category-new .c-sidebar-new > .c-sidebar__title,
  .category-interview .c-sidebar-new > .c-sidebar__title,
  .category-program .c-sidebar-new > .c-sidebar__title {
    margin-top: 0;
    line-height: 24px;
  }
  .category-seminar .c-sidebar-new__item:first-of-type,
  .category-new .c-sidebar-new__item:first-of-type,
  .category-interview .c-sidebar-new__item:first-of-type,
  .category-program .c-sidebar-new__item:first-of-type {
    margin-top: 16px;
  }
  .category-seminar .c-sidebar-cats,
  .category-new .c-sidebar-cats,
  .category-interview .c-sidebar-cats,
  .category-program .c-sidebar-cats {
    padding-top: 80px;
  }
  .category-seminar .c-sidebar-cats > .c-sidebar__title,
  .category-new .c-sidebar-cats > .c-sidebar__title,
  .category-interview .c-sidebar-cats > .c-sidebar__title,
  .category-program .c-sidebar-cats > .c-sidebar__title {
    margin-top: 0;
    line-height: 24px;
  }
  /* カテゴリアーカイブ共通 — リスト上余白 19px（他ページは 16px） */
  .category-seminar .c-sidebar-cats__lists,
  .category-new .c-sidebar-cats__lists,
  .category-interview .c-sidebar-cats__lists,
  .category-program .c-sidebar-cats__lists {
    margin-top: 19px;
  }
}

.p-archive-news__cat-name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}
@media screen and (min-width: 768px) {
  .p-archive-news__cat-name {
    font-size: 32px;
    line-height: 1.2;
  }
}

.p-archive-news__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 12px;
  margin-top: var(--space-sm);
}
@media screen and (min-width: 768px) {
  .p-archive-news__item {
    gap: 20px;
    margin-top: 40px;
  }
}
.p-archive-news__item:first-of-type {
  margin-top: 23px;
}
@media screen and (min-width: 768px) {
  .p-archive-news__item:first-of-type {
    margin-top: 20px;
  }
}

.p-archive-news__thumbnail {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  width: calc(37.61% - 6px);
}
@media screen and (min-width: 768px) {
  .p-archive-news__thumbnail {
    width: 250px;
  }
}
.p-archive-news__thumbnail > img {
  width: 100%;
  /* Figma list-post-sp: 120×90（SP 375） */
  height: 90px;
  -o-object-fit: cover;
     object-fit: cover;
}
@media screen and (min-width: 768px) {
  .p-archive-news__thumbnail > img {
    width: 250px;
    height: 156px;
    max-height: none;
  }
}

.p-archive-news__body {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  width: calc(62.39% - 6px);
  min-width: 0;
}
@media screen and (min-width: 768px) {
  .p-archive-news__body {
    width: auto;
    max-width: 490px;
  }
}

.p-archive-news__title {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  /* Figma list-post-sp: 2行=34 / 3行=51 → lh 17 */
  line-height: 17px;
}
/*
 * SP 3-line clamp: needs display:-webkit-box (block/flow-root kills clamp).
 * Use compound .p-archive-news + .u-line-clamp-3. PC MQ keeps numeric tokens.
 */
.p-archive-news .p-archive-news__title.u-line-clamp-3,
.p-archive-news__title.u-line-clamp-3 {
  display: -webkit-box;
  /* autoprefixer: ignore next */
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  text-overflow: ellipsis;
  /* break-word は CJK 途中割れ＋ br 併用時の重なり要因（sidebar と同方針） */
  word-break: normal;
  overflow-wrap: break-word;
}
/* Figma list-post-sp: カテゴリラベル px10 py4.5 / 日付 leading normal */
.p-archive-news .c-meta__cat {
  padding: 1.5px 9px;
  line-height: normal;
}
.p-archive-news .c-meta__time {
  line-height: normal;
}
/*
 * カテゴリアーカイブ共通（new/interview/seminar/program） SP（375）: list-post-sp 準拠。
 * 120 + gap12 + 203 = 335。meta 上端揃え、title は meta 直下（gap 6）。
 * title: Figma 14/700 / lh 17（2行=34・3行=51）/ #1A1A1A / clamp 3。
 * 実測 v1.6.77: lh 1.2(=16.8) は titleH 33.59/50.39 でカンプ 34/51 から残差。
 * タイトル改行は PHP ルール表（gs_get_archive_title_break_rules）。PC は本 MQ 外。
 */
@media screen and (max-width: 767px) {
  .category-seminar .p-archive-news__thumbnail,
  .category-new .p-archive-news__thumbnail,
  .category-interview .p-archive-news__thumbnail,
  .category-program .p-archive-news__thumbnail {
    width: 120px;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 120px;
            flex: 0 0 120px;
  }
  .category-seminar .p-archive-news__body,
  .category-new .p-archive-news__body,
  .category-interview .p-archive-news__body,
  .category-program .p-archive-news__body {
    width: 203px;
    max-width: 203px;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 203px;
            flex: 0 0 203px;
  }
  .category-seminar .p-archive-news .c-meta,
  .category-new .p-archive-news .c-meta,
  .category-interview .p-archive-news .c-meta,
  .category-program .p-archive-news .c-meta {
    min-height: 23px;
  }
  .category-seminar .p-archive-news .c-meta__cat,
  .category-new .p-archive-news .c-meta__cat,
  .category-interview .p-archive-news .c-meta__cat,
  .category-program .p-archive-news .c-meta__cat {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    height: 23px;
    /* Figma cat box w68: border1*2 + pad9*2 + 文字48 */
    padding: 0 9px;
    font-size: 12px;
    line-height: 1;
  }
  .category-seminar .p-archive-news .c-meta__time,
  .category-new .p-archive-news .c-meta__time,
  .category-interview .p-archive-news .c-meta__time,
  .category-program .p-archive-news .c-meta__time {
    font-size: 14px;
    line-height: 17px;
  }
  .category-seminar .p-archive-news .p-archive-news__title,
  .category-new .p-archive-news .p-archive-news__title,
  .category-interview .p-archive-news .p-archive-news__title,
  .category-program .p-archive-news .p-archive-news__title {
    margin-top: 6px;
    font-size: 14px;
    font-weight: 700;
    /* Figma text box 2行 h34 / 3行 h51 → 17px（1.2=16.8 は PP 二重の原因） */
    line-height: 17px;
    color: #1a1a1a;
  }
  .category-seminar .p-archive-news .p-archive-news__title.u-line-clamp-3,
  .category-new .p-archive-news .p-archive-news__title.u-line-clamp-3,
  .category-interview .p-archive-news .p-archive-news__title.u-line-clamp-3,
  .category-program .p-archive-news .p-archive-news__title.u-line-clamp-3 {
    /* 3行硬上限（17×3）。br 併用時のはみ出し防止 */
    max-height: 51px;
    word-break: normal;
    overflow-wrap: break-word;
  }
}
@media screen and (min-width: 768px) {
  .p-archive-news__title {
    margin-top: 14px;
    font-size: 16px;
    line-height: 18.2px;
  }
  .p-archive-news .p-archive-news__title.u-line-clamp-3,
  .p-archive-news__title.u-line-clamp-3 {
    display: -webkit-box;
    /* autoprefixer: ignore next */
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    text-overflow: ellipsis;
  }
  .p-archive-news .c-meta__cat {
    padding: 6px 9px;
    line-height: 1;
  }
}

.p-archive-news__pagination {
  margin-top: var(--space-md);
}
@media screen and (min-width: 768px) {
  .p-archive-news__pagination {
    margin-top: 60px;
  }
}

.p-case-study__nav {
  margin: 0 var(--space-sm);
}
@media screen and (min-width: 768px) {
  .p-case-study__nav {
    margin: 0;
  }
}

@media screen and (min-width: 768px) {
  .p-case-study__nav-lists {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 16px;
  }
}

.p-case-study__nav-list:not(:first-child) {
  margin-top: var(--space-sm);
}
@media screen and (min-width: 768px) {
  .p-case-study__nav-list:not(:first-child) {
    margin-top: 0;
    margin-left: 0;
  }
}

.p-case-study__nav-link {
  display: block;
  padding: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.43;
  text-align: center;
  background: var(--color-border-light);
  border-radius: 4px;
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
}
@media screen and (min-width: 768px) {
  /* Figma category-btn: 208×44 / #eee / r4 / 14 bold / gap 16 */
  .p-case-study__nav-link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 208px;
    height: 44px;
    padding: 0 8px;
    font-size: 14px;
    line-height: 1.4;
  }
}
@media (hover: hover) {
  .p-case-study__nav-link:hover {
    background: var(--color-border-focus);
  }
}

.p-case {
  position: relative;
  width: 100%;
  height: auto;
  background: url(../img/common/backgrounds/case.jpg) center / cover no-repeat;
}
@media screen and (min-width: 768px) {
  .p-case {
    height: 1173px;
    margin-top: -12px;
  }
  .p-case.l-section {
    padding-top: 100px;
    padding-bottom: 122px;
  }
  .p-case .c-heading__link-text {
    margin-top: -9px;
  }
}

.p-case__heading .c-heading {
  color: var(--color-bg-base); /* CASEのみ色が違う。1箇所なので例外を許容 */
}

.p-case__items {
  margin-top: var(--space-md);
}
@media screen and (max-width: 767px) {
  .p-case.l-section {
    position: relative;
    height: 2585px;
    padding: 67px 0 60px;
    overflow: visible;
    -webkit-transform: none;
            transform: none;
    isolation: isolate;
  }
  .p-case > .l-inner {
    position: relative;
    height: auto;
    padding-right: 20px;
    padding-left: 20px;
    -webkit-transform: none;
            transform: none;
  }
  .p-case__heading {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    -webkit-transform: none;
            transform: none;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
  }
  .p-case .c-heading__en,
  .p-case .c-heading__jp {
    -webkit-transform: none;
            transform: none;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .p-case .c-heading__en {
    position: relative;
    top: -2px;
    line-height: 1;
    font-weight: 500;
  }
  .p-case .c-heading__jp {
    margin-top: 0;
    line-height: 23px;
  }
  .p-case__items {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    margin-top: 45px;
  }
}
@media screen and (min-width: 768px) {
  .p-case__items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-top: 80px;
  }
}

.p-case__item {
  display: block;
}
@media screen and (max-width: 767px) {
  .p-case__item {
    height: 334px;
  }
}
@media screen and (min-width: 768px) {
  .p-case__item {
    width: 29.0896666667%;
    margin-top: 70px;
  }
}
.p-case__item:not(:first-child) {
  margin-top: 47px;
}
@media screen and (max-width: 767px) {
  .p-case__item:not(:first-child) {
    margin-top: 48px;
  }
}
@media screen and (min-width: 768px) {
  .p-case__item:not(:first-child) {
    margin-top: 70px;
  }
}
.p-case__item.is-hover .p-case__item-link > svg {
  margin-right: 0;
  fill: var(--color-brand-highlight);
}

.p-case__item-img {
  padding: 25px 67px;
  text-align: center;
  background-color: var(--color-bg-base);
}
@media screen and (max-width: 767px) {
  .p-case__item-img {
    box-sizing: border-box;
    height: 251px;
    padding: 25px 67px;
  }
  .p-case__item-img img {
    display: block;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    object-fit: contain;
  }
}
@media screen and (min-width: 768px) {
  .p-case__item-img {
    padding: var(--space-sm) var(--space-lg);
  }
}

.p-case__item-company {
  margin-top: 12px;
  font-size: 16px;
  color: var(--color-bg-base);
}
@media screen and (max-width: 767px) {
  .p-case__item-company {
    margin-top: 14px;
    line-height: 23px;
  }
}

.p-case__item--links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-top: 11px;
}
@media screen and (max-width: 767px) {
  .p-case__item--links {
    margin-top: 14px;
  }
}

.p-case__item-cat {
  padding: var(--space-2xs) 15px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-bg-base);
  border: 1px solid var(--color-bg-base);
}
@media screen and (max-width: 767px) {
  .p-case__item-cat {
    padding: 6px 16px;
    font-size: 14px;
    line-height: 20px;
  }
  .p-case__item,
  .p-case__item-company,
  .p-case__item--links,
  .p-case__item-cat,
  .p-case__item-link {
    -webkit-transform: none;
            transform: none;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

.p-case__item-link > svg {
  display: block;
  width: 29.5px;
  height: 29.5px;
  fill: var(--color-bg-base);
  -webkit-transition: margin 0.3s, -webkit-transform 0.3s;
  transition: margin 0.3s, -webkit-transform 0.3s;
  transition: margin 0.3s, transform 0.3s;
  transition: margin 0.3s, transform 0.3s, -webkit-transform 0.3s;
}
@media screen and (max-width: 767px) {
  .p-case__item-link > svg {
    width: 30px;
    height: 30px;
    -webkit-transform: none;
            transform: none;
  }
}
@media screen and (min-width: 768px) {
  .p-case__item-link > svg {
    margin-right: 0;
  }
  .p-case__item:first-child .p-case__item-link > svg {
    margin-right: -1px;
  }
}

.p-case__view-more-link {
  margin-top: var(--space-lg);
}
@media screen and (max-width: 767px) {
  .p-case__view-more-link {
    position: relative;
    top: 6px;
    right: auto;
    display: block;
    width: 190px;
    height: 40px;
    margin: 53px 0 0 auto;
    overflow: visible;
    -webkit-transform: none;
            transform: none;
  }
  .p-case__view-more-link .c-heading__link-text {
    position: relative;
    z-index: 1;
    -webkit-transform: none;
            transform: none;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .p-case__view-more-link .c-heading__link-arrow--color-white {
    position: relative;
    z-index: 1;
  }
  .p-case__view-more-link .c-heading__link-circle--border {
    top: 38%;
    right: 0;
    z-index: 0;
    width: 40px;
    height: 40px;
    border-color: var(--color-brand-highlight);
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
}

.p-cases {
  padding-top: 55px;
}
/*
 * 参考サイト同様、PCカード2列・詳細タイポは 992px〜。
 * 768–991px は1列（SP構成）のまま余白のみ緩める。
 * Figma PC（1280）の gap 80 / カード510 等は 992+ で維持。
 */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .p-cases {
    padding-top: 64px;
  }
  .p-cases__items {
    margin-top: 36px;
  }
  .p-cases__item:not(:first-child) {
    margin-top: 48px;
  }
}
@media screen and (min-width: 992px) {
  /* Figma Frame56: セクション間 gap 80 */
  .p-cases {
    padding-top: 80px;
  }
}

.p-cases__title {
  padding-left: 10px;
  font-size: 24px;
  font-weight: 700;
  border-left: 8px solid var(--color-brand-primary);
}
@media screen and (min-width: 992px) {
  /* Figma title: bar 8×41 / gap 10 / jp 28 / en 16 italic gap 20 */
  .p-cases__title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    min-height: 41px;
    padding-left: 10px;
    font-size: 28px;
    line-height: 1.43;
    border-left-width: 8px;
  }
}

.p-cases__items {
  margin-top: 29px;
}
@media screen and (min-width: 992px) {
  .p-cases__items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 80px 80px;
    margin-top: 60px;
  }
}

.p-cases__item {
  background: var(--color-bg-base);
  border-radius: 12px;
  -webkit-box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
          box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
}
@media screen and (min-width: 992px) {
  /* Figma card: 510 / shadow 0 3 6 / r12 */
  .p-cases__item {
    position: relative;
    width: calc((100% - 80px) / 2);
    max-width: 510px;
    margin-top: 0;
    overflow: visible;
    -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  }
}
.p-cases__item:not(:first-child) {
  margin-top: 54px;
}
@media screen and (min-width: 992px) {
  .p-cases__item:not(:first-child) {
    margin-top: 0;
  }
}

.p-cases__title--en {
  display: block;
  font-size: 14px;
  line-height: 1;
  color: var(--color-brand-primary);
}
@media screen and (min-width: 992px) {
  .p-cases__title--en {
    margin-left: 20px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
  }
}

.p-cases__item-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 7px var(--space-sm);
  background: var(--color-brand-primary);
  border-radius: 12px 12px 0 0;
}
@media screen and (min-width: 992px) {
  /* Figma name head: h100 / px40 py18 */
  .p-cases__item-head {
    position: relative;
    height: 100px;
    padding: 18px 40px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
}

.p-cases__item-heading {
  font-weight: 700;
  color: var(--color-bg-base);
}
@media screen and (min-width: 992px) {
  .p-cases__item-heading {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 8px;
    max-width: calc(100% - 180px);
  }
}

.p-cases__business {
  font-size: 12px;
}
@media screen and (min-width: 992px) {
  .p-cases__business {
    font-size: 14px;
    line-height: 17px;
  }
}

.p-cases__name {
  font-size: 16px;
}
@media screen and (min-width: 992px) {
  .p-cases__name {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    gap: 15px;
    margin-top: 0;
    font-size: 24px;
    line-height: 1.17;
  }
}

.p-cases__compellation {
  display: inline-block;
  margin-left: 12px;
  font-size: 14px;
}
@media screen and (min-width: 992px) {
  .p-cases__compellation {
    margin-left: 0;
    font-size: 16px;
    line-height: 1.17;
  }
}

.p-cases__item-logo {
  width: 90px;
  padding: 4px 16px;
  overflow: hidden;
  background-color: var(--color-bg-base);
  border-radius: 4px;
  -webkit-box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
          box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
}
.p-cases__item-logo img {
  display: block;
  width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
@media screen and (min-width: 992px) {
  /* Figma logo: 160×112 / right 20 / top -6 / r12 */
  .p-cases__item-logo {
    position: absolute;
    top: -6px;
    right: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 160px;
    height: 112px;
    padding: 8px 12px;
    border-radius: 12px;
    -webkit-transform: none;
            transform: none;
  }
  .p-cases__item-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
  }
}

.p-cases__item-body {
  padding: 17px 20px 20px;
}
@media screen and (min-width: 992px) {
  /* Figma detail: px40 py35 / gap 30 */
  .p-cases__item-body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 30px;
    padding: 35px 40px;
  }
}

.p-cases__item-title {
  padding-bottom: var(--space-2xs);
  font-size: 16px;
  font-weight: 700;
  border-bottom: 1px solid var(--color-border-muted);
}
@media screen and (min-width: 992px) {
  .p-cases__item-title {
    padding-bottom: 13px;
    line-height: 1.2;
  }
}

.p-cases__item-title--course-name {
  margin-left: var(--space-2xs);
}
@media screen and (min-width: 992px) {
  .p-cases__item-title--course-name {
    margin-left: 0;
  }
}

.p-cases__lists {
  margin-top: var(--space-sm);
}
@media screen and (min-width: 992px) {
  .p-cases__lists {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 30px;
    margin-top: 0;
  }
}

.p-cases__list:not(:first-child) {
  margin-top: var(--space-sm);
}
@media screen and (min-width: 992px) {
  .p-cases__list:not(:first-child) {
    margin-top: 0;
  }
}

.p-cases__list-title {
  position: relative;
  padding-left: 25px;
  font-size: 16px;
  font-weight: 700;
}
@media screen and (min-width: 992px) {
  .p-cases__list-title {
    padding-left: 30px;
    font-size: 18px;
    line-height: 1.2;
  }
}
.p-cases__list-title::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 15px;
  height: 15px;
  content: "";
  background: url(../img/icons/status/check-highlight.svg) center/cover no-repeat;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
@media screen and (min-width: 992px) {
  .p-cases__list-title::before {
    top: 4px;
    width: 20px;
    height: 20px;
    -webkit-transform: none;
            transform: none;
  }
}

.p-cases__list-text {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.72;
}
@media screen and (min-width: 992px) {
  .p-cases__list-text {
    margin-top: 13px;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
  }
}

.p-cases__button-wrapper {
  text-align: center;
}

.p-cases__button {
  display: block;
  max-width: 295px;
  padding: 28px 10px;
  margin: var(--space-md) auto 0;
  font-size: 14px;
}
@media screen and (min-width: 992px) {
  /* Figma btn-service: px80 py24 / 16 / margin-top 60 */
  .p-cases__button {
    display: inline-block;
    max-width: 100%;
    padding: 24px 80px;
    margin-top: 60px;
    font-size: 16px;
    font-weight: 500;
  }
  .p-cases__button.c-button--primary.c-button--icon-arrow {
    margin-top: 60px;
  }
  .p-cases__button.c-button--icon-arrow::after {
    right: 19px;
  }
}

.p-company-directors {
  margin-bottom: 100px;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(46.5%, transparent), color-stop(46.5%, var(--color-bg-subtle)));
  background: linear-gradient(transparent 46.5%, var(--color-bg-subtle) 46.5%);
}
@media screen and (min-width: 768px) {
  /* Figma staff contents: 1482 / pt120 pb187 / staff-bg 800px bottom:-45 */
  .p-company-directors {
    position: relative;
    margin-bottom: 0;
    overflow: visible;
    background: none;
    -webkit-transform: none;
            transform: none;
  }
  .p-company-directors.l-section {
    padding: 120px 0 187px;
  }
  .p-company-directors::before {
    position: absolute;
    right: 0;
    bottom: -45px;
    left: 0;
    z-index: 0;
    height: 800px;
    content: "";
    background: url(../img/about/directors/staff-bg.svg) center / 100% 100% no-repeat;
    pointer-events: none;
  }
  .p-company-directors.l-skew > *,
  .p-company-directors > .l-inner,
  .p-company-directors__title,
  .p-company-directors__items,
  .p-company-directors__item,
  .p-company-directors__main,
  .p-company-directors__img,
  .p-company-directors__sns-icons,
  .p-company-directors__sns-icon {
    -webkit-transform: none;
            transform: none;
  }
  .p-company-directors > .l-inner {
    position: relative;
    z-index: 1;
  }
}

.p-company-directors__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 35px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-company-directors__title {
    height: 35px;
    line-height: 35px;
  }
}

.p-company-directors__items {
  margin-top: var(--space-md);
}
@media screen and (min-width: 768px) {
  .p-company-directors__items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 60px;
    max-width: 688px;
    margin: 60px auto 0;
  }
}

@media screen and (min-width: 768px) {
  .p-company-directors__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    width: 100%;
    margin-top: 0;
  }
}
.p-company-directors__item:not(:first-child) {
  margin-top: var(--space-lg);
}
@media screen and (min-width: 768px) {
  .p-company-directors__item:not(:first-child) {
    margin-top: 0;
  }
}

.p-company-directors__img {
  margin: 0 48px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-company-directors__img {
    -ms-flex-negative: 0;
        flex-shrink: 0;
    width: 240px;
    height: 320px;
    margin: 0;
    overflow: hidden;
  }
  .p-company-directors__img img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
}

.p-company-directors__main {
  margin-top: 18px;
}
@media screen and (min-width: 768px) {
  .p-company-directors__main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 30px;
    width: 408px;
    margin-top: 0;
  }
}

.p-company-directors__profile {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 20px;
}

.p-company-directors__job-title {
  font-size: 14px;
  font-weight: 700;
}

.p-company-directors__name {
  margin-left: var(--space-sm);
  font-size: 20px;
  font-weight: 700;
}
@media screen and (min-width: 768px) {
  .p-company-directors__name {
    margin-left: 0;
    line-height: normal;
  }
}

.p-company-directors__biography {
  margin-top: 15px;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
}
@media screen and (min-width: 768px) {
  .p-company-directors__biography {
    margin-top: 0;
  }
}

.p-company-directors__sns-icons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 17px;
}
.p-company-directors__sns-icon:not(:first-child) {
  margin-left: 24px;
}
@media screen and (min-width: 768px) {
  .p-company-directors__sns-icons {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 24px;
    margin-top: 0;
  }
  .p-company-directors__sns-icon {
    display: block;
    width: 32px;
    height: 32px;
  }
  .p-company-directors__sns-icon img {
    display: block;
    width: 100%;
    height: 100%;
  }
  .p-company-directors__sns-icon:not(:first-child) {
    margin-left: 0;
  }
}

.p-company-message__inner {
  padding-right: 0;
  padding-left: 0;
}
@media screen and (min-width: 768px) {
  .p-company-message__inner {
    padding-right: var(--space-md);
    padding-left: var(--space-md);
  }
}

.p-company-message__item {
  position: relative;
}
.p-company-message__item:last-child {
  margin-top: var(--space-lg);
}
@media screen and (min-width: 768px) {
  .p-company-message__item:last-child {
    margin-top: 120px;
  }
}

.p-company-message__bg--bg02, .p-company-message__bg--bg01 {
  width: 100vw;
  height: 280px;
  padding: var(--space-sm) var(--space-sm) 0;
  margin: 0 calc(50% - 50vw);
  color: var(--color-bg-base);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
@media screen and (min-width: 768px) {
  .p-company-message__bg--bg02, .p-company-message__bg--bg01 {
    box-sizing: border-box;
    width: 100%;
    height: 353px;
    padding: 20px;
    margin: 0;
  }
}

.p-company-message__bg--bg01 {
  background-image: url(../img/about/mission/sp.jpg);
}
@media screen and (min-width: 768px) {
  .p-company-message__bg--bg01 {
    background-image: url(../img/about/mission/pc.jpg);
  }
}

.p-company-message__bg--bg02 {
  background-image: url(../img/about/vision/sp.jpg);
}
@media screen and (min-width: 768px) {
  .p-company-message__bg--bg02 {
    background-image: url(../img/about/vision/pc.jpg);
  }
}

.p-company-message__bg-en {
  font-size: 52px;
  line-height: 1.21;
}
@media screen and (min-width: 768px) {
  .p-company-message__bg-en {
    font-size: 100px;
    line-height: 120px;
  }
}

.p-company-message__bg-jp {
  font-size: 16px;
  font-weight: 700;
}
@media screen and (min-width: 768px) {
  .p-company-message__bg-jp {
    font-size: 24px;
    line-height: 35px;
  }
}

.p-company-message__box {
  padding: var(--space-sm) var(--space-sm) 18px;
  margin-top: -40px;
  background: var(--color-bg-base);
  -webkit-box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
          box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
}
@media screen and (min-width: 768px) {
  /* Figma Frame55: 688幅 / py30 px40 / 画像下から60pxオーバーラップ */
  .p-company-message__box {
    box-sizing: border-box;
    max-width: 688px;
    padding: 30px 40px;
    margin: -60px auto 0;
    -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  }
}

.p-company-message__box-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--color-brand-primary);
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-company-message__box-title {
    font-size: 24px;
    line-height: 35px;
  }
}

.p-company-message__box-text {
  margin-top: 19px;
}
@media screen and (min-width: 768px) {
  .p-company-message__box-text {
    margin-top: 30px;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
  }
}

.p-company-profile {
  position: relative;
  width: 100%;
  height: auto;
  padding: var(--space-lg) 0 68px;
  background: url(../img/about/profile/bg-pc.jpg) center / cover no-repeat;
}
.p-company-profile::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  /* Figma: rgba(2, 62, 120, 0.8) */
  background: rgba(2, 62, 120, 0.8);
  pointer-events: none;
}
.p-company-profile > .l-inner--narrow {
  position: relative;
  z-index: 1;
}
@media screen and (min-width: 768px) {
  /* Figma company: 1280x979 / カード上下92.5 / カード幅768（左256） */
  .p-company-profile {
    box-sizing: border-box;
    height: 979px;
    min-height: 979px;
    padding: 92.5px 0;
    overflow: hidden;
    background: url(../img/about/profile/bg-pc.jpg) center center / cover no-repeat;
  }
  .p-company-profile > .l-inner--narrow {
    max-width: 768px;
    padding: 0;
  }
}

.p-company-profile__box {
  padding: var(--space-md) var(--space-sm);
  background: var(--color-bg-base);
}
@media screen and (min-width: 768px) {
  .p-company-profile__box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 60px;
    box-sizing: border-box;
    width: 768px;
    max-width: 768px;
    height: 794px;
    min-height: 794px;
    padding: 60px 40px;
    margin: 0 auto;
    /* Figma stroke 内側扱い：border だとタイトルが1px下がる */
    border: none;
    -webkit-box-shadow: inset 0 0 0 1px #707070;
            box-shadow: inset 0 0 0 1px #707070;
    background: #fff;
  }
}

.p-company-profile__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-company-profile__title {
    height: 35px;
    line-height: 35px;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

.p-company-profile__dl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-top: var(--space-md);
}
@media screen and (min-width: 768px) {
  /* Figma table: 688 / ラベル200 / 行高 72·120·73·96·73·72·73（累積ズレ防止） */
  .p-company-profile__dl {
    display: grid;
    grid-template-columns: 200px 1fr;
    grid-template-rows: 72px 120px 73px 96px 73px 72px 73px;
    width: 100%;
    max-width: 688px;
    margin-top: 0;
  }
}

.p-company-profile__dt,
.p-company-profile__dd {
  padding: 15.5px 0;
  line-height: 1.43;
}
@media screen and (min-width: 768px) {
  .p-company-profile__dt,
  .p-company-profile__dd {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-item-align: stretch;
        align-self: stretch;
    box-sizing: border-box;
    width: auto;
    height: 100%;
    min-height: 0;
    /* Figma: px-32 py-24 / 事業内容リストは行高24×3=72で上下24に収める */
    padding: 24px 32px;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  /* Figma 73px行の値は leading 25 / y=24（設立・TEL・E-mail） */
  .p-company-profile__dd:nth-of-type(3),
  .p-company-profile__dd:nth-of-type(5),
  .p-company-profile__dd:nth-of-type(7) {
    line-height: 25px;
  }
}

.p-company-profile__dt {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 33.9%;
  border-top: 1px solid var(--color-brand-primary);
}
@media screen and (min-width: 768px) {
  .p-company-profile__dt {
    width: auto;
    border-top: none;
    border-bottom: none;
    /* Figma stroke は内側扱いで行高に加算しない */
    -webkit-box-shadow: inset 0 -1px 0 var(--color-brand-primary);
            box-shadow: inset 0 -1px 0 var(--color-brand-primary);
  }
  .p-company-profile__dt:first-of-type {
    -webkit-box-shadow: inset 0 1px 0 var(--color-brand-primary), inset 0 -1px 0 var(--color-brand-primary);
            box-shadow: inset 0 1px 0 var(--color-brand-primary), inset 0 -1px 0 var(--color-brand-primary);
  }
}
.p-company-profile__dt:last-of-type {
  border-bottom: 1px solid var(--color-brand-primary);
}
@media screen and (min-width: 768px) {
  .p-company-profile__dt:last-of-type {
    border-bottom: none;
  }
}

.p-company-profile__dd {
  width: 66.1%;
  padding-left: var(--space-sm);
  border-top: 1px solid #e8eaec;
}
@media screen and (min-width: 768px) {
  .p-company-profile__dd {
    width: auto;
    padding-left: 32px;
    border-top: none;
    border-bottom: none;
    -webkit-box-shadow: inset 0 -1px 0 #e8eaec;
            box-shadow: inset 0 -1px 0 #e8eaec;
  }
  .p-company-profile__dd:first-of-type {
    -webkit-box-shadow: inset 0 1px 0 #e8eaec, inset 0 -1px 0 #e8eaec;
            box-shadow: inset 0 1px 0 #e8eaec, inset 0 -1px 0 #e8eaec;
  }
}
.p-company-profile__dd:last-of-type {
  border-bottom: 1px solid #e8eaec;
}
@media screen and (min-width: 768px) {
  .p-company-profile__dd:last-of-type {
    border-bottom: none;
  }
}

.p-company-profile__dd-lists {
  margin: 0;
  padding: 0;
  list-style: none;
}
@media screen and (min-width: 768px) {
  .p-company-profile__dd-text {
    display: block;
    line-height: 24px;
  }
}

.p-company-profile__dd-list {
  position: relative;
  padding-left: 14px;
}
.p-company-profile__dd-list::before {
  position: absolute;
  left: 0;
  content: "・";
}
@media screen and (min-width: 768px) {
  .p-company-profile__dd-list {
    padding-left: 0;
    margin-left: 24px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
  }
  .p-company-profile__dd-list::before {
    content: none;
  }
}

@media screen and (max-width: 767px) {
  /*
   * Figma tr^sp ヒント:
   * - ラベル列100px / 値 pl20
   * - dt・dd とも py16 + items-center（事業内容の上下ハッチ16）
   * - 青線は列幅100pxいっぱい（文字の内包幅56ではない）
   * - base の border は無効化（二重線防止）
   * 行高は py16 が収まるインスタンス実寸
   */
  .p-company-profile {
    box-sizing: border-box;
    height: auto;
    min-height: 727px;
    padding: 60px 0 101px;
    overflow: visible;
  }
  .p-company-profile > .l-inner--narrow {
    max-width: none;
    padding: 0 20px;
  }
  .p-company-profile__box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 40px;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 40px 20px;
    margin: 0;
  }
  .p-company-profile__title {
    width: 100%;
    height: 35px;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 35px;
  }
  .p-company-profile__dl {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    grid-template-rows: 52px 92px 52px 72px 52px 52px 72px;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    width: 100%;
    max-width: 295px;
    height: 444px;
    margin-top: 0;
  }
  .p-company-profile__dt,
  .p-company-profile__dd {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-item-align: stretch;
        align-self: stretch;
    -ms-grid-column-align: stretch;
        justify-self: stretch;
    box-sizing: border-box;
    width: auto;
    min-width: 0;
    height: 100%;
    min-height: 0;
    /* Figma: py-16 */
    padding: 16px 0;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
    text-shadow: none;
    background-repeat: no-repeat;
  }
  .p-company-profile__dt::before,
  .p-company-profile__dt::after,
  .p-company-profile__dd::before,
  .p-company-profile__dd::after {
    content: none !important;
  }
  .p-company-profile__dt {
    /* 下線: ラベル列100pxいっぱい */
    background-image: linear-gradient(to top, var(--color-brand-primary) 0, var(--color-brand-primary) 1px, transparent 1px);
  }
  .p-company-profile__dt:first-of-type {
    background-image: linear-gradient(to bottom, var(--color-brand-primary) 0, var(--color-brand-primary) 1px, transparent 1px), linear-gradient(to top, var(--color-brand-primary) 0, var(--color-brand-primary) 1px, transparent 1px);
  }
  .p-company-profile__dd {
    padding-left: 20px;
    overflow-wrap: anywhere;
    background-image: linear-gradient(to top, #e8eaec 0, #e8eaec 1px, transparent 1px);
  }
  .p-company-profile__dd:first-of-type {
    background-image: linear-gradient(to bottom, #e8eaec 0, #e8eaec 1px, transparent 1px), linear-gradient(to top, #e8eaec 0, #e8eaec 1px, transparent 1px);
  }
  .p-company-profile__dd-lists {
    margin: 0;
    padding: 0;
    list-style-type: disc;
    list-style-position: outside;
    line-height: 0;
  }
  .p-company-profile__dd-list {
    padding-left: 0;
    margin-left: 21px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
  }
  .p-company-profile__dd-list::before {
    content: none;
  }
  .p-company-profile__dd-text {
    display: block;
    line-height: 20px;
  }
}

.p-company {
  background: -webkit-gradient(linear, left top, left bottom, color-stop(19%, transparent), color-stop(19%, var(--color-bg-subtle)), color-stop(96%, var(--color-bg-subtle)), color-stop(96%, transparent));
  background: linear-gradient(transparent 19%, var(--color-bg-subtle) 19%, var(--color-bg-subtle) 96%, transparent 96%);
}
@media screen and (max-width: 767px) {
  .p-company.l-section {
    position: relative;
    height: 1021px;
    padding: 0;
    overflow: hidden;
    background: none;
    -webkit-transform: none;
            transform: none;
  }
  .p-company.l-section::before {
    position: absolute;
    top: 167px;
    left: 0;
    width: 100%;
    height: 854px;
    content: "";
    background: var(--color-bg-subtle);
    -webkit-transform: skewY(10deg);
            transform: skewY(10deg);
    -webkit-transform-origin: left top;
            transform-origin: left top;
    pointer-events: none;
  }
  .p-company.l-skew > *,
  .p-company .l-inner,
  .p-company__items,
  .p-company__text,
  .p-company__img-wrapper {
    -webkit-transform: none;
            transform: none;
  }
  .p-company > .l-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 0;
  }
  .p-company .c-heading {
    position: absolute;
    top: 36px;
    left: 20px;
    width: 233px;
  }
  .p-company .c-heading__en {
    line-height: 1;
  }
  .p-company .c-heading__jp {
    margin-top: 0;
    line-height: 23px;
  }
  .p-company.l-section .p-company__items {
    margin: 0;
  }
  .p-company__text {
    position: absolute;
    top: 178px;
    right: 20px;
    left: 20px;
    width: 335px;
    font-size: 14px;
    font-weight: 500;
  }
  .p-company__img-wrapper {
    position: absolute;
    top: 526px;
    right: 20px;
    left: 20px;
    width: 335px;
    height: 360px;
    padding: 0;
    margin: 0;
    isolation: isolate;
  }
  .p-company__img {
    position: absolute;
    top: 10px;
    left: 0;
    z-index: 1;
    width: 335px;
    height: 210px;
    overflow: hidden;
  }
  .p-company__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .p-company__bg.p-company__img-bg {
    top: -30px;
    right: -20px;
    left: auto;
    z-index: 0;
    width: 295px;
    height: 360px;
  }
  .p-company__view-more-link {
    position: absolute;
    top: 280px;
    right: 0;
    z-index: 1;
    width: 190px;
    height: 40px;
    margin-top: -24px;
  }
}
@media screen and (min-width: 768px) {
  .p-company {
    margin: 38px 0 125px;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(40.5%, transparent), color-stop(40.5%, var(--color-bg-subtle)));
    background: linear-gradient(transparent 40.5%, var(--color-bg-subtle) 40.5%);
  }
}

@media screen and (min-width: 768px) {
  .p-company__content {
    position: relative;
    padding-top: 107px;
  }
}

.p-company__bg {
  position: absolute;
  top: -7px;
  bottom: 0;
  z-index: -1;
  background: url(../img/home/about/background.jpg) center/cover no-repeat;
}

.p-company__content-bg {
  display: none;
}
@media screen and (min-width: 768px) {
  .p-company__content-bg {
    right: 0;
    display: block;
    width: 43%;
    height: 70.3125vw;
    max-height: 800px;
  }
}
@media screen and (min-width: 992px) {
  .p-company__content-bg {
    width: 39%;
  }
}

.p-company__img-bg {
  right: -20px;
  width: 78.6666666667vw;
  height: 96.5333333333vw;
}
@media screen and (min-width: 768px) {
  .p-company__img-bg {
    display: none;
  }
}

.p-company__items {
  margin-top: 58px;
}
@media screen and (min-width: 768px) {
  .p-company__items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-top: 22px;
  }
}

@media screen and (min-width: 768px) {
  .p-company__text {
    width: calc(36.27% - 20px);
  }
}
.p-company__text p {
  margin: 0;
  line-height: 24px;
}
.p-company__text-spacer {
  height: 24px;
}

.p-company__img-wrapper {
  position: relative;
  padding: 10.6666666667vw 0 32vw;
  margin-top: var(--space-2sm);
}
@media screen and (min-width: 768px) {
  .p-company__img-wrapper {
    width: calc(63.73% - 20px);
    padding: 0;
    margin-top: 0;
  }
}

@media screen and (min-width: 768px) {
  .p-company .c-heading__link-text {
    margin-top: -10px;
  }
}

/* Figma 【SP】お問い合わせ完了 14592:5883 / contents-sp pt60 pb100 gap14 */
.p-contact-thanks .l-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 14px;
}

.p-contact-thanks__text {
  /* Figma 14592:5889: 14 Medium / lh 24 */
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  color: var(--color-text-primary);
}

.p-contact-thanks__link {
  /* Figma 14662:3088: 14 Medium / lh 24 / underline / main */
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  color: var(--color-brand-primary);
  text-decoration: underline;
}

/* Figma 【SP】お問い合わせ 14592:5533 / contents w335 */
/* Figma 【PC】お問い合わせ 14592:5542 / contents form w687 */
.p-contact__item {
  max-width: 687px;
  margin: 0 auto;
}

.p-contact__intro {
  /* Figma lead SP/PC: 14 / Medium / lh 24 */
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  color: var(--color-text-primary);
}

.p-contact__intro-link {
  color: var(--color-brand-primary);
  text-decoration: underline;
}

.p-contact__form {
  /* SP: intro↔title/form gap 60 / PC: 80 */
  margin-top: var(--space-lg);
}
@media screen and (min-width: 768px) {
  .p-contact__form {
    margin-top: 80px;
  }
}

.p-contact__form-title {
  /* Figma h2 SP/PC: 24 bold center */
  font-size: 24px;
  font-weight: 700;
  line-height: normal;
  text-align: center;
  color: var(--color-text-primary);
}

.p-contact__form-items {
  /* Figma form SP: title↔fields gap 40 */
  margin-top: 40px;
}
@media screen and (min-width: 768px) {
  .p-contact__form-items {
    /* Figma form PC: title↔fields gap 60 */
    margin-top: 60px;
  }
}

.p-contact__acceptance {
  /* SP: last field mb20 + mt20 ≒ Figma fields↔check gap 40 */
  margin-top: 20px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-contact__acceptance {
    /* PC: last field mb32 + mt8 ≒ gap 40 */
    margin-top: 8px;
    font-size: 16px;
  }
}

.p-contact__submit {
  /* Figma submit-button-sp: min 295 / py 24 / px 70 / 14 Medium */
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 295px;
  padding: 24px 70px;
  margin: 40px auto 0;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
}
@media screen and (min-width: 768px) {
  .p-contact__submit {
    /* Figma submit-button-pc: min 295 / py 24 / px 80 / 16 Medium */
    min-width: 295px;
    padding: 24px 80px;
    font-size: 16px;
  }
}
@media (hover: hover) {
  .p-contact__submit:hover {
    opacity: 1;
  }
}

/* Figma contents-pc 14592:5335: gap 40 / left 510 / form 550 */
/* 参考と同様 768 で2カラム。狭幅タブレットは flex-wrap で縦積みに逃がす */
@media screen and (min-width: 768px) {
  .p-download__items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 40px;
  }
}

@media screen and (min-width: 768px) {
  .p-download__document {
    /* Figma left col 510 / content 1100 — 中間幅では比例で縮小 */
    -webkit-box-flex: 510;
        -ms-flex: 510 1 280px;
            flex: 510 1 280px;
    min-width: 0;
    max-width: 510px;
  }
}

.p-download__document-title {
  /* Figma document title SP: 20 / lh 28 */
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}
@media screen and (min-width: 768px) {
  .p-download__document-title {
    /* Figma 14592:5340: 28 / lh 40 */
    font-size: 28px;
    line-height: 40px;
  }
}

.p-download__document-img {
  /* Figma pamphlet SP: top 40 / side 30 / shadow 0 3 12 */
  margin: var(--space-md) var(--space-2sm) 0;
  -webkit-box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
          box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
}
@media screen and (min-width: 768px) {
  .p-download__document-img {
    /* Figma 14592:5339: 275×389 / shadow 0 3 12 / centered in 510 */
    width: 275px;
    max-width: 275px;
    height: auto;
    margin-top: 41px;
    margin-right: auto;
    margin-left: auto;
  }
  .p-download__document-img img {
    display: block;
    width: 100%;
    height: auto;
  }
}

.p-download__document-text {
  /* Figma body SP: 14 / lh 24 / top 40 */
  margin-top: var(--space-md);
  line-height: 24px;
}
@media screen and (min-width: 768px) {
  .p-download__document-text {
    /* Figma pamphlet下→本文: 658-(231+389)=38 ≈ 40相当 / lh 24 */
    margin-top: 38px;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
  }
}

.p-download__form {
  padding: var(--space-md) var(--space-sm) 10px;
  margin-top: var(--space-lg);
  background: var(--color-bg-subtle);
  border-radius: 12px;
}
@media screen and (min-width: 768px) {
  .p-download__form {
    /* Figma form 550 — download / thanks 共通 */
    -webkit-box-flex: 550;
        -ms-flex: 550 1 280px;
            flex: 550 1 280px;
    min-width: 0;
    max-width: 550px;
    padding: var(--space-md);
    margin-top: 0;
  }
}

/* 【SP】資料ダウンロード完了 14592:5270 / form box */
/* 【PC】資料ダウンロード完了 14592:5331 / form box */
.p-download-thanks {
  padding: var(--space-md) var(--space-sm);
  margin-top: var(--space-lg);
  background: var(--color-bg-subtle);
  border-radius: 12px;
}
@media screen and (min-width: 768px) {
  .p-download-thanks {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    /* Figma form: 550 / p 40 / gap 40 / radius 12 / stretch */
    -webkit-box-flex: 550;
        -ms-flex: 550 1 0;
            flex: 550 1 0;
    gap: 40px;
    min-width: 0;
    max-width: 550px;
    padding: 40px;
    margin-top: 0;
  }
}

.p-download-thanks__title {
  /* Figma title SP: 24 / lh 40 */
  font-size: 24px;
  font-weight: 700;
  line-height: 40px;
}
@media screen and (min-width: 768px) {
  .p-download-thanks__title {
    /* Figma 14592:5342: 32 / lh 48 */
    font-size: 32px;
    line-height: 48px;
  }
}

.p-download-thanks__body {
  /* Figma Frame gap: title↔body 34 / inner 14 */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 14px;
  margin-top: 34px;
}
@media screen and (min-width: 768px) {
  .p-download-thanks__body {
    margin-top: -4px;
  }
}

.p-download-thanks__lead {
  /* Figma lead SP: 14 / lh 24 */
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
}
@media screen and (min-width: 768px) {
  .p-download-thanks__lead {
    /* Figma 14592:5518: 14 / leading normal */
    line-height: normal;
  }
}

.p-download-thanks__link {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  color: var(--color-brand-primary);
  text-decoration: underline;
}

.p-download-thanks__note {
  /* Figma note SP: 14 / lh 28 */
  font-size: 14px;
  font-weight: 500;
  line-height: 28px;
}

.p-download__form-items {
  margin-top: var(--space-2md);
}
@media screen and (min-width: 768px) {
  .p-download__form-items {
    margin-top: 38px;
  }
}

.p-download__form-title {
  font-size: 24px;
  font-weight: 700;
}
@media screen and (min-width: 768px) {
  .p-download__form-title {
    font-size: 32px;
    line-height: 1.5;
  }
}

.p-download__acceptance {
  margin-top: 25px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-download__acceptance {
    margin-top: 10px;
    font-size: 16px;
  }
}

.p-download__arrow {
  position: relative;
}
.p-download__arrow::after {
  position: absolute;
  top: 50%;
  right: 10%;
  width: 20px;
  height: 13px;
  padding-left: 0;
  content: "";
  background: url(../img/icons/button/arrow-right-brand.svg) center/cover no-repeat;
  -webkit-transition: background-image 0.3s, right 0.3s;
  transition: background-image 0.3s, right 0.3s;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.p-download__submit {
  display: block;
  width: 100%;
  max-width: 332px;
  padding: 28px 10px;
  margin: var(--space-md) auto 0;
  font-size: 14px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-download__submit {
    padding: 27px 15px;
    font-size: 16px;
  }
}
@media (hover: hover) {
  .p-download__submit:hover {
    opacity: 1;
  }
}

.p-download__form-text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1em;
}
.p-download__form-text a {
  color: var(--color-brand-primary);
  text-decoration: underline;
}

.p-mv-slider {
  position: relative;
  margin-left: var(--space-sm);
}
@media screen and (max-width: 767px) {
  .p-mv,
  .p-mv__inner,
  .p-mv-slider,
  .p-mv-slider__items,
  .p-mv-slider .swiper,
  .p-mv-slider .swiper-wrapper,
  .p-mv-slider .swiper-slide {
    height: 607px;
  }
  .p-mv-slider img {
    width: 100%;
    height: 607px;
    object-fit: cover;
  }
}
@media screen and (min-width: 768px) {
  .p-mv-slider {
    margin-left: 50px;
  }
}
.p-mv-slider img {
  width: 100%;
  /* ワイドスクリーン対応 */
  max-width: initial;
}
@media screen and (min-width: 1280px) {
  .p-mv-slider img {
    height: 700px;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
  }
}

.p-mv-slider__main {
  position: absolute;
  bottom: 20px;
  left: 0;
  z-index: 2;
}
@media screen and (min-width: 768px) {
  .p-mv-slider__main {
    bottom: 59px;
  }
}

.p-mv-slider__items {
  margin-left: var(--space-sm);
}
@media screen and (min-width: 768px) {
  .p-mv-slider__items {
    margin-left: var(--space-md);
  }
}

.p-mv-slider__title-wrapper {
  width: 74.6666666667vw;
}
@media screen and (min-width: 768px) {
  .p-mv-slider__title-wrapper {
    width: 46.875vw;
  }
}

.p-mv-slider__title-above {
  display: block;
}
@media screen and (min-width: 768px) {
  .p-mv-slider__title-above {
    display: inline-block;
    margin-bottom: var(--space-xs);
    line-height: 1;
    background: var(--color-bg-base);
  }
}

.p-mv-slider__title {
  display: inline-block;
  padding: 4px 0;
  margin-top: var(--space-2xs);
  font-family: var(--font-en);
  font-size: 10.6666666667vw;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  color: var(--color-brand-primary);
  background: var(--color-bg-base);
}
@media screen and (min-width: 768px) {
  .p-mv-slider__title {
    padding: 6px 0;
    margin-top: 0;
    font-size: 4.6875vw;
  }
}

@media screen and (min-width: 768px) {
  .p-mv-slider__title--spacing {
    padding-left: 10px;
  }
}

.p-mv-slider__text {
  display: inline-block;
  padding: 4px 0;
  margin-top: 15px;
  font-size: 4.2666666667vw;
  font-weight: 700;
  line-height: 1;
  color: var(--color-bg-base);
  background: var(--color-brand-primary);
}
@media screen and (max-width: 767px) {
  .p-mv-slider__text {
    position: relative;
    left: 1px;
  }
}
@media screen and (min-width: 768px) {
  .p-mv-slider__text {
    padding: 5px 0;
    margin-top: var(--space-xs);
    font-size: 1.5625vw;
  }
}

.p-news {
  margin: 0 0 122px;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(32.32%, transparent), color-stop(32.32%, var(--color-bg-subtle)));
  background: linear-gradient(transparent 32.32%, var(--color-bg-subtle) 32.32%);
}
@media screen and (min-width: 768px) {
  .p-news {
    margin: 44px 0 30px;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(calc(57% + 5px), transparent), color-stop(calc(57% + 5px), var(--color-bg-subtle)));
    background: linear-gradient(transparent calc(57% + 5px), var(--color-bg-subtle) calc(57% + 5px));
  }
  .p-news.l-section {
    padding-top: 165px;
    padding-bottom: 160px;
  }
  .p-news .c-heading__jp {
    margin-top: 2px;
  }
  .p-news .c-heading__link-text {
    position: relative;
    top: -1px;
  }
}

.p-news__items {
  padding: var(--space-md) var(--space-sm);
  margin-top: var(--space-lg);
  background: var(--color-bg-base);
  -webkit-box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
          box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
}
@media screen and (max-width: 767px) {
  .p-news.l-section {
    position: relative;
    height: 857px;
    padding: 0;
    margin: 0;
    overflow: visible;
    background: none;
    -webkit-transform: none;
            transform: none;
  }
  .p-news.l-section::before {
    /* Figma bg: y177 h580 の平行四辺形に収める（skew分 66px を高さから差し引き） */
    position: absolute;
    top: 177px;
    left: 0;
    width: 100%;
    height: 514px;
    content: "";
    background: var(--color-bg-subtle);
    -webkit-transform: skewY(10deg);
            transform: skewY(10deg);
    -webkit-transform-origin: left top;
            transform-origin: left top;
    pointer-events: none;
  }
  .p-news.l-skew > *,
  .p-news .l-inner,
  .p-news .l-inner--narrow,
  .p-news .c-heading,
  .p-news .c-heading__en,
  .p-news .c-heading__jp,
  .p-news__items,
  .p-news__item,
  .p-news__view-more-link {
    -webkit-transform: none;
            transform: none;
  }
  .p-news > .l-inner {
    position: absolute;
    top: 65px;
    right: 20px;
    left: 20px;
    width: 335px;
    padding: 0;
  }
  .p-news .c-heading__en {
    position: relative;
    line-height: 1;
    font-weight: 500;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .p-news .c-heading__jp {
    margin-top: 3px;
    line-height: 23px;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .p-news > .l-inner--narrow {
    position: absolute;
    top: 201px;
    right: 20px;
    left: 20px;
    width: 335px;
    height: 469px;
    padding: 0;
    overflow: visible;
  }
  .p-news__items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    box-sizing: border-box;
    height: 397px;
    padding: 40px 20px;
    margin-top: 0;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
  }
}
@media screen and (min-width: 768px) {
  .p-news__items {
    height: 484px;
    padding: var(--space-lg) var(--space-md) var(--space-md);
    margin-top: 80px;
  }
}

.p-news__item {
  display: block;
  padding-bottom: var(--space-2sm);
  border-bottom: 1px solid var(--color-border-muted);
}
.p-news__item:not(:last-child) {
  margin-bottom: var(--space-xs);
}
@media screen and (max-width: 767px) {
  /* Figma list-news: 94 / 110 / 113（borderは高さに含めず inset で描画） */
  .p-news__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    gap: 20px;
    box-sizing: border-box;
    padding-top: 0;
    padding-bottom: 31px;
    margin: 0;
    border-bottom: none;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ddd), to(#ddd));
    background-image: linear-gradient(#ddd, #ddd);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100% 1px;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
  }
  .p-news__item:nth-child(1) {
    height: 94px;
  }
  .p-news__item:nth-child(2) {
    height: 110px;
    padding-top: 16px;
  }
  .p-news__item:nth-child(3) {
    height: 113px;
    padding-top: 16px;
  }
  .p-news__item:not(:last-child) {
    margin-bottom: 0;
  }
}
@media screen and (min-width: 768px) {
  .p-news__item {
    height: 128px;
    padding: 24px 0 31px;
  }
  .p-news__item:nth-child(3) {
    padding-top: 27px;
  }
  .p-news__item:not(:last-child) {
    margin-bottom: 0;
  }
}

.p-news__info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

@media screen and (max-width: 767px) {
  .p-news__info {
    -ms-flex-negative: 0;
        flex-shrink: 0;
    min-height: 0;
    height: 26px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

.p-news__info-cat {
  display: inline-block;
  padding: 6px 19px;
  font-size: 12px;
  line-height: 1;
  color: var(--color-brand-accent);
  border: 1px solid var(--color-brand-accent);
}
@media screen and (max-width: 767px) {
  .p-news__info-cat {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    box-sizing: border-box;
    height: 26px;
    min-height: 0;
    padding: 0 20px;
    font-size: 12px;
    font-weight: 500;
    line-height: 14px;
  }
}
@media screen and (min-width: 768px) {
  .p-news__info-cat {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    height: 33px;
    padding: 8px 23px;
    font-size: 14px;
  }
}

.p-news__info-time {
  color: var(--color-text-muted);
}
@media screen and (max-width: 767px) {
  .p-news__info-time {
    display: block;
    height: 17px;
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
  }
}

.p-news__title {
  margin-top: 14px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  .p-news__title {
    -ms-flex-negative: 0;
        flex-shrink: 0;
    height: 17px;
    margin-top: 0;
    line-height: 17px;
  }
  .p-news__item:nth-child(3) .p-news__title {
    height: 20px;
    line-height: 20px;
  }
}
@media screen and (min-width: 768px) {
  .p-news__title {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1;
  }
}

.p-news__view-more-link {
  margin-top: 33px;
}
@media screen and (max-width: 767px) {
  /* Figma Frame14内: y429 / right0 / 190x40 */
  .p-news__view-more-link {
    position: absolute;
    top: 435px;
    right: -1px;
    left: auto;
    display: block;
    width: 190px;
    height: 40px;
    margin: 0;
    overflow: visible;
    -webkit-transform: none;
            transform: none;
  }
  .p-news__view-more-link .c-heading__link-text {
    position: relative;
    top: 0;
    z-index: 1;
    -webkit-transform: none;
            transform: none;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .p-news__view-more-link .c-heading__link-arrow--color-blue {
    position: relative;
    z-index: 1;
    -webkit-transform: none;
            transform: none;
  }
  .p-news__view-more-link .c-heading__link-circle--fill {
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    width: 40px;
    height: 40px;
    margin: auto 0;
    border-color: var(--color-brand-highlight);
    background: var(--color-brand-highlight);
    -webkit-transform: none;
            transform: none;
  }
}

.p-not-found__text {
  font-size: 14px;
  line-height: 1.72;
  color: var(--color-text-primary);
}
@media screen and (min-width: 768px) {
  .p-not-found__text {
    font-size: 16px;
  }
}

.p-not-found__button {
  display: block;
  width: 100%;
  max-width: 295px;
  padding: 28px 10px;
  margin: var(--space-md) auto 0;
}
@media screen and (min-width: 768px) {
  .p-not-found__button {
    max-width: 325px;
    margin-top: var(--space-lg);
  }
}

.p-pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.p-pagination .page-numbers {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 16px;
  line-height: 1;
  color: var(--color-text-muted);
  background: #f8f8f8;
  -webkit-transition: background 0.3s, color 0.3s;
  transition: background 0.3s, color 0.3s;
}
@media screen and (min-width: 768px) {
  .p-pagination .page-numbers {
    width: 50px;
    height: 50px;
  }
}
.p-pagination .page-numbers:not(:first-child) {
  margin-left: 6px;
}
@media screen and (min-width: 768px) {
  .p-pagination .page-numbers:not(:first-child) {
    margin-left: var(--space-2xs);
  }
}
@media (hover: hover) {
  .p-pagination .page-numbers:hover {
    color: var(--color-bg-base);
    background: var(--color-brand-primary);
  }
}
.p-pagination .page-numbers:hover .p-pagination__next {
  background-image: url(../img/icons/navigation/chevron-right-white.svg);
}
.p-pagination .page-numbers:hover .p-pagination__previous {
  background-image: url(../img/icons/navigation/chevron-left-white.svg);
}
.p-pagination .current {
  color: var(--color-bg-base);
  background: var(--color-brand-primary);
}
@media screen and (min-width: 768px) {
  .p-pagination .next {
    margin-left: var(--space-2sm) !important;
  }
}
@media screen and (min-width: 768px) {
  .p-pagination .prev {
    margin-right: var(--space-2sm) !important;
  }
}
.p-pagination .p-pagination__next {
  width: 8px;
  height: 14px;
  background: url(../img/icons/navigation/chevron-right-muted.svg) center/cover no-repeat;
}
.p-pagination .p-pagination__previous {
  width: 8px;
  height: 14px;
  background: url(../img/icons/navigation/chevron-left-muted.svg) center/cover no-repeat;
}
.p-pagination .prev,
.p-pagination .next {
  font-size: 0;
  line-height: 0;
  color: transparent;
}

/* Figma PC 1280: サービス intro+cards ブロック */
@media screen and (min-width: 768px) {
  .p-service-detail.l-section--lower-fv {
    /* Figma intro wrap pt70 + cards pb160 */
    padding: 70px 0 160px;
  }
}

.p-service-detail__inner {
  width: 100%;
  margin: 0 auto;
}
@media screen and (min-width: 768px) {
  /* Figma row 85.15% / 1090 centered-ish; 左右はカードごとに上書き */
  .p-service-detail__inner {
    width: 85.15%;
    max-width: 1090px;
    padding: 0;
    margin: 0 auto;
  }
}

.p-service-detail__intro {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
@media screen and (min-width: 768px) {
  /* Figma: 28 / lh40, max-width 727 */
  .p-service-detail__intro {
    max-width: 727px;
    margin-right: auto;
    margin-left: auto;
    font-size: 28px;
    line-height: 40px;
  }
}

@media screen and (min-width: 768px) {
  .p-service-detail__item {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    width: 100%;
  }
}

.p-service-detail__img {
  width: 50.1333333333vw;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  /* Figma: 560×896, image top offset 116 from card row */
  .p-service-detail__img {
    -ms-flex-negative: 0;
        flex-shrink: 0;
    width: 51.38%;
    max-width: 560px;
    height: 896px;
    margin: 116px 0 0;
  }
  .p-service-detail__img img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
}

.p-service-detail__main {
  position: relative;
  z-index: 1;
  padding: 42px 20px;
  margin: 0 var(--space-sm);
  margin-top: -40vw;
  background: rgba(255, 255, 255, 0.9);
  -webkit-box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
          box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
}
@media screen and (min-width: 768px) {
  /* Figma: 590w / ~870h / pad ~40 / shadow 0 3 12 / white 90% / top 53 */
  .p-service-detail__main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    width: 54.13%;
    max-width: 590px;
    min-height: 870px;
    padding: 82px 40px 55px;
    margin: 53px 0 0;
    -webkit-transform: none;
            transform: none;
  }
}
/* タブレット・〜1280未満: 固定高は狭幅で過度 → 比率維持で縮小（Figma 1280 は下で復元） */
@media screen and (min-width: 768px) and (max-width: 1279px) {
  .p-service-detail__img {
    height: auto;
    max-height: 896px;
    aspect-ratio: 560 / 896;
    margin-top: 9.0625vw;
  }
  .p-service-detail__main {
    min-height: 0;
    padding: 6.40625vw 3.125vw 4.296875vw;
    margin-top: 4.140625vw;
  }
}
@media screen and (min-width: 1280px) {
  .p-service-detail__img {
    height: 896px;
    margin: 116px 0 0;
    aspect-ratio: auto;
  }
  .p-service-detail__main {
    min-height: 870px;
    padding: 82px 40px 55px;
    margin: 53px 0 0;
  }
}

.p-service-detail__number {
  position: absolute;
  top: -36px;
  font-size: 70px;
  line-height: 1;
  color: var(--color-brand-primary);
  /* Figma: 白字オフセット 4px の複製影 */
  text-shadow: 4px 4px 0 var(--color-bg-base);
}
@media screen and (min-width: 768px) {
  .p-service-detail__number {
    top: -43px;
    font-size: 100px;
  }
}

.p-service-detail__jp {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.28;
  color: var(--color-text-primary);
  margin-top: 2px;
}
@media screen and (min-width: 768px) {
  .p-service-detail__jp {
    font-size: 40px;
    line-height: 1.5;
    margin-top: -11px;
  }
  /* 01 のみ */
  .p-service-detail__items:first-of-type .p-service-detail__jp {
    font-size: 40px;
    line-height: 1.5;
    margin-top: -3px;
  }
}

.p-service-detail__en {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.21;
  color: var(--color-brand-primary);
}
@media screen and (min-width: 768px) {
  .p-service-detail__en {
    margin-top: 0px;
    font-size: 16px;
    line-height: 1.2;
  }
}

.p-service-detail__text {
  margin-top: 27px;
  font-size: 14px;
  line-height: 24px;
  color: var(--color-text-primary);
}
@media screen and (min-width: 768px) {
  .p-service-detail__text {
    margin-top: 59px;
  }
}

.p-service-detail__dl-wrapper {
  margin-top: var(--space-2sm);
}
@media screen and (min-width: 768px) {
  .p-service-detail__dl-wrapper {
    margin-top: 57px;
  }
}

.p-service-detail__dl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--color-border-focus);
}
@media screen and (min-width: 768px) {
  .p-service-detail__dl {
    padding: 30px 0;
  }
}
.p-service-detail__dl:last-child {
  border-bottom: 1px solid var(--color-border-focus);
}

.p-service-detail__dt {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  color: var(--color-text-primary);
}

.p-service-detail__dd {
  margin-left: 52px;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  color: var(--color-text-primary);
}

.p-service-detail__button {
  display: block;
  width: 100%;
  max-width: 295px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 23px 10px;
  margin: var(--space-2sm) auto 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
}
/* SP: service detail button only (do not change global c-button margin-top) */
.p-service-detail__button.c-button--primary.c-button--icon-arrow {
  position: relative;
  margin: 34px auto 0;
}
@media screen and (min-width: 768px) {
  /*
   * Figma btn 304×72。padding 左右対称 + 矢印 absolute でテキストを中央に。
   * 負の padding は無効（無視されてズレる）ため使わない。
   */
  .p-service-detail__button.c-button--primary.c-button--icon-arrow {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 304px;
    max-width: 100%;
    height: 72px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    margin: auto auto 0;
    padding: 0 40px;
    font-size: 16px;
    line-height: 1;
    text-align: center;
  }
  .p-service-detail__button.c-button--icon-arrow::after {
    position: absolute;
    top: 50%;
    right: 24px;
    left: auto;
    width: 20px;
    height: 14px;
    margin: 0;
    padding: 0;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
}
@media screen and (hover: hover) and (min-width: 768px) {
  .p-service-detail__button.c-button--icon-arrow:hover::after {
    right: 18px;
  }
}

/* 1st of typeとlast of typeの共通部分 */
.p-service-detail__items:nth-of-type(odd) {
  margin-top: var(--space-lg);
}
@media screen and (min-width: 768px) {
  .p-service-detail__items:nth-of-type(odd) .p-service-detail__item {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
}
.p-service-detail__items:nth-of-type(odd) .p-service-detail__number {
  left: 20px;
}
@media screen and (min-width: 768px) {
  .p-service-detail__items:nth-of-type(odd) .p-service-detail__number {
    left: 58px;
  }
}
.p-service-detail__items:nth-of-type(odd) .p-service-detail__img {
  margin-left: auto;
}
@media screen and (min-width: 768px) {
  .p-service-detail__items:nth-of-type(odd) .p-service-detail__img {
    margin-left: 0;
  }
  /* 560+590-1090 = 60px overlap（Figma） */
  .p-service-detail__items:nth-of-type(odd) .p-service-detail__main {
    z-index: 1;
    margin-right: -60px;
    -webkit-transform: none;
            transform: none;
  }
}
/* card1/3: Figma row ml 10.94% */
@media screen and (min-width: 768px) {
  .p-service-detail__items:nth-of-type(odd) .p-service-detail__inner {
    margin-right: auto;
    margin-left: 10.94%;
  }
}

/* card2: 水色斜め帯は背景のみ（本文は transform しない）
 * Figma SP: card1 終端→card2 = 80 / card2 終端→card3 = 80
 * padding 過剰は 03 全体を押し下げるため 0（帯は ::before のみ） */
.p-service-detail__items:nth-of-type(2) {
  position: relative;
  padding: 0;
  margin: 80px 0 80px;
  overflow: hidden;
  background: transparent;
  -webkit-transform: none !important;
          transform: none !important;
}
.p-service-detail__items:nth-of-type(2) > * {
  position: relative;
  z-index: 1;
  -webkit-transform: none !important;
          transform: none !important;
}
.p-service-detail__items:nth-of-type(2)::before {
  position: absolute;
  top: 40px;
  right: auto;
  bottom: auto;
  left: 0;
  z-index: 0;
  width: 100%;
  /* 底辺右の skew はみ出しを見込んだ高さ（親 overflow:hidden で 03 へ伸びない） */
  height: calc(100% - 80px - 12vw);
  max-height: calc(100% - 80px - 66px);
  content: "";
  pointer-events: none;
  background: var(--color-bg-subtle);
  -webkit-transform: skewY(10deg);
          transform: skewY(10deg);
  -webkit-transform-origin: left top;
          transform-origin: left top;
}
@media screen and (min-width: 768px) {
  .p-service-detail__items:nth-of-type(2) {
    padding: 104px 0 80px;
    margin: 100px 0 0;
    overflow: hidden;
  }
  .p-service-detail__items:nth-of-type(2)::before {
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 10vw);
    max-height: calc(100% - 120px);
    margin-left: 0;
  }
  .p-service-detail__items:nth-of-type(2) .p-service-detail__inner {
    margin-right: auto;
    margin-left: 3.91%;
  }
}
.p-service-detail__items:nth-of-type(2) .p-service-detail__number {
  right: 20px;
}
@media screen and (min-width: 768px) {
  .p-service-detail__items:nth-of-type(2) .p-service-detail__number {
    top: -55px;
    right: 44px;
  }
}
.p-service-detail__items:nth-of-type(2) .p-service-detail__img {
  margin-right: auto;
}
@media screen and (min-width: 768px) {
  .p-service-detail__items:nth-of-type(2) .p-service-detail__img {
    margin-right: 0;
  }
  .p-service-detail__items:nth-of-type(2) .p-service-detail__main {
    z-index: 1;
    margin-top: 59px;
    margin-left: -60px;
    -webkit-transform: none;
            transform: none;
  }
}
@media screen and (min-width: 768px) {
  /* Figma intro pb80 → first card */
  .p-service-detail__items:first-of-type {
    margin-top: 80px;
  }
}

/* 03 全体: Figma SP card3 は service 内 y=2198（card1 起点）。
 * 余白は card2 の margin-bottom:80 のみ。負 margin は使わない。 */
.p-service-detail__items:last-of-type {
  position: relative;
  z-index: 2;
  margin-top: 0;
  background: #fff;
  -webkit-transform: none !important;
          transform: none !important;
  isolation: isolate;
}
.p-service-detail__items:last-of-type > *,
.p-service-detail__items:last-of-type .p-service-detail__main,
.p-service-detail__items:last-of-type .p-service-detail__img,
.p-service-detail__items:last-of-type .p-service-detail__jp,
.p-service-detail__items:last-of-type .p-service-detail__en,
.p-service-detail__items:last-of-type .p-service-detail__text,
.p-service-detail__items:last-of-type .p-service-detail__number {
  -webkit-transform: none !important;
          transform: none !important;
  filter: none;
}
/* 本文に誤ってかかっていた text-shadow:none をやめ、番号のみ影（他カードと同じ） */
.p-service-detail__items:last-of-type .p-service-detail__number {
  text-shadow: 4px 4px 0 var(--color-bg-base);
}

@media screen and (min-width: 768px) {
  /*
   * 03 全体 PC:
   * Figma card3 y へ合わせて margin-top: 121
   */
  .p-service-detail__items:last-of-type {
    position: relative;
    z-index: 2;
    margin-top: 121px;
    background: #fff;
  }
  /* Figma: img top 124 / white top 62 / number は white より約 62px 上 */
  .p-service-detail__items:last-of-type .p-service-detail__img {
    margin-top: 125px;
  }
  .p-service-detail__items:last-of-type .p-service-detail__main {
    z-index: 1;
    margin-top: 57px;
    margin-right: -60px;
    -webkit-transform: none;
            transform: none;
  }
  .p-service-detail__items:last-of-type .p-service-detail__number {
    top: -46px;
    left: 58px;
  }
  .p-service-detail__items:last-of-type .p-service-detail__jp {
    font-size: 40px;
    line-height: 1.5;
    margin-top: -3px;
  }
  .p-service-detail__items:last-of-type .p-service-detail__en {
    margin-top: 0;
  }
  /* global c-button margin-top:60 を打ち消し（Figma カード内は flex bottom 寄せのみ） */
  .p-service-detail__items:last-of-type .p-service-detail__button.c-button--primary {
    margin-top: auto;
  }
}

/* 全カード共通：サービス内プライマリボタンの余分な margin-top を無効化 */
@media screen and (min-width: 768px) {
  .p-service-detail__button.c-button--primary.c-button--icon-arrow {
    margin-top: auto;
  }
}

/* アンカーはレイアウトに影響しない scroll-margin で対応 */
.p-service-detail__anchor {
  scroll-margin-top: 100px;
}

.p-service-faq {
  padding: var(--space-lg) 0 100px;
}
@media screen and (min-width: 768px) {
  .p-service-faq {
    padding: 162px 0;
  }
}

.p-service-faq__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  color: var(--color-text-primary);
  margin-top: -18px;
}
@media screen and (min-width: 768px) {
  .p-service-faq__title {
    margin-top: 0;
  }
}

.p-service-faq__items {
  margin-top: var(--space-md);
}
@media screen and (min-width: 768px) {
  .p-service-faq__items {
    max-width: 688px;
    margin: 60px auto 0;
  }
}

/* Figma: ビル写真 + 青オーバーレイ rgba(2,62,120,0.8) */
.p-service-flow {
  position: relative;
  overflow: hidden;
  background-color: var(--color-brand-primary);
  background-image: url(../img/service/flow/background.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.p-service-flow::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: rgba(2, 62, 120, 0.8);
  pointer-events: none;
}
.p-service-flow > .l-inner {
  position: relative;
  z-index: 1;
}
/* SP 375 */
.p-service-flow.l-section {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  min-height: 0;
  padding: 24px 0 80px;
}
@media screen and (min-width: 768px) {
  /* タブレット帯: 4列を保ちつつ高さは内容に合わせて緩和（1280でFigma固定） */
  .p-service-flow.l-section {
    min-height: 0;
    padding: 6.25vw 0 7.421875vw;
  }
}
@media screen and (min-width: 1280px) {
  /* Figma flow 全高552 / title top80 */
  .p-service-flow.l-section {
    min-height: 552px;
    padding: 80px 0 95px;
  }
}

.p-service-flow__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-bg-base);
  text-align: center;
  margin-top: -3px;
}

.p-service-flow__items {
  margin-top: var(--space-md);
}
@media screen and (min-width: 768px) {
  .p-service-flow__items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    max-width: 1100px;
    margin: 4.609375vw auto 0;
  }
}
@media screen and (min-width: 1280px) {
  .p-service-flow__items {
    margin-top: 59px;
  }
}

.p-service-flow__item {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-left: auto;
}
@media screen and (min-width: 768px) {
  /* 4列横並び（参考も 768〜）。STEP/帯は 1280 で Figma 固定へ */
  .p-service-flow__item {
    display: block;
    -webkit-box-flex: 1;
        -ms-flex: 1 1 25%;
            flex: 1 1 25%;
    width: 25%;
    max-width: 275px;
    margin: 0;
    padding-top: 3.828125vw;
    background: transparent;
  }
}
@media screen and (min-width: 1280px) {
  .p-service-flow__item {
    padding-top: 49px;
  }
}
.p-service-flow__item:not(:first-child) .p-service-flow__main {
  padding-top: 38px;
}
@media screen and (min-width: 768px) {
  .p-service-flow__item:not(:first-child) .p-service-flow__main {
    /* 参考: 768〜 vw でスケール → 1280 で固定 */
    padding-top: 3.59375vw;
    padding-left: 3.90625vw;
  }
}
@media screen and (min-width: 1280px) {
  .p-service-flow__item:not(:first-child) .p-service-flow__main {
    padding-top: 46px;
    padding-left: 50px;
  }
}

@media screen and (min-width: 768px) {
  .p-service-flow__item--item01,
  .p-service-flow__item--item02,
  .p-service-flow__item--item03,
  .p-service-flow__item--item04 {
    background: transparent;
  }
}

.p-service-flow__steps {
  width: 43px;
  line-height: 1;
  color: var(--color-brand-highlight);
  white-space: nowrap;
}
@media screen and (min-width: 768px) {
  /* Figma: STEP は帯の上、transform なし（subpixel 二重・列ズレ防止） */
  .p-service-flow__steps {
    position: absolute;
    top: 0;
    left: 0px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    width: auto;
    height: 3.515625vw;
    margin: 0;
    -webkit-transform: none;
            transform: none;
  }
}
@media screen and (min-width: 1280px) {
  .p-service-flow__steps {
    height: 45px;
  }
}

.p-service-flow__step {
  font-size: 20px;
}
@media screen and (min-width: 768px) {
  .p-service-flow__step {
    font-size: 1.5625vw;
    line-height: 1;
    padding-bottom: 4px;
  }
}
@media screen and (min-width: 1280px) {
  .p-service-flow__step {
    font-size: 20px;
  }
}

.p-service-flow__step-number {
  margin-top: 3px;
  font-size: 40px;
  line-height: 1;
}
@media screen and (min-width: 768px) {
  .p-service-flow__step-number {
    margin-top: 0;
    margin-left: 8px;
    font-size: 3.125vw;
    line-height: 1;
  }
}
@media screen and (min-width: 1280px) {
  .p-service-flow__step-number {
    font-size: 40px;
  }
}

.p-service-flow__main {
  position: relative;
  width: 73.3333333333vw;
  max-width: 480px;
  padding: var(--space-sm) var(--space-sm);
  margin-left: 18px;
}
@media screen and (min-width: 768px) {
  /* 参考に合わせて帯の高さを vw、1280 で Figma h209 固定 */
  .p-service-flow__main {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    width: 100%;
    max-width: none;
    height: 16.328125vw;
    padding: 3.59375vw 1.953125vw 1.640625vw 3.125vw;
    margin-left: 0;
    overflow: visible;
  }
}
@media screen and (min-width: 1280px) {
  .p-service-flow__main {
    height: 209px;
    padding: 46px 25px 21px 40px;
  }
}
.p-service-flow__main::after {
  position: absolute;
  right: 0;
  bottom: -26px;
  left: 0;
  z-index: 1;
  width: 0;
  height: 0;
  content: "";
  border-color: currentcolor transparent transparent transparent;
  border-style: solid;
  border-width: 26px 36.6666666667vw 0 36.6666666667vw;
}
@media only screen and (min-width: 650px) {
  .p-service-flow__main::after {
    border-width: 26px 240px 0 240px;
  }
}
@media screen and (min-width: 768px) {
  .p-service-flow__main::after {
    top: 0;
    right: -20px;
    bottom: auto;
    left: auto;
    border-color: transparent transparent transparent currentcolor;
    /* 帯高に連動（16.328125vw の半分） */
    border-width: 8.1640625vw 0 8.1640625vw 20px;
    -webkit-transform: none;
            transform: none;
  }
}
@media screen and (min-width: 1280px) {
  .p-service-flow__main::after {
    border-width: 104.5px 0 104.5px 20px;
  }
}

.p-service-flow__main--main01 {
  color: var(--color-bg-subtle);
  background: var(--color-bg-subtle);
}

.p-service-flow__main--main02 {
  color: #dde8f0;
  background: #dde8f0;
}

.p-service-flow__main--main03 {
  color: #c7dbe9;
  background: #c7dbe9;
}

.p-service-flow__main--main04 {
  color: transparent;
  background: #b0d0e5;
}
@media screen and (min-width: 768px) {
  .p-service-flow__main--main04::after {
    display: none;
  }
}

.p-service-flow__item-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-brand-primary);
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-service-flow__item-title {
    margin: 0;
    font-size: 1.5625vw;
    line-height: 1.2;
    text-align: left;
  }
}
@media screen and (min-width: 1280px) {
  .p-service-flow__item-title {
    font-size: 20px;
    line-height: 1.2;
  }
}

.p-service-flow__item-text {
  margin-top: 4px;
  font-size: 14px;
  line-height: 24px;
  color: var(--color-text-primary);
}
@media screen and (min-width: 768px) {
  .p-service-flow__item-text {
    margin-top: 1.171875vw;
    font-size: 1.09375vw;
    line-height: 1.72;
  }
}
@media screen and (min-width: 1280px) {
  .p-service-flow__item-text {
    margin-top: 27px;
    font-size: 14px;
    line-height: 24px;
  }
}

.p-service-flow__item-apdx {
  margin-top: 0;
  font-size: 14px;
  line-height: 24px;
  color: var(--color-brand-accent);
}
@media screen and (min-width: 768px) {
  .p-service-flow__item-apdx {
    font-size: 14px;
  }
}
@media screen and (min-width: 1280px) {
  .p-service-flow__item-apdx {
    font-size: 14px;
  }
}

.p-service {
  margin: 0 0 100px;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(50%, transparent), color-stop(50%, var(--color-bg-subtle)));
  background: linear-gradient(transparent 50%, var(--color-bg-subtle) 50%);
}
@media screen and (min-width: 768px) {
  .p-service {
    margin: 60px 0 0;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(53%, transparent), color-stop(53%, var(--color-bg-subtle)));
    background: linear-gradient(transparent 53%, var(--color-bg-subtle) 53%);
  }
  .p-service.l-section {
    padding-top: 129px;
  }
}
.p-service .c-heading__jp {
  margin-top: 2px;
}
@media screen and (min-width: 768px) {
  .p-service .c-heading__link-text {
    margin-top: -14px;
  }
  .p-service .c-heading__link-arrow--color-black {
    top: calc(44% - 1px);
  }
}

.p-service__items {
  margin-top: 62px;
}
@media screen and (min-width: 768px) {
  .p-service__items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-top: 30px;
  }
}

.p-service__item {
  position: relative;
  margin-left: 15px;
}
@media screen and (min-width: 768px) {
  .p-service__item {
    width: 29.093%;
    margin: 0;
  }
}
.p-service__item:nth-child(2) {
  margin-top: 74px;
}
@media screen and (min-width: 768px) {
  .p-service__item:nth-child(2) {
    margin-top: var(--space-lg);
  }
}
.p-service__item:last-child {
  margin-top: 74px;
}
@media screen and (min-width: 768px) {
  .p-service__item:last-child {
    margin-top: 120px;
  }
}

.p-service__item-img {
  position: relative;
  text-align: center;
}

.p-service__item-number {
  position: absolute;
  top: -31px;
  right: -3px;
  width: 110px;
}
@media screen and (min-width: 768px) {
  .p-service__item:first-child .p-service__item-number {
    right: -4px;
  }
}

.p-service__item-title {
  position: absolute;
  bottom: 33px;
  left: -15px;
  text-align: left;
}
@media screen and (min-width: 768px) {
  .p-service__item-title {
    left: -32px;
  }
}

.p-service__item-title--inside {
  display: inline-block;
  padding: 6px 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-brand-primary);
  background: var(--color-bg-base);
}
@media screen and (min-width: 768px) {
  .p-service__item-title--inside {
    font-size: 2.8225806452vw;
    white-space: nowrap;
  }
}
@media screen and (min-width: 992px) {
  .p-service__item-title--inside {
    font-size: 28px;
  }
}
.p-service__item-title--inside:not(:first-child) {
  margin-top: var(--space-2xs);
}

.p-service__item-text {
  margin-top: 14px;
}

.p-service__view-more-link {
  margin-top: var(--space-2md);
}
@media screen and (max-width: 767px) {
  .p-service.l-section {
    position: relative;
    height: 2419px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background: none;
    -webkit-transform: none;
            transform: none;
  }
  .p-service.l-section::before {
    position: absolute;
    top: 1181px;
    left: 0;
    width: 100%;
    height: 1178px;
    content: "";
    background: var(--color-bg-subtle);
    -webkit-transform: skewY(10deg);
            transform: skewY(10deg);
    -webkit-transform-origin: left top;
            transform-origin: left top;
    pointer-events: none;
  }
  .p-service.l-skew > *,
  .p-service .l-inner,
  .p-service__items,
  .p-service__item,
  .p-service__item-img,
  .p-service__item-number {
    -webkit-transform: none;
            transform: none;
  }
  .p-service > .l-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 0;
  }
  .p-service .c-heading {
    position: absolute;
    top: 66px;
    right: 20px;
    left: 20px;
  }
  .p-service .c-heading__en {
    line-height: 1;
  }
  .p-service .c-heading__jp {
    margin-top: 0;
    line-height: 23px;
  }
  .p-service__items {
    position: absolute;
    top: 153px;
    right: 20px;
    left: 20px;
    width: 335px;
    height: 2029px;
    margin: 0;
  }
  .p-service__item,
  .p-service__item:nth-child(2),
  .p-service__item:last-child {
    position: absolute;
    left: 0;
    width: 335px;
    margin: 0;
  }
  .p-service__item:first-child {
    top: 0;
  }
  .p-service__item:nth-child(2) {
    top: 658px;
  }
  .p-service__item:nth-child(3) {
    top: 1318px;
  }
  .p-service__item-img {
    width: 320px;
    height: 427px;
    margin-left: 15px;
  }
  .p-service__item:first-child .p-service__item-img {
    margin-top: 55px;
  }
  .p-service__item:nth-child(2) .p-service__item-img {
    margin-top: 57px;
  }
  .p-service__item:nth-child(3) .p-service__item-img {
    margin-top: 54px;
  }
  .p-service__item-img > img {
    display: block;
    width: 320px;
    height: 427px;
    object-fit: cover;
  }
  .p-service__item-number {
    right: -2px;
  }
  .p-service__item:first-child .p-service__item-number {
    top: -28px;
    right: -1px;
    width: 103px;
    height: 123px;
  }
  .p-service__item:nth-child(2) .p-service__item-number {
    top: -31px;
    right: -2px;
    width: 110px;
    height: 126px;
  }
  .p-service__item:nth-child(3) .p-service__item-number {
    top: -30px;
    width: 110px;
    height: 123px;
  }
  .p-service__item-number img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
  }
  .p-service__item-title {
    bottom: 35px;
    left: -15px;
  }
  .p-service__item-text {
    width: 320px;
    margin-top: 14px;
    margin-left: 15px;
    line-height: 24px;
  }
  .p-service__view-more-link {
    position: absolute;
    top: 2217px;
    right: 20px;
    width: 190px;
    height: 40px;
    margin: 0;
  }
}
@media screen and (min-width: 768px) {
  .p-service__view-more-link {
    margin-top: var(--space-md);
  }
}

/* ----- Single post ----- */
/* SP: Figma 14662:3144 【SP】お知らせ詳細 / PC: 14662:3124 */
.p-single__title {
  /* Figma SP entry-meta: cat→title gap 20 / 20 Bold / leading 28 */
  margin-top: 20px;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: var(--color-text-primary);
}
@media screen and (min-width: 768px) {
  /* Figma PC entry-meta itemSpacing: 24 / title 24 Bold */
  .p-single__title {
    margin-top: 19px;
    font-size: 24px;
    line-height: normal;
  }
}

/* Figma SP: title→thumb gap 24 / thumb 335×176 */
.p-single__thumbnail {
  margin-top: 24px;
}
.p-single__thumbnail > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 335 / 176;
  -o-object-fit: cover;
     object-fit: cover;
}
@media screen and (min-width: 768px) {
  /* Figma PC single: aspect 1200/630 */
  .p-single__thumbnail {
    margin-top: 24px;
  }
  .p-single__thumbnail > img {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 1200 / 630;
  }
}

.p-single__content {
  /* Figma SP detail: entry-meta ↔ content gap 20 */
  margin-top: 20px;
  /* body 1.72（14*1.72=24.08）継承を切り、Figma SP leading 24 固定で行重なり防止 */
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  overflow: visible;
}
/* float 画像・WP align 後も後続見出し／本文が行ボックスを失わないよう clear */
.p-single__content::after {
  content: "";
  display: table;
  clear: both;
}
@media screen and (min-width: 768px) {
  /* Figma PC detail: entry-meta ↔ entry-content gap 40 */
  .p-single__content {
    margin-top: 40px;
  }
}
.p-single__content > *:first-child {
  margin-top: 0;
}
/*
 * 本文直下ブロックは通常フロー固定（absolute / float / clamp 由来の潰し防止）。
 * ol > li は番号 ::before のため後段で relative を再指定。
 */
.p-single__content > p,
.p-single__content > h2,
.p-single__content > h3,
.p-single__content > h4,
.p-single__content > ul,
.p-single__content > ol,
.p-single__content > blockquote,
.p-single__content > .wp-block-quote,
.p-single__content > .wp-block-list,
.p-single__content > .wp-block-group {
  position: static;
  float: none;
  max-height: none;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}
/* 画像は alignleft/right の float を維持（::after clear で後続崩壊を防ぐ） */
.p-single__content > .wp-block-image {
  max-height: none;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}
.p-single__content h2,
.p-single__content h3,
.p-single__content h4 {
  position: static;
  float: none;
  font-weight: 700;
  color: var(--color-brand-primary);
  letter-spacing: normal;
  overflow: visible;
  max-height: none;
}
/* Figma SP entry-content itemSpacing: 30（見出しブロック間） */
.p-single__content h2:not(:first-child),
.p-single__content h3:not(:first-child),
.p-single__content h4:not(:first-child) {
  margin-top: 30px;
}
@media screen and (min-width: 768px) {
  /* Figma PC entry-content itemSpacing: 29 */
  .p-single__content h2:not(:first-child),
  .p-single__content h3:not(:first-child),
  .p-single__content h4:not(:first-child) {
    margin-top: 29px;
  }
}
/* Figma SP H2: bg #f8f8f8 / border-l 6 / pl19 pr20 pt4 pb10 / 20 Bold
 * line-height:normal は UA 依存で隣接行ボックスと衝突しやすいため SP も 24 固定 */
.p-single__content h2 {
  box-sizing: border-box;
  padding: 4px 20px 10px 19px;
  font-size: 20px;
  line-height: 24px;
  background: #f8f8f8;
  border-left: 6px solid var(--color-brand-primary);
}
@media screen and (min-width: 768px) {
  /* Figma PC H2: pl19 pr64 pt6 pb10 / leading 24 固定で重なり防止 */
  .p-single__content h2 {
    padding: 6px 64px 10px 19px;
    line-height: 24px;
  }
}
/* Figma H3: border-b / pb10 / 18 Bold / leading 22（1.25=22.5 を使わない） */
.p-single__content h3 {
  margin-bottom: 0;
  padding-bottom: 10px;
  font-size: 18px;
  line-height: 22px;
  border-bottom: 1px solid var(--color-brand-primary);
}
/* Figma H4: 16 Bold / leading 24 */
.p-single__content h4 {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 24px;
}
/* Figma section 内 gap 14（p / ul / ol 間） */
.p-single__content ol,
.p-single__content ul {
  position: static;
  float: none;
  margin-top: 14px;
  margin-bottom: 0;
  line-height: 24px;
  list-style-position: outside;
  overflow: visible;
  max-height: none;
}
.p-single__content ul {
  margin-left: 21px;
  list-style: disc;
}
/*
 * ordered list: counter + 固定幅番号列。
 * ネイティブ decimal はプロポーショナル数字幅で 1. と 2. が横にずれるため、
 * min-width 固定 + text-align:right + tabular-nums で揃える。
 * 本文開始位置は ul と同様 21px（padding-left）を維持。
 */
.p-single__content ol {
  margin-left: 0;
  padding-left: 21px;
  list-style: none;
  counter-reset: gs-single-ol;
  font-variant-numeric: tabular-nums;
}
.p-single__content p {
  position: static;
  float: none;
  display: block;
  margin-top: 14px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 500;
  /* Figma SP body: Noto Sans JP Medium 14 / leading 24（固定。normal 禁止） */
  line-height: 24px;
  color: var(--color-text-primary);
  overflow: visible;
  max-height: none;
  /* clamp / -webkit-box が他経路から乗った場合の潰し防止 */
  -webkit-line-clamp: unset;
  line-clamp: unset;
}
/* リスト内段落（クラシック／ネスト）は余白二重化せず行高を本文に揃える */
.p-single__content li > p {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  overflow: visible;
  max-height: none;
}
/* Figma PC section gap 14（整数。13.5 は subpixel で PerfectPixel 二重になる） */
.p-single__content h2 + p,
.p-single__content h3 + p,
.p-single__content h4 + p,
.p-single__content h2 + ol,
.p-single__content h3 + ol,
.p-single__content h4 + ol,
.p-single__content h2 + ul,
.p-single__content h3 + ul,
.p-single__content h4 + ul,
/* 導入文 → 番号リストは h 直後ではないので p + ol/ul を明示 */
.p-single__content p + ol,
.p-single__content p + ul,
.p-single__content ol + p,
.p-single__content ul + p {
  margin-top: 14px;
}
.p-single__content strong,
.p-single__content b {
  font-weight: 700;
}
.p-single__content a:is(:not(.wp-block-button__link)) {
  color: var(--color-brand-primary);
  text-decoration: underline;
}
.p-single__content .wp-block-list {
  margin-top: 14px;
  margin-bottom: 0;
  line-height: 24px;
  list-style-position: outside;
}
/* WP ブロックリストも p 隣接で同じ 14 */
.p-single__content p + .wp-block-list,
.p-single__content .wp-block-list + p {
  margin-top: 14px;
}
/* Figma SP section gap 9（.wp-block-list は class 優先度のため隣接セレクタを明示） */
@media screen and (max-width: 767px) {
  .p-single__content h2 + p,
  .p-single__content h3 + p,
  .p-single__content h4 + p,
  .p-single__content h2 + ol,
  .p-single__content h3 + ol,
  .p-single__content h4 + ol,
  .p-single__content h2 + ul,
  .p-single__content h3 + ul,
  .p-single__content h4 + ul,
  .p-single__content p + ol,
  .p-single__content p + ul,
  .p-single__content ol + p,
  .p-single__content ul + p,
  .p-single__content h2 + .wp-block-list,
  .p-single__content h3 + .wp-block-list,
  .p-single__content h4 + .wp-block-list,
  .p-single__content p + .wp-block-list,
  .p-single__content .wp-block-list + p {
    margin-top: 9px;
  }
}
.p-single__content ul.wp-block-list {
  margin-left: 21px;
  list-style: disc;
}
.p-single__content ol.wp-block-list {
  margin-left: 0;
  padding-left: 21px;
  list-style: none;
  counter-reset: gs-single-ol;
  font-variant-numeric: tabular-nums;
}
/*
 * Figma 引用ブロック
 * SP (14662:3144 / 14589:10981): 本文フル幅（335）/ pad 30 35 / border-l 4
 * PC (14589:10511): 646×180 相当 / 本文テキスト幅 576 + pad 35×2 = 646
 * → SP では max-width:646 を当てない（狭い画面で PC 制約が勝つとズレる）
 */
.p-single__content blockquote,
.p-single__content .wp-block-quote {
  position: relative;
  /* -webkit-box は line-clamp 系と衝突し行が潰れることがあるため flex のみ */
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-align: start;
      align-items: flex-start;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-top: 14px;
  padding: 30px 35px;
  overflow: visible;
  line-height: 24px;
  background: #f8f8f8;
  border: none;
  border-left: 4px solid var(--color-brand-primary);
}
@media screen and (min-width: 768px) {
  .p-single__content blockquote,
  .p-single__content .wp-block-quote {
    /* 760 全幅にすると折り返しが Figma PC とズレ PerfectPixel で文字が二重に見える */
    max-width: 646px;
  }
}
/* 装飾クォート（reset の content:none を上書き）。テキストは relative で前面 */
.p-single__content blockquote::before,
.p-single__content .wp-block-quote::before {
  position: absolute;
  top: 15px;
  left: 16px;
  z-index: 0;
  display: block;
  width: 55px;
  height: 47px;
  content: "" !important;
  background: url(../img/icons/quote.svg) center/contain no-repeat;
  pointer-events: none;
}
.p-single__content blockquote::after,
.p-single__content .wp-block-quote::after {
  content: none !important;
}
.p-single__content blockquote > p,
.p-single__content .wp-block-quote > p {
  position: relative;
  z-index: 1;
  display: block;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 500;
  /* Figma: Noto Sans JP Medium 14 / leading 24 */
  line-height: 24px;
  color: var(--color-text-primary);
  overflow: visible;
}
@media screen and (min-width: 768px) {
  .p-single__content blockquote > p,
  .p-single__content .wp-block-quote > p {
    max-width: 576px;
  }
}
.p-single__content blockquote > p + p,
.p-single__content .wp-block-quote > p + p {
  margin-top: 0;
}
.p-single__content ul li,
.p-single__content ol li {
  box-sizing: border-box;
  float: none;
  min-height: 24px;
  font-size: 14px;
  font-weight: 500;
  /* Figma SP list: leading 24 固定（absolute 番号でも行ボックスを確保） */
  line-height: 24px;
  color: var(--color-text-primary);
  list-style-position: outside;
  overflow: visible;
  max-height: none;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}
/* ul はマーカー用に list-item を維持（block にすると disc が消える） */
.p-single__content ul > li {
  position: static;
  display: list-item;
}
.p-single__content ol > li {
  position: relative;
  display: block;
  float: none;
  min-height: 24px;
  counter-increment: gs-single-ol;
  font-variant-numeric: tabular-nums;
}
.p-single__content ol > li::before {
  position: absolute;
  top: 0;
  left: -21px;
  box-sizing: border-box;
  width: 18px;
  height: 24px;
  content: counter(gs-single-ol) ".";
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 24px;
  color: var(--color-text-primary);
  text-align: right;
  pointer-events: none;
}
.p-single__content ul li + li,
.p-single__content ol li + li {
  margin-top: 0;
}

/*
 * Figma pagenation（SP 14662:3144 / 指示 14662:3125）:
 * h36 w114 / border main / radius 4
 * 両側: space-between / 前のみ左 / 次のみ右（--next の ml:auto）
 */
.p-single__post-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 100%;
  max-width: 760px;
  margin-top: 40px;
}
.p-single__post-link--next {
  margin-left: auto;
}
.p-single__post-link > a {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  box-sizing: border-box;
  width: 114px;
  min-width: 114px;
  height: 36px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  color: var(--color-brand-primary);
  text-align: center;
  white-space: nowrap;
  border: 1px solid var(--color-brand-primary);
  border-radius: 4px;
  -webkit-transition: background-color 0.3s, color 0.3s;
  transition: background-color 0.3s, color 0.3s;
}
@media (hover: hover) {
  .p-single__post-link > a:hover {
    color: var(--color-bg-base);
    background: var(--color-brand-primary);
  }
}

/*
 * single menu-side（サイドバー）
 * SP: Figma 14662:3144 menu-side-sp — detail↔side gap 100 / news↔cat gap 60
 * PC: category-* アーカイブ補正を打ち消して Figma single menu-side に揃える
 */
@media screen and (max-width: 767px) {
  /* Figma contents: detail → menu-side gap 100 */
  .single-post .c-sidebar-new {
    padding-top: 100px;
  }
  /* Figma menu-side-sp itemSpacing: 60 */
  .single-post .c-sidebar-cats {
    padding-top: 60px;
  }
  /* Figma: 見出し→最初の list-post gap ≒ 20（title 行高分を除く mt） */
  .single-post .c-sidebar-new__item:first-of-type {
    margin-top: 20px;
  }
  .single-post .c-sidebar-new__item {
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
  }
  /* Figma list-post-sp: thumb 120×90 / body 残り */
  .single-post .c-sidebar-new__thumbnail {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 120px;
            flex: 0 0 120px;
    width: 120px;
    max-width: 120px;
  }
  .single-post .c-sidebar-new__thumbnail > img {
    width: 100%;
    height: 90px;
  }
  .single-post .c-sidebar-new__body {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    width: auto;
    min-width: 0;
    max-width: none;
  }
  /* Figma list-post cat: px10 py4.5 */
  .single-post .c-sidebar-new__cat {
    padding: 4.5px 10px;
  }
  .single-post .c-sidebar-new__title {
    margin-top: 6px;
    max-height: 51px; /* 17 × 3 */
    line-height: 17px;
  }
  .single-post .c-sidebar-cats__lists {
    margin-top: 16px;
  }
}

@media screen and (min-width: 768px) {
  .single-post .c-sidebar-new {
    padding-top: 0;
    margin-top: 0;
  }
  .single-post .c-sidebar-new > .c-sidebar__title,
  .single-post .c-sidebar-cats > .c-sidebar__title {
    margin-top: 0;
    line-height: normal;
  }
  .single-post .c-sidebar-new__meta {
    height: 30px;
  }
  .single-post .c-sidebar-new__cat {
    height: 30px;
    padding: 5px 10px;
  }
  /*
   * 旧: line-height:normal → clamp/max-height(60) と衝突し行が潰れることがあった。
   * meta 30 + mt 5 = title 開始 35。
   */
  .single-post .c-sidebar-new__title {
    margin-top: 5px;
    max-height: 60px;
    line-height: 20px;
  }
  .single-post .c-sidebar-new__item {
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 0;
  }
  .single-post .c-sidebar-cats {
    padding-top: 80px;
  }
  .single-post .c-sidebar-cats__lists {
    margin-top: 16px;
  }
  .single-post .c-sidebar-cats__list {
    height: auto;
    min-height: 57px;
  }
  .single-post .c-sidebar-cats__link {
    line-height: 23px;
  }
}

.screen-reader-text {
  position: absolute;
  top: 0;
  z-index: -1;
}

.wp-block-image figcaption {
  font-size: 13px;
}

a.wp-block-button__link {
  margin: 1em 0;
  text-decoration: none;
}

.wp-caption {
  max-width: 100%;
}
.wp-caption a {
  -webkit-transition: opacity 0.3s ease 0s;
  transition: opacity 0.3s ease 0s;
}
.wp-caption a:hover {
  opacity: 0.7;
}

.wp-caption-text {
  margin-top: 4px;
  font-size: 14px;
}

.gallery {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.gallery-item {
  padding: 4px;
  margin-bottom: var(--space-2xs);
}

.gallery-icon a {
  text-decoration: none;
}

.gallery-columns-2 .gallery-item {
  width: 50%;
}

.gallery-columns-3 .gallery-item {
  width: 33.3333333333%;
}

.gallery-columns-4 .gallery-item {
  width: 25%;
}

.gallery-columns-5 .gallery-item {
  width: 20%;
}

.gallery-columns-6 .gallery-item {
  width: 16.6666666667%;
}

.gallery-columns-7 .gallery-item {
  width: 14.2857142857%;
}

.gallery-columns-8 .gallery-item {
  width: 12.5%;
}

.gallery-columns-9 .gallery-item {
  width: 11.1111111111%;
}

.u-color-white {
  color: var(--color-bg-base);
}

.u-color-blue {
  color: var(--color-brand-primary);
}

.u-color-black {
  color: var(--color-text-primary);
}

.u-font-italic {
  font-family: var(--font-en);
  font-style: italic;
  font-weight: var(--font-weight-base);
}

@media screen and (min-width: 768px) {
  .u-hidden-pc {
    display: none;
  }
}

/* 意図した改行直前の語を途中割れさせない（お知らせ一覧タイトルなど） */
.u-nowrap {
  white-space: nowrap;
}

@media screen and (min-width: 768px) and (max-width: 1099px) {
  .u-hidden-tab {
    display: none;
  }
}

.u-hidden-sp {
  display: none;
}
@media screen and (min-width: 768px) {
  .u-hidden-sp {
    display: block;
  }
}

.u-line-clamp-3 {
  display: -webkit-box;
  /* autoprefixer: ignore next */
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  text-overflow: ellipsis;
}
