@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-delay: -1ms;
    animation-duration: 1ms;
    animation-iteration-count: 1;
    background-attachment: initial;
    scroll-behavior: auto;
    transition-delay: 0s;
    transition-duration: 0s;
  }
}
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

html {
  background: inherit;
  vertical-align: baseline;
  word-break: normal;
  color: inherit;
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  line-height: 1;
}

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

[tabindex="-1"]:focus:not(:focus-visible) {
  outline: 0;
}

hr {
  margin: 1rem 0;
  color: inherit;
  background-color: currentColor;
  border: 0;
  opacity: 0.25;
  overflow: visible;
}

hr:not([size]) {
  height: 1px;
}

abbr[title],
abbr[data-bs-original-title] {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  cursor: help;
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
}

address {
  font: normal inherit inherit/inherit inherit;
}

nav li {
  list-style: none;
  padding: 0;
}

small {
  font-size: 0.875em;
}

mark {
  padding: 0.2em;
  background-color: currentColor;
}

sub,
sup {
  position: relative;
  font-size: 0.75em;
  line-height: 0;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

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

a:not([href]):not(class),
a:not([href]):not([class]):hover {
  cursor: default;
  color: inherit;
  text-decoration: none;
}

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

pre,
code,
kbd,
samp {
  font: 1.05em "Fira Code", "Cascadia Code", Consolas, "Inconsolata", Monaco,
    Menlo, "Noto Mono", "Roboto Mono", "Droid Sans Mono", "Ubuntu Mono",
    "Ubuntu Monospace", "Source Code Pro", "Oxygen Mono", "Liberation Mono",
    "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

pre {
  display: block;
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 0.875em;
  overflow: auto;
  -ms-overflow-style: scrollbar;
}

pre code {
  font-size: inherit;
  color: inherit;
  word-break: normal;
}

code {
  font-size: 0.875em;
  color: inherit;
  word-wrap: break-word;
}

a > code {
  color: inherit;
}

kbd {
  padding: 0.2rem 0.4rem;
  font-size: 0.875em;
  color: inherit;
  background-color: inherit;
  border-radius: 0.2rem;
}

kbd kbd {
  padding: 0;
  font-size: 1em;
  font-weight: 700;
}

iframe,
img,
input,
select,
textarea {
  height: auto;
  max-width: 100%;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

svg:not([fill]) {
  fill: currentColor;
}

svg:not(:root) {
  overflow: hidden;
}

img {
  border: 0;
  -ms-interpolation-mode: bicubic;
}

table {
  caption-side: bottom;
  border-collapse: collapse;
  text-indent: 0;
  border-color: currentColor;
}

caption {
  color: inherit;
  text-align: left;
}

th {
  text-align: inherit;
  text-align: -webkit-match-parent;
}

thead,
tbody,
tfoot,
tr,
td,
th {
  border-color: inherit;
  border-style: solid;
  border-width: 0;
}

label {
  display: inline-block;
}

button {
  border-radius: 0;
  text-transform: none;
}

button:focus {
  outline: dotted 1px;
  outline: -webkit-focus-ring-color auto 5px;
}

input,
button {
  overflow: visible;
}

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

button,
input,
select,
textarea {
  background-color: transparent;
  border: 1px solid WindowFrame;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  padding: 0.25em 0.375em;
}

button,
select {
  text-transform: none;
}

[role="button"] {
  cursor: pointer;
}

select {
  -moz-appearance: none;
  -webkit-appearance: none;
  text-transform: none;
  word-wrap: normal;
}

select:not([multiple]):not([size]) {
  background-image: "data:image/svg+xmlcharset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='4'%3E%3Cpath d='M4 0h6L7 4'/%3E%3C/svg%3E";
}

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

[list]::-webkit-calendar-picker-indicator {
  display: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button:not(disabled),
[type="button"]:not(disabled),
[type="reset"]:not(disabled),
[type="submit"]:not(disabled) {
  cursor: pointer;
}

::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}

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

fieldset {
  min-width: 0;
  padding: 0.35em 0.75em 0.625em;
  margin: 0;
  border: 1px solid inherit;
}

legend {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 0.5rem;
  font-size: calc(1.275rem + 0.3vw);
  line-height: inherit;
  max-width: 100%;
  white-space: normal;
}

@media (max-width: 1200px) {
  legend {
    font-size: 1.5rem;
  }
}
legend + * {
  clear: left;
}

dialog {
  background-color: inherit;
  border: solid;
  color: inherit;
  display: block;
  height: -moz-fit-content;
  height: fit-content;
  left: 0;
  margin: auto;
  padding: 1em;
  position: absolute;
  right: 0;
  width: -moz-fit-content;
  width: fit-content;
}

dialog:not([open]) {
  display: none;
}

::-webkit-datetime-edit-fields-wrapper,
::-webkit-datetime-edit-text,
::-webkit-datetime-edit-minute,
::-webkit-datetime-edit-hour-field,
::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-year-field {
  padding: 0;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

input::-moz-placeholder {
  opacity: 1;
}

input::placeholder {
  opacity: 1;
}

[type="search"] {
  outline-offset: -2px;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  -moz-appearance: none;
}

[type="tel"],
[type="url"],
[type="email"],
[type="number"] {
  direction: ltr;
}

::-webkit-color-swatch-wrapper {
  padding: 0;
}

::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

::-moz-ui-invalid {
  box-shadow: none;
}

::-moz-focusring {
  outline: 1px dotted ButtonText;
}

output {
  display: inline-block;
}

iframe {
  border: none;
}

audio,
canvas,
video {
  display: inline;
  display: inline-block;
  zoom: 1;
  max-width: 100%;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

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

progress {
  display: inline-block;
  vertical-align: baseline;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

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

[aria-controls] {
  cursor: pointer;
}

[aria-disabled="true"],
[disabled] {
  cursor: not-allowed;
}

[aria-hidden="false"][hidden="false"] {
  display: initial;
}

[aria-hidden="false"][hidden="false"]:not(:focus) {
  clip: rect(0, 0, 0, 0);
  position: absolute;
}

:root {
  --font-ja__default: "Zen Kaku Gothic New", sans-serif;
  --font-en: "DM Sans", serif;
  --color-primary: #002f7c;
  --color-secondary: #e83a18;
  --color-bluegreen: #4daf98;
  --color-skyblue: #3079f0;
}

html {
  overflow: auto;
  scroll-padding-top: 120px;
}

body {
  position: relative;
  overflow: clip;
  line-height: 1.75;
  font-weight: 400;
  color: #000;
  font-family: var(--font-ja__default);
  min-height: 100vh;
}

body:not([data-slug="contact"]) .grecaptcha-badge {
  visibility: hidden;
}

.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(123.38deg, #f6f9ff 3.93%, #e6efff 96.75%);
  z-index: -3;
  overflow: hidden;
}

.ameba-container {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  z-index: -2;
}

.ameba-container svg {
  position: absolute;
  width: 33%;
  height: 45%;
  bottom: 11%;
  right: 16%;
  aspect-ratio: 682/840;
  -o-object-fit: contain;
  object-fit: contain;
  box-sizing: border-box;
}

.background-dust {
  position: absolute;
  content: "";
  background-image: url("../../assets/img/bg__dust.png");
  inset: 0;
  width: 100%;
  height: 100%;
  background-repeat: repeat;
  background-size: 200px;
  z-index: -1;
}

.fixed-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10;
}

.text-animation-link {
  transition: color 0.4s ease;
}

.text-animation-link::after {
  background-color: var(--color-skyblue);
  bottom: -3px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform 0.4s ease;
  width: 100%;
}

a {
  position: relative;
  display: inline-block;
  color: inherit;
  word-break: break-all;
}

img {
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.sp {
  display: none;
}

.color-primary {
  color: var(--color-primary);
}

@media screen and (max-width: 768px) {
  html {
    scroll-padding-top: 70px;
  }
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  .fixed-button {
    display: none;
    bottom: 12px;
    right: 50%;
    transform: translateX(50%);
  }
}
@media (hover: hover) and (pointer: fine) {
  a:hover,
  a:focus {
    opacity: 0.7;
  }
  .text-animation-link:hover {
    color: var(--color-skyblue);
    opacity: 1;
  }
  .text-animation-link:hover::after {
    transform-origin: left top;
    transform: scale(1, 1);
  }
}
/* KLoS-BASE アニメーション用クラス定義 */
/* 特定のクラスを持つ要素にのみアニメーションを適用 */
/* アニメーション付与のためのクラス */
.fade-in {
  opacity: 0;
  visibility: hidden;
}

.fade-in.is-visible {
  animation: fadeInAnimation 0.8s ease-out forwards;
}

.fade-in-up {
  opacity: 0;
  visibility: hidden;
}

.fade-in-up.is-visible {
  animation: fadeInUpAnimation 0.8s ease-out forwards;
}

.fade-in-left {
  opacity: 0;
  visibility: hidden;
}

.fade-in-left.is-visible {
  animation: fadeInLeftAnimation 0.8s ease-out forwards;
}

.fade-in-right {
  opacity: 0;
  visibility: hidden;
}

.fade-in-right.is-visible {
  animation: fadeInRightAnimation 0.8s ease-out forwards;
}

/* ディレイクラス */
.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}

.delay-600 {
  animation-delay: 0.6s;
}

.delay-700 {
  animation-delay: 0.7s;
}

.delay-800 {
  animation-delay: 0.8s;
}

.delay-900 {
  animation-delay: 0.9s;
}

.delay-1000 {
  animation-delay: 1s;
}

.delay-1200 {
  animation-delay: 1.2s;
}

.delay-1500 {
  animation-delay: 1.5s;
}

/* キーフレームアニメーション定義 */
@keyframes fadeInAnimation {
  from {
    opacity: 0;
    visibility: visible;
  }
  to {
    opacity: 1;
    visibility: visible;
  }
}
@keyframes fadeInUpAnimation {
  from {
    opacity: 0;
    transform: translateY(30px);
    visibility: visible;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
}
@keyframes fadeInLeftAnimation {
  from {
    opacity: 0;
    transform: translateX(-30px);
    visibility: visible;
  }
  to {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
  }
}
@keyframes fadeInRightAnimation {
  from {
    opacity: 0;
    transform: translateX(30px);
    visibility: visible;
  }
  to {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
  }
}
/* メディアクエリ：アニメーションを軽減（低性能デバイス用） */
@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .fade-in-up,
  .fade-in-left,
  .fade-in-right {
    opacity: 1;
    visibility: visible;
    animation: none !important;
    transform: none !important;
  }
}
/* Header */
.header {
  position: relative;
  z-index: 1002; /* Higher than mobile-nav to stay on top */
}

.header__logo-container {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #fff;
  border-bottom-right-radius: 16px;
  padding: 16px;
  z-index: 1;
  box-shadow: 0px 0px 30px 0px rgba(0, 47, 124, 0.1019607843);
}

.header__logo-link {
  line-height: 1;
}

.header__logo {
  width: 224px;
  border-bottom: 1px solid var(--color-primary);
}

.header__tagline {
  line-height: 1.45;
  font-weight: 700;
  margin-top: 5px;
  margin-bottom: 6px;
  text-align: center;
  color: var(--color-primary);
}

.header__menu-button {
  position: relative;
  border-radius: 50%;
  background-color: var(--color-primary);
  width: 48px;
  height: 48px;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 1001;
  border: 1px solid var(--color-primary);
  transition: background-color 0.3s ease;
}

.header__menu-button:focus {
  outline: none;
}

.header__menu-icon,
.header__menu-icon::before,
.header__menu-icon::after {
  background-color: #fff;
  height: 2px;
  width: 21px;
  border-radius: 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease;
}

.header__menu-icon {
  top: 50%;
  transform: translate(-50%, -50%);
}

.header__menu-icon::before,
.header__menu-icon::after {
  content: "";
  display: block;
}

.header__menu-icon::before {
  top: -6px;
}

.header__menu-icon::after {
  bottom: -6px;
}

/* Hamburger animation - X shape */
.header__menu-button.is-active {
  background-color: var(--color-skyblue);
  border-color: var(--color-skyblue);
}

.header__menu-button.is-active .header__menu-icon {
  background-color: transparent;
}

.header__menu-button.is-active .header__menu-icon::before,
.header__menu-button.is-active .header__menu-icon::after {
  width: 24px; /* バーの長さを21pxから24pxに変更 */
}

.header__menu-button.is-active .header__menu-icon::before {
  top: 0;
  transform: translateX(-50%) rotate(36deg); /* 回転角度を45度から36度に変更 */
}

.header__menu-button.is-active .header__menu-icon::after {
  bottom: 0;
  transform: translateX(-50%) rotate(-36deg); /* 回転角度を-45度から-36度に変更 */
}

/* Navigation */
.nav {
  position: fixed;
  margin-left: auto;
  top: 24px;
  right: 24px;
  z-index: 1;
}

.nav__container {
  background-color: #fff;
  border-radius: 100px;
  padding: 8px 16px 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0px 0px 30px 0px rgba(0, 47, 124, 0.1019607843);
}

.nav__menu {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-right: 16px;
}

.nav__link {
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 40px;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.nav__link--active {
  color: #0046b8;
}

/* PC Navigation (when hamburger is clicked on PC) */
.pc-nav {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  width: 314px;
  height: -moz-fit-content;
  height: fit-content;
  background-color: #fff;
  border-radius: 16px;
  z-index: 1000;
  overflow-y: auto;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  padding: 24px;
}

.pc-nav.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pc-nav__menu {
  display: grid;
  gap: 16px;
}

.pc-nav__link {
  font-weight: 700;
}

.pc-nav__link[href=""] {
  pointer-events: none;
  opacity: 0.2;
  cursor: default;
}

.pc-nav__contact {
  margin-top: 24px;
}

.mobile-nav {
  display: none;
}

/* Media Queries */
@media screen and (max-width: 1025px) {
  .header__logo-container {
    padding: 9px;
    transition: box-shadow 0.4s ease;
  }
  .header__logo {
    width: 125px;
  }
  .header__tagline {
    margin-top: 3px;
    margin-bottom: 4px;
    font-size: 10px;
  }
  .header__menu-button {
    display: block;
    box-shadow: 0px 0px 30px 0px rgba(0, 47, 124, 0.1019607843);
    transition: box-shadow 0.4s ease;
  }
  .header.is-active .header__logo-container {
    box-shadow: none;
  }
  .header.is-active .header__menu-button {
    box-shadow: none;
  }
  .nav {
    display: block;
    top: 16px;
    right: 16px;
  }
  .nav__container {
    padding: 0;
    background-color: transparent;
    box-shadow: none;
  }
  .nav__menu {
    display: none;
  }
  .pc-nav {
    display: none;
  }
  /* Mobile Navigation */
  .mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    z-index: 1000; /* Lower than header */
    overflow-y: auto;
    transition: right 0.3s ease-in-out;
    display: block;
    padding: 84px 24px 32px;
  }
  .mobile-nav.is-active {
    right: 0;
  }
  .mobile-nav__menu {
    display: grid;
    gap: 24px;
  }
  .mobile-nav__link {
    display: flex;
    flex-direction: column;
  }
  .mobile-nav__en {
    color: var(--color-primary);
    font-family: var(--font-en);
    font-weight: 900;
    line-height: 1;
    font-size: 24px;
  }
  .mobile-nav__ja {
    font-weight: 700;
  }
  .mobile-nav__sub-links {
    margin-top: 20px;
  }
  .mobile-nav__link[href=""],
  .mobile-nav__sub-link[href=""] {
    pointer-events: none;
    opacity: 0.2;
    cursor: default;
  }
  .mobile-nav__sub-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .mobile-nav__sub-item {
    line-height: 1.7;
  }
  .mobile-nav__sub-link {
    font-size: 14px;
    font-weight: 700;
  }
  .mobile-nav__contact {
    display: block;
    margin-top: 24px;
  }
}
@media (hover: hover) and (pointer: fine) {
  .header__menu-button:hover {
    background-color: #fff;
  }
  .header__menu-button:hover .header__menu-icon,
  .header__menu-button:hover .header__menu-icon::before,
  .header__menu-button:hover .header__menu-icon::after {
    background-color: var(--color-primary);
  }
  .header__menu-button:hover.pc-nav.is-active {
    border-color: var(--color-primary);
  }
  .header__menu-button:hover.is-active .header__menu-icon {
    background-color: transparent;
  }
  .nav__link:hover {
    opacity: 1;
    background-color: var(--color-skyblue);
    color: #fff;
  }
}
/* Footer Styles */
.footer {
  background-color: #fff;
  padding: 64px;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

/* 左カラム */
.footer__logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer__logo-img {
  width: 224px;
  border-bottom: 1px solid var(--color-primary);
}

.footer__tagline {
  line-height: 1.45;
  font-weight: 700;
  margin-top: 5px;
  margin-bottom: 6px;
  text-align: center;
  color: var(--color-primary);
}

.footer__buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

/* 右カラム */
.footer__right {
  flex: 1;
  min-width: 75%;
  max-width: 100%;
}

/* Footer Navigation */
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer__nav-main {
  display: flex;
  justify-content: flex-end;
  gap: 32px;
}

.footer__nav-primary-link {
  display: flex;
  flex-direction: column;
}

.footer__nav-en {
  font-size: 18px;
  font-weight: 900;
  font-family: var(--font-en);
  color: var(--color-primary);
  line-height: 1.55;
}

.footer__nav-ja {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
}

.footer__nav-secondary {
  display: flex;
  justify-content: flex-end;
  gap: 32px;
}

.footer__nav-secondary-link {
  font-size: 14px;
  font-weight: 700;
}

.footer__nav-secondary-link[href=""] {
  pointer-events: none;
  opacity: 0.2;
  cursor: default;
}

/* Footer Bottom */
.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-top: 24px;
}

.footer__policy {
  position: relative;
  display: flex;
  align-items: center;
}

.footer__policy::before {
  position: absolute;
  content: "";
  width: 1px;
  height: 13px;
  background-color: #000;
  right: 0;
  top: 8px;
}

.footer__policy-item {
  line-height: 1.71;
  position: relative;
}

.footer__policy-item::before {
  position: absolute;
  content: "";
  width: 1px;
  height: 13px;
  background-color: #000;
  left: 0;
  top: 8px;
}

.footer__policy-link {
  font-size: 14px;
  padding: 0 8px;
}

.footer__copyright {
  margin-top: 40px;
  font-size: 14px;
  line-height: 1.7;
  font-family: var(--font-en);
}

/* Media Query for Mobile */
@media screen and (max-width: 768px) {
  .footer {
    padding: 32px 24px 90px;
  }
  .footer__content {
    flex-direction: column;
    gap: 0;
  }
  /* 左カラム */
  .footer__left {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  /* 右カラム */
  .footer__right {
    width: 100%;
  }
  /* フッターナビゲーション */
  .footer__nav {
    display: flex;
    flex-direction: column;
    margin-top: 32px;
  }
  /* メインナビゲーション */
  .footer__nav-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 3px;
  }
  .footer__nav-en {
    font-size: 16px;
    line-height: 1.625;
  }
  .footer__nav-ja {
    font-size: 12px;
    line-height: 1.75;
  }
  /* セカンダリナビゲーション */
  .footer__nav-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 3px;
  }
  /* 安全のために、事業所紹介などの通常色のリンク */
  /* フッターの最下部 */
  .footer__bottom {
    align-items: center;
    margin-top: 32px;
  }
  .footer__copyright {
    margin-top: 16px;
  }
}
.container {
  max-width: 1500px;
  width: calc(67.725% + 32px);
  margin-inline: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.container-wide {
  width: calc(85.45% + 32px);
}

.page-content {
  padding-bottom: 80px;
}

/* 画面幅に応じて段階的に調整 */
@media screen and (max-width: 1400px) {
  .container {
    width: calc(75% + 32px); /* 67.725%から75%へ増加 */
  }
  .container-wide {
    width: calc(88% + 32px); /* 85.45%から88%へ増加 */
  }
}
@media screen and (max-width: 1200px) {
  .container {
    width: calc(85% + 32px); /* さらに85%へ増加 */
  }
  .container-wide {
    width: calc(92% + 32px); /* さらに92%へ増加 */
  }
}
@media screen and (max-width: 992px) {
  .container {
    width: calc(95% + 32px); /* 小さい画面では95%へ */
  }
  .container-wide {
    width: calc(97% + 32px); /* 小さい画面では97%へ */
  }
}
@media screen and (max-width: 768px) {
  .container {
    padding: 0;
    width: 91.8%;
  }
  .container-wide {
    width: 91.8%;
  }
  .container--sp-narrow {
    width: 87.7%;
  }
  .page-content {
    padding-bottom: 64px;
  }
}
.klos-section {
  background: rgba(48, 121, 240, 0.2);
  padding: clamp(24px, 3.1746031746vw, 48px) 0;
}

.klos-box {
  display: block;
  position: relative;
  background-color: #fff;
  border-radius: 24px;
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1490196078);
  transition: color 0.4s ease;
  padding: clamp(16px, 1.5873015873vw, 24px);
  aspect-ratio: 1024/670;
}

.klos-box__container {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.klos-box__bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.image-mask-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
  border-radius: 24px;
  overflow: hidden;
}

.klos-box__bg {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.klos-box__content {
  position: relative;
  text-align: center;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.klos-box__title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.klos-box__title-en {
  font-size: clamp(32px, 4.2328042328vw, 64px);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.3;
  font-family: var(--font-en);
  transition: color 0.4s ease;
}

.klos-box__title-ja {
  font-size: clamp(16px, 1.5873015873vw, 24px);
  font-weight: 700;
  transition: color 0.4s ease;
}

.klos-box__text-container {
  margin-top: clamp(24px, 3.1746031746vw, 48px);
  text-align: center;
  margin-bottom: clamp(8px, 0.7936507937vw, 12px);
}

.klos-box__text-primary {
  font-size: clamp(16px, 1.455026455vw, 22px);
  font-weight: 700;
  line-height: 1.72;
  transition: color 0.4s ease;
  color: var(--color-primary);
}

.klos-box__text-secondary {
  margin-top: clamp(8px, 1.0582010582vw, 16px);
  transition: color 0.4s ease;
  font-size: clamp(14px, 1.1904761905vw, 18px);
}

.klos-box__arrow {
  position: absolute;
  top: clamp(24px, 3.1746031746vw, 48px);
  right: clamp(24px, 3.1746031746vw, 48px);
  width: clamp(24px, 2.1825396825vw, 33px);
  height: clamp(24px, 2.1825396825vw, 33px);
  opacity: 0;
  transform: translate(-10px, 10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 3;
}

@media screen and (max-width: 768px) {
  .klos-section {
    padding: 64px 0;
  }
  .klos-box {
    background-color: transparent;
    box-shadow: none;
    aspect-ratio: inherit;
    padding: 0;
    display: contents;
  }
  .klos-box__container {
    height: auto;
  }
  .klos-box__image {
    margin-top: 32px;
    width: 100%;
  }
  .klos-box__image img {
    visibility: visible;
  }
  .klos-box__content {
    align-items: flex-start;
  }
  .klos-box__title {
    align-items: flex-start;
  }
  .klos-box__title-en {
    font-size: 48px;
  }
  .klos-box__text-container {
    text-align: left;
    margin-top: 32px;
    margin-bottom: 0;
  }
  .klos-box__text-primary {
    color: #000;
    font-size: 16px;
  }
  .klos-box__text-secondary {
    font-size: 14px;
  }
  .klos-box__arrow {
    display: none;
  }
}
@media (hover: hover) and (pointer: fine) {
  .klos-box:hover {
    opacity: 1;
  }
  .klos-box:hover .klos-box__overlay {
    opacity: 1;
  }
  .klos-box:hover .klos-box__content {
    background-color: transparent;
    position: relative;
    z-index: 2;
  }
  .klos-box:hover .klos-box__title-en,
  .klos-box:hover .klos-box__title-ja {
    color: #fff;
  }
  .klos-box:hover .klos-box__text-primary,
  .klos-box:hover .klos-box__text-secondary {
    color: #fff;
  }
  .klos-box:hover .klos-box__arrow {
    opacity: 1 !important;
    transform: translate(0, 0);
  }
}
/* 安全セクションの最外部ラッパー */
.safety-section {
  width: 100%;
  position: relative;
}

.safety-box {
  background-color: var(--color-primary);
  color: #fff;
  padding: 120px 0 109px;
  position: relative;
  display: block;
  transition: background-color 0.3s ease;
}

.safety-box__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

/* 左側：テキスト情報 */
.safety-box__info {
  width: 42%;
}

.safety-box__title {
  display: flex;
  flex-direction: column;
}

.safety-box__title-en {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.3;
  font-family: var(--font-en);
}

.safety-box__title-ja {
  font-size: 24px;
  font-weight: 700;
}

.safety-box__text {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 700;
  margin-top: 48px;
}

/* 右側：イメージ */
.safety-box__image-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: 14px;
}

.safety-box__image-container {
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.2);
}

.safety-box__sp-link {
  display: block;
  pointer-events: none;
  cursor: default;
}

.safety-box__image-container picture {
  display: block;
  width: 100%;
}

.safety-box__image {
  width: 100%;
  display: block;
}

.safety-box__note {
  margin-top: 16px;
}

.safety-box__note-text {
  font-size: 14px;
  line-height: 2;
  text-align: center;
}

/* ホバー時に表示される矢印 */
.safety-box__arrow {
  position: absolute;
  width: 33px;
  height: 33px;
  right: 48px;
  top: 48px;
  opacity: 0;
  transform: translate(-10px, 10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.safety-box__pc-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  transition: background-color 0.3s ease;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  /* 安全セクションの最外部ラッパー */
  .safety-box {
    padding: 64px 0;
  }
  .safety-box__content {
    gap: 32px;
    flex-direction: column;
  }
  /* 左側：テキスト情報 */
  .safety-box__info {
    width: 100%;
  }
  .safety-box__title-en {
    font-size: 48px;
  }
  .safety-box__title-ja {
    font-size: 18px;
  }
  .safety-box__text {
    margin-top: 42px;
    font-size: 16px;
    line-height: 1.75;
  }
  /* 右側：イメージ */
  .safety-box__image-area {
    margin-top: 0;
  }
  .safety-box__image-container {
    box-shadow: 0px 0px 17.62px 0px rgba(0, 0, 0, 0.2);
  }
  .safety-box__sp-link {
    pointer-events: all;
  }
  .safety-box__note-text {
    line-height: 1.7;
  }
  /* ホバー時に表示される矢印 */
  .safety-box__pc-link {
    display: none;
  }
}
/* ホバーエフェクト */
@media (hover: hover) and (pointer: fine) {
  .safety-box__pc-link:hover + .safety-box {
    background-color: var(--color-skyblue);
  }
  .safety-box__pc-link:hover ~ .safety-box .safety-box__arrow {
    opacity: 1 !important;
    transform: translate(0, 0);
  }
  .safety-box:hover {
    background-color: var(--color-skyblue); /* ホバー時の背景色を変更 */
    opacity: 1;
  }
  .safety-box:hover .safety-box__arrow {
    opacity: 1 !important; /* ホバー時に確実に表示されるよう !important を追加 */
    transform: translate(0, 0);
  }
}
/* ソリューションセクション */
.solutions-section {
  position: relative;
  display: flex;
  padding: 127px 0;
  background-color: rgba(255, 255, 255, 0.5019607843);
}

.solutions-section__container {
  display: flex;
  position: relative;
  z-index: 1;
}

/* 画像エリア */
.solutions-section__image-area {
  flex: 1;
  margin-left: calc(50% - 50vw);
  width: 48%;
  position: relative;
}

.solutions-section__main-image-wrapper {
  width: 100%;
}

.solutions-section__main-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.solutions-section__top-image {
  position: absolute;
  top: -2%;
  right: -2%;
  width: 200px;
  height: 173px;
  z-index: 0;
}

.solutions-section__top-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

/* コンテンツエリア */
.solutions-section__content {
  position: relative;
  width: 50%;
  padding-left: clamp(60px, 7.9365079365vw, 120px);
  margin-top: auto;
  margin-bottom: auto;
  z-index: 3;
}

.solutions-section--top {
  background-color: transparent;
  padding-top: 30px;
}

.solutions-section--top .solutions-section__container {
  flex-direction: row-reverse;
}

.solutions-section--top .solutions-section__image-area {
  margin-right: calc(50% - 50vw);
  margin-left: auto;
}

.solutions-section--top .solutions-section__content {
  padding-left: 0;
  padding-right: clamp(60px, 7.9365079365vw, 120px);
}

.solutions-section {
  position: relative;
}

.solutions-section__bg-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.solutions-section__bg-image {
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  filter: blur(3px);
}

.solutions-section__bg-image--1 {
  top: 0%;
  left: 7%;
  width: 240px;
  height: 207px;
}

.solutions-section__bg-image--2 {
  bottom: 22%;
  right: 34.8%;
  width: 470px;
  height: 290px;
}

.solutions-section__bg-image--3 {
  top: 0%;
  right: 3.5%;
  width: 320px;
  height: 277px;
}

@media screen and (max-width: 768px) {
  /* ソリューションセクション */
  .solutions-section {
    padding: 48px 0;
  }
  .solutions-section__container {
    flex-direction: column;
  }
  /* 画像エリア */
  .solutions-section__image-area {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 32px;
    margin: 0;
  }
  .solutions-section__main-image-wrapper {
    margin: 0;
  }
  .solutions-section__main-image {
    margin: 0;
  }
  /* コンテンツエリア */
  .solutions-section__content {
    width: 100%;
    padding-left: 0;
  }
  .solutions-section--top {
    padding-top: 0;
  }
  .solutions-section--top .solutions-section__container {
    flex-direction: column;
  }
  .solutions-section--top .solutions-section__image-area {
    order: 1;
    margin-right: auto;
  }
  .solutions-section--top .content-block__header {
    order: 2;
    margin-top: 32px;
  }
  .solutions-section--top .solutions-section__content {
    padding-right: 0;
    order: 3;
  }
  .solutions-section__bg-image--1 {
    width: 85px;
    height: 74px;
    left: 5%;
    top: 67%;
    display: none;
  }
  .solutions-section__bg-image--2 {
    right: -10%;
    width: 214px;
    height: 132px;
    display: none;
  }
  .solutions-section__bg-image--3 {
    width: 237px;
    height: 205px;
    left: 6%;
    top: 0;
    display: none;
  }
}
/* CSS修正 */
.pickup-section {
  padding: 160px 0;
  overflow: hidden;
}

.pickup-section__inner {
  display: flex;
  gap: 64px;
  justify-content: space-between;
}

.pickup-section__text {
  font-size: 14px;
  line-height: 2;
}

.pickup-section__content {
  width: 357px;
  flex-shrink: 0;
}

/* 右側のカードコンテナ - 画面幅いっぱいに広げる */
.pickup-section__articles {
  flex: 1;
  margin-right: calc(50% - 50vw);
  margin-bottom: 20px;
  width: 100%;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 40px;
  padding-right: 40px;
  width: 100%;
}

.pickup-section__articles .article-list__item {
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1490196078);
}

/* カード自体のスタイル */
.pickup-section .article-list__item {
  width: 325px;
  flex-shrink: 0;
}

@media screen and (max-width: 768px) {
  /* CSS修正 */
  .pickup-section {
    padding: 64px 0;
  }
  .pickup-section__inner {
    gap: 32px;
    flex-direction: column;
  }
  .pickup-section__content {
    width: 100%;
  }
  .pickup-section .content-block__action {
    text-align: left;
  }
  /* 右側のカードコンテナ - 画面幅いっぱいに広げる */
  .pickup-section__articles {
    margin-right: auto;
    margin-bottom: 0;
    padding-bottom: 0;
    padding-right: 0;
    gap: 16px;
    overflow: hidden;
    flex-direction: column;
  }
  .pickup-section__articles .article-list__item {
    margin-inline: auto;
    box-shadow: none;
  }
  /* カード自体のスタイル */
}
/* デスクトップでは全記事表示 */
.article-list__item--mobile-hidden {
  display: block;
}

/* モバイル表示設定 */
@media screen and (max-width: 767px) {
  /* 4記事目以降を非表示 */
  .article-list__item--mobile-hidden {
    display: none;
  }
  /* モバイル表示のレイアウト調整（必要に応じて） */
  .pickup-section__articles {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}
/* Page Head Styles */
.page-head {
  padding-top: 181px;
}

.page-head__title {
  display: flex;
  flex-direction: column;
}

.page-head__title-en {
  font-size: clamp(74px, 9.7883597884vw, 148px);
  font-weight: 900;
  font-family: var(--font-en);
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: 0.03em;
}

.page-head__title-ja {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
}

.page-head__description {
  margin-top: 64px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
}

.page-head__description--office-page {
  line-height: 1.75;
}

.page-head--sub {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  width: 100%;
  padding-top: clamp(72px, 9.5238095238vw, 144px);
  margin-left: auto;
  margin-right: auto;
}

.page-head__title--sub {
  display: flex;
  flex-direction: column;
}

.page-head__title-en--sub {
  font-size: 48px;
  font-weight: 900;
  font-family: var(--font-en);
  color: var(--color-primary);
  line-height: 1.5;
}

.page-head__title-ja--sub {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

@media screen and (max-width: 768px) {
  .page-head {
    padding: 132px 8px 0;
  }
  .page-head__title-en {
    font-size: 50px;
    line-height: 1.2;
  }
  .page-head__title-ja {
    font-size: 24px;
    line-height: 1.75;
  }
  .page-head__description {
    font-size: 16px;
    margin-top: 32px;
  }
  .page-head__description--office-page {
    margin-top: 40px;
    font-size: 18px;
  }
  .page-head--sub {
    padding-top: 84px;
    width: 100%;
  }
  .page-head__title-en--sub {
    font-size: 32px;
    line-height: 1.5;
  }
  .page-head__title-ja--sub {
    font-size: 14px;
  }
}
.breadcrumbs {
  flex: 1;
  margin-right: calc(50% - 50vw);
  text-align: right;
  padding-right: 24px;
  min-width: 45%;
}

.breadcrumbs__link {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.breadcrumbs__separator {
  margin: 0 2px;
  font-weight: 700;
}

.breadcrumbs__current {
  font-size: 14px;
  font-weight: 700;
}

@media screen and (max-width: 768px) {
  .breadcrumbs {
    display: none;
  }
}
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 24px;
  width: 176px;
  height: 64px;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 100px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
}

/* スモールサイズ */
.button--small {
  width: 128px;
  height: 32px;
  font-size: 14px;
  padding: 0 16px;
  box-shadow: none; /* 影を無くす */
  border: 1px solid transparent;
}

.button--smallmiddle {
  width: 224px;
}

.button--middle {
  width: 240px;
}

/* ラージサイズ */
.button--extra-large {
  width: 352px;
}

.button--large {
  width: 320px;
}

.button--size-fixed {
  width: 266px;
}

.button--nav {
  width: 256px;
  height: 44px;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1490196078);
}

/* セカンダリースタイル */
.button--secondary {
  background-color: var(--color-secondary);
  color: #fff;
  box-shadow: none;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1490196078);
}

.button__text {
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

.button__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  position: absolute;
  right: 24px;
  transition: transform 0.3s ease;
  z-index: 2;
}

/* アイコンサイズの調整 */
.button--small .button__icon {
  width: 18px;
  height: 18px;
  right: 16px;
}

/* 色反転ボタン用の追加スタイル */
.button--reverse .button__icon-hover,
.button--expand .button__icon-hover {
  display: none;
}

/* サイズ拡張ボタン用のスタイル */
.button--expand {
  transition: width 0.3s ease;
}

/* アウトラインスタイル */
.button--outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  box-shadow: none;
  width: 224px; /* 1サイズのみ */
  height: 44px;
}

.button--outline .button__icon {
  width: 16px;
  height: 16px;
}

@media screen and (max-width: 768px) {
  .button--small {
    width: 100px;
    height: 25px;
    font-size: 12px;
    padding: 0 8px;
  }
  .button--small.case-item__sp-link {
    width: 128px;
    height: 32px;
    font-size: 14px;
    padding: 0 16px;
  }
  .button--nav {
    width: 256px;
    height: 44px;
  }
  .button--small .button__icon {
    width: 16px;
    height: 16px;
    right: 8px;
  }
  .button--small.case-item__sp-link .button__icon {
    width: 18px;
    height: 18px;
    right: 16px;
  }
}
/* ホバー効果はマウス操作が可能なデバイスでのみ有効 */
@media (hover: hover) and (pointer: fine) {
  /* すべてのボタンでホバー時にopacity:1を維持 */
  .button:hover {
    opacity: 1;
  }
  /* 色反転ボタンのホバー - プライマリー */
  .button--reverse:not(.button--secondary):hover {
    background-color: #fff;
    color: var(--color-primary);
  }
  /* 色反転ボタンのホバー - セカンダリー */
  .button--reverse.button--secondary:hover {
    background-color: #fff;
    color: var(--color-secondary);
  }
  .button--reverse:hover .button__icon-default,
  .button--expand:hover .button__icon-default {
    display: none;
  }
  .button--reverse:hover .button__icon-hover,
  .button--expand:hover .button__icon-hover {
    display: block;
  }
  /* サイズ拡張ボタンのホバー - デフォルトサイズ */
  .button--expand:hover {
    width: 240px; /* 元の幅176px + 追加の64px */
    background-color: var(--color-skyblue);
  }
  /* サイズ拡張ボタンのホバー - スモールサイズ */
  .button--small.button--expand:hover {
    width: 192px; /* 元の幅128px + 追加の64px */
  }
  /* サイズ拡張ボタンのホバー - ラージサイズ */
  .button--large.button--expand:hover {
    width: 384px; /* 元の幅320px + 追加の64px */
  }
  .button--outline:hover {
    background-color: var(--color-primary);
    color: #fff;
  }
  /* アウトラインスタイル */
  .button--outline.button--reverse:hover {
    background-color: var(--color-primary);
    color: #fff;
  }
  .button--outline.button--reverse:hover .button__icon {
    width: 16px;
    height: 16px;
  }
}
/* 既存のスタイルはそのまま */
.page-anchors {
  width: 100%;
  margin-top: 64px;
}

.page-anchors__pc {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.page-anchors__sp {
  display: none;
}

.page-anchors__item {
  width: 100%;
}

.page-anchors__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  background-color: #fff;
  border-radius: 8px;
  padding: 16px 8px;
  height: 100%;
  width: 100%;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1019607843);
  position: relative;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.page-anchors__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.5;
  font-weight: 700;
  height: 100%;
}

.page-anchors__icon {
  width: 10px;
  height: 10px;
  background-color: #000;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  transition: background-color 0.4s ease;
  margin-top: auto;
}

/* ドロップダウン表示用スタイル追加 */
.page-anchors.is-dropdown {
  position: relative;
}

@media screen and (max-width: 768px) {
  .page-anchors {
    margin-top: 24px;
  }
  .page-anchors__pc {
    display: none;
  }
  .page-anchors__sp {
    display: block;
  }
  /* カスタムセレクトのスタイル */
  .custom-select {
    position: relative;
    width: 100%;
    max-width: 280px;
    margin-inline: auto;
  }
  .custom-select__button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 8px 16px 8px 16px;
    background-color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1490196078);
  }
  .custom-select__arrow {
    width: 12px;
    height: 12px;
    background-color: #000;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    transition: transform 0.3s;
  }
  .custom-select.is-open .custom-select__arrow {
    transform: rotate(180deg);
  }
  .custom-select__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 100;
  }
  .custom-select.is-open .custom-select__dropdown {
    display: block;
  }
  .custom-select__list {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1490196078);
    overflow: hidden;
    padding: 16px;
    display: grid;
    gap: 16px;
  }
  .custom-select__item {
    line-height: 1.5;
  }
  .custom-select__link {
    display: block;
    font-weight: 700;
  }
}
@media (hover: hover) and (pointer: fine) {
  .page-anchors__link:hover {
    background-color: var(--color-skyblue);
    color: #fff;
    opacity: 1;
  }
  .page-anchors__link:hover .page-anchors__icon {
    background-color: #fff;
  }
}
/* 汎用的なコンテンツブロック */
.content-block {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.content-block__title {
  display: flex;
  flex-direction: column;
}

.content-block__title-en {
  font-size: clamp(45px, 4.2328042328vw, 64px);
  font-weight: 900;
  line-height: 1.3;
  color: var(--color-primary);
  font-family: var(--font-en);
}

.content-block__title-ja {
  font-size: 24px;
  font-weight: 700;
}

.content-block__body {
  margin-top: 48px;
}

.content-block__text-primary {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 700;
}

.content-block__text-secondary {
  margin-top: 16px;
}

.content-block__action {
  margin-top: 32px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  /* 汎用的なコンテンツブロック */
  .content-block__title-en {
    font-size: 48px;
  }
  .content-block__body {
    margin-top: 32px;
  }
  .content-block__text-secondary {
    font-size: 14px;
    line-height: 2;
  }
  .content-block__action {
    text-align: center;
  }
}
.casestudy-section {
  padding: 80px 0;
}

.page-content + .casestudy-section {
  padding-top: 40px;
}

.casestudy-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1490196078);
  padding: 62px 42px;
}

.casestudy-box__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
}

/* 左側: 業種アイコン */
.casestudy-box__industries {
  position: relative;
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* 上下の行 */
.casestudy-box__industries-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  position: relative;
}

.casestudy-box__industries-row:last-child {
  justify-content: center;
  gap: 55px;
}

.casestudy-box__industries-row:first-child .casestudy-box__industry {
  align-self: flex-end;
}

.casestudy-box__industries-row:last-child .casestudy-box__industry {
  align-self: flex-start;
}

.casestudy-box__industries-row:first-child
  .casestudy-box__industry:nth-of-type(2) {
  margin-bottom: 48px;
}

.casestudy-box__message-container {
  position: relative;
}

.casestudy-box__message {
  padding: 8px 24px;
  border: 1px solid var(--color-primary);
  border-radius: 8px;
  background-color: white;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}

.casestudy-box__message-text {
  font-size: 20px;
  line-height: 1.5;
  color: var(--color-primary);
  font-weight: 700;
}

/* 個別の業界アイコン */
.casestudy-box__industry {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: baseline;
}

/* 真ん中のアイコン調整 - パディングを使用 */
.casestudy-box__industry-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.casestudy-box__industry-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.casestudy-box__industry-label {
  background-color: var(--color-primary);
  display: block;
  color: #fff;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
  width: 100%;
  text-align: center;
  margin-top: -15px;
  position: relative;
  z-index: 1;
}

.casestudy-box__industries-row:last-child .casestudy-box__industry-label {
  width: 150px;
}

.casestudy-section--top.casestudy-section {
  padding: 40px 0 160px;
}

.casestudy-section--top .casestudy-box {
  box-shadow: none;
  border-radius: 0;
  padding: 0 42px;
  background-color: transparent;
}

@media screen and (max-width: 768px) {
  .casestudy-section {
    padding: 64px 0;
    background-color: #fff;
  }
  .page-content + .casestudy-section {
    padding-top: 64px;
  }
  .casestudy-box {
    padding: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .casestudy-box__content {
    width: 87.7%;
    flex-direction: column;
    align-items: flex-start;
    margin-inline: auto;
    gap: 0;
    max-width: 400px;
  }
  .casestudy-box__industries {
    width: 100%;
    gap: 18px;
    margin-top: 48px;
  }
  .casestudy-box__industries-row:last-child {
    gap: 35px;
  }
  .casestudy-box__industries-row:first-child
    .casestudy-box__industry:nth-of-type(2) {
    margin-bottom: 38px;
  }
  .casestudy-box__message {
    padding: 3px 22px;
    border-radius: 6px;
  }
  .casestudy-box__message-text {
    font-size: 14px;
    line-height: 1.75;
  }
  .casestudy-box__industry-image {
    width: 88px;
    height: 88px;
  }
  .casestudy-box__industry-label {
    padding: 3px 2px;
    margin-top: -11px;
    font-size: 11px;
  }
  .casestudy-box__industries-row:last-child .casestudy-box__industry-label {
    width: 105px;
    margin-top: -9px;
  }
  .casestudy-box__industries-row:last-child .casestudy-box__industry-label {
    width: 105px;
  }
  .casestudy-section--top.casestudy-section {
    padding: 72px 0 64px;
    background-color: transparent;
  }
  .casestudy-section--top .casestudy-box {
    padding: 0;
  }
  .casestudy-section--top .content-block__header {
    order: 2;
    margin-top: 32px;
  }
  .casestudy-section--top .casestudy-box__industries {
    order: 1;
    margin-top: 0;
  }
  .casestudy-section--top .content-block {
    order: 3;
  }
  .casestudy-section--top .content-block__action {
    text-align: left;
  }
}
.related {
  margin-top: 48px;
}

.related__title {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  color: var(--color-primary);
}

.related__list {
  margin-top: 44px;
}

.related-grid {
  display: grid;
  gap: 24px;
}

.related-grid--row2 {
  grid-template-columns: 1fr 1fr;
}

.related-grid--row3 {
  grid-template-columns: 1fr 1fr 1fr;
}

@media screen and (max-width: 768px) {
  .related {
    margin-top: 32px;
  }
  .related__title {
    font-size: 20px;
    line-height: 1.5;
  }
  .related__list {
    margin-top: 32px;
  }
  .related-grid {
    gap: 16px;
  }
  .related-grid--row2 {
    grid-template-columns: 1fr;
  }
  .related-grid--row3 {
    grid-template-columns: 1fr;
  }
}
/* WP-PageNavi カスタマイズ */
.pagination {
  margin-top: 48px;
}

.wp-pagenavi {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

/* ページ番号 */
.wp-pagenavi a,
.wp-pagenavi span.current,
.wp-pagenavi span.extend {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 700;
  line-height: 1.2;
  font-family: var(--font-en);
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
  margin: 0;
  padding: 0;
}

/* 通常のページ番号 */
.wp-pagenavi a.page {
  background-color: var(--color-primary);
  color: white;
}

/* 現在のページ */
.wp-pagenavi span.current {
  background-color: white;
  color: var(--color-primary);
}

/* 前へ・次へリンク */
.wp-pagenavi a.previouspostslink,
.wp-pagenavi a.nextpostslink {
  background-color: var(--color-primary);
  color: white;
  position: relative;
}

/* 前へ・次への矢印 */
.wp-pagenavi a.previouspostslink::before,
.wp-pagenavi a.nextpostslink::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-style: solid;
  border-width: 2px 0 0 2px;
  border-radius: 2px;
  border-color: white;
}

.wp-pagenavi a.previouspostslink::before {
  transform: rotate(-45deg) translate(2px, 1px);
}

.wp-pagenavi a.nextpostslink::before {
  transform: rotate(135deg) translate(1px, 2px);
}

/* 省略記号 */
.wp-pagenavi span.extend {
  font-weight: bold;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  line-height: 1;
  margin-bottom: 8px;
  width: -moz-fit-content;
  width: fit-content;
}

/* タブレット・スマートフォン向けスタイル */
@media screen and (max-width: 768px) {
  .pagination {
    margin-top: 32px;
  }
}
/* ホバー効果 - マウスデバイスのみに適用 */
@media (hover: hover) and (pointer: fine) {
  .wp-pagenavi a:hover {
    opacity: 1;
    background-color: var(--color-skyblue);
  }
}
.article-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 64px;
}

.article-list__item {
  border-radius: 8px;
  background-color: #fff;
  transition: background-color 0.3s ease;
}

.article-list__link {
  padding: 16px 16px 20px;
  width: 100%;
  height: 100%;
}

.article-list__image {
  aspect-ratio: 293/180;
  width: 100%;
  overflow: hidden;
}

.article-list__img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.article-list__content {
  padding-top: 16px;
}

.article-list__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
}

.article-list__category {
  border: 1px solid var(--color-primary);
  transition: border-color 0.3s ease, color 0.3s ease,
    background-color 0.3s ease;
  color: var(--color-primary);
  font-size: 12px;
  padding: 1px 16px;
}

.article-list__date {
  font-family: var(--font-en);
  font-size: 12px;
  transition: color 0.3s ease;
}

.article-list__title {
  margin-top: 16px;
  font-size: 18px;
  color: var(--color-primary);
  font-weight: 700;
  transition: color 0.3s ease;
}

/* 2行以上を三点リーダーで省略表示するスタイル */
.article-list__description {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.6;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media screen and (max-width: 768px) {
  .article-list {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
  }
  /* 2行以上を三点リーダーで省略表示するスタイル */
  .article-list__description {
    font-size: 14px;
  }
}
/* ホバー対応デバイス向けのスタイル */
@media (hover: hover) and (pointer: fine) {
  .article-list__item:hover {
    background-color: var(--color-skyblue);
  }
  .article-list__item:hover .article-list__link {
    opacity: 1;
  }
  .article-list__item:hover .article-list__category {
    border-color: #fff;
    color: #fff;
    background-color: var(--color-skyblue);
  }
  .article-list__item:hover .article-list__date,
  .article-list__item:hover .article-list__title,
  .article-list__item:hover .article-list__description {
    color: #fff;
  }
}
/* Writerボックス */
.writer-box {
  margin-top: 32px;
}

.writer-box__title {
  font-size: 32px;
  font-weight: 900;
  color: #e0ecff;
  font-family: var(--font-en);
  line-height: 1.5;
  margin-bottom: -14px;
  letter-spacing: 0.05em;
}

.writer-box__content {
  padding: 24px;
  border-radius: 16px;
  background-color: #e0ecff;
  display: flex;
  gap: 24px;
}

.writer-box__image-container {
  aspect-ratio: 240/145;
  overflow: hidden;
  border-radius: 8px;
  width: 37.5%;
}

.writer-box__image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.writer-box__info {
  flex: 1;
}

.writer-box__name {
  font-size: 20px;
  font-weight: 700;
}

.writer-box__position {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.72;
}

.writer-box__bio {
  font-size: 14px;
  line-height: 1.72;
  margin-top: 16px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  /* Writerボックス */
  .writer-box__content {
    padding: 16px;
    border-radius: 8px;
    gap: 16px;
    flex-direction: column;
  }
  .writer-box__image-container {
    border-radius: 4px;
    width: 100%;
  }
}
/* Rich Table of Contents カスタムスタイル */
#rtoc-mokuji-wrapper {
  display: none;
}

#rtoc-mokuji-widget-wrapper {
  border-radius: 16px;
  padding: 32px;
  margin: 48px 0;
  display: flex;
  gap: 80px;
}

/* タイトル設定 */
#rtoc-mokuji-title {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* リスト全体のスタイル */
.rtoc-mokuji {
  counter-reset: rtoc-counter;
  flex: 1;
  display: grid;
  gap: 8px;
}

.rtoc-item {
  position: relative;
  display: flex;
  align-items: center;
}

.rtoc-item a {
  position: relative;
  z-index: 1;
  font-weight: 700;
  padding-left: 40px;
  position: relative;
  width: 100%;
  transition: color 0.3s ease;
  padding-right: 40px;
  text-decoration: none !important;
}

.rtoc-item::before {
  content: "0" counter(rtoc-counter);
  counter-increment: rtoc-counter;
  position: absolute;
  left: 0;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
  width: 25px;
  font-family: var(--font-en);
  color: var(--color-primary) !important;
  transition: color 0.3s ease;
  z-index: 0;
}

/* 10以上の番号の場合は0を表示しない */
.rtoc-item:nth-child(n + 10)::before {
  content: counter(rtoc-counter);
}

/* ダウンロードアイコン */
.rtoc-item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-image: url("../img/icon__button-arrow-bottom--primary.svg");
  background-size: contain;
  background-repeat: no-repeat;
  transition: background-image 0.3s ease;
  transform-origin: center center;
  background-color: inherit !important;
  z-index: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  /* Rich Table of Contents カスタムスタイル */
  #rtoc-mokuji-widget-wrapper {
    padding: 16px;
    margin: 32px 0;
    gap: 16px;
    flex-direction: column;
  }
  /* タイトル設定 */
  /* リスト全体のスタイル */
  .rtoc-item {
    align-items: flex-start;
  }
  .rtoc-item a {
    padding-left: 24px;
    padding-right: 0;
  }
  .rtoc-item::before {
    font-size: 16px;
    width: 20px;
    top: 5px;
  }
  /* 10以上の番号の場合は0を表示しない */
  /* ダウンロードアイコン */
  .rtoc-item::after {
    content: none;
  }
}
@media (hover: hover) and (pointer: fine) {
  .rtoc-item:hover {
    color: var(--color-skyblue);
  }
  .rtoc-item:hover::before {
    color: var(--color-skyblue) !important;
  }
  .rtoc-item:hover::after {
    background-image: url("../img/icon__button-arrow--border-skyblue.svg");
  }
  .rtoc-item:hover a {
    color: var(--color-skyblue) !important;
  }
  .rtoc-item a:hover {
    opacity: 1;
  }
}
/* Hero section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  padding-top: 20px;
}

.hero__container {
  position: relative;
  width: 85.5%;
  height: calc(100% - 120px);
  margin-top: 120px;
  margin-inline: auto;
}

/* Main content */
.hero__content {
  position: relative;
  width: 50%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-bottom: clamp(24px, 3.1746031746vw, 56px);
}

.hero__title {
  font-size: clamp(74px, 9.7222222222vw, 170px);
  line-height: 1;
  font-weight: 900;
  font-family: var(--font-en);
  color: var(--color-primary);
  margin-top: auto;
  text-shadow: 1px 0px 0px #ffffff, -1px 0px 0px #ffffff, 0px 1px 0px #ffffff,
    0px -1px 0px #ffffff, 0px 0px 20px #ffffff;
}

.hero__title-inner {
  display: inline-block;
}

.hero__description {
  font-size: clamp(12px, 1.5873015873vw, 28px);
  line-height: 1.66;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: clamp(12px, 1.5873015873vw, 28px);
}

/* Images container */
.hero__image-container {
  position: absolute;
  width: 53%;
  z-index: 5;
  top: 0%;
  bottom: 0;
  right: 0;
}

.hero__image {
  position: absolute;
}

.hero__main-image {
  width: 51.6788321168%;
  aspect-ratio: 354/589;
  top: 0;
  right: 23%;
}

.hero__secondary-image {
  width: 24.2335766423%;
  aspect-ratio: 166/265;
  top: 12%;
  right: 68%;
}

.hero__third-image {
  width: 29.0510948905%;
  aspect-ratio: 199/408;
  top: 38%;
  right: 10px;
}

.hero__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  vertical-align: bottom;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1490196078);
}

.hero__image-conainer-sub {
  position: absolute;
  width: 45%;
  z-index: 5;
  top: 0%;
  bottom: 0;
  left: -6%;
}

.hero__image-conainer-sub .hero__img {
  border-radius: 8px;
}

.hero__four-image {
  width: 17.8102189781%;
  top: 25%;
  left: 0;
}

.hero__five-image {
  width: 19.5620437956%;
  top: 7%;
  left: 51%;
}

.hero__six-image {
  width: 12.700729927%;
  top: -8%;
  left: 83%;
}

/* Background parallax images */
.hero__bg-image {
  position: absolute;
  box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.1490196078);
  mix-blend-mode: overlay;
  border-radius: 16px;
  background-size: cover;
}

.hero__bg-image--left {
  width: 21.2%;
  aspect-ratio: 321/513;
  left: 6.4%;
  top: 11%;
  background-image: url("../../assets/img/hero-bg__1.jpg");
}

.hero__bg-image--right {
  width: 14.5%;
  aspect-ratio: 219/349;
  left: 31%;
  bottom: 16%;
  background-image: url("../../assets/img/hero-bg__2.jpg");
}

.hero__bg-image--topright {
  width: 14%;
  aspect-ratio: 183/291;
  left: 37%;
  top: 5%;
  background-image: url("../../assets/img/hero-bg__3.jpg");
}

.hero__bg-image--bottomright {
  width: 16%;
  aspect-ratio: 210/334;
  bottom: 2%;
  left: 50%;
  background-image: url("../../assets/img/hero-bg__4.jpg");
}

.grid-anime {
  position: absolute;
  bottom: clamp(118px, 15.3439153439vw, 322px);
  left: clamp(348px, 45.3042328042vw, 792px);
  width: 56px;
  height: 84px;
  display: grid;
  grid-template-columns: repeat(2, 28px);
  grid-template-rows: repeat(3, 28px);
}

.grid-anime__box {
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--color-primary);
  opacity: 0;
}

/* 各ボックスの位置 */
.grid-anime__box-1-1 {
  grid-column: 1;
  grid-row: 1;
}

.grid-anime__box-1-2 {
  grid-column: 2;
  grid-row: 1;
}

.grid-anime__box-2-1 {
  grid-column: 1;
  grid-row: 2;
}

.grid-anime__box-2-2 {
  grid-column: 2;
  grid-row: 2;
}

.grid-anime__box-3-1 {
  grid-column: 1;
  grid-row: 3;
}

.grid-anime__box-3-2 {
  grid-column: 2;
  grid-row: 3;
}

.hero-deco {
  position: absolute;
  right: -2%;
  top: 0;
  z-index: 7;
}

.grid-anime__line {
  position: absolute;
  top: -40px;
  right: -20px;
  width: 3px;
  height: 199px;
  background-color: #ed6a6a;
}

.hero-deco__shape {
  position: absolute;
}

.hero-deco__circle {
  width: 28px;
  height: 28px;
  background-color: #ed6a6a;
  top: 0;
  right: 0;
}

.hero-deco__box {
  width: 33px;
  height: 199px;
  border-radius: 50px;
  background-color: var(--color-primary);
  right: clamp(15px, 1.9841269841vw, 35px);
  top: clamp(15px, 1.9841269841vw, 35px);
}

.hero-deco__line {
  width: 3px;
  height: 199px;
  background-color: var(--color-primary);
  right: clamp(7px, 0.9259259259vw, 16px);
  top: clamp(137px, 17.8571428571vw, 312px);
}

/* Support Section */
.support-section {
  width: 100%;
  padding: 120px 0;
}

.support-section__image {
  width: 433px;
  max-width: 100%;
  margin-inline: auto;
}

.support-section__heading {
  margin-top: 64px;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
}

.support-section__content {
  position: relative;
}

.support-section__text {
  width: 64%;
  max-width: 578px;
  margin-inline: auto;
  margin-top: 32px;
  text-align: justify;
}

/* マーキーテキスト（無限スクロールテキスト） */ /* マーキーテキスト（無限スクロールテキスト） */
.marquee {
  position: absolute;
  top: 0;
  display: flex;
  padding-inline: 0;
  margin-inline: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  line-height: 1.3;
  z-index: -1;
}

.marquee__item {
  white-space: nowrap;
  animation: marquee-left 19s linear infinite;
  text-transform: uppercase;
  color: #fff;
  font-family: var(--font-en);
  font-size: 145px;
  font-weight: 900;
  padding-right: 100px;
  opacity: 0.5;
}

@keyframes marquee-left {
  100% {
    transform: translateX(-100%);
  }
}
@media screen and (max-width: 768px) {
  /* Hero section */
  .hero {
    min-height: auto;
    height: auto;
    padding-top: 0;
  }
  .hero__container {
    width: 87.7%;
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    margin-top: 0;
  }
  /* Main content */
  .hero__content {
    width: 100%;
    order: 3;
    padding-bottom: 24px;
  }
  .hero__title {
    font-size: 60px;
  }
  .hero__description {
    margin-top: 16px;
    font-size: 18px;
    line-height: 1.75;
  }
  /* Images container */
  .hero__image-container {
    position: relative;
    width: 100%;
    order: 2;
    aspect-ratio: 342/415;
    inset: 0;
    max-width: 350px;
    margin-inline: auto;
  }
  .hero__main-image {
    width: 200px;
    top: 10%;
    right: 50%;
    transform: translateX(50%);
  }
  .hero__secondary-image {
    width: 94px;
    right: inherit;
    left: 0;
    top: 11%;
  }
  .hero__third-image {
    width: 112px;
    right: 0;
    bottom: 0;
    top: auto;
  }
  .hero__four-image {
    display: none;
  }
  .hero__five-image {
    display: none;
  }
  .hero__six-image {
    display: none;
  }
  .hero__img {
    box-shadow: 0px 0px 17px 0px rgba(0, 0, 0, 0.1490196078);
  }
  /* Background parallax images */
  .hero__bg-image {
    box-shadow: 0px 0px 17.44px 0px rgba(0, 0, 0, 0.1490196078);
  }
  .hero__bg-image--left {
    width: 140px;
    top: auto;
    bottom: 12%;
    left: 12%;
  }
  .hero__bg-image--right {
    width: 95px;
    left: auto;
    right: 13%;
    bottom: 10%;
  }
  .hero__bg-image--topright {
    display: none;
    background-image: none;
  }
  .hero__bg-image--bottomright {
    display: none;
    background-image: none;
  }
  .grid-anime {
    width: 28px;
    height: 42px;
    grid-template-columns: repeat(2, 14px);
    grid-template-rows: repeat(3, 14px);
    left: 28px;
    top: -128px;
  }
  .grid-anime__box {
    width: 14px;
    height: 14px;
  }
  /* 各ボックスの位置 */
  .hero-deco {
    order: 1;
  }
  .grid-anime__line {
    height: 100px;
  }
  .hero-deco__circle {
    width: 14px;
    height: 14px;
    right: 28px;
  }
  .hero-deco__box {
    height: 92px;
    width: 16px;
    right: 42px;
    top: 20px;
  }
  .hero-deco__line {
    height: 100px;
    width: 2px;
    right: 35px;
    top: 130px;
  }
  /* Support Section */
  .support-section {
    padding: 96px 0;
  }
  .support-section__image {
    width: 83%;
  }
  .support-section__heading {
    margin-top: 32px;
    font-size: 18px;
  }
  .support-section__text {
    margin-top: 16px;
    font-size: 14px;
    line-height: 2;
    width: 100%;
  }
  /* マーキーテキスト（無限スクロールテキスト） */ /* マーキーテキスト（無限スクロールテキスト） */
}
.solution-service__lead {
  color: var(--color-primary);
  font-size: 28px;
  line-height: 1.5;
  font-weight: 700;
  text-align: center;
  margin-top: 57px;
}

.solution-services {
  display: grid;
  gap: 165px;
  margin-top: 154px;
}

.solution-service {
  position: relative;
  width: 100%;
}

.solution-service__container {
  position: relative;
  display: flex;
}

/* サイドラベル */
.solution-service__label {
  position: absolute;
  top: -8px;
  left: -8px;
  background-color: var(--color-primary);
  color: #fff;
  writing-mode: vertical-rl;
  text-orientation: upright;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 16px;
  line-height: 1.11;
}

.solution-service__label-text {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 2px;
}

/* コンテンツエリア */
.solution-service__content {
  flex: 1;
  border-radius: 16px;
  padding: clamp(24px, 3.1746031746vw, 48px) clamp(67px, 8.8624338624vw, 134px);
  background: rgba(255, 255, 255, 0.5019607843);
}

@media screen and (max-width: 1025px) {
  .solution-service__content {
    flex: 1;
    border-radius: 16px;
    padding: clamp(24px, 3.2195121951vw, 33px) clamp(20px, 2.9268292683vw, 30px)
      clamp(24px, 3.2195121951vw, 33px) clamp(45px, 5.8536585366vw, 60px);
    background: rgba(255, 255, 255, 0.5019607843);
  }
}
/* ヘッダーの基本スタイル */
.solution-service__header {
  position: absolute;
  width: 100%;
  z-index: -1;
  left: 0;
  right: 0;
  top: -165px;
  height: 165px;
}

.solution-service__image {
  position: absolute;
}

.solution-service__img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

/* 吹き出し */
/* 共通のベーススタイル */
.solution-service__bubble {
  position: absolute;
  background-color: var(--color-bluegreen);
  color: #fff;
  padding: 8px 24px;
  border-radius: 100px;
  bottom: 32px;
  align-self: end;
}

.solution-service__bubble-text {
  font-weight: 700;
  font-size: clamp(20px, 1.5873015873vw, 24px);
}

/* 左向き吹き出し */
.solution-service__bubble--left::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -14px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 30px solid var(--color-bluegreen);
}

/* 右向き吹き出し */
.solution-service__bubble--right::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 30px solid var(--color-bluegreen);
}

/* 1. 業務請負向けモディファイア - 左揃え、左画像、右吹き出し */
.solution-service--gyomu {
  z-index: 0;
}

.solution-service--gyomu .solution-service__bubble {
  left: clamp(174px, 23.0158730159vw, 348px);
}

.solution-service--gyomu .solution-service__image {
  bottom: 0;
  width: clamp(186px, 24.6031746032vw, 372px);
  height: clamp(91px, 12.037037037vw, 182px);
}

/* 2. 人財手配向けモディファイア - 右揃え、右画像、左吹き出し */
.solution-service--jinzai {
  z-index: 1;
}

.solution-service--jinzai .solution-service__bubble {
  right: clamp(73px, 9.6560846561vw, 146px);
}

.solution-service--jinzai .solution-service__image {
  bottom: calc(clamp(90px, 11.9047619048vw, 180px) * -1);
  right: calc(clamp(24px, 3.1746031746vw, 48px) * -1);
  width: clamp(108px, 14.2857142857vw, 216px);
  height: clamp(193px, 25.5291005291vw, 386px);
}

/* 3. 物流IT設計・ロボット手配向けモディファイア - 左揃え、左画像、右吹き出し */
.solution-service--it-robot {
  z-index: 2;
}

.solution-service--it-robot .solution-service__bubble {
  left: clamp(95px, 12.5661375661vw, 190px);
}

.solution-service--it-robot .solution-service__image {
  bottom: calc(clamp(41px, 5.4232804233vw, 82px) * -1);
  left: calc(clamp(4px, 0.5291005291vw, 8px) * -1);
  width: clamp(121px, 16.0052910053vw, 242px);
  height: clamp(133px, 17.5925925926vw, 266px);
}

/* 4. 機材・設備の製造・手配向けモディファイア - 右揃え、右画像、左吹き出し */
.solution-service--kizai {
  z-index: 3;
}

.solution-service--kizai .solution-service__bubble {
  right: clamp(115px, 15.1455026455vw, 229px);
}

.solution-service--kizai .solution-service__image {
  width: clamp(147px, 19.3783068783vw, 293px);
  height: clamp(204px, 26.9841269841vw, 408px);
  right: calc(clamp(24px, 3.1746031746vw, 48px) * -1);
  bottom: calc(clamp(91px, 11.9708994709vw, 181px) * -1);
}

/* 5. 3PL（倉庫手配）向けモディファイア - 左揃え、左画像、右吹き出し */
.solution-service--3pl-warehouse {
  z-index: 4;
}

.solution-service--3pl-warehouse .solution-service__bubble {
  left: clamp(96px, 12.6322751323vw, 191px);
}

.solution-service--3pl-warehouse .solution-service__image {
  width: clamp(124px, 16.4021164021vw, 248px);
  height: clamp(139px, 18.3862433862vw, 278px);
  left: calc(clamp(24px, 3.1746031746vw, 48px) * -1);
  bottom: calc(clamp(41px, 5.4232804233vw, 82px) * -1);
}

/* 6. 3PL（輸配送手配）向けモディファイア - 右揃え、右画像、左吹き出し */
.solution-service--3pl-logistics {
  z-index: 5;
}

.solution-service--3pl-logistics .solution-service__bubble {
  right: clamp(112px, 14.8148148148vw, 224px);
}

.solution-service--3pl-logistics .solution-service__image {
  width: clamp(147px, 19.3783068783vw, 293px);
  height: clamp(204px, 26.9841269841vw, 408px);
  right: calc(clamp(24px, 3.1746031746vw, 48px) * -1);
  bottom: calc(clamp(90px, 11.9047619048vw, 180px) * -1);
}

/* カードエリア */
.solution-service__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 14px;
}

.solution-service__card {
  position: relative;
  background-color: #fff;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}

.solution-service__pc-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  text-indent: -9999px;
  display: flex;
  flex-direction: column;
}

.solution-service__card-img {
  width: 100%;
  aspect-ratio: 244/168;
  overflow: hidden;
  background-color: #c4c4c4;
  border-radius: 8px 8px 0 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-service__card-img img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.solution-service__card-content {
  padding: 3px 16px 24px;
  border-radius: 0 0 8px 8px;
  transition: background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1;
}

.solution-service__card-title {
  font-weight: 700;
  min-height: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: color 0.3s ease;
}

.solution-service__card-title-inner {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.solution-service__card-text {
  font-size: 15px;
  line-height: 1.6;
  min-height: 120px;
  transition: color 0.3s ease;
  margin-top: 8px;
}

.solution-service__card-text-inner {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.solution-service__button-wrapper {
  text-align: center;
  margin-top: auto;
}

@media screen and (min-width: 769px) {
  .solution-service__sp-link {
    pointer-events: none;
    cursor: default;
  }
}
@media screen and (max-width: 768px) {
  .solution-service__lead {
    font-size: 20px;
    margin-top: 32px;
  }
  .solution-services {
    gap: 156px;
    margin-top: 150px;
  }
  /* サイドラベル */
  .solution-service__label {
    writing-mode: horizontal-tb;
    padding: 8px 16px;
    line-height: 1.25;
  }
  .solution-service__label-text {
    font-size: 16px;
    letter-spacing: 0;
  }
  /* コンテンツエリア */
  .solution-service__content {
    padding: 40px 16px 16px;
  }
  /* ヘッダーの基本スタイル */
  .solution-service__header {
    height: 156px;
    top: -156px;
  }
  /* 吹き出し */
  .solution-service__bubble {
    padding: 8px 24px;
    bottom: 24px;
    border-radius: 30px;
    width: 200px;
  }
  .solution-service__bubble-text {
    font-size: 16px;
  } /* 左向き吹き出し */
  /* 右向き吹き出し */
  /* 1. 業務請負向けモディファイア - 左揃え、左画像、右吹き出し */
  .solution-service--gyomu .solution-service__bubble {
    right: 0;
    left: auto;
  }
  .solution-service--gyomu .solution-service__image {
    width: 195px;
    height: 135px;
    left: -4.1%;
  }
  /* 2. 人財手配向けモディファイア - 右揃え、右画像、左吹き出し */
  .solution-service--jinzai .solution-service__bubble {
    left: 0;
    right: auto;
  }
  .solution-service--jinzai .solution-service__image {
    width: 167px;
    height: 145px;
    bottom: 0;
    right: 5px;
  }
  /* 3. 物流IT設計・ロボット手配向けモディファイア - 左揃え、左画像、右吹き出し */
  .solution-service--it-robot .solution-service__bubble {
    right: 0;
    left: auto;
  }
  .solution-service--it-robot .solution-service__image {
    width: 178px;
    height: 164px;
    bottom: -28px;
    left: -4px;
  }
  /* 4. 機材・設備の製造・手配向けモディファイア - 右揃え、右画像、左吹き出し */
  .solution-service--kizai .solution-service__bubble {
    left: 0;
    right: auto;
  }
  .solution-service--kizai .solution-service__image {
    width: 196px;
    height: 179px;
    right: -12px;
    bottom: -32px;
  }
  /* 5. 3PL（倉庫手配）向けモディファイア - 左揃え、左画像、右吹き出し */
  .solution-service--3pl-warehouse .solution-service__bubble {
    right: 0;
    left: auto;
  }
  .solution-service--3pl-warehouse .solution-service__image {
    width: 181px;
    height: 136px;
    left: 11px;
    bottom: 0;
  }
  /* 6. 3PL（輸配送手配）向けモディファイア - 右揃え、右画像、左吹き出し */
  .solution-service--3pl-logistics .solution-service__bubble {
    left: 0;
    right: auto;
  }
  .solution-service--3pl-logistics .solution-service__image {
    width: 125px;
    height: 146px;
    right: 11px;
    bottom: 0;
  }
  /* カードエリア */
  .solution-service__cards {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .solution-service__card {
    flex-direction: row;
  }
  .solution-service__pc-link {
    display: none;
  }
  /* スマホ表示時はボタンをリンクとして使用できるようにする */
  .solution-service__sp-link {
    position: relative;
    z-index: 2;
  }
  /* カード画像 */
  .solution-service__card-img {
    aspect-ratio: 118/168;
    width: 36.2%;
    border-radius: 8px 0 0 8px;
  }
  .solution-service__card-content {
    padding: 16px;
    flex: 1;
  }
  /* カードタイトル */
  .solution-service__card-title {
    font-size: 14px;
    min-height: auto;
  }
  /* カードテキスト */
  .solution-service__card-text {
    font-size: 12px;
    line-height: 1.75;
    min-height: auto;
    margin-top: 8px;
  }
  .solution-service__card-text-inner {
    -webkit-line-clamp: 3;
  }
  .solution-service__button-wrapper {
    text-align: left;
  }
  .casestudy-section .container {
    display: contents;
  }
}
/* ホバー対応デバイス（主にPC）向けのスタイル */
@media (hover: hover) and (pointer: fine) {
  /* コンテンツ部分の背景色変更 */
  .solution-service__card:hover .solution-service__card-content {
    background-color: var(--color-skyblue);
    transition: background-color 0.3s ease;
  }
  /* タイトルとテキストの色を白に */
  .solution-service__card:hover .solution-service__card-title,
  .solution-service__card:hover .solution-service__card-text {
    color: #fff;
    transition: color 0.3s ease;
  }
  /* ボタンスタイル変更 */
  .solution-service__card:hover .button {
    background-color: #fff;
    color: var(--color-skyblue);
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  /* ボタンアイコンの切り替え */
  .solution-service__card:hover .button__icon-default {
    display: none;
  }
  .solution-service__card:hover .button__icon-hover {
    display: block;
  }
}
/* Solution Post Styles */
.solution-post {
  margin-top: 112px;
}

.solution-post__label {
  display: inline-block;
  background-color: var(--color-bluegreen);
  color: #fff;
  padding: 8px 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.11;
}

.solution-post__title {
  font-size: 42px;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 16px;
}

.solution-post__thumbnail {
  margin-top: 32px;
  border-radius: 16px;
  overflow: hidden;
}

.solution-post__image {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
}

.solution-post__catch {
  margin-top: 32px;
  font-size: 24px;
  font-weight: 700;
}

.page-nav {
  display: flex;
  justify-content: center;
  margin-top: 64px;
}

.solution-post__content {
  margin-top: 32px;
  display: grid;
  gap: 16px;
}

.solution-post__content .wp-block-group .wp-block-group:not(:first-child) {
  margin-top: 48px;
}

.solution-post__content .wp-block-columns > .wp-block-columns {
  background-color: red;
}

.solution-post__content .wp-block-group.has-background {
  border-radius: 16px;
  padding: 32px;
}

.solution-post__content
  .wp-block-group.has-white-background-color.has-background {
  padding: 48px;
}

.solution-post__content :where(.is-layout-flex) {
  gap: 2em;
}

.solution-post__content .is-layout-flex .wp-block-columns {
  width: 50%;
}

.solution-post__content img {
  border-radius: 16px;
  -o-object-fit: cover;
  object-fit: cover;
}

.solution-post__content h2 {
  color: var(--color-primary);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.solution-post__content h3 {
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.solution-post__content h4 {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.solution-post__content .solution-box__catch {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 32px;
}

.solution-post__content .wp-block-columns .linkblock:not(:first-child) {
  margin-top: 12px;
}

@media screen and (max-width: 768px) {
  .solution-post {
    margin-top: 48px;
  }
  .solution-post__label {
    font-size: 16px;
    padding: 4px 16px;
    line-height: 1.25;
  }
  .solution-post__title {
    font-size: 24px;
  }
  .solution-post__thumbnail {
    margin-top: 16px;
    border-radius: 6px;
  }
  .solution-post__catch {
    font-size: 18px;
    margin-top: 16px;
  }
  .solution-post__content {
    margin-top: 32px;
  }
  .page-nav {
    margin-top: 32px;
  }
  /* グループ内にコラムが2つあったとき */
  .solution-post__content .wp-block-group .wp-block-group:not(:first-child) {
    margin-top: 16px;
  }
  .solution-post__content .wp-block-group.has-background {
    padding: 16px;
  }
  .solution-post__content
    .wp-block-group.has-white-background-color.has-background {
    padding: 16px;
  }
  .solution-post__content :where(.is-layout-flex) {
    flex-direction: column;
    gap: 1em;
  }
  .solution-post__content .is-layout-flex .wp-block-columns {
    width: 100%;
  }
  .solution-post__content h2 {
    font-size: 24px;
    margin-bottom: 8px;
  }
  .solution-post__content h3 {
    margin-bottom: 8px;
  }
  .solution-post__content .solution-box__catch {
    margin-bottom: 16px;
  }
}
/* ケーススタディ一覧のコンテナ */
.case-list {
  margin-top: 64px;
}

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

/* ケーススタディカード */
.case-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 16px;
  background-color: #fff;
  padding: 0 24px 24px;
  transition: background-color 0.3s ease;
}

.case-item__pc-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  text-indent: -9999px;
  border-radius: 16px; /* カードと同じ角丸 */
}

@media screen and (min-width: 769px) {
  .case-item__sp-link {
    pointer-events: none;
    cursor: default;
  }
}
.case-item__header {
  margin-top: -8px;
}

.case-item__number {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background-color: var(--color-primary);
  border-radius: 50%;
  color: #fff;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1490196078);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.case-item__label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.case-item__digit {
  font-size: 20px;
  font-family: var(--font-en);
  line-height: 1.2;
  margin-top: 4px;
  transition: color 0.3s ease;
  letter-spacing: 0.05em;
}

.case-item__title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  transition: color 0.3s ease;
}

.case-item__image {
  width: 100%;
  aspect-ratio: 452/202;
  overflow: hidden;
  background-color: #e0e0e0;
  border-radius: 8px;
  margin-top: 24px;
}

.case-item__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.case-item__description {
  margin-top: 24px;
  min-height: 64px;
  display: flex;
  align-items: center;
}

.case-item__text {
  text-align: center;
  font-weight: 700;
}

.case-item__action {
  margin-top: 24px;
}

.case-item__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #2374e1;
  color: white;
  padding: 8px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.case-item__button-text {
  margin-right: 8px;
}

.case-item__button-icon {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-top: 2px solid white;
  border-right: 2px solid white;
  transform: rotate(45deg);
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  /* ケーススタディ一覧のコンテナ */
  .case-list {
    margin-top: 40px;
  }
  .case-list__container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  /* ケーススタディカード */
  .case-item {
    padding: 0 16px 24px;
  }
  .case-item__pc-link {
    display: none;
  }
  /* スマホ表示時はボタンをリンクとして使用できるようにする */
  .case-item__sp-link {
    position: relative;
    z-index: 2;
  }
  .case-item__title {
    margin-top: 14px;
    font-size: 18px;
    min-height: auto;
  }
  .case-item__image {
    margin-top: 16px;
  }
  .case-item__description {
    min-height: auto;
    margin-top: 16px;
  }
  .case-item__action {
    margin-top: 16px;
  }
}
/* ホバー対応デバイス向けのスタイル */
@media (hover: hover) and (pointer: fine) {
  /* カードホバー時のエフェクト */
  .case-item:hover {
    background-color: var(--color-skyblue);
  }
  /* ナンバー表示のスタイル変更 */
  .case-item:hover .case-item__number {
    background-color: #fff;
    color: var(--color-skyblue);
  }
  /* タイトルと説明テキストを白色に */
  .case-item:hover .case-item__title,
  .case-item:hover .case-item__text {
    color: #fff;
  }
  /* ボタンのホバーエフェクト */
  .case-item:hover .button {
    color: #fff;
    background-color: var(--color-skyblue);
    border-color: #fff;
  }
  /* ボタンアイコンの切り替え */
  .case-item:hover .button__icon-default {
    display: none;
  }
  .case-item:hover .button__icon-hover {
    display: block;
  }
}
.case-post {
  margin-top: 112px;
}

.case-post__header {
  display: flex;
  background-color: #fff;
  border-radius: 16px;
}

.case-post__number {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background-color: var(--color-primary);
  border-radius: 50%;
  color: #fff;
}

.case-post__label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.case-post__digit {
  font-size: 20px;
  font-family: var(--font-en);
  line-height: 1.2;
  margin-top: 4px;
}

.case-post__title {
  font-size: 32px;
  color: var(--color-primary);
  font-weight: 700;
  margin-left: 16px;
  padding: 4px 0;
  flex: 1;
}

.case-post__content {
  margin-top: 32px;
  border-radius: 16px;
  background-color: #fff;
  padding: 48px;
}

.case-post__thumbnail {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 929/415;
}

.case-post__image {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.case-post__container {
  width: 74.15%;
  margin-inline: auto;
  margin-top: clamp(24px, 3.1746031746vw, 48px);
}

/* 画面幅に応じて段階的に調整 */
@media screen and (max-width: 1400px) {
  .case-post__container {
    width: 80%; /* 74.15%から80%へ増加 */
  }
}
@media screen and (max-width: 1200px) {
  .case-post__container {
    width: 85%; /* さらに85%へ増加 */
  }
}
@media screen and (max-width: 992px) {
  .case-post__container {
    width: 95%; /* 小さい画面では95%へ */
  }
}
.case-post__catch {
  color: var(--color-primary);
  font-size: 28px;
  font-weight: 700;
}

.case-post__category {
  background-color: var(--color-primary);
  font-size: 14px;
  border-radius: 8px;
  padding: 4px 32px;
  margin-top: 24px;
  display: inline-block;
  color: #fff;
}

@media screen and (max-width: 768px) {
  .case-post {
    margin-top: 48px;
  }
  .case-post__header {
    padding: 8px 16px 8px 0;
    border-radius: 8px;
    align-items: center;
  }
  .case-post__title {
    font-size: 20px;
    margin-left: 8px;
    padding: 0;
  }
  .case-post__content {
    margin-top: 16px;
    padding: 16px;
  }
  .case-post__container {
    width: 100%;
    margin-top: 24px;
  }
  .case-post__catch {
    font-size: 24px;
  }
}
.pickup-post {
  margin-top: 112px;
}

.pickup-post__label {
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 14px;
  padding: 1px 16px;
  display: inline-block;
}

.pickup-post__title {
  font-size: 42px;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 8px;
}

.pickup-post__content {
  background-color: #fff;
  border-radius: 16px;
  padding: 48px;
}

.pickup-post__thumbnail {
  margin-top: 48px;
}

.pickup-post__image {
  border-radius: 8px;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.pickup-post__container {
  width: 74.15%;
  margin-inline: auto;
  margin-top: clamp(24px, 3.1746031746vw, 48px);
}

/* 画面幅に応じて段階的に調整 */
@media screen and (max-width: 1400px) {
  .pickup-post__container {
    width: 80%; /* 74.15%から80%へ増加 */
  }
}
@media screen and (max-width: 1200px) {
  .pickup-post__container {
    width: 85%; /* さらに85%へ増加 */
  }
}
@media screen and (max-width: 992px) {
  .pickup-post__container {
    width: 95%; /* 小さい画面では95%へ */
  }
}
.single-pickup .article-content img {
  width: 100%;
}

@media screen and (max-width: 768px) {
  .pickup-post {
    margin-top: 48px;
  }
  .pickup-post__title {
    font-size: 24px;
  }
  .pickup-post__content {
    padding: 16px;
  }
  .pickup-post__thumbnail {
    margin-top: 24px;
  }
  .pickup-post__container {
    width: 100%;
    margin-top: 16px;
  }
}
.map-section {
  margin-top: -78px;
  max-width: 937px;
  margin-inline: auto;
  width: 100%;
}

.klos-offices {
  width: 100%;
  display: grid;
  gap: 48px;
  margin-top: 80px;
}

/* エリアタイトル */
.klos-offices__area-title {
  color: var(--color-primary);
  font-size: 24px;
  font-weight: 700;
}

/* 愛知県エリア全体 */
.klos-offices__aichi-area {
  grid-column: span 3;
}

/* 愛知県内の3分割グリッド */
.klos-offices__aichi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

/* メイングリッドレイアウト */
.klos-offices__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 16px;
}

/* 愛知県グリッドアイテム用スタイル */
/* サブグリッドスタイル（静岡・岐阜・三重用など） */
.klos-offices__sub-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* サブエリアタイトル */
.klos-offices__sub-area {
  font-weight: 700;
  color: var(--color-primary);
  line-height: 2;
  margin-bottom: 8px;
  padding: 0 16px;
}

/* 県名ヘッダー */
.prefecture-header {
  background-color: var(--color-primary);
  color: #fff;
  font-weight: 700;
  text-align: center;
  font-size: 18px;
  line-height: 1.55;
  padding: 8px 10px;
  border-radius: 50px;
  margin-bottom: 16px;
}

/* 愛知県の3グリッド分のヘッダー */
.prefecture-header--wide {
  grid-column: 1 / span 3;
}

/* 事業所リスト */
.office-list {
  padding: 0 16px;
}

.office-list.col-1 {
  display: block;
}

.office-item {
  line-height: 2;
}

@media screen and (max-width: 768px) {
  .map-section {
    margin-top: 16px;
  }
  .klos-offices {
    margin-top: 24px;
    gap: 24px;
  }
  /* エリアタイトル */
  .klos-offices__area-title {
    font-size: 20px;
  }
  /* 愛知県エリア全体 */
  /* 愛知県内の3分割グリッド */
  .klos-offices__aichi-grid {
    grid-template-columns: 1fr;
    gap: 16px 0;
  }
  /* メイングリッドレイアウト */
  .klos-offices__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 8px;
  }
  .klos-offices__grid-item {
    grid-column: span 2;
  }
  /* 愛知県グリッドアイテム用スタイル */
  /* サブグリッドスタイル（静岡・岐阜・三重用など） */
  .klos-offices__sub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 8px;
  }
  /* サブエリアタイトル */
  .klos-offices__sub-area {
    font-size: 14px;
  }
  /* 県名ヘッダー */
  .prefecture-header {
    font-size: 16px;
    padding: 6px 10px;
  }
  /* 愛知県の3グリッド分のヘッダー */
  /* 事業所リスト */
  .klos-offices__grid-item--sp-2col {
    grid-column: span 1;
  }
  .klos-offices__grid-item--aichi .office-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0 32px;
  }
  .office-item {
    font-size: 14px;
  }
  .klos-offices__grid-item--aichi .office-item {
    width: calc(50% - 16px);
  }
}
.contact-form {
  display: grid;
  gap: 48px;
  margin-top: 16px;
}

.form-group {
  width: 100%;
  position: relative;
}

.form-group--flex {
  display: flex;
  align-items: flex-start;
}

.form-group__label-container {
  width: 21.67%;
}

.form-group__label-container--adjustment {
  margin-top: 8px;
}

.form-group__label {
  font-weight: 700;
}

.required {
  color: #f38fbb;
  display: inline-block;
  margin-left: 8px;
}

.form-group__input-container {
  flex: 1;
}

.form-group__input-container p,
.form-group__input-container p span {
  width: 100%;
  display: block;
}

/* Contact Form 7のスタイル調整 */
/* チェックボックスのスタイル調整 */
.form-group__input-container p span.wpcf7-checkbox {
  display: grid;
  grid-template-columns: 6.5fr 7.5fr;
  gap: 16px;
  width: 100%;
}

.wpcf7-list-item {
  margin: 0; /* Contact Form 7 のデフォルトマージンをリセット */
}

.wpcf7-list-item label {
  display: flex;
  align-items: center;
}

/* チェックボックスのカスタムスタイル */
.wpcf7-list-item input[type="checkbox"] {
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: none;
  background-color: white;
  position: relative;
  cursor: pointer;
}

.wpcf7-list-item input[type="checkbox"] + .wpcf7-list-item-label {
  margin-left: 8px;
  font-weight: 700;
}

.wpcf7-list-item input[type="checkbox"]:checked {
  background-color: white;
  border-color: #ccc;
}

.wpcf7-list-item input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 5px;
  width: 6px;
  height: 12px;
  border: solid var(--color-primary);
  border-width: 0 2px 2px 0;
  border-radius: 1px;
  transform: rotate(45deg);
}

/* 入力フィールドのスタイル */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  padding: 8px 16px;
  border-radius: 8px;
  background-color: #fff;
  transition: box-shadow 0.3s ease;
  border: 1px solid #d4e4ff;
}

.wpcf7-form textarea {
  height: 240px;
  resize: vertical;
  font-family: inherit;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
  outline: none;
  box-shadow: 0px 0px 10px 0px #3079f0;
}

/* フォームグループのスタイル */
.wpcf7 .form-group {
  width: 100%;
  position: relative;
}

.wpcf7 .form-group--flex {
  display: flex;
  align-items: flex-start;
}

/* 郵便番号入力関連 */
.wpcf7 .form-group__address {
  padding-left: 32px;
  display: grid;
  gap: 16px;
}

.wpcf7 .form-group__address p {
  display: grid;
  gap: 16px;
}

.wpcf7 .postal-code {
  display: flex;
  align-items: center;
  position: relative;
}

.wpcf7 .postal-symbol {
  position: absolute;
  left: -32px;
  top: 8px;
  font-weight: 700;
}

.wpcf7 .postal-code input {
  width: 180px;
}

/* 送信ボタンのスタイル */
.wpcf7 .submit-container {
  margin-inline: auto;
  width: 176px;
}

.submit-button-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  height: 64px;
  width: 100%;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 100px;
  font-weight: bold;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
}

.submit-button-wrapper p {
  width: 100%;
  height: 100%;
}

.submit-button {
  padding: 0 24px;
  width: 100%;
  height: 100%;
  text-align: left;
  border: none;
}

.submit-button-wrapper .button__icon {
  position: absolute;
  right: 24px;
  width: 24px;
  height: 24px;
  top: 50%;
  background-image: url("../../assets/img/icon__button-arrow--white.svg");
  transform: translateY(-50%);
  pointer-events: none;
}

.wpcf7-spinner {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}

/* メールアドレス関連のコンテナ */
.wpcf7 .email-container {
  display: grid;
  gap: 16px;
}

.wpcf7-spinner {
  position: absolute;
  bottom: 0;
}

/* エラーメッセージのスタイル */
.wpcf7-not-valid-tip {
  color: var(--color-secondary);
  font-size: 0.875em;
  margin-top: 4px;
}

div.wpcf7-validation-errors {
  border: 2px solid #f38fbb;
  background-color: rgba(243, 143, 187, 0.1);
  padding: 10px;
  border-radius: 8px;
  margin: 20px 0;
}

div.wpcf7-mail-sent-ok {
  border: 2px solid #398f14;
  background-color: rgba(57, 143, 20, 0.1);
  padding: 10px;
  border-radius: 8px;
  margin: 20px 0;
}

/* プレースホルダーのスタイル */
.wpcf7-form ::-moz-placeholder {
  color: #b4b4b4;
}
.wpcf7-form ::placeholder {
  color: #b4b4b4;
}

@media screen and (max-width: 768px) {
  .contact-form {
    gap: 24px;
  }
  .form-group--flex {
    flex-direction: column;
  }
  .form-group__label-container {
    width: 100%;
    margin-bottom: 8px;
  }
  .form-group__label-container--adjustment {
    margin-top: 0;
  }
  .form-group__input-container {
    width: 100%;
  }
  /* Contact Form 7のスタイル調整 */
  .form-group__input-container p span.wpcf7-checkbox {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .wpcf7 .form-group__address {
    padding-left: 0;
    gap: 8px;
  }
  .wpcf7 .form-group__address p {
    gap: 8px;
  }
  .wpcf7-form-control-wrap[data-name="postal-code"] {
    padding-left: 24px;
  }
  .wpcf7 .postal-symbol {
    left: 0;
  }
  .wpcf7 .submit-container {
    margin-top: 8px;
  }
}
@media (hover: hover) and (pointer: fine) {
  .submit-button-wrapper:hover {
    width: 240px;
  }
}
.klos-mainvisual {
  margin-top: 248px;
}

.klos-mainvisual__container {
  display: flex;
  justify-content: space-between;
}

.klos-mainvisual__image-left,
.klos-mainvisual__image-right {
  width: calc(50% - 400px);
  position: relative;
}

.klos-mainvisual__image-left img,
.klos-mainvisual__image-right img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1490196078);
}

.klos-mainvisual__image-left img {
  border-radius: 0 16px 16px 0;
}

.klos-mainvisual__image-right img {
  border-radius: 16px 0 0 16px;
}

.klos-mainvisual__content {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 800px;
}

.klos-mainvisual__subtitle {
  font-size: 24px;
  line-height: 1.667;
  font-weight: 700;
}

.klos-mainvisual__title {
  font-size: 120px;
  line-height: 1.3;
  font-family: var(--font-en);
  color: var(--color-primary);
  font-weight: 900;
  letter-spacing: 0.03em;
}

.klos-mainvisual__text-group {
  margin-top: 24px;
  max-width: 100%;
  width: 600px;
  margin-inline: auto;
}

.klos-mainvisual__catchphrase {
  font-size: 36px;
  font-weight: 700;
  width: 600px;
}

.klos-mainvisual__description {
  margin-top: 64px;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--color-primary);
  text-align: left;
  width: 580px;
  margin-inline: auto;
}

.klos-mainvisual__detail {
  margin-top: 16px;
  text-align: left;
  width: 580px;
  margin-inline: auto;
}

.klos-about {
  margin-top: 160px;
}

.klos-about__container {
  display: flex;
  gap: 64px;
}

.klos-about__image-area {
  width: 39.5%;
}

.klos-about__image {
  height: auto;
  border-radius: 16px;
  -o-object-fit: cover;
  object-fit: cover;
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1490196078);
}

.klos-about__content {
  flex: 1;
}

.klos-about__title {
  font-size: 28px;
  color: var(--color-primary);
  font-weight: 700;
}

.klos-about__texts {
  margin-top: 32px;
  display: grid;
  gap: 24px;
}

.klos-about__visitors {
  margin-top: 160px;
  text-align: center;
}

.klos-about__visitors-title {
  font-size: 28px;
  color: var(--color-primary);
  font-weight: 700;
}

.klos-about__gallery {
  margin-top: 48px;
}

.klos-about__gallery-container {
  width: 100%;
  max-width: 745px;
  margin: 0 auto;
}

.klos-about__gallery-image {
  height: auto;
}

/* KLoS-BASE アクセスセクション */
.klos-access {
  margin-top: 160px;
}

.klos-access__title {
  position: relative;
}

.klos-access__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
  bottom: 0;
  height: 2px;
  background-color: var(--color-primary);
}

.klos-access__title span {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background-color: var(--color-primary);
  padding: 4px 24px;
  border-radius: 8px 8px 0 0;
  margin-left: 1px;
}

.klos-access__map {
  width: 100%;
  height: 0;
  padding-bottom: 46.875%;
  position: relative;
  margin-top: 32px;
  background-color: #e0e0e0;
}

.klos-access__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.klos-access__info {
  margin-top: 24px;
}

/* KLoS-BASE 見学案内セクション */
.klos-tour {
  margin-top: 144px;
  padding-bottom: 160px;
}

.klos-tour__card {
  background-color: #fff;
  border-radius: 16px;
  padding: 48px;
}

.klos-tour__card-inner {
  display: flex;
  gap: 32px;
}

.klos-tour__image-area {
  width: 48.4%;
}

.klos-tour__image {
  height: auto;
  border-radius: 16px;
  -o-object-fit: cover;
  object-fit: cover;
}

.klos-tour__content {
  flex: 1;
}

.klos-tour__title {
  font-size: 48px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-en);
}

.klos-tour__title-small {
  font-size: 40px;
  line-height: 1;
  font-family: var(--font-ja__default);
  display: inline-block;
  margin-top: 8px;
}

.klos-tour__text {
  font-weight: 700;
  margin-top: 32px;
}

.klos-tour__link {
  color: var(--color-primary);
}

.klos-tour__banner {
  border: 2px solid var(--color-primary);
  text-align: center;
  padding: 16px;
  margin-top: 48px;
  border-radius: 8px;
  width: 624px;
  max-width: 100%;
  margin-inline: auto;
}

.klos-tour__banner-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.5;
}

/* 詳細案内セクション */
.klos-tour__more-info {
  margin-top: 160px;
  text-align: center;
}

.klos-tour__more-text {
  font-size: 24px;
  font-weight: 700;
}

.klos-tour__link-area {
  margin-top: 32px;
}

.klos-tour__more-link {
  display: inline-block;
  width: 500px;
  margin-inline: auto;
  max-width: 100%;
}

.klos-tour__link-image {
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 768px) {
  .klos-mainvisual {
    margin-top: 0;
  }
  .klos-mainvisual__container {
    flex-direction: column;
  }
  .klos-mainvisual__image-left,
  .klos-mainvisual__image-right {
    width: 100%;
  }
  .klos-mainvisual__image-left img,
  .klos-mainvisual__image-right img {
    aspect-ratio: 390/120;
    height: auto;
    border-radius: 0;
    box-shadow: 0px 0px 16.98px 0px rgba(0, 0, 0, 0.1490196078);
  }
  .klos-mainvisual__content {
    margin: 32px 0;
    width: 87.7%;
    margin-inline: auto;
  }
  .klos-mainvisual__subtitle {
    font-size: 18px;
    line-height: 1.55;
  }
  .klos-mainvisual__title {
    margin-top: 16px;
    font-size: 60px;
    line-height: 1;
  }
  .klos-mainvisual__text-group {
    margin-top: 32px;
  }
  .klos-mainvisual__catchphrase {
    font-size: 24px;
    width: 100%;
  }
  .klos-mainvisual__description {
    margin-top: 48px;
    width: 100%;
  }
  .klos-mainvisual__detail {
    width: 100%;
  }
  .klos-about {
    margin-top: 48px;
  }
  .klos-about__container {
    gap: 24px;
    flex-direction: column;
  }
  .klos-about__image-area {
    width: 100%;
  }
  .klos-about__image {
    border-radius: 8px;
  }
  .klos-about__title {
    font-size: 24px;
  }
  .klos-about__texts {
    margin-top: 16px;
  }
  .klos-about__visitors {
    margin-top: 48px;
  }
  .klos-about__visitors-title {
    font-size: 18px;
  }
  .klos-about__gallery {
    margin-top: 24px;
  }
  .klos-about__gallery-image {
    width: 92%;
    max-width: 400px;
  }
  /* KLoS-BASE アクセスセクション */
  .klos-access {
    margin-top: 48px;
  }
  .klos-access__map {
    padding-bottom: 117%;
    margin-top: 16px;
  }
  .klos-access__info {
    margin-top: 16px;
  }
  .klos-access__address {
    font-size: 14px;
  }
  /* KLoS-BASE 見学案内セクション */
  .klos-tour {
    margin-top: 48px;
    padding-bottom: 64px;
  }
  .klos-tour__card {
    padding: 16px;
  }
  .klos-tour__card-inner {
    gap: 24px;
    flex-direction: column;
  }
  .klos-tour__image-area {
    width: 100%;
  }
  .klos-tour__title {
    font-size: 36px;
    line-height: 1.3;
  }
  .klos-tour__title-small {
    font-size: 32px;
  }
  .klos-tour__text {
    margin-top: 6px;
    font-size: 14px;
  }
  .klos-tour__banner {
    margin-top: 9px;
    width: auto;
    text-align: left;
  }
  .klos-tour__banner-text {
    font-size: 16px;
    line-height: 1.75;
  }
  /* 詳細案内セクション */
  .klos-tour__more-info {
    margin-top: 48px;
  }
  .klos-tour__more-text {
    font-size: 18px;
  }
  .klos-tour__link-area {
    margin-top: 18px;
  }
}
.article-content > *,
.editor-styles-wrapper > * {
  clear: both;
  margin-bottom: 16px;
}
.article-content div > :first-child,
.article-content > :first-child,
.editor-styles-wrapper div > :first-child,
.editor-styles-wrapper > :first-child {
  margin-top: 0 !important;
}
.article-content dd > :last-child,
.article-content div > :last-child,
.article-content > :last-child,
.editor-styles-wrapper dd > :last-child,
.editor-styles-wrapper div > :last-child,
.editor-styles-wrapper > :last-child {
  margin-bottom: 0 !important;
}
.article-content h2,
.editor-styles-wrapper h2 {
  font-size: 20px;
  font-weight: 700;
}
.article-content h4,
.editor-styles-wrapper h4 {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.article-content .wp-block-group.has-background,
.editor-styles-wrapper .wp-block-group.has-background {
  border-radius: 16px;
  padding: 32px;
}
.article-content img,
.editor-styles-wrapper img {
  border-radius: 16px;
  width: revert-layer;
}
.article-content hr,
.editor-styles-wrapper hr {
  border-top: 2px dashed var(--color-primary);
  background-color: transparent;
  opacity: 1;
}
.article-content a,
.editor-styles-wrapper a {
  color: var(--color-primary);
  text-decoration: underline;
}

.article-content {
  margin-top: 48px;
}

@media screen and (max-width: 768px) {
  .article-content h2,
  .editor-styles-wrapper h2 {
    font-size: 18px;
  }
  .article-content .wp-block-group.has-background,
  .editor-styles-wrapper .wp-block-group.has-background {
    padding: 16px;
  }
  .article-content img,
  .editor-styles-wrapper img {
    border-radius: 8px;
  }
  .article-content hr,
  .editor-styles-wrapper hr {
    border-top-width: 1px;
  }
  .article-content {
    margin-top: 24px;
  }
} /*# sourceMappingURL=style.css.map */
