@charset "UTF-8";
/*=====================================
カラー
=====================================*/
:root {
  --cl-base: #EFEFEF;
  --cl-main: #00326D;
  --cl-primary: #dadfe9;
  --cl-accent: #FF9900;
  --cl-gray: #b5b5b5;
  --cl-gray-light: #F7f7F7;
  --cl-white: #FFFFFF;
  --cl-black: #000000;
  --cl-text-base: #333333;
}

/*=====================================
タイポグラフィ
=====================================*/
/*=====================================
コンテンツ幅
=====================================*/
:root {
  --header-height: 50px;
}

/*=====================================
Z-index
=====================================*/
/*=====================================
ブレイクポイント
=====================================*/
/*=====================================
メディアクエリ
=====================================*/
/*! destyle.css v4.0.1 | MIT License | https://github.com/nicolas-cusan/destyle.css */
/* Reset box-model and set borders */
/* ============================================ */
*,
::before,
::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border-style: solid;
  border-width: 0;
  min-width: 0;
}

/* Document */
/* ============================================ */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -webkit-tap-highlight-color: transparent; /* 3*/
}

/* Sections */
/* ============================================ */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */
p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
/* ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Lists (definition) */
/* ============================================ */
dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/* Grouping content */
/* ============================================ */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

address {
  font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Replaced content */
/* ============================================ */
/**
 * Prevent vertical alignment issues.
 */
svg,
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

/* Forms */
/* ============================================ */
/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */
button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none; /* 1 */
  -moz-appearance: none;
       appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit; /* 2 */
}

/**
 * Correct cursors for clickable elements.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  cursor: pointer;
}

button:disabled,
[type=button]:disabled,
[type=reset]:disabled,
[type=submit]:disabled {
  cursor: default;
}

/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */
:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

/**
 * Remove padding
 */
option {
  padding: 0;
}

/**
 * Reset to invisible
 */
fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * Correct the outline style in Safari.
 */
[type=search] {
  outline-offset: -2px; /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/**
 * Fix appearance for Firefox
 */
[type=number] {
  -moz-appearance: textfield;
}

/**
 * Clickable labels
 */
label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/*
 * Remove outline for editable content.
 */
[contenteditable]:focus {
  outline: auto;
}

/* Tables */
/* ============================================ */
/**
1. Correct table border color inheritance in all Chrome and Safari.
*/
table {
  border-color: inherit; /* 1 */
  border-collapse: collapse;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1;
  color: var(--cl-text-base);
}

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

.js-gsap-item {
  opacity: 0;
  visibility: hidden;
}

.js-gsap-item[data-gsap^=list] > * {
  opacity: 0;
  visibility: hidden;
}

.l-inner {
  width: min(100%, 1056px);
  margin-inline: auto;
  padding-inline: 16px;
}

.l-breadcrumb {
  padding-block: 12px;
  background-color: var(--cl-base);
}

.l-breadcrumb__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 4px;
  width: min(100%, 1056px);
  margin-inline: auto;
  padding-inline: 16px;
  font-size: 0.75rem;
  text-transform: uppercase;
}
@media ( width >= 768px ) {
  .l-breadcrumb__inner {
    gap: 8px;
    font-size: 0.875rem;
  }
}

.l-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  height: var(--header-height);
  background-color: var(--cl-white);
  -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
          box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
}
@media ( width >= 768px ) {
  .l-header {
    --header-height: 70px;
  }
}

.l-header__inner {
  display: grid;
  grid-template-columns: -webkit-max-content 50px;
  grid-template-columns: max-content 50px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: inherit;
  padding-left: 16px;
}
@media ( width >= 768px ) {
  .l-header__inner {
    grid-template-columns: -webkit-max-content auto;
    grid-template-columns: max-content auto;
  }
}

.l-footer {
  padding-top: 60px;
  padding-bottom: 24px;
  background-color: var(--cl-main);
  color: var(--cl-white);
}

.l-page-wrapper {
  overflow: hidden;
}

.l-main {
  margin-top: var(--header-height);
}
@media ( width >= 768px ) {
  .l-main {
    --header-height: 70px;
  }
}

.l-main.l-main--bg {
  background: url(../img/img_wave01.webp) no-repeat center center/cover fixed;
}

.c-logo__link {
  display: block;
  font-family: "Montserrat";
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.8;
}

/*=====================================
白文字
=====================================*/
.c-logo--light .c-logo__link {
  color: var(--cl-white);
}

.c-drawer-button {
  position: relative;
  width: 50px;
  height: 50px;
  aspect-ratio: 1;
  background-color: var(--cl-main);
}

.c-drawer-button__line {
  --duration: 0.3s;
  position: absolute;
  display: block;
  height: 1px;
  width: 50%;
  background-color: var(--cl-white);
  -webkit-transition: translate var(--duration) ease, rotate var(--duration) ease;
  transition: translate var(--duration) ease, rotate var(--duration) ease;
}
.c-drawer-button__line:nth-child(1) {
  translate: 50% -7px;
}
.c-drawer-button__line:nth-child(2) {
  translate: 50% 0;
}
.c-drawer-button__line:nth-child(3) {
  translate: 50% 7px;
}

/*=====================================
is-active
=====================================*/
.c-drawer-button[aria-expanded=true] .c-drawer-button__line:nth-child(1) {
  translate: 50% 0;
  rotate: -225deg;
}
.c-drawer-button[aria-expanded=true] .c-drawer-button__line:nth-child(2) {
  rotate: -225deg;
}
.c-drawer-button[aria-expanded=true] .c-drawer-button__line:nth-child(3) {
  translate: 50% 0;
  rotate: 225deg;
}

.c-button {
  display: inline-block;
  width: 100%;
}

.c-button__inner {
  --background-color: var(--cl-main);
  --border-color: var(--cl-main);
  --color: var(--cl-white);
  --duration: 0.3s;
  --easing: ease-out;
  display: inline-block;
  width: 100%;
  padding-block: 12px;
  padding-inline: 14px;
  background-color: var(--background-color);
  color: var(--color);
  border: 2px solid transparent;
  border-radius: 4px;
  font-weight: bold;
  font-size: clamp(1.125rem, 0.9821428571rem + 0.2976190476vw, 1.25rem);
  text-align: center;
  -webkit-transition: background-position var(--duration) var(--easing), background-color var(--duration) var(--easing), border-color var(--duration) var(--easing), color var(--duration) var(--easing);
  transition: background-position var(--duration) var(--easing), background-color var(--duration) var(--easing), border-color var(--duration) var(--easing), color var(--duration) var(--easing);
}
@media ( width >= 768px ) {
  .c-button__inner {
    padding-block: calc(clamp(0.875rem, 0.7321428571rem + 0.2976190476vw, 1rem) - 1px);
    padding-inline: calc(clamp(1rem, 0.4285714286rem + 1.1904761905vw, 1.5rem) - 1px);
  }
}
.c-button__inner {
  /*=====================================
  デフォルト:ホバーでフェード
  =====================================*/
}
@media (any-hover: hover) {
  .c-button__inner:hover {
    background-color: var(--color);
    border-color: var(--border-color);
    color: var(--background-color);
  }
}

/*=====================================
影付きボタン
=====================================*/
.c-button.c-button--shadow {
  -webkit-box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.5);
          box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.5);
}

/*=====================================
丸いボタン
=====================================*/
.c-button.c-button--rounded .c-button__inner {
  border-radius: calc(infinity * 1px);
}

/*=====================================
背景色アクセントカラー
=====================================*/
.c-button.c-button--color-accent .c-button__inner {
  --background-color: var(--cl-accent);
  --border-color: var(--cl-accent);
}

/*=====================================
色反転
=====================================*/
.c-button.c-button--color-rev .c-button__inner {
  border-color: currentColor;
  background-color: var(--color);
  color: var(--background-color);
}
@media (any-hover: hover) {
  .c-button.c-button--color-rev .c-button__inner:hover {
    background-color: var(--background-color);
    border-color: var(--background-color);
    color: var(--color);
  }
}

/*=====================================
ホバーで背景色スライド
=====================================*/
.c-button.c-button--bg-slide .c-button__inner {
  background-image: -webkit-gradient(linear, left top, right top, color-stop(50%, var(--cl-white)), color-stop(50%, var(--background-color)));
  background-image: linear-gradient(90deg, var(--cl-white) 50%, var(--background-color) 50%);
  background-size: 200% 100%;
  background-position: 100% 0%;
  border-color: var(--background-color);
}
@media (any-hover: hover) {
  .c-button.c-button--bg-slide .c-button__inner:hover {
    background-position: 0% 0%;
    color: var(--background-color);
  }
}

.c-submit-button {
  --background-color: var(--cl-main);
  --border-color: var(--cl-main);
  --color: var(--cl-white);
  --duration: 0.3s;
  --easing: ease-out;
  display: inline-block;
  width: 100%;
  padding-block: 12px;
  padding-inline: 14px;
  background-color: var(--background-color);
  color: var(--color);
  border: 2px solid transparent;
  border-radius: 4px;
  font-weight: bold;
  font-size: clamp(1.125rem, 0.9821428571rem + 0.2976190476vw, 1.25rem);
  text-align: center;
  -webkit-transition: background-position var(--duration) var(--easing), background-color var(--duration) var(--easing), border-color var(--duration) var(--easing), color var(--duration) var(--easing);
  transition: background-position var(--duration) var(--easing), background-color var(--duration) var(--easing), border-color var(--duration) var(--easing), color var(--duration) var(--easing);
}
@media ( width >= 768px ) {
  .c-submit-button {
    padding-block: calc(clamp(0.875rem, 0.7321428571rem + 0.2976190476vw, 1rem) - 1px);
    padding-inline: calc(clamp(1rem, 0.4285714286rem + 1.1904761905vw, 1.5rem) - 1px);
  }
}
.c-submit-button {
  /*=====================================
  デフォルト:ホバーでフェード
  =====================================*/
}
@media (any-hover: hover) {
  .c-submit-button:hover {
    background-color: var(--color);
    border-color: var(--border-color);
    color: var(--background-color);
  }
}

.c-section-heading {
  display: grid;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 4px;
  text-align: center;
}

.c-section-heading__en {
  color: var(--cl-primary);
  font-family: "Montserrat";
  font-size: clamp(3rem, 1.2857142857rem + 3.5714285714vw, 4.5rem);
  font-weight: bold;
  text-transform: uppercase;
  -webkit-filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
          filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
}

.c-section-heading__ja {
  font-size: clamp(1.375rem, 1.0892857143rem + 0.5952380952vw, 1.625rem);
  font-weight: bold;
}

.c-section-heading.c-section-heading--light {
  color: var(--cl-white);
}
.c-section-heading.c-section-heading--light .c-section-heading__en {
  -webkit-filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
          filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
}

.c-tag {
  --background-color: var(--cl-white);
  --color: var(--cl-main);
  display: inline-block;
  padding-block: calc(0.5em - 2px);
  padding-inline: calc(0.375em - 2px);
  background-color: var(--background-color);
  color: var(--color);
  border: 1.5px solid var(--color);
  border-radius: 4px;
  font-size: 0.875rem;
  line-height: 1.2;
}

a.c-tag {
  cursor: pointer;
  -webkit-transition: background-color 0.3s ease, color 0.3s ease;
  transition: background-color 0.3s ease, color 0.3s ease;
}
@media (any-hover: hover) {
  a.c-tag:hover {
    background-color: var(--color);
    color: var(--background-color);
  }
}

.c-icon {
  font-size: 2rem;
}

.c-icon--x-light {
  color: var(--cl-white);
}

.c-form-text {
  width: 100%;
  padding-block: 11px;
  padding-inline: 15px;
  background-color: var(--cl-gray-light);
  border: 1px solid var(--cl-primary);
  border-radius: 4px;
  line-height: 1.8;
}

.c-form-text::-webkit-input-placeholder {
  color: var(--cl-gray);
}

.c-form-text::-moz-placeholder {
  color: var(--cl-gray);
}

.c-form-text:-ms-input-placeholder {
  color: var(--cl-gray);
}

.c-form-text::-ms-input-placeholder {
  color: var(--cl-gray);
}

.c-form-text::placeholder {
  color: var(--cl-gray);
}

.c-form-text:focus {
  outline-color: rgba(0, 50, 109, 0.5);
  outline-offset: 3px;
  -webkit-box-shadow: 0 4px 8px 0 rgba(0, 50, 109, 0.25);
          box-shadow: 0 4px 8px 0 rgba(0, 50, 109, 0.25);
}

.c-form-textarea {
  width: 100%;
  min-height: 150px;
  padding-block: 11px;
  padding-inline: 15px;
  background-color: var(--cl-gray-light);
  border: 1px solid var(--cl-primary);
  border-radius: 4px;
  line-height: 1.8;
  resize: vertical;
}

.c-form-textarea::-webkit-input-placeholder {
  color: var(--cl-gray);
}

.c-form-textarea::-moz-placeholder {
  color: var(--cl-gray);
}

.c-form-textarea:-ms-input-placeholder {
  color: var(--cl-gray);
}

.c-form-textarea::-ms-input-placeholder {
  color: var(--cl-gray);
}

.c-form-textarea::placeholder {
  color: var(--cl-gray);
}

.c-form-textarea:focus {
  outline-color: rgba(0, 50, 109, 0.5);
  outline-offset: 3px;
  -webkit-box-shadow: 0 4px 8px 0 rgba(0, 50, 109, 0.25);
          box-shadow: 0 4px 8px 0 rgba(0, 50, 109, 0.25);
}

.c-recaptcha-text {
  color: #999999;
  font-size: 0.75rem;
  line-height: 1.5;
}
.c-recaptcha-text a {
  color: var(--cl-main);
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
@media (any-hover: hover) {
  .c-recaptcha-text a:hover {
    opacity: 0.7;
  }
}

.grecaptcha-badge {
  visibility: hidden;
}

.p-service-item {
  display: grid;
  gap: 16px;
  padding-block: 24px;
  padding-inline: 16px;
  background-color: var(--cl-white);
  border: 2px solid var(--cl-primary);
  border-radius: 16px;
  -webkit-box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.25);
          box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.25);
}
@media ( width >= 768px ) {
  .p-service-item {
    padding-inline: 20px;
  }
}

.p-service-item__header {
  display: grid;
  grid-template-columns: 40px auto;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-column-gap: 12px;
     -moz-column-gap: 12px;
          column-gap: 12px;
}

.p-service-item__icon {
  padding: 4px;
  aspect-ratio: 1;
  background-color: var(--cl-primary);
  border-radius: 8px;
}

.p-service-item__icon img {
  display: block;
}

.p-service-item__title {
  font-size: 1.25rem;
  font-weight: bold;
}

.p-service-item__description {
  line-height: 1.8;
}

.p-service-item__lists {
  line-height: 1.8;
}

.p-service-item__list {
  position: relative;
  padding-left: 1.5em;
}
.p-service-item__list::before {
  content: "";
  display: block;
  position: absolute;
  top: 0.5lh;
  left: 0.75em;
  width: 4px;
  height: 4px;
  background-color: var(--cl-text-base);
  border-radius: 9999px;
}

.p-works-item {
  display: grid;
  padding-inline: 1rem;
  padding-bottom: 24px;
  background-color: var(--cl-white);
  border-radius: 8px;
  -webkit-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.25);
          box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.25);
  overflow: hidden;
  -webkit-transition: scale 0.3s ease;
  transition: scale 0.3s ease;
}
@media ( width >= 768px ) {
  .p-works-item {
    padding-bottom: 20px;
  }
}
.p-works-item[data-href] {
  cursor: pointer;
}
@media (any-hover: hover) {
  .p-works-item:hover .p-works-item__image img {
    scale: 1.05;
  }
}

.p-works-item__title {
  -webkit-box-ordinal-group: 4;
      -ms-flex-order: 3;
          order: 3;
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: bold;
}
@media ( width >= 768px ) {
  .p-works-item__title {
    margin-top: 1.125rem;
    font-size: 1.5rem;
  }
}

.p-works-item__categories {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  margin-top: 1rem;
}

.p-works-item__image {
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
  aspect-ratio: 16/9;
  margin-inline: -1rem;
  background-color: var(--cl-primary);
  overflow: hidden;
}

.p-works-item__image img {
  display: block;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: scale 0.3s ease;
  transition: scale 0.3s ease;
}

.p-works-item__description {
  -webkit-box-ordinal-group: 5;
      -ms-flex-order: 4;
          order: 4;
  margin-top: 1rem;
  line-height: 1.8;
  display: -webkit-box; /* 必須 */
  -webkit-box-orient: vertical; /* 必須 */
  -webkit-line-clamp: 3; /* 行数を制限 */
  overflow: hidden; /* はみ出た部分を非表示 */
}

.p-works-item__button-wrapper {
  -webkit-box-ordinal-group: 6;
      -ms-flex-order: 5;
          order: 5;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  -webkit-column-gap: 8px;
     -moz-column-gap: 8px;
          column-gap: 8px;
  margin-top: 1rem;
}

.p-header__bg {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  height: calc(100% - var(--header-height));
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
@media ( width >= 768px ) {
  .p-header__bg {
    opacity: 0;
    visibility: hidden;
    display: none;
  }
}

.p-header:has(.p-header-nav[aria-hidden=false]) .p-header__bg {
  opacity: 1;
  visibility: visible;
}

@media ( width >= 768px ) {
  .p-header__drawer-button {
    display: none;
  }
}

.p-header-nav {
  --duration: 0.3s;
  --easing: ease-in-out;
  position: fixed;
  top: var(--header-height);
  right: 0;
  bottom: 0;
  translate: 100% 0;
  display: grid;
  -ms-flex-line-pack: start;
      align-content: start;
  row-gap: 36px;
  width: 300px;
  padding-top: 60px;
  background-color: var(--cl-main);
  color: var(--cl-white);
  opacity: 0;
  -webkit-transition: translate var(--duration) var(--easing), opacity var(--duration) var(--easing);
  transition: translate var(--duration) var(--easing), opacity var(--duration) var(--easing);
}
@media ( width >= 768px ) {
  .p-header-nav {
    -ms-flex-line-pack: stretch;
        align-content: stretch;
    row-gap: 0;
    position: static;
    width: auto;
    height: 100%;
    padding-top: 0;
    background-color: transparent;
    color: var(--cl-text-base);
    translate: 0 0;
    opacity: 1;
  }
}

.p-header-nav[aria-hidden=false] {
  z-index: 30;
  translate: 0 0;
  opacity: 1;
}
.p-header-nav__bg {
  position: fixed;
  z-index: 20;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.p-header-nav__list {
  display: grid;
  border-top: 1px solid var(--cl-primary);
}
@media ( width >= 768px ) {
  .p-header-nav__list {
    grid-template-columns: repeat(4, auto);
    justify-items: end;
    border: none;
  }
}

.p-header-nav__list li:last-child {
  display: none;
}
@media ( width >= 768px ) {
  .p-header-nav__list li:last-child {
    display: block;
  }
}

.p-header-nav__list li a {
  display: block grid;
  grid-template-columns: auto auto;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: start;
  -ms-flex-line-pack: center;
      align-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-column-gap: 24px;
     -moz-column-gap: 24px;
          column-gap: 24px;
  height: 100%;
  padding-top: 24px;
  padding-bottom: 23px;
  padding-left: 24px;
  border-bottom: 1px solid var(--cl-primary);
}
@media ( width >= 768px ) {
  .p-header-nav__list li a {
    position: relative;
    grid-template-columns: auto;
    justify-items: center;
    row-gap: 3px;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-inline: clamp(1rem, 0.4285714286rem + 1.1904761905vw, 1.5rem);
    border: none;
  }
}
@media (any-hover: hover) {
  .p-header-nav__list li a:hover::before {
    scale: 1 1;
  }
}
@media ( width >= 768px ) {
  .p-header-nav__list li a::before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 2.4px;
    background-color: #0054b3;
    scale: 0 1;
    -webkit-transition: scale 0.3s ease;
    transition: scale 0.3s ease;
  }
}

@media ( width >= 768px ) {
  .p-header-nav__list li:last-child a {
    padding-inline: clamp(0.8125rem, 0.2410714286rem + 1.1904761905vw, 1.3125rem);
    background-color: var(--cl-accent);
    border: 3px solid var(--cl-accent);
    border-bottom: none;
    color: var(--cl-white);
    -webkit-transition: background-color 0.3s ease, color 0.3s ease;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
}
@media ( width >= 768px ) and (any-hover: hover) {
  .p-header-nav__list li:last-child a:hover {
    background-color: var(--cl-white);
    color: var(--cl-accent);
  }
}
@media ( width >= 768px ) {
  .p-header-nav__list li:last-child a::before {
    background-color: var(--cl-accent);
    scale: 1 1;
  }
}

.p-header-nav__en {
  font-family: "Montserrat";
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
@media ( width >= 768px ) {
  .p-header-nav__en {
    font-size: 1.25rem;
  }
}

.p-header-nav__ja {
  position: relative;
  font-weight: bold;
}
@media ( width >= 768px ) {
  .p-header-nav__ja {
    position: static;
    font-size: 0.875rem;
    font-weight: normal;
  }
}
.p-header-nav__ja::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: -0.75em;
  width: 1px;
  height: 1em;
  background-color: var(--cl-primary);
}
@media ( width >= 768px ) {
  .p-header-nav__ja::before {
    display: none;
  }
}

.p-header-nav__button-wrapper {
  padding-inline: 24px;
}
@media ( width >= 768px ) {
  .p-header-nav__button-wrapper {
    display: none;
  }
}

.p-header-nav__sns-link {
  justify-self: center;
  display: block;
}
@media ( width >= 768px ) {
  .p-header-nav__sns-link {
    display: none;
  }
}

.p-header-nav__sns-icon {
  font-size: 3rem;
}

.p-footer__inner {
  display: grid;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  row-gap: 60px;
}
@media ( width >= 768px ) {
  .p-footer__inner {
    -webkit-box-pack: stretch;
        -ms-flex-pack: stretch;
            justify-content: stretch;
  }
}

.p-footer__main {
  display: grid;
  gap: 60px;
}
@media ( width >= 768px ) {
  .p-footer__main {
    grid-auto-flow: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

.p-footer__list {
  display: grid;
  justify-items: center;
  row-gap: 16px;
}
@media ( width >= 768px ) {
  .p-footer__list {
    grid-auto-flow: column;
  }
}

@media ( width >= 768px ) {
  .p-footer__list li {
    position: relative;
  }
  .p-footer__list li::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    translate: 0 -50%;
    width: 1px;
    height: 1rem;
    background-color: var(--cl-primary);
  }
}
.p-footer__list li:last-child::before {
  display: none;
}

.p-footer__list li a {
  display: block;
  padding-block: 12px;
  padding-inline: 16px;
  font-weight: bold;
}

@media ( width >= 768px ) {
  .p-footer__item {
    position: relative;
  }
  .p-footer__item::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    translate: 0 -50%;
    width: 1px;
    height: 1rem;
    background-color: var(--cl-primary);
  }
}
.p-footer__item:last-child::before {
  display: none;
}

.p-footer__link {
  display: block;
  padding-block: 12px;
  padding-inline: 16px;
  font-weight: bold;
}

.p-footer__sns-link {
  text-align: center;
}

.p-footer__copyright {
  text-align: center;
}

.p-mv {
  position: relative;
  z-index: 1;
  padding-bottom: 20px;
  overflow: hidden;
}
@media ( width >= 768px ) {
  .p-mv {
    padding-bottom: 80px;
  }
}

.p-mv__bg-image {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.p-mv__bg-image img {
  display: block;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-mv__slider {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: -1;
  -webkit-transform-origin: center top;
          transform-origin: center top;
  rotate: -20deg;
}
@media ( width >= 768px ) {
  .p-mv__slider {
    top: clamp(1rem, 0.4285714286rem + 1.1904761905vw, 1.5rem);
    left: 0;
    right: auto;
    rotate: 0deg;
  }
}

.p-mv__inner {
  width: min(100%, 1024px + clamp(1rem, 0.4285714286rem + 1.1904761905vw, 1.5rem) * 2);
  padding-inline: clamp(1rem, 0.4285714286rem + 1.1904761905vw, 1.5rem);
}

.p-mv__content {
  display: grid;
  gap: 24px;
  padding-top: 429px;
}
@media ( width >= 768px ) {
  .p-mv__content {
    gap: clamp(1.5rem, -0.2142857143rem + 3.5714285714vw, 3rem);
    padding-top: clamp(16.25rem, 3.9642857143rem + 25.5952380952vw, 27rem);
  }
}

.p-mv__copies {
  display: grid;
  justify-items: start;
  gap: clamp(0.5rem, 0.2142857143rem + 0.5952380952vw, 0.75rem);
}

.p-mv__copy {
  display: block;
  padding-block: clamp(0.375rem, 0.2321428571rem + 0.2976190476vw, 0.5rem);
  padding-inline: clamp(0.375rem, 0.1607142857rem + 0.4464285714vw, 0.5625rem);
  background-color: var(--cl-white);
  font-size: clamp(1.5rem, 0.9285714286rem + 1.1904761905vw, 2rem);
  font-weight: bold;
  -webkit-box-shadow: 0 4px 8px 0 rgba(49, 92, 143, 0.25);
          box-shadow: 0 4px 8px 0 rgba(49, 92, 143, 0.25);
}

.p-mv__button {
  display: grid;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

:root {
  --slide-width: 300px;
  --slide-height: max(32vw, 158px);
  --slide-number: ;
  --slide-gap: 8px;
}
@media ( width >= 768px ) {
  :root {
    --slide-width: 46.180555vw;
  }
}

.p-mv-slider {
  display: grid;
}

@-webkit-keyframes slide-y {
  0% {
    translate: 0 -70%;
  }
  100% {
    translate: 0 calc(-20% + var(--slide-gap) / 2);
  }
}

@keyframes slide-y {
  0% {
    translate: 0 -70%;
  }
  100% {
    translate: 0 calc(-20% + var(--slide-gap) / 2);
  }
}
@-webkit-keyframes slide-x {
  0% {
    translate: 0% 0%;
  }
  100% {
    translate: calc(-50% - var(--slide-gap) / 2) 0%;
  }
}
@keyframes slide-x {
  0% {
    translate: 0% 0%;
  }
  100% {
    translate: calc(-50% - var(--slide-gap) / 2) 0%;
  }
}
.p-mv-slider__inner {
  --animation-duration: calc(var(--slide-number) * 1s);
  display: grid;
  gap: var(--slide-gap);
  -webkit-animation: slide-y var(--animation-duration) linear 0s infinite;
          animation: slide-y var(--animation-duration) linear 0s infinite;
  overflow: visible;
}
@media ( width >= 768px ) {
  .p-mv-slider__inner {
    --slide-gap: 24px;
    --animation-duration: calc(var(--slide-number) * 3s);
    grid-auto-flow: column;
    -webkit-animation-name: slide-x;
            animation-name: slide-x;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    height: auto;
  }
}

.p-mv-slider__slide {
  width: auto;
  height: var(--slide-height);
  aspect-ratio: 191/100;
}
@media ( width >= 768px ) {
  .p-mv-slider__slide {
    width: var(--slide-width);
    height: auto;
  }
}
.p-mv-slider__slide img {
  display: block;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-home-service {
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, var(--cl-white)), to(transparent));
  background-image: linear-gradient(180deg, var(--cl-white) 20%, transparent);
  padding-top: 80px;
  padding-bottom: 80px;
}
@media ( width >= 768px ) {
  .p-home-service {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

.p-home-service__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, min(100%, 400px));
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 40px;
  margin-inline: auto;
  margin-top: 60px;
}
@media ( width >= 768px ) {
  .p-home-service__items {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 60px;
    -webkit-column-gap: 40px;
       -moz-column-gap: 40px;
            column-gap: 40px;
    margin-top: 80px;
  }
}

.p-home-works {
  padding-top: 80px;
  padding-bottom: 80px;
  background-image: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(90%, var(--cl-white)));
  background-image: linear-gradient(180deg, transparent, var(--cl-white) 90%);
}

.p-home-works__lead {
  margin-top: 60px;
  line-height: 1.8;
  text-align: center;
}

.p-home-works__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, min(446px, 100%));
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 60px;
  margin-top: 60px;
  margin-inline: auto;
}
@media ( width >= 768px ) {
  .p-home-works__items {
    row-gap: 60px;
    -webkit-column-gap: 40px;
       -moz-column-gap: 40px;
            column-gap: 40px;
  }
}

.p-home-works__button {
  display: grid;
  grid-template-columns: min(100%, 400px);
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 60px;
}
@media ( width >= 768px ) {
  .p-home-works__button {
    margin-top: 80px;
  }
}

.p-home-about {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: var(--cl-base);
}
@media ( width >= 768px ) {
  .p-home-about {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

.p-home-about__inner {
  width: min(100%, 1012px);
}

.p-home-about__wrapper {
  display: grid;
  gap: 40px;
  margin-top: 60px;
}
@media ( width >= 768px ) {
  .p-home-about__wrapper {
    grid-template-columns: auto auto;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 6.5306122449%;
    margin-top: 80px;
  }
}

.p-home-about__image {
  max-width: 300px;
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
  overflow: hidden;
  -webkit-filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
          filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}
@media ( width >= 768px ) {
  .p-home-about__image {
    max-width: 240px;
  }
}
.p-home-about__image img {
  display: block;
}

.p-home-about__content {
  max-width: 500px;
  margin-inline: auto;
  padding-block: 24px;
  padding-inline: 16px;
  -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.25);
          box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.25);
  background-color: var(--cl-white);
  border-radius: 16px;
}
@media ( width >= 768px ) {
  .p-home-about__content {
    max-width: none;
    padding: 24px;
  }
}
.p-home-about__content > *:first-child {
  margin-top: 0;
}

.p-home-about__content-heading {
  margin-top: 2.4em;
  font-size: 1.25rem;
  font-weight: bold;
  text-align: center;
}
@media ( width >= 768px ) {
  .p-home-about__content-heading {
    text-align: left;
  }
}

.p-home-about__content-text {
  padding-top: 1em;
  line-height: 1.8;
}

.p-home-about__tools {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1em;
}

.p-home-contact {
  padding-top: 80px;
  padding-bottom: 80px;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(35, 80, 133, 0.4))), url(../img/img_wave02.webp) no-repeat center center/cover;
  background: linear-gradient(rgba(35, 80, 133, 0.4)), url(../img/img_wave02.webp) no-repeat center center/cover;
}
@media ( width >= 768px ) {
  .p-home-contact {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

.p-home-contact__content {
  max-width: 512px;
  margin-inline: auto;
  margin-top: 60px;
  padding-block: 18px;
  padding-inline: 16px;
  background-color: var(--cl-white);
  border-radius: 4px;
}
@media ( width >= 768px ) {
  .p-home-contact__content {
    max-width: 600px;
    margin-top: 80px;
    padding-block: 32px;
    padding-inline: 40px;
  }
}

.p-home-contact__text {
  line-height: 1.8;
}

.p-home-contact__list {
  display: grid;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.p-home-contact__list-item {
  display: grid;
  grid-template-columns: 32px auto;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: start;
  justify-items: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
}

.p-home-contact__button {
  display: grid;
  grid-template-columns: min(100%, 300px);
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 40px;
}

.p-page-header {
  padding-top: 40px;
  padding-bottom: 40px;
  background: var(--cl-main) no-repeat center center/cover;
  background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 52, 114, 0.5)), to(rgba(0, 52, 114, 0.5))), url(../img/img_pc-in-sea.webp);
  background-image: linear-gradient(0deg, rgba(0, 52, 114, 0.5) 0%, rgba(0, 52, 114, 0.5) 100%), url(../img/img_pc-in-sea.webp);
}
@media ( width >= 768px ) {
  .p-page-header {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

.p-page-header.p-page-header--works {
  background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 52, 114, 0.5)), to(rgba(0, 52, 114, 0.5))), url(../img/img_pc-in-sea.webp);
  background-image: linear-gradient(0deg, rgba(0, 52, 114, 0.5) 0%, rgba(0, 52, 114, 0.5) 100%), url(../img/img_pc-in-sea.webp);
}

.p-works {
  padding-top: 60px;
  padding-bottom: 60px;
}
@media ( width >= 768px ) {
  .p-works {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

.p-works__lead {
  line-height: 1.8;
  text-align: center;
}

.p-works__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, min(446px, 100%));
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 60px;
  margin-top: 60px;
  margin-inline: auto;
}
@media ( width >= 768px ) {
  .p-works__items {
    row-gap: 60px;
    -webkit-column-gap: 40px;
       -moz-column-gap: 40px;
            column-gap: 40px;
  }
}

.p-contact {
  padding-top: 60px;
  padding-bottom: 60px;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(87, 121, 184, 0.25)), to(rgba(0, 50, 109, 0.25)));
  background: linear-gradient(180deg, rgba(87, 121, 184, 0.25) 0%, rgba(0, 50, 109, 0.25) 100%);
}
@media ( width >= 768px ) {
  .p-contact {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

.p-contact__lead {
  line-height: 1.5;
}
@media ( width >= 768px ) {
  .p-contact__lead {
    text-align: center;
  }
}

.p-contact__content {
  max-width: 898px;
  margin-top: 60px;
  margin-inline: auto;
  padding-block: 32px;
  padding-inline: 16px;
  background-color: var(--cl-white);
  border-radius: 4px;
}
@media ( width >= 768px ) {
  .p-contact__content {
    margin-top: 80px;
    padding-block: clamp(3rem, 1.8571428571rem + 2.380952381vw, 4rem);
    padding-inline: 7.1269487751%;
  }
}

.p-form {
  display: grid;
  gap: 60px;
}

.p-form__fields {
  display: grid;
  gap: 24px;
}
@media ( width >= 768px ) {
  .p-form__fields {
    grid-template-columns: -webkit-max-content auto;
    grid-template-columns: max-content auto;
  }
}

.p-form__button-wrapper {
  width: min(100%, 300px);
  margin-top: 60px;
  margin-inline: auto;
}

.p-form__note {
  margin-top: 60px;
}

.p-form-field {
  display: grid;
  gap: 8px;
}
@media ( width >= 768px ) {
  .p-form-field {
    grid-template-columns: subgrid;
    grid-column: span 2;
    gap: 16px;
    font-size: 1.125rem;
  }
}

.p-form-field__head {
  display: grid;
  grid-template-columns: -webkit-max-content -webkit-max-content;
  grid-template-columns: max-content max-content;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 4px;
}

.p-form-field__tag {
  padding-top: 2px;
  padding-bottom: 3px;
  padding-inline: 3px;
  background-color: var(--cl-accent);
  color: var(--cl-white);
  font-size: 0.75rem;
  border-radius: 4px;
}
@media ( width >= 768px ) {
  .p-form-field__tag {
    font-size: 0.875rem;
  }
}

.p-single-works {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: var(--cl-base);
  border-top: 1px solid var(--cl-primary);
}
@media ( width >= 768px ) {
  .p-single-works {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

.p-single-works__inner {
  width: min(100%, 904px);
}

.p-single-works__meta {
  display: grid;
  gap: 4px;
}
@media ( width >= 768px ) {
  .p-single-works__meta {
    gap: 8px;
  }
}

.p-single-works__heading {
  font-size: clamp(1.25rem, 0.3928571429rem + 1.7857142857vw, 2rem);
  font-weight: bold;
  line-height: 1.5;
}
@media ( width >= 768px ) {
  .p-single-works__heading {
    font-size: 2rem;
  }
}

.p-single-works__tags {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 4px;
}

.p-single-works__eye-catch {
  margin-top: 24px;
}
.p-single-works__eye-catch img {
  width: 100%;
}

.p-single-works__list {
  display: grid;
  margin-top: 24px;
  background-color: var(--cl-white);
  line-height: 1.5;
  border: 1px solid #bdbdbd;
}
@media ( width >= 768px ) {
  .p-single-works__list {
    grid-template-columns: -webkit-max-content auto;
    grid-template-columns: max-content auto;
  }
}

@media ( width >= 768px ) {
  .p-single-works__row {
    display: grid;
    grid-template-columns: subgrid;
    grid-column: span 2;
  }
}
.p-single-works__row:last-child > * {
  border-bottom: none;
}

.p-single-works__head {
  padding-block: 12px;
  padding-inline: 12px;
  background-color: var(--cl-primary);
  font-weight: normal;
  text-align: center;
  border-bottom: 1px solid #a1a1a1;
}
@media ( width >= 768px ) {
  .p-single-works__head {
    padding-block: 16px;
    padding-inline: 48px;
  }
}

.p-single-works__data {
  padding-block: 12px;
  padding-inline: 12px;
  border-bottom: 1px solid #ccc;
}
@media ( width >= 768px ) {
  .p-single-works__data {
    padding-block: 16px;
    padding-inline: 16px;
  }
}
.p-single-works__data a {
  color: var(--cl-main);
  text-decoration: underline;
  text-underline-offset: 3px;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
@media (any-hover: hover) {
  .p-single-works__data a:hover {
    opacity: 0.7;
    text-decoration: none;
  }
}

.p-single-works__post {
  margin-top: 32px;
}
.p-single-works__post > * {
  margin: 0 0 1.6em;
}
.p-single-works__post > *:last-child {
  margin-bottom: 0;
}
.p-single-works__post > h2 {
  position: relative;
  margin-top: 2.4em;
  margin-bottom: 1em;
  padding-bottom: 0.3em;
  font-size: clamp(1.5rem, 1.2142857143rem + 0.5952380952vw, 1.75rem);
  font-weight: bold;
  line-height: 1.5;
}
@media ( width >= 768px ) {
  .p-single-works__post > h2 {
    font-size: 1.5rem;
  }
}
.p-single-works__post > h2::before, .p-single-works__post > h2::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  translate: 0 100%;
  height: 3px;
}
.p-single-works__post > h2::before {
  z-index: 1;
  width: 3em;
  background-color: var(--cl-main);
}
.p-single-works__post > h2::after {
  width: 100%;
  background-color: var(--cl-primary);
}
.p-single-works__post h3 {
  position: relative;
  padding-left: 12px;
  font-size: clamp(1.25rem, 0.9642857143rem + 0.5952380952vw, 1.5rem);
  font-weight: bold;
  line-height: 1.5;
}
.p-single-works__post h3::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 50%;
  translate: 0 -50%;
  width: 3px;
  height: 75%;
  background-color: var(--cl-main);
}
.p-single-works__post > p {
  line-height: 1.8;
}
.p-single-works__post a {
  color: var(--cl-main);
  text-decoration: underline;
  text-underline-offset: 3px;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
@media (any-hover: hover) {
  .p-single-works__post a:hover {
    opacity: 0.7;
  }
}
.p-single-works__post > ul li,
.p-single-works__post > ol li {
  position: relative;
  padding-left: 1.5em;
  line-height: 1.8;
}
.p-single-works__post > ul li::before,
.p-single-works__post > ol li::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 0.75em;
  translate: -50% -50%;
}
.p-single-works__post > ul li::before {
  width: 3px;
  height: 3px;
  border-radius: 3px;
  background-color: var(--cl-text-base);
}
.p-single-works__post > ol {
  counter-reset: --ol-counter;
}
.p-single-works__post > ol li {
  counter-increment: --ol-counter;
}
.p-single-works__post > ol li::before {
  content: counter(--ol-counter) ".";
}
.p-single-works__post figure img {
  width: 100%;
}

.p-single-works__screenshot {
  margin-top: 60px;
}

.p-single-works__screenshot-heading {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}

.p-single-works__screenshot-inner {
  display: grid;
  gap: 40px;
  margin-top: 40px;
}
@media ( width >= 768px ) {
  .p-single-works__screenshot-inner {
    grid-template-columns: repeat(auto-fit, 1fr);
    gap: 4.5871559633%;
  }
}

.p-single-works__navigation {
  margin-top: 60px;
}

.p-single-works__other-works {
  margin-top: 60px;
}

.p-single-works__other-works-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(326px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.p-navigation {
  display: grid;
  grid-template-columns: auto auto;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.p-navigation__button {
  display: grid;
}

.p-navigation__button.p-navigation__button--prev .p-navigation__icon {
  rotate: 180deg;
}

.p-navigation__button.p-navigation__button--next .p-navigation__icon {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
}

.p-navigation__link {
  display: grid;
  grid-template-columns: auto auto;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
}

.p-navigation__icon {
  color: var(--cl-main);
  font-size: 1.875rem;
}