@charset "UTF-8";@import "kiso.css";

@property --root-font-size {
  syntax: "<length>";
  inherits: false;
  initial-value: 16px;
}
@font-face {
  font-family: "Local Noto Sans JP";
  src: local("Noto Sans JP");
}
:root {
  /* inner */
  --container: min(1080px, 100%);
  --container-sp: min(500px, 100%);
  --padding-container: 15px;
  /* z-index */
  --z-index-header: 900;
  /* color */
  --color-white: #f6f7f8;
  --color-darkblue: #171b33;
  --color-text: #333;
  --color-black: #333;
  --color-gray: #b8b8b8;
  /* font-weight */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;
  /* font-family */
  --base-font-family: "Local Noto Sans JP", "Noto Sans JP", sans-serif;
  --title-font-family: "Noto Serif JP", serif;
  --second-font-family: "Noto Serif JP", serif;
  --to-rem: calc(tan(atan2(1px, var(--root-font-size))) * 1rem);
  /* transition duration */
  --duration: 0.3s;
  /* header height */
  --header-height: 60px;
}
@media screen and (width >= 768px) {
  :root {
    --header-height: 80px;
  }
}

html {
  font-size: 100%;
}

a[href^=tel] {
  text-decoration: none;
}

a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  /* 強調をなくす */
}

a:hover {
  text-decoration: none;
}

img,
svg {
  vertical-align: middle;
}

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

:where(:any-link, button, [type=button], [type=reset], [type=submit], label[for], select, summary, [role=tab], [role=button]) {
  cursor: pointer;
}

:where(button, [type=button], [type=reset], [type=submit]) {
  touch-action: manipulation;
}

:focus:not(:focus-visible) {
  outline: none;
}

input[type=text] {
  font-size: 1rem;
  /* = 16px */
}

textarea {
  field-sizing: content;
}

body {
  font-family: var(--base-font-family);
  font-weight: var(--fw-regular);
  color: var(--color-text);
  background-color: var(--color-white);
}

p {
  font-size: calc(12 * var(--to-rem));
  font-weight: 400;
  line-height: 1.6666666667;
  text-align: justify;
  letter-spacing: 0.03em;
}
@media screen and (min-width: 768px) {
  p {
    font-size: calc(14 * var(--to-rem));
  }
}

section {
  padding-block: 50px;
}
@media screen and (min-width: 768px) {
  section {
    padding-block: 100px;
  }
}

html {
  box-sizing: border-box;
  /* Prevent adjustments of font size after orientation changes in iOS */
  word-break: normal;
  tab-size: 4;
  text-size-adjust: 100%;
}

*,
::before,
::after {
  /* Set `background-repeat: no-repeat` to all elements and pseudo elements */
  box-sizing: inherit;
  box-sizing: border-box;
  background-repeat: no-repeat;
}

::before,
::after {
  text-decoration: inherit;
  /* Inherit text-decoration and vertical align to ::before and ::after pseudo elements */
  vertical-align: inherit;
}

* {
  padding: 0;
  /* Reset `padding` and `margin` of all elements */
  margin: 0;
}

/* # =================================================================
     # General elements
     # ================================================================= */
hr {
  /* Show the overflow in Edge and IE */
  height: 0;
  overflow: visible;
  /* Add the correct box sizing in Firefox */
  color: inherit;
  /* Correct border color in Firefox. */
}

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

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

small {
  font-size: 80%;
  /* Set font-size to 80% in `small` elements */
}

[hidden] {
  display: none;
  /* Add the correct display in IE */
}

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

a {
  background-color: transparent;
  /* Remove the gray background on active links in IE 10 */
}

a:active,
a:hover {
  outline-width: 0;
  /* Remove the outline when hovering in all browsers */
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  /* Specify the font family of code elements */
}

pre {
  font-size: 1em;
  /* Correct the odd `em` font sizing in all browsers */
}

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

/* https://gist.github.com/unruthless/413930 */
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

table {
  /* Correct border color in all Chrome, Edge, and Safari. */
  text-indent: 0;
  border-color: inherit;
  /* Remove text indentation in Chrome, Edge, and Safari */
}

iframe {
  border-style: none;
}

/* # =================================================================
     # Forms
     # ================================================================= */
input {
  border-radius: 0;
}

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

[type=search] {
  appearance: textfield;
  appearance: none;
  /* Correct the odd appearance in Chrome and Safari */
  outline-offset: -2px;
  /* Correct the outline style in Safari */
}

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

textarea {
  overflow: auto;
  resize: vertical;
}

button,
input,
optgroup,
select,
textarea {
  font: inherit;
  /* Specify font inheritance of form elements */
}

optgroup {
  font-weight: bold;
  /* Restore the font weight unset by the previous rule */
}

button {
  overflow: visible;
  /* Address `overflow` set to `hidden` in IE 8/9/10/11 */
}

button,
select {
  text-transform: none;
  /* Firefox 40+, Internet Explorer 11- */
}

/* Apply cursor pointer to button elements */
button,
[type=button],
[type=reset],
[type=submit],
[role=button] {
  cursor: pointer;
}

/* Remove inner padding and border in Firefox 4+ */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

/* Replace focus style removed in the border reset above */
button:-moz-focusring,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  outline: 1px dotted ButtonText;
}

button,
html [type=button],
[type=reset],
[type=submit] {
  appearance: button;
  /* Correct the inability to style clickable types in iOS */
}

button,
input,
select,
textarea {
  appearance: none;
  background-color: transparent;
  border-style: none;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline-width: 0;
}

/* Style select like a standard input */
select {
  appearance: none;
}

select::-ms-expand {
  display: none;
  /* Internet Explorer 11+ */
}

select::-ms-value {
  color: currentcolor;
  /* Internet Explorer 11+ */
}

legend {
  /* Correct the color inheritance from `fieldset` elements in IE */
  display: table;
  /* Correct the text wrapping in Edge and IE */
  /* Correct the text wrapping in Edge and IE */
  max-width: 100%;
  /* Correct `color` not being inherited in IE 8/9/10/11 */
  color: inherit;
  /* Correct the text wrapping in Edge and IE */
  white-space: normal;
  border: 0;
  /* Correct the text wrapping in Edge 18- and IE */
}

::-webkit-file-upload-button {
  font: inherit;
  color: inherit;
  /* Correct the inability to style clickable types in iOS and Safari */
  appearance: button;
  /* Change font properties to `inherit` in Chrome and Safari */
}

/* Replace pointer cursor in disabled elements */
[disabled] {
  cursor: default;
}

/* # =================================================================
     # Specify media element style
     # ================================================================= */
img {
  border-style: none;
  /* Remove border when inside `a` element in IE 8/9/10 */
}

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

/* # =================================================================
     # Accessibility
     # ================================================================= */
/* Specify the progress cursor of updating elements */
[aria-busy=true] {
  cursor: progress;
}

/* Specify the pointer cursor of trigger elements */
[aria-controls] {
  cursor: pointer;
}

/* Specify the unstyled cursor of disabled, not-editable, or otherwise inoperable elements */
[aria-disabled=true] {
  cursor: default;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove default padding */
ul,
ol {
  padding: 0;
  list-style: "";
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s;
}

.l-contact {
  margin-top: var(--header-height);
}

.l-header {
  position: fixed;
  inset: 0;
  z-index: var(--z-index-header);
}

.l-container {
  width: min(var(--container-sp) + var(--padding-container) * 2, 100%);
  padding-inline: var(--padding-container);
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .l-container {
    width: min(var(--container) + var(--padding-container) * 2, 100%);
  }
}

.l-top__about {
  margin-block-start: calc(40 * var(--to-rem));
}
@media screen and (min-width: 768px) {
  .l-top__about {
    margin-block-start: calc(124 * var(--to-rem));
  }
}

.c-button {
  place-self: center end;
  padding-block: 5px;
  padding-inline: 10px;
  font-size: calc(10 * var(--to-rem));
  font-weight: 500;
  border-radius: 3px;
  text-box-trim: trim-both;
}
@media screen and (min-width: 768px) {
  .c-button {
    padding-block: 8px;
    padding-inline: 15px;
    font-size: calc(12 * var(--to-rem));
  }
}

.c-button[data-button-color=blue] {
  color: var(--color-white);
  background-color: var(--color-darkblue);
}

.c-button[data-button-color=white] {
  color: var(--color-darkblue);
  background-color: var(--color-white);
}

.c-button[data-color=black] {
  color: var(--color-white);
  background-color: var(--color-black);
  border-color: var(--color-black);
}
.c-button[data-color=black]::before {
  border-top: 2px solid currentcolor;
  border-right: 2px solid currentcolor;
}

.c-section-title,
.c-sticky-title {
  display: grid;
  row-gap: 20px;
  font-size: calc(32 * var(--to-rem));
  line-height: 1;
  color: var(--color-darkblue);
}
@media screen and (min-width: 768px) {
  .c-section-title,
  .c-sticky-title {
    font-size: calc(46 * var(--to-rem));
  }
}

.c-section-title--main,
.c-section-title--sub {
  display: block;
}

.c-section-title--main {
  font-family: serif;
}

.c-section-title--sub {
  position: relative;
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 0.5em;
  font-size: calc(10 * var(--to-rem));
  font-weight: 400;
  text-transform: uppercase;
}
.c-section-title--sub::before {
  display: block;
  grid-column: 1/2;
  align-self: center;
  width: 0.6em;
  aspect-ratio: 1;
  content: "";
  background-color: var(--color-darkblue);
  border-radius: 1px;
}
@media screen and (min-width: 768px) {
  .c-section-title--sub {
    font-size: calc(14 * var(--to-rem));
  }
}

@media screen and (min-width: 768px) {
  .c-sticky-title {
    position: sticky;
    top: 60px;
  }
}

.p-about__inner {
  display: grid;
  row-gap: 40px;
  margin-top: 46px;
}
@media screen and (min-width: 768px) {
  .p-about__inner {
    row-gap: 60px;
    max-width: 500px;
    margin-top: 60px;
    margin-left: auto;
  }
}

.p-blog .c-section-title--main {
  writing-mode: vertical-lr;
}

.p-blog__nothing {
  margin-top: 16px;
}

.p-blog__list {
  max-width: 800px;
  margin-inline: auto;
  margin-top: 46px;
}
@media screen and (min-width: 768px) {
  .p-blog__list {
    margin-top: 60px;
  }
}

.p-blog__link {
  display: block;
  padding: 12px 8px;
  border-bottom: 1px solid var(--color-gray);
}

.p-blog__item--first {
  border-top: 1px solid var(--color-gray);
}

.p-blog__date {
  display: inline-block;
  margin-right: 10px;
  font-family: var(--second-font-family);
  font-size: calc(12 * var(--to-rem));
}
@media screen and (min-width: 768px) {
  .p-blog__date {
    margin-right: 14px;
    font-size: calc(14 * var(--to-rem));
  }
}

.p-blog__meta {
  display: inline-block;
  padding-block: 2px;
  padding-inline: 16px;
  font-size: calc(10 * var(--to-rem));
  font-weight: 400;
  text-transform: uppercase;
  border: 1px solid var(--color-black);
  border-radius: 12px;
}
@media screen and (min-width: 768px) {
  .p-blog__meta {
    font-size: calc(12 * var(--to-rem));
  }
}

.p-blog__title {
  margin-top: 3px;
  font-size: calc(14 * var(--to-rem));
  font-weight: 400;
}
@media screen and (min-width: 768px) {
  .p-blog__title {
    margin-top: 6px;
    font-size: calc(16 * var(--to-rem));
  }
}

.p-footer {
  padding-bottom: 15px;
  color: var(--color-white);
}
@media screen and (min-width: 768px) {
  .p-footer {
    padding: 30px;
  }
}

@media screen and (min-width: 768px) {
  .p-footer .l-container {
    width: 100%;
    background-color: var(--color-darkblue);
    border-radius: 5px;
  }
}

.p-footer__container {
  padding-top: 50px;
  padding-bottom: 11px;
  background-color: var(--color-darkblue);
  border-radius: 3px;
}
@media screen and (min-width: 768px) {
  .p-footer__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: min(var(--container) + var(--padding-container) * 2, 100%);
    padding-inline: 15px;
    padding-bottom: 50px;
    margin-inline: auto;
  }
}

.p-footer__top {
  display: grid;
  row-gap: 16px;
}
@media screen and (min-width: 768px) {
  .p-footer__top {
    row-gap: 20px;
  }
}

.p-footer__top .c-button {
  justify-self: center;
}
@media screen and (min-width: 768px) {
  .p-footer__top .c-button {
    justify-self: start;
  }
}

.p-footer__catch {
  line-height: 1;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-footer__catch {
    font-size: calc(32 * var(--to-rem));
    text-align: left;
  }
}

.p-footer__text {
  line-height: 1.75;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-footer__text {
    text-align: left;
  }
}

.p-footer__bottom {
  display: grid;
  row-gap: 11px;
  margin-top: 60px;
  font-size: calc(10 * var(--to-rem));
}
@media screen and (min-width: 768px) {
  .p-footer__bottom {
    display: flex;
    column-gap: 18px;
    align-self: end;
    justify-content: end;
    font-size: calc(12 * var(--to-rem));
  }
}

.p-footer__privacy-policy {
  text-align: center;
}

.p-footer__copyright {
  font-size: calc(10 * var(--to-rem));
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-footer__copyright {
    font-size: calc(12 * var(--to-rem));
  }
}

.p-fv {
  padding-top: 30vh;
  padding-bottom: 5vh;
}
@media screen and (min-width: 768px) {
  .p-fv {
    padding-top: 25vh;
  }
}

.p-fv__inner {
  align-self: center;
  width: 100%;
}

.p-fv__catch {
  margin-top: 4px;
  font-size: calc(24 * var(--to-rem));
  line-height: 1.5;
  color: var(--color-darkblue);
  letter-spacing: 0.03em;
}
@media screen and (min-width: 768px) {
  .p-fv__catch {
    font-size: calc(36 * var(--to-rem));
    line-height: 1.3;
  }
}

.p-fv__catch--sub {
  display: inline-block;
  padding: 2px 6px;
  color: var(--color-white);
  background-color: var(--color-darkblue);
}
@media screen and (min-width: 768px) {
  .p-fv__catch--sub {
    padding: 3px 16px;
    font-size: calc(20 * var(--to-rem));
  }
}

/* swiper */
.swiper.p-fv__swiper {
  overflow: visible;
}

.p-swiper__container {
  width: 100%;
  padding-bottom: 20vh;
  overflow: hidden;
}

.p-fv__swiper {
  position: relative;
}
.p-fv__swiper::after {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: block;
  width: 100vw;
  height: 100%;
  content: "";
  background: linear-gradient(to left, rgba(246, 247, 248, 0.8), transparent 15%, transparent 85%, rgba(246, 247, 248, 0.8));
}

.p-swiper-wrapper {
  /* スライドの動き等速 */
  transition-timing-function: linear;
}

.p-header {
  height: var(--header-height);
}
@media screen and (min-width: 768px) {
  .p-header {
    width: min(var(--container) + var(--padding-container) * 2, 100%);
    margin: 0 auto;
  }
}

.p-header__inner {
  display: grid;
  height: 100%;
  padding-inline: 15px;
}

.p-text-area {
  display: grid;
  row-gap: 20px;
}
@media screen and (min-width: 768px) {
  .p-text-area {
    grid-template-columns: 1fr 500px;
  }
}

.p-main-heading {
  font-size: calc(18 * var(--to-rem));
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.03em;
}
@media screen and (min-width: 768px) {
  .p-main-heading {
    grid-row: 1/2;
    grid-column: 2/3;
    font-size: calc(20 * var(--to-rem));
  }
}

.p-main-text__box {
  display: grid;
  row-gap: 8px;
}
@media screen and (min-width: 768px) {
  .p-main-text__box {
    grid-row: 2/3;
    grid-column: 2/3;
  }
}

.p-main-text {
  line-height: 2;
}
@media screen and (min-width: 768px) {
  .p-main-text {
    line-height: 1.7;
  }
}

.p-service__inner {
  display: grid;
  row-gap: 40px;
  margin-top: 46px;
}
@media screen and (min-width: 768px) {
  .p-service__inner {
    row-gap: 60px;
    margin-top: 140px;
    margin-left: auto;
  }
}

.p-text-area[data-section=service] {
  padding-bottom: 46px;
  border-bottom: 1px solid var(--color-gray);
}
@media screen and (min-width: 768px) {
  .p-text-area[data-section=service] {
    padding-bottom: 60px;
  }
}

.p-service__number {
  font-size: calc(10 * var(--to-rem));
}
@media screen and (min-width: 768px) {
  .p-service__number {
    font-size: calc(12 * var(--to-rem));
  }
}

.p-status {
  position: fixed;
  bottom: 17.5px;
  left: 50%;
  z-index: 999;
  display: grid;
  grid-template-columns: 67fr 292fr;
  width: calc(100% - 30px);
  max-width: 1080px;
  overflow: hidden;
  border: 1px solid var(--color-darkblue);
  border-radius: 3px;
  transition: transform 0.3s ease-in-out;
  transform: translate(-50%, 0);
}
.p-status.is-hidden {
  transform: translate(-50%, calc(100% + 18px));
}

.p-status__title {
  display: grid;
  place-content: center;
  font-size: calc(14 * var(--to-rem));
  font-weight: 500;
  color: var(--color-white);
  text-transform: uppercase;
  background-color: var(--color-darkblue);
}
@media screen and (min-width: 768px) {
  .p-status__title {
    font-size: calc(16 * var(--to-rem));
  }
}

.p-status__inner {
  padding: 0 8px 8px;
  background-color: var(--color-white);
}
@media screen and (min-width: 768px) {
  .p-status__inner {
    padding: 8px 16px;
  }
}

.p-status__meta {
  font-size: calc(10 * var(--to-rem));
  font-weight: 500;
}
@media screen and (min-width: 768px) {
  .p-status__meta {
    font-size: calc(12 * var(--to-rem));
  }
}

.p-status__text {
  font-size: calc(12 * var(--to-rem));
  font-weight: 500;
}
@media screen and (min-width: 768px) {
  .p-status__text {
    font-size: calc(14 * var(--to-rem));
  }
}

.p-works__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: calc(24 * var(--to-rem));
  margin-top: 52px;
}
@media screen and (min-width: 768px) {
  .p-works__list {
    margin-top: 120px;
  }
}

.p-works__image {
  aspect-ratio: 342/231;
}

.p-works__title {
  margin-top: 10px;
  font-size: calc(12 * var(--to-rem));
  font-weight: 400;
  line-height: 1;
}
@media screen and (min-width: 768px) {
  .p-works__title {
    font-size: calc(14 * var(--to-rem));
  }
}

:root {
  --clip-triangle-top: polygon(50% 0, 100% 100%, 0 100%);
  --clip-triangle-bottom: polygon(0 0, 100% 0, 50% 100%);
  --clip-triangle-right: polygon(0 0, 100% 50%, 0 100%);
  --clip-triangle-left: polygon(0 50%, 100% 0, 100% 100%);
  --clip-triangle-lower-left: polygon(0 0, 100% 100%, 0 100%);
  --clip-triangle-upper-left: polygon(0 0, 100% 0, 0 100%);
  --clip-triangle-lower-right: polygon(100% 0, 100% 100%, 0 100%);
  --clip-triangle-upper-right: polygon(0 0, 100% 0, 100% 100%);
}

@media (width <= 767px) {
  [data-only-device=md] {
    display: none;
  }
}

@media (width >= 768px) {
  [data-only-device=sm] {
    display: none;
  }
}

.u-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(100%);
  white-space: nowrap;
  border: 0;
}

.u-text__marker {
  background: linear-gradient(transparent 75%, var(--color-orange) 75%);
}

.u-text__inline-block {
  display: inline-block;
}

.u-text__indent {
  padding-inline-start: 1em;
  text-indent: -1em;
}