@charset "UTF-8";
/* ============================================================================
common
============================================================================ */
/* reset
=========================================================================== */
/* destyle.css v4.0.0 | MIT License | https://github.com/nicolas-cusan/destyle.css */
/* Reset box-model and set borders */
/* ============================================ */
*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-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 {
  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] {
  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 */
  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;
}

/* foundation
=========================================================================== */
:root {
  --spacing: .1em;
}

* {
  letter-spacing: var(--spacing);
}

html {
  font-size: 100%;
}

body {
  min-width: 320px;
  background-color: #faf9f2;
  color: #111111;
  font-family: dnp-shuei-mincho-pr6n, sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.8;
}
@media screen and (max-width: 959px) {
  body {
    font-size: 0.9375rem;
  }
}

a,
span {
  display: inline-block;
}

a[href^="tel:"] {
  pointer-events: none;
}
@media screen and (max-width: 599px) {
  a[href^="tel:"] {
    pointer-events: initial;
  }
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: top; /* 初期値の「baseline」のままだと、画像の下に余白ができる */
}

em {
  font-style: normal;
}

/* input, textareaの文字列 */
::placeholder {
  color: rgba(17, 17, 17, 0.2);
}

/* layout
=========================================================================== */
/* container
=========================================================================== */
.l-container {
  width: 90%;
  max-width: 72.5rem;
  margin: 0 auto;
}

.l-container--s {
  width: 90%;
  max-width: 56.25rem;
  margin: 0 auto;
}

/* flex
=========================================================================== */
/* 右寄せ */
.l-flex--right {
  display: flex;
  justify-content: flex-end;
}

/* breakpoint
=========================================================================== */
/* ブレイクポイントで表示
================================================== */
.l-tb-w--show {
  display: none;
}
@media screen and (max-width: 1279px) {
  .l-tb-w--show {
    display: initial;
  }
}

.l-tb-h--show {
  display: none;
}
@media screen and (max-width: 959px) {
  .l-tb-h--show {
    display: initial;
  }
}

.l-sp--show {
  display: none;
}
@media screen and (max-width: 599px) {
  .l-sp--show {
    display: initial;
  }
}

/* ブレイクポイントで非表示
================================================== */
@media screen and (max-width: 1279px) {
  .l-tb-w--hide {
    display: none;
  }
}

@media screen and (max-width: 959px) {
  .l-tb-h--hide {
    display: none;
  }
}

@media screen and (max-width: 599px) {
  .l-sp--hide {
    display: none;
  }
}

/* component
=========================================================================== */
/* header
================================================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  z-index: 999;
  width: 100%;
  padding-left: 2rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.2);
  background-color: #faf9f2;
}
header h1 {
  transition-duration: 0.3s;
}
header h1:hover {
  opacity: 0.5;
}
header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header li {
  color: #000000;
  line-height: 1;
}

.header__list-item {
  display: flex;
  justify-content: space-between;
  gap: 2.25rem;
}
.header__list-item li {
  font-size: 0.9375rem;
}
.header__list-item li a {
  transition-duration: 0.3s;
}
.header__list-item li a:hover {
  opacity: 0.5;
}

.header__list-btn {
  display: flex;
  justify-content: space-between;
}
.header__list-btn li {
  transition-duration: 0.3s;
}
.header__list-btn li:hover {
  opacity: 0.7;
}
.header__list-btn li a {
  display: flex;
  padding: 2rem;
}
.header__list-btn .recruitment {
  margin-left: 2.25rem;
  background-color: #262626;
  color: #fff;
}
.header__list-btn .recruitment a {
  gap: 0.625rem;
}
.header__list-btn .contact {
  background-color: #e8da38;
}

/* 上に上がる動き */
header.move-up {
  animation: move-up 0.5s forwards;
}

@keyframes move-up {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-100px);
  }
}
/* 下に下がる動き */
header.move-down {
  animation: move-down 0.5s forwards;
}

@keyframes move-down {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media screen and (max-width: 1279px) {
  header {
    height: 3.75rem;
  }
  header h1 {
    transition-duration: initial;
  }
  header h1:hover {
    opacity: initial;
  }
  header nav {
    display: none;
  }
  header nav.open {
    display: initial;
    position: fixed;
    top: 3.75rem;
    left: 0;
    width: 100%;
    height: calc(100svh - 3.75rem);
    z-index: 1;
    background-color: #faf9f2;
  }
  header nav.open .header__list-item {
    flex-direction: column;
    justify-content: initial;
    gap: initial;
    width: 90%;
    margin: 2.625rem auto 1.875rem;
  }
  header nav.open .header__list-item li {
    font-size: 1rem;
    border-bottom: 1px solid #e1e1df;
  }
  header nav.open .header__list-item li a {
    display: block;
    padding: 1.125rem 0;
    transition-duration: initial;
  }
  header nav.open .header__list-item li a:hover {
    opacity: initial;
  }
  header nav.open .header__list-btn {
    flex-direction: column;
    justify-content: initial;
    gap: 1rem;
    width: 90%;
    margin: 0 auto;
  }
  header nav.open .header__list-btn li {
    width: 100%;
    max-width: 30rem;
    margin: 0 auto;
    font-size: 0.9375rem;
    transition-duration: initial;
  }
  header nav.open .header__list-btn li:hover {
    opacity: initial;
  }
  header nav.open .header__list-btn li a {
    display: flex;
    padding: 1rem 0;
    justify-content: center;
  }
  .header__menu {
    position: relative;
    width: 3rem;
    height: 3.75rem;
    margin-right: 2rem;
    transition-duration: 0.3s;
    cursor: pointer;
  }
  .header__menu:hover {
    opacity: 0.5;
  }
  .header__menu .hamburger {
    position: absolute;
    top: calc(50% - 0.5rem);
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .header__menu .hamburger span {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1.5rem;
    height: 0.0625rem;
    background-color: #111111;
  }
  .header__menu .hamburger span:first-child {
    top: -0.375rem;
  }
  .header__menu .hamburger span:nth-child(2) {
    top: 0;
  }
  .header__menu .hamburger span:nth-child(3) {
    top: 0.375rem;
  }
  .header__menu .hamburger p {
    display: inline-block;
    position: absolute;
    top: calc(50% + 0.3125rem + 0.375rem + 0.5rem);
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3rem;
    font-size: 0.625rem;
    --spacing: 1;
    line-height: 1;
  }
  .header__menu.open .hamburger {
    top: 50%;
  }
  .header__menu.open .hamburger span:first-child {
    top: -0.53125rem;
    rotate: -45deg;
  }
  .header__menu.open .hamburger span:nth-child(2) {
    display: none;
  }
  .header__menu.open .hamburger span:nth-child(3) {
    top: 0.53125rem;
    rotate: 45deg;
  }
  .header__menu.open .hamburger p {
    display: none;
  }
}
@media screen and (max-width: 599px) {
  header {
    padding-left: 0.75rem;
  }
  header h1 img {
    width: 10rem;
    height: 1.875rem;
  }
  .header__menu {
    margin-right: 0.75rem;
  }
}
/* footer
================================================== */
footer {
  position: relative;
  padding: 3.75rem 0 1.875rem;
  border-top: 1px double rgba(17, 17, 17, 0.2);
}
footer::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(17, 17, 17, 0.2);
}
footer a {
  transition-duration: 0.3s;
}
footer a:hover {
  opacity: 0.5;
}
footer .contents {
  display: grid;
  grid-template-columns: 15rem auto;
  grid-template-rows: auto 1fr;
  row-gap: 1.5rem;
  place-content: space-between;
}
footer .contents .logo img {
  width: 15rem;
  height: 2.875rem;
}
footer .contents address {
  align-self: end;
}
footer .contents .copyright {
  align-self: end;
  justify-self: end;
}
footer nav {
  display: flex;
  align-self: end;
  gap: 1.875rem;
}
footer nav ul {
  display: flex;
  gap: 1.875rem;
}
footer nav ul li {
  font-size: 0.875rem;
  line-height: 1;
}

@media screen and (max-width: 1279px) {
  footer a {
    transition-duration: initial;
  }
  footer a:hover {
    opacity: initial;
  }
  footer nav {
    flex-direction: column;
    gap: 0.75rem;
  }
  footer nav ul {
    justify-content: flex-end;
  }
}
@media screen and (max-width: 959px) {
  footer {
    padding: 3.75rem 0 1.25rem;
  }
  footer .contents {
    display: grid;
    grid-template-columns: initial;
    grid-template-rows: initial;
    row-gap: initial;
    place-content: initial;
  }
  footer .contents .logo {
    justify-self: center;
    margin-bottom: 1.5rem;
  }
  footer .contents .logo img {
    width: 13.75rem;
    height: 2.5rem;
  }
  footer .contents address {
    grid-row: 2/3;
    grid-column: 1/2;
    align-self: initial;
    margin-bottom: 2rem;
    font-size: 0.8125rem;
  }
  footer .contents .copyright {
    align-self: initial;
    justify-self: center;
    font-size: 0.6875rem;
  }
  footer nav {
    align-self: flex-start;
    gap: initial;
    margin-bottom: 3.75rem;
  }
  footer nav ul {
    flex-direction: column;
    gap: initial;
    justify-content: flex-start;
  }
  footer nav ul:last-child li:last-child {
    border-bottom: 1px solid #e1e1df;
  }
  footer nav ul li {
    border-top: 1px solid #e1e1df;
  }
  footer nav ul li a {
    width: 100%;
    padding: 0.875rem 0;
  }
}
/* heading
================================================== */
/* normal */
.c-heading {
  position: relative;
  padding-top: 3.375rem;
  font-size: 2rem;
  line-height: 1.6;
  text-align: center;
}
.c-heading:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6.25rem;
  height: 2.375rem;
  background-image: url(../img/decoration.svg);
  background-size: contain;
}

@media screen and (max-width: 959px) {
  .c-heading {
    padding-top: 2.5rem;
    font-size: 1.375rem;
  }
  .c-heading:before {
    width: 4.6875rem;
    height: 1.75rem;
  }
}
/* sub */
.c-sub-heading {
  display: inline-block;
  position: relative;
  font-size: 1.75rem;
  line-height: 1.6;
}
.c-sub-heading::before, .c-sub-heading::after {
  content: "";
  position: absolute;
  top: 0;
  width: 1.875rem;
  height: 2.25rem;
}
.c-sub-heading::before {
  left: -2.875rem;
  background-image: url(../img/double_left.svg);
}
.c-sub-heading::after {
  right: -2.875rem;
  background-image: url(../img/double_right.svg);
}

@media screen and (max-width: 959px) {
  .c-sub-heading {
    font-size: 1.25rem;
  }
  .c-sub-heading::before, .c-sub-heading::after {
    top: 0.25rem;
    width: 1.125rem;
    height: 1.375rem;
    background-size: contain;
  }
  .c-sub-heading::before {
    left: -1.75rem;
  }
  .c-sub-heading::after {
    right: -1.75rem;
  }
}
/* c-btn
================================================== */
.c-btn {
  position: relative;
  width: 100%;
  max-width: 17.5rem;
  padding: 1.125rem 1.25rem;
  border: 1px solid #262626;
  color: #262626;
  transition-duration: 0.3s;
}
.c-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.25rem;
  transform: translateY(-50%);
  width: 1.625rem;
  height: 0.8125rem;
  background-image: url(../img/arrow.svg);
  background-size: cover;
}
.c-btn:hover {
  background-color: #262626;
  color: #fff;
}
.c-btn:hover::before {
  background-image: url(../img/arrow--white.svg);
}

@media screen and (max-width: 959px) {
  .c-btn {
    padding: 1rem 1.5rem;
  }
  .c-btn::before {
    content: "";
    right: 1.5rem;
    width: 1.5rem;
    height: 0.6875rem;
  }
  .c-btn:hover {
    background-color: initial;
    color: initial;
  }
  .c-btn:hover::before {
    background-image: url(../img/arrow.svg);
  }
}
/* animation
================================================== */
/* loading後にでfade-in
============================== */
.js-loading,
.js-loading2 {
  opacity: 0;
  visibility: hidden;
}

.js-loading {
  transition: opacity 1s, visibility 1s, transform 1s;
}

.js-loading2 {
  transition: opacity 1s 0.5s, visibility 1s 0.5s, transform 1s 0.5s;
}

.loading-active {
  opacity: 1;
  visibility: visible;
}

/* scrollでfade-in
============================== */
.js-fadein {
  /* 最初は非表示 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 1.5s, visibility 1.5s, transform 1.5s;
}

/* フェードイン時に入るクラス */
.fadein-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* scrollでスッと
============================== */
.js-scroll {
  /* 最初は非表示 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 1.5s, visibility 1.5s, transform 1.5s;
}

/* フェードイン時に入るクラス */
.fadein-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/*========= 流れるテキスト ===============*/
/*全共通*/
.slide-in {
  overflow: hidden;
  display: inline-block;
}

.slide-in_inner {
  display: inline-block;
}

/* 上下のアニメーション*/
.upAnime {
  opacity: 0; /* 事前に透過0 にして消しておく*/
}

.slideAnimeDownUp {
  animation-name: slideTextY100;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes slideTextY100 {
  from {
    transform: translateY(100%); /* 要素を上の枠外に移動*/
    opacity: 0;
  }
  to {
    transform: translateY(0); /* 要素を元の位置に移動*/
    opacity: 1;
  }
}
.slideAnimeUpDown {
  animation-name: slideTextY-100;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes slideTextY-100 {
  from {
    transform: translateY(-100%); /* 要素を下の枠外に移動*/
    opacity: 0;
  }
  to {
    transform: translateY(0); /* 要素を元の位置に移動*/
    opacity: 1;
  }
}