@charset "UTF-8";
/*=====================================
カラー
=====================================*/
:root {
  --color-base: #FFFFFF;
  --color-main: #0A075D;
  --color-primary: #E9F2F4;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-text-base: #070707;
  --color-text-reverse: #FFFFFF;
  --color-text-gray: #A5A29B;
  --color-border: #707070;
}

/*=====================================
タイポグラフィ
=====================================*/
:root {
  --leading-trim: calc((1em - 1lh) / 2);
}

@supports not (top: 1lh) {
  :root {
    --leading-trim: 0px; /* `px`などの単位が必要 */
  }
}
/*=====================================
コンテンツ幅
=====================================*/
/*=====================================
Z-index
=====================================*/
/*=====================================
ブレイクポイント
=====================================*/
/*=====================================
メディアクエリ
=====================================*/
/*! destyle.css v4.0.1 | MIT License | https://github.com/nicolas-cusan/destyle.css */
/* Reset box-model and set borders */
/* ============================================ */
*,
::before,
::after {
  box-sizing: border-box;
  min-width: 0;
  border-width: 0;
  border-style: solid;
}

/* 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 {
  margin: 0;
  font-weight: inherit;
  font-size: inherit;
}

/* 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 {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  margin: 0;
  clear: both;
  overflow: visible; /* 2 */
  border-top-width: 1px;
  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-size: inherit; /* 2 */
  font-family: monospace, monospace; /* 1 */
}

address {
  font-style: inherit;
}

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

/**
 * 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-size: inherit; /* 2 */
  font-family: monospace, monospace; /* 1 */
}

/**
 * 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 {
  position: relative;
  font-size: 75%;
  line-height: 0;
  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;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: inherit;
  text-transform: inherit; /* 2 */
  vertical-align: middle;
}

/**
 * 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 {
  min-width: 0;
  margin: 0;
  padding: 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 {
  padding: 0;
  vertical-align: top;
}

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

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

body {
  overflow-x: hidden;
  background-color: var(--color-base);
  color: var(--color-text-base);
  line-height: 1;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 10%;
}
body.is-resizing * {
  transition: none !important;
}

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

:root {
  --splash-duration: 3;
  --fv-animation-delay: 4;
}
:root.is-visited {
  --splash-duration: 0;
  --fv-animation-delay: 0.3;
}

/* JSが有効な場合、アニメーション対象をあらかじめ透明にする */
:where(.js .js-anim) {
  /* visibility: hidden を併用すると、
      透明な状態でクリックなどの操作も無効化できるので安全です 
  */
  visibility: hidden;
  opacity: 0;
}

/* クラスが付与されたら表示状態に戻す（CSSアニメーション用） */
:where(.js .js-anim.is-animated) {
  visibility: visible;
}

/*=====================================
インナー
=====================================*/
.l-inner {
  --inner-padding-inline: clamp(1rem, -21.786rem + 97.22vw, 2.094rem);
  width: min(100%, 1024px + var(--inner-padding-inline) * 2);
  margin-inline: auto;
  padding-inline: var(--inner-padding-inline);
}
@media ( width >= 768px ) {
  .l-inner {
    --inner-padding-inline: 33.5px;
  }
}

/*=====================================
ヘッダー（layout）
=====================================*/
:root {
  --header-height: 126px;
}
@media ( width >= 768px ) {
  :root {
    --header-height: 109px;
  }
}

.l-header {
  z-index: 50;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--color-main);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: var(--color-text-reverse);
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
.l-header .c-logo__image svg {
  width: 100%;
}

.l-footer {
  overflow: hidden;
}

/*=====================================
メインコンテンツ
=====================================*/
.l-main {
  overflow: hidden;
}
@media ( width >= 768px ) {
  .l-main {
    margin-top: var(--header-height);
  }
}
.l-main:not(:has(.p-fv)) {
  margin-top: var(--header-height);
}

/*=====================================
ラッパー
=====================================*/
.l-wrapper {
  position: relative;
  overflow: hidden;
}
.l-wrapper::before {
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  width: 768px;
  height: 340px;
  background-color: var(--color-primary);
  content: "";
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
@media ( width >= 768px ) {
  .l-wrapper::before {
    width: 100%;
    height: clamp(21.25rem, -1.0625rem + 46.484375vw, 36.125rem);
  }
}
.l-wrapper:has(.p-company) .l-wrapper__bg-image--bottom {
  display: none;
}
.l-wrapper:has(.p-service) .l-wrapper__bg-image--bottom {
  display: none;
}
.l-wrapper:has(.p-thank-you) .l-wrapper__bg-image--bottom {
  display: none;
}

.l-wrapper__bg-image {
  z-index: -1;
  position: absolute;
  aspect-ratio: 1;
  width: clamp(27rem, 13.376rem + 55.4666666667vw, 40rem);
}
@media ( width >= 768px ) {
  .l-wrapper__bg-image {
    width: min(80%, 1024px);
  }
}
.l-wrapper__bg-image img {
  display: block;
  width: 100%;
}
.l-wrapper__bg-image.l-wrapper__bg-image--top {
  top: 0;
  left: 0;
  translate: -54.6296296296% -41.2037037037%;
}
@media ( width >= 768px ) {
  .l-wrapper__bg-image.l-wrapper__bg-image--top {
    translate: -40.91796875% -50.1953125%;
  }
}
.l-wrapper__bg-image.l-wrapper__bg-image--bottom {
  display: none;
}
@media ( width >= 768px ) {
  .l-wrapper__bg-image.l-wrapper__bg-image--bottom {
    display: block;
    right: 0;
    bottom: 0;
    translate: 37.5% 40.625%;
  }
}

/*=====================================
ボタン
=====================================*/
.c-button {
  --border-width: 2px;
  --theme-color: var(--color-white);
  --duration: 0.3s;
  --easing: ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  -moz-column-gap: 12px;
       column-gap: 12px;
  width: 100%;
  padding-top: calc(23px - var(--border-width));
  padding-bottom: calc(22.5px - var(--border-width));
  padding-inline: calc(24px - var(--border-width));
  border: var(--border-width) solid;
  border-radius: 100vmax;
  background-color: var(--theme-color);
  color: var(--color-main);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3888888889;
  text-align: center;
  transition: background-color var(--duration) var(--easing), border-color var(--duration) var(--easing), color var(--duration) var(--easing);
}
@media ( width >= 768px ) {
  .c-button {
    -moz-column-gap: 24px;
         column-gap: 24px;
    padding-top: calc(24px - var(--border-width));
    padding-bottom: calc(23.5px - var(--border-width));
    font-size: 1.25rem;
    line-height: 1.45;
  }
}
.c-button:hover, .c-button:focus {
  border-color: var(--color-main);
  background-color: var(--color-main);
  color: var(--theme-color);
}
.c-button.c-button--reverse {
  --theme-color: var(--color-main);
  border-color: currentColor;
  color: var(--color-text-reverse);
}
.c-button.c-button--reverse:hover, .c-button.c-button--reverse:focus {
  border-color: var(--color-text-reverse);
  background-color: var(--color-text-reverse);
  color: var(--theme-color);
}

.c-button__icon {
  display: grid;
  flex-shrink: 0;
  align-items: center;
  width: 20px;
}
@media ( width >= 768px ) {
  .c-button__icon {
    width: 29px;
  }
}
.c-button__icon svg {
  width: 100%;
  fill: currentColor;
}

/*=== ロゴ ===*/
.c-logo__link {
  transition: opacity 0.3s ease-in-out;
}
@media (any-hover: hover) {
  .c-logo__link:hover {
    opacity: 0.7;
  }
}
.c-logo__link img {
  display: block;
  width: 100%;
}

.c-drawer-button {
  --duration: 0.3s;
  --easing: ease;
  position: relative;
  width: 52px;
  height: 100%;
  transition: translate var(--duration) var(--easing);
}

.c-drawer-button__line {
  --line-color: currentColor;
  --border-height: 3px;
  --gap: 17px;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: var(--border-height);
  transform: translate(-50%, -50%);
  border-radius: 3px;
  background-color: var(--line-color);
  transition: background-color var(--duration) var(--easing), transform var(--duration) var(--easing);
}
.c-drawer-button__line::before, .c-drawer-button__line::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: inherit;
  border-radius: inherit;
  background-color: var(--line-color);
  content: "";
  transition: inherit;
}
.c-drawer-button__line::before {
  transform: translateY(calc(var(--gap) * -1));
}
.c-drawer-button__line::after {
  transform: translateY(var(--gap));
}

/*===========================================
open
===========================================*/
.c-drawer-button[aria-expanded=true] .c-drawer-button__line {
  background-color: transparent;
}
.c-drawer-button[aria-expanded=true] .c-drawer-button__line::before, .c-drawer-button[aria-expanded=true] .c-drawer-button__line::after {
  width: 100%;
}
.c-drawer-button[aria-expanded=true] .c-drawer-button__line::before {
  transform: rotate(45deg);
}
.c-drawer-button[aria-expanded=true] .c-drawer-button__line::after {
  transform: rotate(-45deg);
}

/*=====================================
セクション見出し
=====================================*/
.c-section-heading {
  display: grid;
  position: relative;
  justify-content: center;
  text-align: center;
}
.c-section-heading::after {
  display: block;
  width: 2px;
  height: 25px;
  margin-top: 24px;
  margin-inline: auto;
  background-color: var(--color-main);
  content: "";
}

.c-section-heading__main {
  font-weight: 700;
  font-size: clamp(1.125rem, 0.9588500564rem + 0.6764374295vw, 1.5rem);
  line-height: 1.3846153846;
}
@media ( width >= 768px ) {
  .c-section-heading__main {
    line-height: 1.4583333333;
  }
}

.c-section-heading__sub {
  margin-top: 17px;
  color: var(--color-main);
  font-weight: 900;
  font-size: clamp(1.625rem, 1.3480834273rem + 1.1273957159vw, 2.25rem);
  line-height: 1.1538461538;
  font-family: "Roboto";
  letter-spacing: 5%;
  text-transform: uppercase;
}
@media ( width >= 768px ) {
  .c-section-heading__sub {
    margin-top: 15px;
    line-height: 1.1666666667;
  }
}

/*=====================================
サムネイル画像リンク
=====================================*/
.c-thumbnail-link {
  --row-gap: 24px;
  display: grid;
  position: relative;
  row-gap: var(--row-gap);
  align-content: center;
  aspect-ratio: 286/172;
  padding: 16px;
  background: no-repeat center center/cover;
  background-image: -webkit-image-set(url(../img/thumb-service01-sp.webp) type('image/webp') 1x, url(../img/thumb-service01-sp@2x.webp) type('image/webp') 2x);
  background-image: image-set(url(../img/thumb-service01-sp.webp) type('image/webp') 1x, url(../img/thumb-service01-sp@2x.webp) type('image/webp') 2x);
  background-color: var(--color-main);
  color: var(--color-text-reverse);
  text-align: center;
  transition: opacity 0.3s ease-in-out;
}
@media ( width >= 768px ) {
  .c-thumbnail-link {
    --row-gap: 40px;
  }
}
@media (any-hover: hover) {
  .c-thumbnail-link:hover {
    opacity: 0.8;
  }
}
.c-thumbnail-link::before {
  --offset: 8px;
  position: absolute;
  width: calc(100% - var(--offset) * 2);
  height: calc(100% - var(--offset) * 2);
  inset: var(--offset);
  border: 2px solid var(--color-white);
  content: "";
}
@media ( width >= 768px ) {
  .c-thumbnail-link::before {
    --offset: 14px;
  }
}
.c-thumbnail-link.c-thumbnail-link--control-panel {
  background-image: -webkit-image-set(url(../img/thumb-service02-sp.webp) type('image/webp') 1x, url(../img/thumb-service02-sp@2x.webp) type('image/webp') 2x);
  background-image: image-set(url(../img/thumb-service02-sp.webp) type('image/webp') 1x, url(../img/thumb-service02-sp@2x.webp) type('image/webp') 2x);
}

.c-thumbnail-link__title {
  position: relative;
  font-weight: 700;
  font-size: clamp(1.0625rem, -0.34375rem + 2.9296875vw, 2rem);
  line-height: 1.4705882353;
}
@media ( width >= 768px ) {
  .c-thumbnail-link__title {
    line-height: 1.4375;
  }
}
.c-thumbnail-link__title::before {
  --border-height: 3px;
  position: absolute;
  bottom: calc(var(--row-gap) / 2 * -1 - var(--border-height));
  width: calc(100% - 24px);
  height: var(--border-height);
  margin-inline: auto;
  inset-inline: 0;
  background-color: var(--color-white);
  content: "";
}
@media ( width >= 768px ) {
  .c-thumbnail-link__title::before {
    width: calc(100% - 68px);
  }
}

.c-thumbnail-link__text {
  font-weight: 500;
  font-size: clamp(0.9375rem, -0.09375rem + 2.1484375vw, 1.625rem);
  line-height: 1.4;
}
@media ( width >= 768px ) {
  .c-thumbnail-link__text {
    line-height: 1.4230769231;
  }
}

/*=====================================
テキストフィールド
=====================================*/
.c-input-text {
  --border-width: 2px;
  width: 100%;
  padding-top: calc(7.5px - var(--border-width));
  padding-bottom: calc(8px - var(--border-width));
  padding-inline: 8px;
  border: var(--border-width) solid var(--color-main);
  background-color: var(--color-white);
  line-height: 1.5;
}
@media ( width >= 768px ) {
  .c-input-text {
    padding-top: calc(14px - var(--border-width));
    padding-bottom: calc(15.6px - var(--border-width));
    padding-inline: 16px;
    font-size: 1.125rem;
    line-height: 1.4444444444;
  }
}
.c-input-text::-moz-placeholder {
  color: var(--color-text-gray);
  font-size: inherit;
  line-height: inherit;
  letter-spacing: 10%;
}
.c-input-text::placeholder {
  color: var(--color-text-gray);
  font-size: inherit;
  line-height: inherit;
  letter-spacing: 10%;
}

/*=====================================
テキストエリア
=====================================*/
.c-textarea {
  --border-width: 2px;
  width: 100%;
  min-height: 266px;
  field-sizing: content;
  padding-top: calc(12.5px - var(--border-width));
  padding-bottom: calc(8px - var(--border-width));
  padding-inline: 8px;
  border: var(--border-width) solid var(--color-main);
  background-color: var(--color-white);
  line-height: 1.3571428571;
  resize: vertical;
}
@media ( width >= 768px ) {
  .c-textarea {
    min-height: 299px;
    padding-top: calc(18px - var(--border-width));
    padding-bottom: calc(18px - var(--border-width));
    padding-inline: 16px;
    font-size: 1.125rem;
    line-height: 1.4444444444;
  }
}
.c-textarea::-moz-placeholder {
  color: var(--color-text-gray);
  font-size: inherit;
  line-height: inherit;
  letter-spacing: 10%;
}
.c-textarea::placeholder {
  color: var(--color-text-gray);
  font-size: inherit;
  line-height: inherit;
  letter-spacing: 10%;
}

/*=====================================
ヘッダー（project）
=====================================*/
.p-header {
  height: 100%;
}

/*=====================================
グローバルナビゲーション
=====================================*/
.p-global-nav {
  height: 100%;
  padding-top: 55px;
  padding-bottom: 24px;
}
@media ( width >= 768px ) {
  .p-global-nav {
    padding-top: 23px;
    padding-bottom: 24px;
  }
}
.p-global-nav.p-global-nav--footer {
  display: none;
}
@media ( width >= 768px ) {
  .p-global-nav.p-global-nav--footer {
    display: block;
    margin-top: 50px;
  }
}
.p-global-nav.p-global-nav--footer :where(.p-global-nav__menu-list) {
  margin-top: 10px;
}

.p-global-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: auto;
  height: 100%;
}
@media ( width >= 768px ) {
  .p-global-nav__inner {
    padding-right: clamp(1rem, -3.5rem + 9.375vw, 4rem);
    padding-left: clamp(2.0625rem, -0.84375rem + 6.0546875vw, 4rem);
  }
}

@media ( width >= 768px ) {
  .p-global-nav__header {
    display: flex;
    align-items: end;
    -moz-column-gap: 25px;
         column-gap: 25px;
  }
}

.p-global-nav__logo {
  width: 145px;
}
@media ( width >= 768px ) {
  .p-global-nav__logo {
    width: clamp(9.0625rem, 5.59375rem + 7.2265625vw, 11.375rem);
  }
}

.p-global-nav__text {
  display: none;
  font-weight: 900;
}
@media ( width >= 992px ) {
  .p-global-nav__text {
    display: block;
  }
}

.p-global-nav__text-sub {
  display: block;
  font-size: clamp(0.875rem, 0.0138888889rem + 1.3888888889vw, 1.125rem);
  line-height: 1.4444444444;
}

.p-global-nav__text-main {
  display: block;
  margin-top: -2px;
  font-size: clamp(1.25rem, -0.0416666667rem + 2.0833333333vw, 1.625rem);
  line-height: 1.4230769231;
}

.p-global-nav__menu {
  display: none;
}
@media ( width >= 768px ) {
  .p-global-nav__menu {
    display: block;
  }
}

.p-global-nav__menu-list {
  display: grid;
  grid-template-columns: repeat(4, auto);
  margin-top: 4px;
}

.p-global-nav__menu-item:not(:first-child) {
  position: relative;
}
.p-global-nav__menu-item:not(:first-child)::before {
  position: absolute;
  top: 6px;
  left: 0;
  width: 2px;
  height: calc(100% - 5px);
  background-color: var(--color-white);
  content: "";
}

.p-global-nav__menu-link {
  display: grid;
  row-gap: 7px;
  justify-content: center;
  padding-right: 43px;
  padding-left: 35px;
  text-align: center;
  transition: opacity 0.3s ease-in-out;
}
@media (any-hover: hover) {
  .p-global-nav__menu-link:hover {
    opacity: 0.7;
  }
}

.p-global-nav__menu-text-main {
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.4444444444;
}

.p-global-nav__menu-text-sub {
  font-weight: 900;
  font-size: 0.875rem;
  line-height: 1.1428571429;
  font-family: "Roboto";
  letter-spacing: 5%;
  text-transform: uppercase;
}

.p-global-nav__drawer-button {
  z-index: 50;
}
@media ( width >= 768px ) {
  .p-global-nav__drawer-button {
    display: none;
  }
}

/*=====================================
Modifier: ヘッダーグローバルナビゲーション
=====================================*/
.p-global-nav--header {
  --duration: 0.3s;
  --easing: ease-in-out;
}
.p-global-nav--header .p-global-nav__menu {
  display: block;
  visibility: hidden;
  position: fixed;
  top: var(--header-height);
  bottom: 0;
  inset-inline: 0;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity var(--duration) var(--easing), visibility var(--duration) var(--easing);
}
@media ( width >= 768px ) {
  .p-global-nav--header .p-global-nav__menu {
    visibility: visible;
    position: static;
    background: transparent;
    opacity: 1;
    transition: none;
  }
}
.p-global-nav--header .p-global-nav__menu[aria-hidden=false] {
  visibility: visible;
  opacity: 1;
}
.p-global-nav--header .p-global-nav__menu[aria-hidden=false] .p-global-nav__menu-inner {
  translate: 0 0;
}
.p-global-nav--header .p-global-nav__menu-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  padding-top: 32px;
  padding-inline: 32px;
  translate: 100% 0;
  background-color: var(--color-main);
  transition: translate var(--duration) var(--easing);
}
@media ( width >= 768px ) {
  .p-global-nav--header .p-global-nav__menu-inner {
    position: static;
    width: auto;
    height: auto;
    padding-top: unset;
    padding-inline: unset;
    translate: 0 0;
    background-color: transparent;
    transition: none;
  }
}
.p-global-nav--header .p-global-nav__menu-list {
  grid-template-columns: 1fr;
}
@media ( width >= 768px ) {
  .p-global-nav--header .p-global-nav__menu-list {
    grid-template-columns: repeat(4, auto);
    margin-top: 4px;
  }
}
.p-global-nav--header .p-global-nav__menu-item::before {
  top: 0;
  width: 80%;
  height: 2px;
  margin-inline: auto;
  inset-inline: 0;
}
@media ( width >= 768px ) {
  .p-global-nav--header .p-global-nav__menu-item::before {
    top: 6px;
    width: 2px;
    height: calc(100% - 5px);
    inset-inline: auto;
  }
}
.p-global-nav--header .p-global-nav__menu-link {
  padding-block: 16px;
}
@media ( width >= 768px ) {
  .p-global-nav--header .p-global-nav__menu-link {
    height: 100%;
    padding-right: 43px;
    padding-left: 35px;
    padding-block: unset;
  }
}
.p-global-nav--header .p-global-nav__menu-text-main {
  font-size: 1.25rem;
}
@media ( width >= 768px ) {
  .p-global-nav--header .p-global-nav__menu-text-main {
    font-size: 1.125rem;
  }
}
.p-global-nav--header .p-global-nav__menu-text-sub {
  font-size: 1.125rem;
}
@media ( width >= 768px ) {
  .p-global-nav--header .p-global-nav__menu-text-sub {
    font-size: 0.875rem;
  }
}

/*=====================================
TOPファーストビュー（FV）
=====================================*/
.p-fv {
  height: clamp(852px, 217vw, 1000px);
  padding-top: 156px;
  padding-bottom: 32px;
  overflow: hidden;
  background-image: -webkit-image-set(url(../img/bg-top-fv-sp.webp) type("image/webp") 1x, url(../img/bg-top-fv-sp@2x.webp) type("image/webp") 2x);
  background-image: image-set(url(../img/bg-top-fv-sp.webp) type("image/webp") 1x, url(../img/bg-top-fv-sp@2x.webp) type("image/webp") 2x);
  background-position: 0 center;
  background-size: cover;
  background-color: #ccc;
  color: var(--color-text-reverse);
}
@media ( width >= 768px ) {
  .p-fv {
    height: auto;
    padding-top: 71px;
    padding-bottom: 52px;
    background-image: -webkit-image-set(url(../img/bg-top-fv.webp) type("image/webp") 1x, url(../img/bg-top-fv@2x.webp) type("image/webp") 2x);
    background-image: image-set(url(../img/bg-top-fv.webp) type("image/webp") 1x, url(../img/bg-top-fv@2x.webp) type("image/webp") 2x);
    background-position: 41.5% 0;
  }
}
.p-fv__inner {
  display: grid;
  align-content: space-between;
  width: min(100%, 1024px + var(--inner-padding-inline) * 2 - 15px);
  height: 100%;
  padding-right: calc(var(--inner-padding-inline) - clamp(0.0625rem, -18.1666666667rem + 77.7777777778vw, 0.9375rem) * -1);
  padding-left: var(--inner-padding-inline);
}
@media ( width >= 768px ) {
  .p-fv__inner {
    width: min(100%, 1024px + var(--inner-padding-inline) * 2);
    padding-inline: var(--inner-padding-inline);
  }
}

.p-fv__caption {
  color: rgba(255, 255, 255, 0.56);
  font-weight: 900;
  font-size: clamp(1.625rem, -0.34375rem + 4.1015625vw, 2.9375rem);
  line-height: 1.1538461538;
  font-family: "Roboto";
  letter-spacing: 5%;
}

.p-fv__texts {
  --row-gap: 44px;
  display: grid;
  row-gap: var(--row-gap);
}
@media ( width >= 768px ) {
  .p-fv__texts {
    --row-gap: 68px;
    margin-top: clamp(4rem, -5.375rem + 19.53125vw, 10.25rem);
  }
}

@keyframes text-appear-cover {
  0% {
    translate: -101% 0;
  }
  50% {
    translate: 0 0;
  }
  100% {
    translate: 110% 0;
  }
}
@keyframes text-appear-text {
  0% {
    color: rgba(255, 255, 255, 0);
  }
  100% {
    color: currentColor;
  }
}
@keyframes scale-x {
  from {
    scale: 0 1;
  }
  to {
    scale: 1 1;
  }
}
.p-fv__heading {
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
}
.p-fv__heading::before {
  position: absolute;
  bottom: calc(var(--row-gap) / 2 * -1 - 4px);
  left: 0;
  width: calc(100% - 13px);
  height: 3px;
  background-color: var(--color-text-reverse);
  content: "";
  animation: scale-x 2s ease-in-out calc(var(--fv-animation-delay) * 1s) 1 both;
}
@media ( width >= 768px ) {
  .p-fv__heading::before {
    width: 100%;
  }
}
@media ( width >= 1200px ) {
  .p-fv__heading::before {
    left: -11.87384%;
    width: calc(100% + 100px);
  }
}

.p-fv__heading-text {
  --cover-duration: 1.3;
  --cover-delay: var(--fv-animation-delay);
  --text-duration: 0.6;
  --text-delay: calc((1 + var(--fv-animation-delay)));
  --group-delay: 0.4;
  display: block;
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
  overflow: hidden;
  font-weight: 700;
  font-size: clamp(1.9375rem, 1.09375rem + 1.7578125vw, 2.5rem);
  line-height: 1.4516129032;
  animation: text-appear-text calc(var(--text-duration) * 1s) ease-in-out calc(var(--text-delay) * 1s) both;
}
@media ( width >= 768px ) {
  .p-fv__heading-text {
    margin-right: unset;
    line-height: 1.45;
  }
}
.p-fv__heading-text::after {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  background-color: var(--color-white);
  content: "";
  animation: text-appear-cover calc(var(--cover-duration) * 1s) ease-in-out calc(var(--cover-delay) * 1s) both;
}
.p-fv__heading-text:nth-child(2) {
  animation-delay: calc((var(--text-delay) + var(--group-delay)) * 1s);
}
.p-fv__heading-text:nth-child(2)::after {
  animation-delay: calc((var(--cover-delay) + var(--group-delay)) * 1s);
}

.p-fv__text {
  font-weight: 700;
  font-size: clamp(1rem, 0.625rem + 0.78125vw, 1.25rem);
  line-height: 1.875;
}
@media ( width >= 768px ) {
  .p-fv__text {
    line-height: 1.8;
  }
}

/*=====================================
TOP「そさでんの仕事（SERVICE）」セクション
=====================================*/
.p-top-service {
  padding-top: 46px;
  padding-bottom: 41px;
}
@media ( width >= 768px ) {
  .p-top-service {
    padding-top: 77px;
    padding-bottom: 64px;
  }
}

.p-top-service__lead-text {
  margin-top: 22px;
  font-weight: 700;
  font-size: clamp(1rem, 0.9446166855rem + 0.2254791432vw, 1.125rem);
  line-height: 1.875;
  text-align: center;
}
@media ( width >= 768px ) {
  .p-top-service__lead-text {
    margin-top: 18px;
    line-height: 2;
  }
}

.p-top-service__list {
  display: grid;
  grid-template-columns: 87.7300613497%;
  row-gap: 17px;
  justify-content: center;
  -moz-column-gap: 17px;
       column-gap: 17px;
  margin-top: 35px;
}
@media ( width >= 768px ) {
  .p-top-service__list {
    grid-template-columns: repeat(2, 1fr);
    -moz-column-gap: 32px;
         column-gap: 32px;
    margin-top: 37px;
  }
}

/*=====================================
TOP「実績と特徴（ACHIEVEMENTS AND FEATURES）」セクション
=====================================*/
.p-top-features {
  display: none;
  padding-top: 41px;
  padding-bottom: 72px;
}
@media ( width >= 768px ) {
  .p-top-features {
    padding-top: 64px;
    padding-bottom: 134px;
  }
}

.p-top-feature__inner {
  --inner-padding-inline: 32px;
}

.p-top-features__section-heading::after {
  margin-top: 30px;
}
@media ( width >= 768px ) {
  .p-top-features__section-heading::after {
    margin-top: 11px;
  }
}

.p-top-features__list {
  display: grid;
  grid-template-columns: min(100%, 600px);
  row-gap: 63px;
  justify-content: center;
  margin-top: 32px;
}
@media ( width >= 768px ) {
  .p-top-features__list {
    row-gap: 58px;
    margin-top: 64px;
  }
}
@media ( width >= 992px ) {
  .p-top-features__list {
    grid-template-columns: 1fr;
  }
}

.p-top-features__item {
  display: grid;
  row-gap: 19.5px;
}
@media ( width >= 992px ) {
  .p-top-features__item {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
}
@media ( width >= 992px ) {
  .p-top-features__item:nth-child(even) :where(.p-top-features__body) {
    --padding-right: calc(72px / 512px * 100%);
    --padding-left: calc(46px / 512px * 100%);
    order: -1;
  }
}

.p-top-features__body {
  padding-right: var(--padding-right);
  padding-left: var(--padding-left);
}
@media ( width >= 576px ) {
  .p-top-features__body {
    --padding-right: 24px;
    --padding-left: 24px;
  }
}
@media ( width >= 992px ) {
  .p-top-features__body {
    --padding-right: calc(46px / 512px * 100%);
    --padding-left: calc(72px / 512px * 100%);
  }
}

.p-top-features__item-text {
  font-weight: 700;
  font-size: clamp(0.9375rem, 0.65625rem + 0.5859375vw, 1.125rem);
  line-height: 1.7333333333;
}
@media ( width >= 768px ) {
  .p-top-features__item-text {
    line-height: 2;
  }
}

.p-top-features__image {
  aspect-ratio: 286/161;
  margin-inline: 21px;
  border: 1px solid #000;
}
@media ( width >= 992px ) {
  .p-top-features__image {
    aspect-ratio: 512/289;
    margin-inline: unset;
  }
}
.p-top-features__image img {
  display: block;
  width: 100%;
}

/*=====================================
フッター（project）
=====================================*/
.p-footer {
  padding-top: 28px;
  padding-bottom: 47px;
  background-color: var(--color-main);
  color: var(--color-text-reverse);
}
@media ( width >= 768px ) {
  .p-footer {
    padding-top: 54px;
    padding-bottom: 43px;
  }
}

.p-footer__inner {
  display: grid;
  justify-content: center;
}
@media ( width >= 768px ) {
  .p-footer__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas: "company_name company_name company_name" "logo menu mail" "copyright copyright copyright";
    row-gap: 40px;
    -moz-column-gap: 24px;
         column-gap: 24px;
  }
}

.p-footer__section-heading::after {
  display: none;
}
.p-footer__section-heading :where(.c-section-heading__sub) {
  margin-top: 16px;
  color: var(--color-text-reverse);
}

.p-footer__button-wrap {
  display: grid;
  grid-template-columns: min(100%, 327px);
  justify-content: center;
  margin-top: 22px;
}
@media ( width >= 768px ) {
  .p-footer__button-wrap {
    grid-template-columns: min(100%, 457px);
    margin-top: 11px;
  }
}

.p-footer__opening-hours {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 21px;
}
@media ( width >= 768px ) {
  .p-footer__opening-hours {
    flex-direction: row;
    justify-content: center;
    margin-top: 32px;
  }
}

.p-footer__opening-hours-text {
  display: block;
  font-weight: 700;
  font-size: clamp(1rem, 0.625rem + 0.78125vw, 1.25rem);
  line-height: 1.875;
  text-align: center;
}
@media ( width >= 768px ) {
  .p-footer__opening-hours-text {
    line-height: 1.45;
  }
}
@media ( width >= 768px ) {
  .p-footer__opening-hours-text + .p-footer__opening-hours-text {
    margin-left: 1em;
  }
}

.p-footer__opening-hours-time {
  display: block;
  margin-top: 4px;
  font-weight: 900;
  font-size: clamp(1.125rem, 0.375rem + 1.5625vw, 1.625rem);
  line-height: 1.1666666667;
  font-family: "Roboto";
  letter-spacing: 5%;
  text-align: center;
}
@media ( width >= 768px ) {
  .p-footer__opening-hours-time {
    display: inline-block;
    margin-top: 1px;
    margin-left: 1em;
    line-height: 1.1538461538;
  }
}

.p-footer__copyright {
  display: block;
  margin-top: 46px;
  font-weight: 900;
  font-size: clamp(0.8125rem, 0.71875rem + 0.1953125vw, 0.875rem);
  line-height: 1.1538461538;
  font-family: "Roboto";
  letter-spacing: 5%;
  text-align: center;
}
@media ( width >= 768px ) {
  .p-footer__copyright {
    margin-top: 28px;
  }
}

/*=====================================
下層「お問合せ」ページ
=====================================*/
.p-contact {
  padding-top: 68.5px;
  padding-bottom: 81px;
}
@media ( width >= 768px ) {
  .p-contact {
    padding-top: 70px;
    padding-bottom: 136px;
  }
}

.p-contact__inner {
  --inner-padding-inline: 18.5px;
}

@media ( width >= 768px ) {
  .p-contact__section-heading::after {
    margin-top: 11px;
  }
}

.p-contact__lead-text {
  margin-top: 29px;
  font-weight: 700;
  line-height: 1.875;
  letter-spacing: 0.025em;
  text-align: center;
}
@media ( width >= 768px ) {
  .p-contact__lead-text {
    margin-top: 31px;
    font-size: 1.125rem;
    line-height: 2;
    letter-spacing: 10%;
  }
}
@media ( width >= 768px ) {
  .p-contact__lead-text + .p-contact__lead-text {
    margin-top: 40px;
  }
}

.p-contact__tel-link {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  transition: opacity 0.3s ease-in-out;
}
@media (any-hover: hover) {
  .p-contact__tel-link:hover {
    opacity: 0.7;
  }
}

.p-contact__form {
  width: min(100%, 718px);
  margin-top: 78px;
  margin-inline: auto;
  padding-inline: 20px;
}
@media ( width >= 768px ) {
  .p-contact__form {
    margin-top: 70px;
    padding-inline: unset;
  }
}
.p-contact__form :where(.p-form__field:first-child) {
  margin-bottom: 8px;
}
@media ( width >= 768px ) {
  .p-contact__form :where(.p-form__field:first-child) {
    margin-bottom: 16px;
  }
}

/*=====================================
サンクスページ
=====================================*/
.p-thank-you {
  padding-top: 81px;
  padding-bottom: 120px;
}
@media ( width >= 768px ) {
  .p-thank-you {
    padding-top: 173px;
    padding-bottom: 231px;
  }
}

.p-thank-you__inner {
  --inner-padding-inline: 20px;
}

.p-thank-you__heading {
  color: var(--color-main);
  font-weight: 700;
  font-size: clamp(1.125rem, -0.375rem + 4.1666666667vw, 1.625rem);
  line-height: 1.4444444444;
  letter-spacing: 0.03em;
  text-align: center;
}
@media ( width >= 768px ) {
  .p-thank-you__heading {
    line-height: 1.4230769231;
    letter-spacing: 0.06em;
  }
}

.p-thank-you__text {
  margin-top: 62px;
  padding-inline: 7px;
  font-weight: 700;
  font-size: clamp(0.9375rem, 0.8778625954rem + 0.2544529262vw, 1rem);
  line-height: 1.9333333333;
  letter-spacing: 0.025em;
  text-align: center;
}
@media ( width >= 768px ) {
  .p-thank-you__text {
    margin-top: 76px;
    padding-inline: unset;
    line-height: 2.25;
    letter-spacing: 0.06em;
  }
}

/*=====================================
フォーム
=====================================*/
.p-form__fields {
  display: grid;
  row-gap: 37.4px;
}
@media ( width >= 768px ) {
  .p-form__fields {
    grid-template-columns: max-content 1fr;
    row-gap: 20px;
  }
}

.p-form__field {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "name required" "body body";
  row-gap: 13px;
  -moz-column-gap: 16px;
       column-gap: 16px;
}
@media ( width >= 768px ) {
  .p-form__field {
    grid-template-columns: subgrid;
    grid-template-areas: ". required" "name body";
    row-gap: 5px;
    grid-column: span 2;
    -moz-column-gap: clamp(2.25rem, 0.1875rem + 4.296875vw, 3.625rem);
         column-gap: clamp(2.25rem, 0.1875rem + 4.296875vw, 3.625rem);
  }
}

.p-form__field-name {
  grid-area: name;
  font-weight: 700;
  font-size: 0.875rem;
}
@media ( width >= 768px ) {
  .p-form__field-name {
    padding-top: 16px;
    font-size: 1.125rem;
    line-height: 1.4444444444;
    text-align: center;
  }
}

.p-form__field-required {
  grid-area: required;
  color: var(--color-main);
  font-weight: 700;
  font-size: 0.875rem;
}
@media ( width >= 768px ) {
  .p-form__field-required {
    padding-left: 5px;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5;
  }
}

.p-form__field-body {
  grid-area: body;
}

.p-form__submit {
  display: grid;
  grid-template-columns: min(100%, 316px);
  justify-content: center;
  justify-items: center;
  margin-top: 35px;
}
@media ( width >= 768px ) {
  .p-form__submit {
    grid-template-columns: min(199%, 173px);
    margin-top: 62px;
  }
}
.p-form__submit .c-button {
  padding-top: 16px;
  padding-bottom: 11px;
  font-size: 0.875rem;
  letter-spacing: 5%;
}
@media ( width >= 768px ) {
  .p-form__submit .c-button {
    padding-top: calc(19px - var(--border-width));
    padding-bottom: calc(21px - var(--border-width));
    font-size: 1.125rem;
    line-height: 2;
    letter-spacing: 1.1em;
    text-indent: 1.2em;
  }
}

.wpcf7-turnstile {
  margin-bottom: 1em;
}

.wpcf7-spinner {
  display: none;
}

.wpcf7-not-valid-tip {
  margin-top: 0.3em;
  padding-left: 5px;
  font-size: 0.875rem;
  line-height: 1.2;
}
@media ( width >= 768px ) {
  .wpcf7-not-valid-tip {
    font-size: 1rem;
  }
}

.wpcf7 form .wpcf7-response-output {
  width: -moz-fit-content;
  width: fit-content;
  margin-top: 1.5em;
  margin-inline: auto;
  padding-block: 0.8em;
  font-size: 0.9375rem;
  line-height: 1.5;
}
@media ( width >= 768px ) {
  .wpcf7 form .wpcf7-response-output {
    font-size: 1rem;
  }
}

.wpcf7 form.sent .wpcf7-response-output {
  display: none !important;
}

/*=====================================
下層「会社案内」ページ
=====================================*/
.p-company {
  padding-top: 67px;
}
@media ( width >= 768px ) {
  .p-company {
    padding-top: 70px;
  }
}

@media ( width >= 768px ) {
  .p-company__section-heading::after {
    margin-top: 11px;
  }
}

.p-company__list {
  width: min(100%, 561px);
  margin-top: 100px;
  margin-inline: auto;
}
@media ( width >= 768px ) {
  .p-company__list {
    display: grid;
    grid-template-columns: max-content 1fr;
    -moz-column-gap: 52px;
         column-gap: 52px;
    margin-top: 63px;
    font-size: 1.25rem;
  }
}

.p-company__list-item {
  display: grid;
  row-gap: 8px;
  padding-top: 11px;
  padding-bottom: 12px;
  padding-inline: 29.5px;
  border-bottom: 1px solid #000;
  line-height: 1.5;
  letter-spacing: 5%;
}
@media ( width >= 768px ) {
  .p-company__list-item {
    grid-template-columns: subgrid;
    grid-column: span 2;
    padding-top: 23px;
    padding-right: 0;
    padding-bottom: 17px;
    padding-left: 56px;
  }
}
.p-company__list-item:has(.p-company__sub-list) {
  row-gap: 12px;
  padding-bottom: 21px;
}
@media ( width >= 768px ) {
  .p-company__list-item:has(.p-company__sub-list) {
    padding-bottom: 23px;
  }
}

.p-company__list-title {
  font-weight: 400;
}

.p-company__list-data {
  padding-left: 1.1em;
}

.p-company__sub-list {
  display: grid;
  row-gap: 16px;
}
@media ( width >= 768px ) {
  .p-company__sub-list {
    row-gap: 38px;
  }
}

.p-company__sub-item {
  letter-spacing: 0;
}
@media ( width >= 768px ) {
  .p-company__sub-item {
    letter-spacing: unset;
  }
}

.p-company__map {
  height: 288px;
  margin-top: 54px;
  margin-inline: calc(50% - 50vw);
}
@media ( width >= 768px ) {
  .p-company__map {
    height: 412px;
    margin-top: 253px;
  }
}
.p-company__map > iframe {
  width: 100%;
  height: 100%;
}

/*=====================================
下層「事業案内」ページ
=====================================*/
.p-service {
  padding-top: 68px;
  padding-bottom: 57px;
}
@media ( width >= 768px ) {
  .p-service {
    padding-top: 70px;
    padding-bottom: 152px;
  }
}

@media ( width >= 768px ) {
  .p-service__section-heading::after {
    margin-top: 11px;
  }
}

.p-service__list {
  display: grid;
  grid-template-columns: min(100%, 768px);
  row-gap: 74px;
  justify-content: center;
  margin-top: 28px;
}
@media ( width >= 768px ) {
  .p-service__list {
    row-gap: 168px;
    margin-top: 112px;
  }
}
@media ( width >= 992px ) {
  .p-service__list {
    grid-template-columns: 1fr;
  }
}

@media ( width >= 992px ) {
  .p-service__item {
    display: grid;
    grid-template-columns: 45.8984375% 1fr;
    grid-template-areas: "image header" "image body";
    align-content: center;
    -moz-column-gap: clamp(2rem, -4.0277777778rem + 9.7222222222vw, 3.75rem);
         column-gap: clamp(2rem, -4.0277777778rem + 9.7222222222vw, 3.75rem);
  }
}
@media ( width >= 992px ) {
  .p-service__item:nth-child(even) {
    grid-template-columns: 1fr 45.8984375%;
    grid-template-areas: "header image" "body image";
  }
}
@media ( width >= 992px ) {
  .p-service__item:first-child .p-service__item-header {
    justify-content: space-between;
    max-width: 464px;
  }
}
@media ( width >= 992px ) {
  .p-service__item.p-service__item--illustration {
    grid-template-columns: 1fr 41.30859375%;
    -moz-column-gap: clamp(2rem, -8.9791666667rem + 17.7083333333vw, 5.1875rem);
         column-gap: clamp(2rem, -8.9791666667rem + 17.7083333333vw, 5.1875rem);
  }
}
@media ( width >= 992px ) {
  .p-service__item.p-service__item--illustration .p-service__item-header {
    -moz-column-gap: 26px;
         column-gap: 26px;
  }
}
.p-service__item.p-service__item--illustration .p-service__item-title {
  translate: 0 -5px;
}
@media ( width >= 992px ) {
  .p-service__item.p-service__item--illustration .p-service__item-title {
    translate: 0 -12px;
  }
}
.p-service__item.p-service__item--illustration .p-service__item-sub-title {
  font-size: clamp(1.0625rem, 0.735rem + 1.3333333333vw, 1.375rem);
  line-height: 1.4705882353;
}
.p-service__item.p-service__item--illustration .p-service__item-image {
  padding-top: 8px;
}
@media ( width >= 992px ) {
  .p-service__item.p-service__item--illustration .p-service__item-image {
    margin-top: -25px;
    padding-top: unset;
  }
}
@media ( width >= 992px ) {
  .p-service__item.p-service__item--illustration .p-service__item-text {
    width: min(100%, 495px);
    margin-top: 25px;
  }
}

.p-service__item-header {
  display: grid;
  grid-template-columns: auto auto;
  align-items: end;
  justify-content: start;
  -moz-column-gap: 10px;
       column-gap: 10px;
  height: -moz-fit-content;
  height: fit-content;
}
@media ( width >= 992px ) {
  .p-service__item-header {
    grid-area: header;
    -moz-column-gap: 20px;
         column-gap: 20px;
  }
}

.p-service__item-title {
  translate: 0 -9px;
  font-weight: 700;
  font-size: clamp(1.25rem, 0.726rem + 2.1333333333vw, 1.75rem);
  line-height: 1.45;
}
@media ( width >= 992px ) {
  .p-service__item-title {
    order: -1;
    translate: 0 -11px;
    line-height: 1.4285714286;
  }
}

.p-service__item-order {
  -webkit-text-stroke: 1px var(--color-main);
  color: transparent;
  font-weight: 900;
  font-size: 2.5rem;
  line-height: 1.175;
  font-family: "Roboto";
  letter-spacing: 5%;
}
@media ( width >= 992px ) {
  .p-service__item-order {
    font-size: 4.5rem;
    line-height: 1.1714285714;
  }
}

.p-service__item-image {
  display: grid;
  align-items: center;
  aspect-ratio: 323/194;
  width: min(100%, 600px);
  margin-top: 16px;
  margin-inline: auto;
}
@media ( width >= 992px ) {
  .p-service__item-image {
    grid-area: image;
    aspect-ratio: unset;
    width: auto;
    margin-top: unset;
    translate: 0 16px;
  }
}
.p-service__item-image img {
  display: block;
  width: 100%;
}

.p-service__item-body {
  margin-top: 20px;
}
@media ( width >= 992px ) {
  .p-service__item-body {
    grid-area: body;
    margin-top: unset;
  }
}

.p-service__item-sub-title {
  font-weight: 700;
  font-size: clamp(1.125rem, 0.863rem + 1.0666666667vw, 1.375rem);
  line-height: 1.4444444444;
}
@media ( width >= 992px ) {
  .p-service__item-sub-title {
    line-height: 1.4545454545;
  }
}

.p-service__item-text {
  margin-top: 15px;
  font-size: clamp(0.9375rem, 0.741rem + 0.8vw, 1.125rem);
  line-height: 2;
  letter-spacing: 5%;
}
@media ( width >= 992px ) {
  .p-service__item-text {
    margin-top: 28px;
    line-height: 1.8888888889;
  }
}

.p-service__area {
  --border-width: 6px;
  position: relative;
  margin-top: 74px;
  padding-top: calc(56px - var(--border-width));
  padding-bottom: calc(48px - var(--border-width));
  padding-inline: calc(45px - var(--border-width));
  border: var(--border-width) solid var(--color-main);
  border-radius: 56px;
}
@media ( width >= 768px ) {
  .p-service__area {
    --border-width: 10px;
    display: grid;
    grid-template-columns: 51.9294377067% auto;
    grid-template-areas: "lead image" "text image";
    -moz-column-gap: 8.2690187431%;
         column-gap: 8.2690187431%;
    margin-top: 77px;
    padding-top: calc(37px - var(--border-width));
    padding-right: calc(46px - var(--border-width));
    padding-bottom: calc(38px - var(--border-width));
    padding-left: calc(71px - var(--border-width));
    border-radius: 68px;
  }
}
@media ( width >= 992px ) {
  .p-service__area {
    grid-template-columns: 51.9294377067% 27.4531422271% 1fr;
    grid-template-areas: "lead image phrase" "text image phrase";
  }
}

.p-service__area-header {
  position: absolute;
  top: -34px;
  left: 7px;
  padding-right: 75px;
  background-color: var(--color-white);
}
@media ( width >= 768px ) {
  .p-service__area-header {
    top: calc(var(--border-width) * -1);
    left: calc(var(--border-width) * -1);
    padding-right: 100px;
  }
}

.p-service__area-title {
  width: -moz-fit-content;
  width: fit-content;
  padding-top: 13px;
  padding-right: 30px;
  padding-bottom: 13px;
  padding-left: 28px;
  background-color: var(--color-main);
  color: var(--color-text-reverse);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.45;
  clip-path: polygon(0 0, 100% 0, calc(100% - 29px) 100%, 0 100%);
}
@media ( width >= 768px ) {
  .p-service__area-title {
    padding-inline: 70px;
    padding-block: 18px;
    font-size: 1.5rem;
    line-height: 1.4583333333;
    clip-path: polygon(0 0, 100% 0, calc(100% - 44px) 100%, 0 100%);
  }
}

.p-service__area-deco-image {
  position: absolute;
  top: 21.5px;
  left: 169px;
  aspect-ratio: 75/18;
  width: 75px;
}
@media ( width >= 768px ) {
  .p-service__area-deco-image {
    top: -82px;
    left: 361px;
    aspect-ratio: 42/174;
    width: 42px;
    rotate: -90deg;
  }
}
.p-service__area-deco-image img {
  display: block;
  width: 100%;
}

.p-service__area-en-phrase {
  display: none;
}
@media ( width >= 992px ) {
  .p-service__area-en-phrase {
    display: block;
    grid-area: phrase;
    align-self: center;
    translate: 3px 0;
    color: var(--color-main);
    font-weight: 900;
    font-size: 1.8125rem;
    line-height: 1.1724137931;
    letter-spacing: 3.1%;
    text-transform: uppercase;
    opacity: 0.28;
    writing-mode: vertical-rl;
  }
}

.p-service__area-lead-text {
  font-weight: 700;
  font-size: clamp(1.125rem, 0.863rem + 1.0666666667vw, 1.375rem);
  line-height: 1.4444444444;
}
@media ( width >= 768px ) {
  .p-service__area-lead-text {
    grid-area: lead;
    margin-top: clamp(3.5rem, 2.09375rem + 2.9296875vw, 4.4375rem);
    line-height: 1.4545454545;
  }
}

.p-service__area-image {
  width: min(100% - 3px, 229px);
  margin-top: 23px;
  margin-inline: auto;
}
@media ( width >= 768px ) {
  .p-service__area-image {
    grid-area: image;
    align-self: center;
    width: 100%;
    margin-top: unset;
    margin-inline: unset;
    padding-bottom: 8px;
    translate: 0 3px;
  }
}
.p-service__area-image img {
  display: block;
  width: 100%;
}

.p-service__area-text {
  margin-top: 32px;
  font-size: clamp(1rem, 0.869rem + 0.5333333333vw, 1.125rem);
  line-height: 2.125;
  letter-spacing: 5%;
}
@media ( width >= 768px ) {
  .p-service__area-text {
    grid-area: text;
    margin-top: 8px;
    translate: 3px 0;
    line-height: 1.8888888889;
  }
}

/*=====================================
ローディング画面
=====================================*/
.p-splash {
  --duration: 1s;
  --easing: ease-in-out;
  visibility: visible;
  z-index: calc(infinity);
  position: fixed;
  inset: 0;
  background-color: var(--color-main);
  opacity: 1;
  transition: opacity var(--duration) var(--easing), visibility var(--duration) var(--easing);
}
.p-splash.is-loaded {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.is-visited .p-splash {
  visibility: hidden;
  opacity: 0 !important;
  transition: none;
}

.p-splash__inner {
  display: grid;
  place-items: center;
  height: 100%;
}

@keyframes display {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.p-splash__logo {
  width: min(100%, 240px);
  animation: display 1ms linear 100ms 1 forwards;
  opacity: 0;
}
@media ( width >= 768px ) {
  .p-splash__logo {
    width: min(30vw, 320px);
  }
}
.p-splash__logo svg {
  width: 100%;
  height: auto;
}
.p-splash__logo .a {
  fill: none;
}
.p-splash__logo .b {
  clip-path: url(#a);
}
.p-splash__logo {
  /* Vivus用に調整: 最初は塗りを透明にし、線（stroke）を付ける */
}
.p-splash__logo .c {
  fill: rgba(255, 255, 255, 0);
  stroke: #fff;
  stroke-width: 0.5;
  transition: fill 0.5s ease; /* アニメーション終了後に塗るための設定 */
}
.p-splash__logo {
  /* アニメーション完了後にクラスを付与して中を塗る設定（任意） */
}
.p-splash__logo .finished .c {
  fill: rgb(255, 255, 255);
}

@media ( width >= 768px ) {
  .u-hidden-md {
    display: none !important;
  }
}

.u-block-md {
  display: none !important;
}
@media ( width >= 768px ) {
  .u-block-md {
    display: block !important;
  }
}

@media ( width >= 992px ) {
  .u-hidden-lg {
    display: none !important;
  }
}

.u-block-lg {
  display: none;
}
@media ( width >= 992px ) {
  .u-block-lg {
    display: block;
  }
}