@charset "utf-8";
/*
Theme Name: 株式会社竹田
*/
@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap");

/*reset*/
/*******************************************************************/
html {
  box-sizing: border-box;
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%;
}
*,
:after,
:before {
  background-repeat: no-repeat;
  box-sizing: inherit;
}
:after,
:before {
  text-decoration: inherit;
  vertical-align: inherit;
}
* {
  padding: 0;
  margin: 0;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
hr {
  overflow: visible;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}
summary {
  display: list-item;
}
small {
  font-size: 80%;
}
[hidden],
template {
  display: none;
}
abbr[title] {
  border-bottom: 1px dotted;
  text-decoration: none;
}
a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}
a:active,
a:hover {
  outline-width: 0;
}
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
}
b,
strong {
  font-weight: bolder;
}
dfn {
  font-style: italic;
}
mark {
  background-color: #ff0;
  color: #000;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
input {
  border-radius: 0;
}
[role="button"],
[type="button"],
[type="reset"],
[type="submit"],
button {
  cursor: pointer;
}
[disabled] {
  cursor: default;
}
[type="number"] {
  width: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  appearance: textfield;
}
[type="search"]::-webkit-search-cancel,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
textarea {
  overflow: auto;
  resize: vertical;
}
button,
input,
optgroup,
select,
textarea {
  font: inherit;
}
optgroup {
  font-weight: 700;
}
button {
  overflow: visible;
}
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner,
button::-moz-focus-inner {
  border-style: 0;
  padding: 0;
}
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner,
button:-moz-focusring {
  outline: 1px dotted ButtonText;
}
[type="reset"],
[type="submit"],
button,
html [type="button"] {
  -webkit-appearance: button;
  appearance: button;
}
button,
select {
  text-transform: none;
}
button,
input,
select,
textarea {
  background-color: transparent;
  border-style: none;
  color: inherit;
}
select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}
select::-ms-expand {
  display: none;
}
select::-ms-value {
  color: currentColor;
}
legend {
  border: 0;
  color: inherit;
  display: table;
  max-width: 100%;
  white-space: normal;
}
::-webkit-file-upload {
  -webkit-appearance: button;
  font: inherit;
}
[type="search"] {
  -webkit-appearance: textfield;
  appearance: textfield;
  outline-offset: -2px;
}
img {
  width: auto;
  max-width: 100%;
  height: auto;
  border-style: none;
  vertical-align: middle;
}
i {
  vertical-align: middle;
}
progress {
  vertical-align: baseline;
}
svg:not(:root) {
  overflow: hidden;
}
audio,
canvas,
progress,
video {
  display: inline-block;
}
@media screen {
  [hidden~="screen"] {
    display: inherit;
  }
  [hidden~="screen"]:not(:active):not(:focus):not(:target) {
    position: absolute !important;
    clip: rect(0 0 0 0) !important;
  }
}
[aria-busy="true"] {
  cursor: progress;
}
[aria-controls] {
  cursor: pointer;
}
[aria-disabled] {
  cursor: default;
}
::-moz-selection {
  background-color: #b3d4fc;
  color: #000;
  text-shadow: none;
}
::selection {
  background-color: #b3d4fc;
  color: #000;
  text-shadow: none;
}
ul,
ol {
  list-style: none;
}
i,
em {
  font-style: normal;
}
figure {
  margin: 0;
}
a {
  color: #222;
  transition: all 0.3s ease-out;
  text-decoration: none;
}
a:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=60);
  opacity: 0.6;
}
*:focus {
  outline: none;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: 0.001dpcm) {
  img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/*LAYOUT*/
/*******************************************************************/
html {
  font-size: 62.5%;
}
body {
  -webkit-text-size-adjust: 100%;
  -webkit-overflow-scrolling: touch;
  font-family: "Noto Sans JP", serif;
  font-optical-sizing: auto;
  font-size: clamp(1.4rem, 1.6vw, 1.6rem);
  line-height: 1.4;
  text-align: justify;
  color: #222;
}
#container {
  position: relative;
  width: 100%;
  overflow: clip;
  z-index: 100;
}
h1,
h2,
h3,
h4,
h5,
h6,
.serif,
.deco,
.page-title,
#job dt,
.overview th,
.data li,
.history dt,
a,
p,
dd,
dt,
td,
span,
input {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
}

/*HEADER*/
/*******************************************************************/
#header {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 56px;
  z-index: 1000;
}
#logo {
  position: absolute;
  top: 0;
  left: 0;
  padding: 16px;
  background: #fff;
  z-index: 100;
}
@media only screen and (min-width: 769px) {
  #nav {
    margin: 0 20px 0 auto;
  }
  #nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 32px;
    white-space: nowrap;
  }
  #nav li a {
    position: relative;
    display: flex;
    align-items: center;
    height: 56px;
  }
  #nav li a:hover,
  #nav li a.current {
    opacity: 1;
    color: #42aaeb;
  }
  #nav li a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 4px;
    background: #42aaeb;
    transform-origin: right top;
    transform: scaleX(0);
    transition: transform 0.3s ease-out;
  }
  #nav li a:hover::before,
  #nav li a.current::before {
    transform-origin: left top;
    transform: scaleX(1);
  }
  #nav .wp-block-button {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 100;
  }
  #nav .wp-block-button a {
    min-width: 180px;
    min-height: 74px;
  }
  #open {
    display: none;
  }
}
@media only screen and (max-width: 768px) {
  #logo {
    width: 60%;
    max-width: 168px;
  }
  #nav {
    pointer-events: none;
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    transform: translateY(-40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    margin: 0;
    padding: 100px 30px;
    background: #fff;
    z-index: 50;
    transition: 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  #nav ul {
    display: flex;
    flex-direction: column;
    gap: 32px;
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.6rem;
  }
  #nav li a {
    height: auto;
  }
  #open {
    position: relative;
    display: block;
    width: 56px;
    height: 56px;
    margin: 0 10px 0 auto;
    cursor: pointer;
    z-index: 100;
  }
  #open span {
    position: absolute;
    right: 0;
    display: block;
    width: 30px;
    height: 2px;
    background: #222;
    border-radius: 2px;
    transition: 0.2s linear;
  }
  #open span:nth-child(1) {
    top: 21px;
  }
  #open span:nth-child(2) {
    top: 33px;
    width: 24px;
  }
  .open #open span:nth-child(1) {
    top: 28px;
    transform: rotate(225deg);
  }
  .open #open span:nth-child(2) {
    top: 28px;
    transform: rotate(-45deg);
    width: 30px;
  }
  .open #nav {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
  }
}

/*FOOTER*/
/*******************************************************************/
#contact {
  position: relative;
  margin: 0 20px;
  padding: 100px 0;
  background: url(img/common/contact.jpg) center no-repeat;
  background-size: cover;
}
.contact-box {
  display: flex;
  width: 92%;
  max-width: 1000px;
  margin: 0;
  margin-right: auto;
  padding: 40px 0;
  text-align: center;
  background: #fff;
}
.contact-title {
  flex: 1;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px;
  line-height: 2;
}
.contact-link {
  flex: 1;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px;
  border-left: 1px solid #e4e4e4;
  line-height: 2;
}
.contact-link .tel a {
  display: inline-block;
  padding-left: 1.3em;
  background: url(img/common/tel.svg) left center no-repeat;
  background-size: auto 100%;
  font-size: clamp(3.2rem, 4.6vw, 4.6rem);
  line-height: 1;
  color: #42aaeb;
  white-space: nowrap;
}
.contact-link .tel span {
  display: block;
}
.contact-link .contact a {
  max-width: 340px;
  margin: 0 auto;
}
#info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 92%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 0;
  text-align: center;
  font-size: 1.4rem;
  line-height: 1;
}
#sitemap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  justify-content: space-between;
  gap: 24px;
  width: 92%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0 88px;
  color: #fff;
}
#sitemap::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  height: 100%;
  background: #333;
  z-index: -1;
}
#sitemap a {
  color: #fff;
}
#sitemap ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
#sitemap ul:first-child {
  grid-column: 1 / 3;
}
.global {
  font-size: clamp(1.2rem, 1.4vw, 1.4rem);
}
.copyright {
  font-size: 1.2rem;
}

@media only screen and (max-width: 768px) {
  #contact {
    margin: 0 10px;
    padding: 60px 0;
  }
  .contact-box {
    flex-direction: column;
    padding: 0 32px;
  }
  .contact-title {
    padding: 32px 0;
  }
  .contact-link {
    padding: 32px 0;
    border-top: 1px solid #e4e4e4;
    border-left: none;
  }
  #info {
    padding: 50px 0;
  }
}

/*CONTENTS*/
/*******************************************************************/
.sp {
  display: none;
}
.fadeInUp {
  animation-name: fadeInUp;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.animated {
  opacity: 0;
  animation-duration: 0.7s;
  animation-delay: 0.2s;
  animation-fill-mode: both;
}
#main {
  padding: 0 20px;
}
#main article {
  position: relative;
  padding: 96px 0;
}
#main section {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
#main section.narrow {
  max-width: 800px;
}
#main a:not(.wp-block-button__link) {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: #42aaeb;
}
#main a:not(.wp-block-button__link):hover {
  text-decoration: none;
}
h2 {
  font-size: clamp(2.4rem, 3vw, 3rem);
}
h2 i {
  display: block;
  margin-bottom: 0.5em;
  font-size: 1.4rem;
  color: #42aaeb;
}
h2.large {
  font-size: clamp(3rem, 4vw, 4rem);
}
h2.large i {
  font-size: clamp(1.4rem, 2vw, 2rem);
}
h3 {
  font-size: clamp(2rem, 2.2vw, 2.2rem);
}
h4 {
  font-size: clamp(1.8rem, 2vw, 2rem);
}
h5 {
  font-size: clamp(1.6rem, 1.8vw, 1.8rem);
}
h6 {
  font-size: clamp(1.4rem, 1.6vw, 1.6rem);
}
hr.wp-block-separator {
  margin: 3em 0;
  border-color: #e1e1e1;
  border-width: 1px;
}
#main p {
  line-height: 2;
}
#main ul,
#main ol {
  display: grid;
  gap: 1em;
  margin-left: 1.5em;
  list-style: disc;
}
#main li ul,
#main li ol {
  margin-top: 1em;
}
#main ol {
  list-style: decimal;
}
#main li::marker {
  color: #42aaeb;
}
#main ul.note {
  font-size: clamp(1.1rem, 1.2vw, 1.2rem);
  color: #9f9f9f;
}
#main ul.note li::marker {
  content: "※";
  color: #9f9f9f;
}
#main button,
#main input,
#main select,
#main textarea {
  border: 1px solid #e1e1e1;
}
#main figure img {
  width: 100%;
}
.center {
  text-align: center;
}
.right {
  text-align: right;
}

#main .bg {
  padding-left: 20px;
  padding-right: 20px;
  background: #eaf6fd;
}

.wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.wp-block-button .wp-block-button__link {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  max-width: 320px;
  min-width: 258px;
  min-height: 60px;
  padding: 8px 30px;
  background: #fff;
  border: 2px solid #42aaeb;
  border-radius: 0;
  font-size: clamp(1.4rem, 1.6vw, 1.6rem);
  line-height: 1.2;
  color: #42aaeb;
  overflow: hidden;
}
.wp-block-button .wp-block-button__link.alt {
  background-color: #42aaeb;
  color: #fff;
}
.wp-block-button.center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}
.wp-block-button.contact .wp-block-button__link {
  background-color: #42aaeb;
  color: #fff;
}
.wp-block-button.contact .wp-block-button__link::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url(img/common/mail_w.svg) center no-repeat;
}

.right-arrow {
  margin-top: 1em;
  text-align: right;
}
.right-arrow a {
  position: relative;
  display: inline-block;
  padding-right: 48px;
  font-size: clamp(1.2rem, 1.4vw, 1.4rem);
  line-height: 1;
  text-decoration: none !important;
  color: #31383d !important;
}
.right-arrow a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-80%);
  width: 43px;
  height: 11px;
  background: #fff url(img/common/arrow_l.svg) center no-repeat;
  transition: 0.3s ease-out;
}
.right-arrow a:hover {
  color: #42aaeb !important;
}

.is-layout-flex > :is(*, div) {
  margin: 0 !important;
}

.wp-block-embed-youtube {
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.wp-block-embed-youtube .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.wp-block-embed-youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wp-block-media-text:not(.has-media-on-the-right)
  .wp-block-media-text__content {
  padding-right: 0;
}
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
  padding-left: 0;
}

#main * + ul,
#main * + ol,
#main * + dl,
#main * + table,
#main * + form,
* + .wp-block-image,
* + .wp-block-buttons,
* + .wp-block-flexible-table-block-table,
.wp-block-embed-youtube {
  margin-top: 3em;
}
#main * + p {
  margin-top: 1em;
}
#main * + h2,
#main * + h3,
#main * + h4,
#main * + h5,
#main * + h6 {
  margin-top: 3em;
}
#main h2 + * {
  margin-top: 2em;
}
#main h3 + * {
  margin-top: 2em;
}
#main h4 + *,
#main h5 + *,
#main h6 + * {
  margin-top: 1em;
}

#title {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}
#title figure {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #42aaeb;
  z-index: -1;
}
#title figure img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#title .page-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 0;
  line-height: 1;
}
#title .page-title span {
  display: inline-block;
  padding: 4px 16px;
  background: #fff;
  font-size: clamp(3rem, 4vw, 4rem);
  line-height: 1.3;
}
#title .page-title i {
  display: inline-block;
  padding: 4px 16px;
  background: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: capitalize;
  color: #42aaeb;
}
.breadcrumbs {
  width: 92%;
  margin: 16px auto 0;
  text-align: right;
  font-size: clamp(1.2rem, 1.4vw, 1.4rem);
}
.breadcrumbs a {
  text-decoration: none !important;
}

@media only screen and (max-width: 768px) {
  #main {
    padding: 0 10px;
  }
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
  .sp-vertical {
    flex-direction: column;
    gap: 40px;
  }
  .wp-block-button {
    width: 100%;
  }
  .wp-block-button .wp-block-button__link {
    max-width: 560px;
    margin: 0 auto;
  }

  #main article {
    padding: 64px 0;
  }
  #main h2 + * {
    margin-top: 2em;
  }
}
@media only screen and (max-width: 600px) {
  .wp-block-media-text > .wp-block-media-text__content {
    padding: 1em 0 0;
  }
}

/*PAGE*/
/*******************************************************************/
/*top*/
#mv {
  height: calc(100svh - 56px - 20px);
}
#mv picture img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#mv picture video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#mv h1 {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  font-size: clamp(3.4rem, 3.8vw, 3.8rem);
  line-height: 1.6;
  z-index: 10;
}
#mv h1 span {
  display: inline;
  margin-top: -0.1em;
  padding: 0.1em 0;
  background-color: #fff;
}
.deco {
  position: absolute;
  top: -0.2em;
  left: 0;
  font-size: clamp(8rem, 16vw, 20rem);
  font-weight: 700;
  line-height: 1;
  color: #42aaeb;
  z-index: -1;
  opacity: 0.11;
  white-space: nowrap;
}
.column {
  display: grid;
  grid-template-columns: 20% 1fr;
  gap: 0 40px;
}
#news .right-arrow {
  grid-column: 1 / 3;
}
#news .deco {
  top: auto;
  bottom: 0;
}
.news {
  gap: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}
.news li {
  padding: 24px 0;
  border-bottom: 1px solid #e4e4e4;
}
.news li a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 24px;
  text-decoration: none !important;
}
.news time {
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #666666;
}
.news p {
  margin: 0 !important;
  line-height: 1.2 !important;
  color: #222;
}
.meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: clamp(1.2rem, 1.4vw, 1.4rem);
  line-height: 1;
}
.cat {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px !important;
  margin: 0 !important;
  list-style: none !important;
}
.cat li {
  width: 120px;
  padding: 4px;
  text-align: center;
  background: #fff;
  border: 1px solid #42aaeb;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.cat li a {
  display: block;
  text-decoration: none !important;
}
.important {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: 70%;
  padding-right: 24px;
  background: #fff;
}
.important time {
  font-weight: 500;
  color: #989898;
}
.important .cat li {
  width: auto;
  padding: 4px;
  background: #42aaeb;
  color: #fff;
}
.important li {
  padding: 20px 0;
  border-bottom: none;
}
.important .more {
  display: inline-block;
  padding-top: 20px;
  background: url(img/common/arrow.svg) center top no-repeat;
  font-family: "Figtree", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none !important;
  color: #222 !important;
}
#company h2 {
  grid-column: 1 / 3;
  text-align: center;
}
#company h2 span {
  display: block;
  margin-bottom: 0.5em;
  font-size: clamp(2rem, 2.4vw, 2.4rem);
}
#company .deco {
  top: auto;
  bottom: 56%;
}
#company section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}
#company section figure {
  order: 1;
  margin-right: calc(100% - 50vw + 50px);
}
.check {
  padding-left: 32px;
  background: url(img/common/check.svg) left top repeat-y;
  background-size: 27px 2em;
}
#company h2 {
  grid-column: 1 / 3;
  text-align: center;
}
#about {
  padding-top: 0 !important;
}
#about h2 {
  align-self: flex-end;
  font-size: clamp(2rem, 2.2vw, 2.2rem);
}
#about .deco {
  top: auto;
  left: auto;
  bottom: 0;
  right: 0;
}
#about section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}
#about section figure {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  margin-left: calc(100% - 50vw + 50px);
}
#about .contents {
  align-self: flex-start;
}
#recruit {
  margin-top: 100px;
}
#recruit section {
  max-width: 1200px;
  z-index: 10;
}
#recruit .deco {
  top: auto;
  left: auto;
  bottom: -0.1em;
  right: 0;
  font-size: clamp(9rem, 19vw, 23rem);
  color: #fff;
  opacity: 1;
  z-index: 1;
}
#recruit figure img {
  position: absolute;
  top: 0;
  right: calc(50% - 50vw);
  width: 70%;
  height: 100%;
  object-fit: cover;
}

/*news*/
#post h1 {
  margin: 1em 0;
  font-size: clamp(2.4rem, 3vw, 3rem);
}
#post h2 {
  padding-bottom: 0.5em;
  border-bottom: 1px solid #42aaeb;
  font-size: clamp(2rem, 2.2vw, 2.2rem);
}
#post h3 {
  padding-left: 16px;
  border-left: 4px solid #42aaeb;
  font-family: "Noto Sans JP", serif;
  font-size: clamp(1.8rem, 2vw, 2rem);
}
#post h4 {
  font-family: "Noto Sans JP", serif;
  font-size: clamp(1.6rem, 1.8vw, 1.8rem);
}
.screen-reader-text {
  display: none;
}
.pagination {
  margin-top: 40px;
  text-align: center;
}
.pagination a:not(.top) {
  display: inline-block;
  width: 40px;
  height: 40px;
  margin: 2px;
  vertical-align: middle;
  border: 1px solid #42aaeb;
  border-radius: 50%;
  text-align: center;
  text-decoration: none !important;
  line-height: 36px;
  font-size: 1.8rem;
  color: #222 !important;
  overflow: hidden;
}
.pagination a.top {
  display: inline-block;
  width: 60%;
  max-width: 300px;
  margin: 0 8px;
  padding: 12px;
  vertical-align: middle;
  border: 1px solid #07433c;
  border-radius: 8px;
}
.pagination a.prev,
.pagination a.next {
  margin: 2px;
  background: url(img/common/arrow.svg) center no-repeat;
  background-size: 20% auto;
  border: none;
  text-indent: -9999px;
}
.pagination a.prev {
  transform: scaleX(-1);
}
.pagination span.current {
  display: inline-block;
  width: 40px;
  height: 40px;
  margin: 2px;
  vertical-align: middle;
  background: #42aaeb;
  border-radius: 50%;
  line-height: 36px;
  font-size: 1.8rem;
  color: #fff !important;
}

/*contact*/
.form dl {
  display: grid;
  grid-template-columns: auto 1fr;
  margin-top: 40px;
  border-top: 1px solid #d9d9d9;
}
.form dt {
  padding: 24px 40px 24px 0;
  border-bottom: 1px solid #d9d9d9;
  font-weight: 700;
}
.form:not(.confirm) dt {
  padding-top: 34px;
}
.form dd {
  padding: 24px 0;
  border-bottom: 1px solid #d9d9d9;
}
.form input[type="text"],
.form input[type="tel"],
.form input[type="email"],
.form input[type="url"] {
  display: inline-block;
  width: 100%;
  padding: 12px;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  vertical-align: middle;
}
.form textarea:read-only,
.form input[type="text"]:read-only {
  background: #f4f4f4 !important;
}
.form select {
  width: 100%;
  padding: 12px 48px 12px 12px;
  background: #fff url("img/common/select.svg") right 16px center no-repeat;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
}
.form textarea {
  width: 100%;
  min-height: 240px;
  padding: 12px;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
}
.form textarea.eventname {
  min-height: 3em;
}
.form label {
  display: inline-block;
  padding: 8px 0;
}
.form input[type="checkbox"] {
  display: none;
}
.form input[type="checkbox"] + span {
  position: relative;
  display: inline-block;
  margin-right: 24px;
  padding-left: 32px;
  vertical-align: middle;
}
.form input[type="checkbox"] + span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 24px;
  height: 24px;
  background: #d9d9d9 url(img/common/checked.svg) center no-repeat;
  border-radius: 4px;
}
.form input[type="checkbox"]:checked + span::before {
  background-color: #42aaeb;
}
.form input[type="radio"] {
  display: none;
}
.form input[type="radio"] + span {
  position: relative;
  display: inline-block;
  margin-right: 24px;
  padding-left: 28px;
  vertical-align: middle;
}
.form input[type="radio"] + span::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  display: block;
  width: 24px;
  height: 24px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
}
.form input[type="radio"]:checked + span::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 5px;
  display: block;
  width: 14px;
  height: 14px;
  background: #42aaeb;
  border-radius: 50%;
}
.form input.vshort {
  width: 10%;
}
.form input.short {
  width: 30%;
}
.form input.middle {
  width: 60%;
}
.form input.long {
  width: 75%;
}
.form ::-webkit-input-placeholder {
  font-weight: 400;
  color: #cccccc;
}
.form ::-moz-placeholder {
  font-weight: 400;
  color: #cccccc;
}
.form :-ms-input-placeholder {
  font-weight: 400;
  color: #cccccc;
}
.sep {
  padding-bottom: 32px;
  border-bottom: 1px solid #afafaf;
}
.must {
  margin-left: 16px;
  padding: 2px 8px;
  background: #42aaeb;
  border-radius: 3px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.agreement {
  margin-top: 24px;
  padding: 8px;
  text-align: center;
  background: rgba(66, 170, 235, 0.11);
}
.submit {
  clear: both;
  position: relative;
  display: block;
  max-width: 406px;
  margin: 48px auto 0;
  text-align: center;
}
.submit input[type="submit"] {
  display: block;
  width: 100%;
  margin: 24px auto;
  padding: 16px 24px;
  background: #42aaeb;
  border: none;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  transition: 0.2s ease-out;
}
.submit button[type="submit"] {
  display: block;
  width: 80%;
  margin: 24px auto;
  padding: 16px 24px;
  text-align: center;
  border: 1px solid #d9d9d9;
  font-size: 1.8rem;
  font-weight: 400;
  color: #d9d9d9;
  transition: 0.2s ease-out;
}
.submit input[type="submit"]:hover,
.submit button[type="submit"]:hover {
  opacity: 0.6;
}
.confirm {
  margin-top: 32px;
}
.confirm .must {
  display: none;
}
.confirm .confirm-hide {
  display: none;
}
.mw_wp_form .horizontal-item + .horizontal-item {
  margin: 0;
}

/*recruit*/
#person section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}
#person section figure {
  margin-right: calc(100% - 50vw + 50px);
}
#person .deco {
  top: auto;
  bottom: 0.3em;
}
#welfare ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 40px;
  margin-left: 0;
  text-align: center;
  list-style: none;
}
#welfare ul figure img {
  width: auto;
}
#welfare .deco {
  left: auto;
  right: 0;
}
#atmosphere .swiper-wrapper {
  transition-timing-function: linear;
}
#atmosphere .swiper {
  visibility: visible;
  margin: 2em calc(50% - 50vw) 0;
}
#atmosphere .swiper-slide {
  width: 23%;
  min-width: 320px;
}
#atmosphere .deco {
  top: 1em;
}
#job {
  padding-top: 0 !important;
}
#job nav {
  position: relative;
  margin-bottom: 96px;
  padding: 96px 20px;
  background: #f1faff;
}
#job .tab {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  list-style: none;
}
#job .tab li {
  padding: 16px;
  background: #fff;
  cursor: pointer;
}
#job .tab li.current {
  background: #42aaeb;
  color: #fff;
}
#job .tabcontents {
  margin-top: 0;
}
#job dl {
  display: grid;
  grid-template-columns: 30% 1fr;
}
#job dt {
  padding: 16px 40px 16px 0;
  text-align: center;
  border-bottom: 1px solid #e4e4e4;
}
#job dd {
  padding: 16px 0;
  border-bottom: 1px solid #e4e4e4;
}

/*about*/
#main #aboutus {
  max-width: 1200px;
  margin: 96px auto 0;
  padding: 64px 20px;
  background: #fff;
  border: 1px solid #42aaeb;
  z-index: 10;
}
#aboutus h2 {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0 1em;
  text-align: center;
  background: #fff;
  white-space: nowrap;
}
#aboutus section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 20px auto;
  padding: 56px 8%;
  background: #f1faff;
}
#aboutus section .contents {
  position: relative;
  z-index: 1;
}
#aboutus h3 {
  margin-bottom: -0.5em;
  font-size: clamp(2.4rem, 3vw, 3rem);
}
#aboutus .deco {
  top: auto;
  bottom: 0;
  font-size: clamp(4rem, 9vw, 9rem);
  color: #fff;
  opacity: 1;
  z-index: 0;
}
#service section {
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 40px;
}
#service section p {
  margin-top: 0;
}
#service figure {
  grid-column: 1 / 3;
}
#service .swiper {
  margin: 64px -20px;
}
#service .swiper-wrapper {
  transition-timing-function: linear;
}
#service .swiper-slide {
  width: auto;
}
#service .swiper-slide img {
  width: auto;
}
#service .deco {
  top: -0.3em;
  left: 50%;
  transform: translateX(-50%);
}
#vehicles {
  margin-bottom: 96px;
}
#vehicles ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 40px;
  margin-left: 0;
  text-align: center;
  list-style: none;
}
#vehicles ul figure {
  position: relative;
  padding-top: 100%;
}
#vehicles ul figure img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*company*/
#message section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}
#message section figure {
  margin-right: calc(100% - 50vw + 50px);
}
#message .deco {
  top: auto;
  bottom: 0.3em;
}
#overview .overview {
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 0 40px;
  margin-bottom: 64px;
}
#overview .overview table {
  width: 100%;
  border-collapse: collapse;
}
#overview .overview tr {
  border-bottom: 1px solid #e4e4e4;
}
#overview .overview th {
  padding: 24px 40px;
  vertical-align: top;
  font-size: clamp(1.4rem, 1.6vw, 1.6rem);
  font-weight: 500;
  line-height: 1.4;
  color: #222;
}
#overview .overview td {
  padding: 24px 0;
  vertical-align: top;
  white-space: pre-wrap;
  line-height: 1;
}
#overview .data ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-left: 0;
  list-style: none;
}
#overview .data li {
  padding: 40px 24px;
  text-align: center;
  background: #fff;
}
#overview .data li p {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 0;
  font-size: 4rem;
  font-weight: 500;
  line-height: 1;
  color: #42aaeb;
  white-space: nowrap;
  position: relative;
  left: 19px;
}
#overview .data li p em {
  min-width: 1.2em;
  font-size: clamp(8rem, 8vw, 11rem);
}
#overview .data h3 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 2.4vw, 2.4rem);
  font-weight: 400;
}

#overview .data h3.title {
  margin-bottom: 16px;
}
#overview .data h3 span {
  font-size: clamp(1.6rem, 2vw, 2rem);
}
#overview .data figure {
  transition: 4s linear;
  -webkit-clip-path: inset(0 100% 0 0);
  clip-path: inset(0 100% 0 0);
}
#overview .data figure.on {
  -webkit-clip-path: inset(0);
  clip-path: inset(0);
}
#overview .data figure img {
  width: auto;
}
#overview .data li.sales h3 {
  width: 100%;
}
#overview .data li.sales p {
  font-size: 2.6rem;
  position: relative;
  left: 22px;
}
#overview .data li.sales figure {
  align-self: flex-end;
  margin-top: 0;
  gap: 4px;
  margin-top: 24px;
}
#overview .data li.sales figure img {
  min-width: 32px;
}
#overview .data li.owned figure {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: center;
  gap: 40px 4px;
  margin-top: 24px;
}

#overview .data li.owned figure span {
  width: 50px;
}
#overview .data li.partner figure {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: center;
  gap: 4px;
  margin-top: 24px;
}
.map iframe {
  width: 100%;
  height: 300px;
}
#office .office {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-left: 0;
  list-style: none;
}
#office .office h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 2rem;
}
#office .office h3::after {
  content: "";
  width: 100%;
  height: 1px;
  background: #42aaeb;
}
.history {
  display: grid;
  grid-template-columns: auto 1fr;
}
.history dt {
  position: relative;
  margin-right: 32px;
  padding: 12px 32px 10px 0;
  border-right: 1px solid #c7c7c7;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.history dt em {
  font-size: 2rem;
}
.history dt:has(em) {
  padding-top: 8px;
}
.history dt span.year {
  display: inline-block;
  min-width: 7em;
  margin-right: 1em;
  text-align: right;
}
.history dt::after {
  content: "";
  position: absolute;
  top: 13px;
  right: -11px;
  width: 22px;
  height: 22px;
  background: #42aaeb;
  border-radius: 50%;
}
.history dt:first-of-type::before {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  width: 1px;
  height: 13px;
  background: #fff;
}
.history dt:last-of-type::before {
  content: "";
  position: absolute;
  top: 2em;
  right: -1px;
  width: 1px;
  height: 10em;
  background: #fff;
}
.history dd {
  padding: 10px 0;
  line-height: 1.8;
}

@media only screen and (max-width: 768px) {
  /*top*/
  #mv h1 {
    top: 30%;
  }
  .column {
    grid-template-columns: 100%;
  }
  #news .right-arrow {
    grid-column: auto;
  }
  .news li a {
    grid-template-columns: 100%;
  }
  .important {
    left: 10px;
    width: calc(100% - 20px);
    padding: 0 10px;
  }
  #company h2 {
    order: -2;
    grid-column: auto;
    padding-top: 1.5em;
  }
  #company .deco {
    bottom: auto;
    top: 0.4em;
  }
  #company section {
    grid-template-columns: 100%;
  }
  #company section figure {
    order: -1;
    margin-right: 0;
    margin-top: 0;
  }
  #about {
    padding-top: 64px !important;
  }
  #about .deco {
    bottom: auto;
    top: 0;
  }
  #about section {
    grid-template-columns: 100%;
  }
  #about section figure {
    grid-column: auto;
    grid-row: auto;
    margin-left: 0;
    margin-top: 0;
  }
  #recruit {
    margin-top: 0;
    padding-top: 40px !important;
    padding-bottom: 0 !important;
  }
  #recruit .deco {
    bottom: -0.1em;
    right: 0;
    font-size: clamp(9rem, 19vw, 23rem);
    color: #fff;
    opacity: 1;
    z-index: 1;
  }
  #recruit figure img {
    position: relative;
    right: 20px;
    width: calc(100% + 40px);
    max-width: initial;
    margin-top: 40px;
  }

  /*contact*/
  .form dl {
    grid-template-columns: 1fr;
  }
  .form dt {
    padding: 24px 0 0 !important;
    border-bottom: none;
  }
  .form dd {
    padding: 16px 0 24px;
  }
  .form select {
    background-size: 12px auto;
  }
  .form input.vshort {
    width: 30%;
  }
  .form input.short {
    width: 50%;
  }
  .form input.middle {
    width: 100%;
  }
  .form input.long {
    width: 100%;
  }
  .sep {
    padding-bottom: 16px;
  }
  .must {
    margin-left: 8px;
    font-size: 1rem;
  }
  .submit {
    margin-top: 24px;
  }

  /*recruit*/
  #person section {
    grid-template-columns: 100%;
  }
  #person section figure {
    margin-right: 0;
  }
  #person .deco {
    top: 0;
    bottom: auto;
  }
  #welfare ul {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 16px;
  }
  #atmosphere .swiper-slide {
    min-width: 250px;
  }
  #atmosphere .deco {
    top: auto;
    bottom: 0;
  }
  #job nav {
    margin-bottom: 48px;
    padding: 48px 20px;
  }
  #job h2 {
    text-align: center;
  }
  #job .tab {
    grid-template-columns: 100%;
    gap: 10px;
  }
  #job dl {
    display: grid;
    grid-template-columns: 100%;
    margin-top: 1em;
  }
  #job dt {
    padding: 16px 0 0;
    text-align: left;
    border-bottom: none;
  }
  #job dd {
    padding: 8px 0 16px;
  }

  /*about*/
  #aboutus section {
    grid-template-columns: 100%;
    gap: 40px;
    margin: 20px auto;
    padding: 40px 20px;
    background: #f1faff;
  }
  #aboutus figure {
    display: none;
  }
  #service section {
    grid-template-columns: 100%;
    gap: 24px;
  }
  #service section h2 {
    text-align: center;
  }
  #service figure {
    grid-column: auto;
  }
  #service .swiper {
    margin: 64px -10px;
  }
  #service .swiper-slide {
    width: 180%;
  }
  #vehicles {
    margin-bottom: 64px;
  }
  #vehicles li figure {
    width: 240px;
    padding-top: 240px;
    margin: 0 auto;
  }

  /*company*/
  #message section {
    grid-template-columns: 100%;
    gap: 40px;
  }
  #message section figure {
    margin-right: 0;
  }
  #message .deco {
    top: 0;
    bottom: auto;
  }
  #overview .overview {
    grid-template-columns: 100%;
  }
  #overview .overview th {
    padding: 24px 40px 24px 0;
  }
  #overview .data ul {
    grid-template-columns: 100%;
  }
  #office .office {
    grid-template-columns: 100%;
  }
  .history dt {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 24px;
    padding: 12px 24px 10px 0;
  }
  .history dt:has(em) {
    padding-top: 6px;
  }
  .history dt:has(em)::after {
    top: 38px;
  }
  .history dt:has(em) + dd {
    padding-top: 32px;
  }
  .history dt span.year {
    min-width: initial;
    margin-right: 0;
  }
  .history dt::after {
    top: 16px;
    right: -7px;
    width: 14px;
    height: 14px;
  }
  .history dt:first-of-type::before {
    height: 3em;
  }
  .history dt:last-of-type::before {
    top: 3em;
  }
  .history dd {
    padding: 10px 0;
  }
}

@media print {
  #container {
    width: 1024px;
  }
}

.fvloading {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: white;
  z-index: 1000;
  opacity: 1;
  animation: fadeOut 2s ease 4s forwards;
}

.fvloading .logo {
  display: block;
  width: 400px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: fadeInOut 8s ease-in-out infinite;
}
.fvloading .logo img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
}

@media only screen and (max-width: 768px) {
  .fvloading .logo {
    width: 340px;
  }
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  45% {
    opacity: 1;
  }
  55% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
