html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
main {
  display: block;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 1em;
  font-weight: normal;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}
a {
  background-color: rgba(0, 0, 0, 0);
}
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
img {
  border-style: none;
}
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
textarea {
  overflow: auto;
}
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
details {
  display: block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none;
}
a {
  color: initial;
  text-decoration: none;
  cursor: pointer;
}
button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  cursor: pointer;
  padding: 0;
  background-color: rgba(255, 255, 255, 0);
  color: #000;
}
li {
  list-style: none;
}
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
a,
p,
span,
em,
small,
strong,
sub,
sup,
mark,
del,
ins,
strike,
abbr,
dfn,
blockquote,
q,
cite,
code,
pre,
ol,
ul,
li,
dl,
dt,
dd,
div,
section,
article,
main,
aside,
nav,
header,
hgroup,
footer,
img,
figure,
figcaption,
address,
time,
audio,
video,
canvas,
iframe,
details,
summary,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
}
input[type="button"],
input[type="text"],
input[type="submit"],
input[type="image"],
input[type="search"],
textarea {
  -webkit-appearance: none;
  border-radius: 0;
}
:root {
  --margin: 10px;
  --z-base: 0;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #000;
}
body.preload * {
  transition: none !important;
}
a {
  color: inherit;
}
button {
  color: inherit;
}
.js-focus-visible :focus:not(.focus-visible) {
  outline: 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}
.visuallyHidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.menu-opened {
  min-height: 101lvh !important;
}
@media (max-width: 767px) {
  .only--pc {
    display: none !important;
  }
}
@media screen and (min-width: 768px), print {
  .only--sp {
    display: none !important;
  }
}
[data-scroll="fadein"] {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s linear, filter 0.4s ease-out;
}
[data-scroll="fadein"].active {
  opacity: 1;
  pointer-events: auto;
}
@media screen and (min-width: 768px), print {
  .u-only--sp {
    display: none;
  }
}
@media (max-width: 767px) {
  .u-only--pc {
    display: none;
  }
}
.l-wrapper {
  position: relative;
  overflow: hidden;
  font-family: "Zen Kaku Gothic New", sans-serif;
}
@media screen and (min-width: 768px), print {
  .l-wrapper {
    min-width: 1248px;
  }
}
.l-header {
  position: absolute;
  z-index: 40;
  top: 0;
  left: 0;
  width: 100%;
}
.l-nav {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.l-nav.active {
  opacity: 1;
}
.p-header__inner {
  padding: 20px;
}
.p-header__logo {
  width: 96px;
}
@media (max-width: 767px) {
  .p-header__inner {
    padding: 5.33vw;
  }
  .p-header__logo {
    width: 25.6vw;
  }
}
@media screen and (min-width: 768px), print {
  .p-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: calc(100% - 192px);
    min-width: 1248px;
    padding: 40px 0;
    margin: 0 auto;
  }
  .p-header__logo {
    width: 128px;
  }
  .p-header__menu {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 72px;
    padding: 0 100px 0 0;
  }
  .p-header__menu-item {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 24px;
    transition: opacity 0.4s ease-out;
  }
  .p-header__menu-item:hover {
    opacity: 0.6;
  }
  .p-header__contact {
    flex: 0 0 28px;
    width: 28px;
    transition: opacity 0.4s ease-out;
  }
  .p-header__contact:hover {
    opacity: 0.6;
  }
}
.p-nav {
  position: absolute;
  top: 0;
  right: 0;
  pointer-events: auto;
}
.p-nav__inner {
  padding: 44px 48px 40px;
  background-color: #fff;
  box-shadow: 10px 20px 60px rgba(0, 0, 0, 0.16);
}
.p-nav__menu-item picture {
  display: block;
  height: 14px;
}
.p-nav__menu-item picture img {
  width: auto;
  height: 100%;
}
.p-nav__menu-item span {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 24px;
}
.p-nav__menu-item + .p-nav__menu-item {
  margin: 16px 0 0;
}
.p-nav__list {
  margin: 24px 0 0;
}
.p-nav__list-item--contact {
  position: relative;
  display: block;
  width: 64px;
  height: 64px;
  padding: 21px 0 0 15px;
  background: linear-gradient(#2196f3, #f44336);
  border-radius: 100%;
}
.p-nav__list-item--contact img {
  width: 28px;
  aspect-ratio: 1;
}
@media (max-width: 767px) {
  .p-nav__inner {
    padding: 11.73vw 12.8vw 10.67vw;
    box-shadow: 2.67vw 5.33vw 16vw rgba(0, 0, 0, 0.16);
  }
  .p-nav__menu-item picture {
    height: 3.73vw;
  }
  .p-nav__menu-item span {
    font-size: 4.27vw;
    line-height: 6.4vw;
  }
  .p-nav__menu-item + .p-nav__menu-item {
    margin: 4.27vw 0 0;
  }
  .p-nav__list {
    margin: 6.4vw 0 0;
  }
  .p-nav__list-item--contact {
    width: 17.07vw;
    height: 17.07vw;
    padding: 5.6vw 0 0 4vw;
  }
  .p-nav__list-item--contact img {
    width: 7.47vw;
  }
}
.p-nav-button {
  position: fixed;
  z-index: 51;
  top: 24px;
  right: 20px;
  width: 32px;
  height: 18px;
}
.p-nav-button__line {
  position: absolute;
  height: 1px;
  background-color: #fff;
  transition: width 0.6s ease, height 0.6s ease, background-color 0.6s ease,
    top 0.6s ease, transform 0.6s ease;
  will-change: auto;
}
.p-nav-button__line:nth-of-type(1) {
  top: 0;
  right: 0;
  transform: translate(0, -50%);
  width: 32px;
}
.p-nav-button__line:nth-of-type(2) {
  top: 50%;
  right: 0;
  transform: translate(0, -50%);
  width: 20px;
}
.p-nav-button__line:nth-of-type(3) {
  top: 100%;
  right: 0;
  transform: translate(0, -50%);
  width: 8px;
}
.p-nav-button.active .p-nav-button__line {
  background-color: #000;
}
.p-nav-button.active .p-nav-button__line:nth-of-type(1) {
  top: 50%;
  transform: translate(0, -50%) rotate(-45deg);
  width: 32px;
}
.p-nav-button.active .p-nav-button__line:nth-of-type(2) {
  opacity: 0;
}
.p-nav-button.active .p-nav-button__line:nth-of-type(3) {
  top: 50%;
  transform: translate(0, -50%) rotate(45deg);
  width: 32px;
}
.p-nav-button.colored .p-nav-button__line {
  background-color: #000;
}
@media (max-width: 767px) {
  .p-nav-button {
    top: 6.4vw;
    right: 5.33vw;
    width: 8.53vw;
    height: 4.8vw;
  }
  .p-nav-button__line:nth-of-type(1) {
    width: 8.53vw;
  }
  .p-nav-button__line:nth-of-type(2) {
    width: 5.33vw;
  }
  .p-nav-button__line:nth-of-type(3) {
    width: 2.13vw;
  }
  .p-nav-button.active .p-nav-button__line:nth-of-type(1) {
    width: 8.53vw;
  }
  .p-nav-button.active .p-nav-button__line:nth-of-type(3) {
    width: 8.53vw;
  }
}
.p-footer {
  padding: 64px 0 0;
}
.p-footer__heading {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 24px;
}
.p-footer__menu {
  position: relative;
  margin: 40px 0 0;
}
.p-footer__contact {
  position: relative;
  z-index: 1;
  display: block;
  width: 160px;
  height: 160px;
  padding: 53px 0 0 38px;
  margin: 0 auto;
  background: linear-gradient(90deg, #2196f3, #f44336);
  border-radius: 100%;
}
.p-footer__contact img {
  width: 70px;
}
.p-footer__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 836px;
  background: url("../images/footer-text.png") repeat-x;
  background-position: left center;
  background-size: 836px auto;
  animation: footerloop 90s linear infinite;
}
.p-footer__text img {
  width: 100%;
  transform: translate(-12px, 0);
  opacity: 0;
}
.p-footer__copy {
  padding: 32px 0;
  margin: 64px 0 0;
  background-color: #e2e2e2;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 20px;
}
@media (max-width: 767px) {
  .p-footer {
    padding: 17.07vw 0 0;
  }
  .p-footer__heading {
    font-size: 4.27vw;
    line-height: 6.4vw;
  }
  .p-footer__menu {
    margin: 10.67vw 0 0;
  }
  .p-footer__contact {
    width: 42.67vw;
    height: 42.67vw;
    padding: 14.13vw 0 0 10.13vw;
  }
  .p-footer__contact img {
    width: 18.67vw;
  }
  .p-footer__text {
    width: 220.27vw;
    background-size: 222.93vw auto;
  }
  .p-footer__copy {
    padding: 8.53vw 0;
    margin: 17.07vw 0 0;
    font-size: 3.73vw;
    line-height: 5.33vw;
  }
}
@media screen and (min-width: 768px), print {
  .p-footer {
    padding: 120px 0 0;
  }
  .p-footer__heading {
    font-size: 20px;
    line-height: 29px;
  }
  .p-footer__menu {
    margin: 32px 0 0;
  }
  .p-footer__contact {
    width: 276px;
    height: 276px;
    padding: 91px 0 0 66px;
    transition: opacity 0.4s ease-out;
  }
  .p-footer__contact:hover {
    opacity: 0.6;
  }
  .p-footer__contact img {
    width: 120px;
  }
  .p-footer__text {
    width: 1672px;
    background-size: 1672px auto;
    animation: footerloop 120s linear infinite;
  }
  .p-footer__text img {
    transform: translate(-1px, 1px);
  }
  .p-footer__copy {
    margin: 76px 0 0;
  }
}
.top-firstview {
  background: linear-gradient(157deg, #2196f3, #f44336);
}
.top-firstview__inner {
  padding: 167px 25px 160px 24px;
}
@media (max-width: 767px) {
  .top-firstview__inner {
    padding: 44.53vw 6.67vw 42.67vw 6.4vw;
  }
}
@media screen and (min-width: 768px), print {
  .top-firstview__inner {
    padding: 179px 0 112px;
  }
  .top-firstview__heading {
    width: 1248px;
    margin: 0 auto;
    aspect-ratio: 1248/327;
  }
}
.top-vision {
  margin: 80px 0 64px;
}
.top-vision__inner {
  padding: 0 24px;
}
.top-vision__heading picture {
  display: block;
  width: 77px;
}
.top-vision__heading span {
  display: block;
  margin: 8px 0 0;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 46px;
}
.top-vision__title {
  margin: 27px 0 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 2;
}
.top-vision__text {
  margin: 14px 0 0;
}
.top-vision__text p {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 2;
}
.top-vision__text p + p {
  margin: 16px 0 0;
}
.top-vision__image {
  display: block;
  margin: 28px 0 0;
}
@media (max-width: 767px) {
  .top-vision {
    margin: 21.33vw 0 17.07vw;
  }
  .top-vision__inner {
    padding: 0 6.4vw;
  }
  .top-vision__heading picture {
    width: 20.53vw;
  }
  .top-vision__heading span {
    margin: 2.13vw 0 0;
    font-size: 8.53vw;
    line-height: 12.27vw;
  }
  .top-vision__title {
    margin: 7.2vw 0 0;
    font-size: 5.33vw;
  }
  .top-vision__text {
    margin: 3.73vw 0 0;
  }
  .top-vision__text p {
    font-size: 4.27vw;
  }
  .top-vision__text p + p {
    margin: 4.27vw 0 0;
  }
  .top-vision__image {
    margin: 7.47vw 0 0;
  }
}
@media screen and (min-width: 768px), print {
  .top-vision {
    margin: 120px 0 144px;
  }
  .top-vision__inner {
    width: 1248px;
    padding: 0;
    margin: 0 auto;
  }
  .top-vision__heading span {
    margin: 24px 0 0;
    font-size: 48px;
    line-height: 70px;
  }
  .top-vision__contents {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 84px;
    margin: 44px 0 0;
  }
  .top-vision__title {
    order: 2;
    margin: 12px 0 0;
    font-size: 24px;
    letter-spacing: 8px;
    line-height: 48px;
    writing-mode: vertical-rl;
  }
  .top-vision__text {
    order: 1;
    flex: 0 0 492px;
    width: 492px;
    margin: 0;
  }
  .top-vision__text p + p {
    margin: 24px 0 0;
  }
  .top-vision__image {
    order: 3;
    flex: 0 0 492px;
    width: 492px;
    margin: 4px 0 0;
  }
  .top-vision__backimage {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 1248px;
  }
}
.top-service {
  padding: 64px 0;
  background-color: #fafafa;
}
.top-service__inner {
  padding: 0 24px;
}
.top-service__heading picture {
  display: block;
  width: 87px;
}
.top-service__heading span {
  display: block;
  margin: 8px 0 0;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 46px;
}
.top-service__tabs {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 16px;
  padding: 0 24px 12px;
  margin: 32px -24px 0;
  overflow: auto;
}
.top-service__tabs-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 168px;
  width: 168px;
  height: 53px;
  text-align: center;
  background-color: #e2e2e2;
}
.top-service__tabs-item::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, #2196f3, #f44336);
  opacity: 0;
  transition: opacity 0.4s ease-out;
}
.top-service__tabs-item.current::before {
  opacity: 1;
}
.top-service__tabs-item span {
  position: relative;
  z-index: 3;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 18px;
}
.top-service__images {
  position: relative;
  margin: 20px 0 0;
}
.top-service__images-item {
  position: relative;
  height: 327px;
  opacity: 0;
  transition: opacity 0.4s ease-out;
}
.top-service__images-item:nth-of-type(n + 2) {
  position: absolute;
  inset: 0;
}
.top-service__images-item.current {
  z-index: 2;
  opacity: 1;
}
.top-service__images-item picture,
.top-service__images-item img {
  display: block;
  width: 100%;
  height: 100%;
}
.top-service__list {
  position: relative;
  margin: 24px 0 0;
  transition: height 0.4s ease-out;
  will-change: auto;
}
.top-service__item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.4s ease-out;
}
.top-service__item.current {
  position: relative;
  z-index: 2;
  opacity: 1;
}
.top-service__item-title {
  position: relative;
  padding: 0 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 28px;
}
.top-service__item-title::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background-color: #000;
}
.top-service__item-text {
  margin: 15px 0 0;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 2;
}
.top-service__modaal {
  position: absolute;
  z-index: 5;
  top: 47px;
  left: 0;
  display: none;
  width: 100%;
  padding: 20px;
  background-color: #fff;
  box-shadow: 10px 20px 60px rgba(0, 0, 0, 0.16);
  transition: opacity 0.4s ease-out;
  opacity: 0;
}
.top-service__modaal.active {
  opacity: 1;
}
.top-service__modaal-button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 20px;
  height: 20px;
}
.top-service__modaal-button span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 23px;
  height: 1.5px;
  background-color: #000;
}
.top-service__modaal-button span:nth-of-type(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.top-service__modaal-button span:nth-of-type(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.top-service__modaal-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 26px;
}
.top-service__modaal-text {
  margin: 16px 0 0;
}
.top-service__modaal-text p + p,
.top-service__modaal-text p + ul,
.top-service__modaal-text ul + p,
.top-service__modaal-text ul + ul {
  margin: 16px 0 0;
}
.top-service__modaal-text p,
.top-service__modaal-text li {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 2;
}
.top-service__modaal-text li {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.top-service__modaal-text li::before {
  content: "・";
}
.top-service__menu {
  margin: 27px 0 0;
}
.top-service__menu-item {
  padding: 16px 0;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  text-align: center;
}
.top-service__menu-item + .top-service__menu-item {
  margin: 30px 0 0;
}
.top-service__menu-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 24px;
}
.top-service__menu-title img {
  flex: 0 0 20px;
  width: 20px;
  aspect-ratio: 1;
}
.top-service__menu-contents {
  display: none;
}
@media (max-width: 767px) {
  .top-service {
    padding: 64px 0;
    padding: 17.07vw 0;
  }
  .top-service__inner {
    padding: 0 6.4vw;
  }
  .top-service__heading picture {
    width: 23.2vw;
  }
  .top-service__heading span {
    margin: 2.13vw 0 0;
    font-size: 8.53vw;
    line-height: 12.27vw;
  }
  .top-service__tabs {
    gap: 4.27vw;
    padding: 0 6.4vw 3.2vw;
    margin: 8.53vw -6.4vw 0;
  }
  .top-service__tabs-item {
    flex: 0 0 44.8vw;
    width: 44.8vw;
    height: 14.13vw;
  }
  .top-service__tabs-item span {
    font-size: 3.47vw;
    line-height: 4.8vw;
  }
  .top-service__images {
    margin: 5.33vw 0 0;
  }
  .top-service__images-item {
    height: 87.2vw;
  }
  .top-service__list {
    margin: 6.4vw 0 0;
  }
  .top-service__item-title {
    padding: 0 0 0 2.67vw;
    font-size: 4.8vw;
    line-height: 7.47vw;
  }
  .top-service__item-title::before {
    width: 0.53vw;
  }
  .top-service__item-text {
    margin: 4vw 0 0;
    font-size: 3.73vw;
  }
  .top-service__modaal {
    top: 12.53vw;
    padding: 5.33vw;
    box-shadow: 2.67vw 5.33vw 16vw rgba(0, 0, 0, 0.16);
  }
  .top-service__modaal-button {
    top: 4.8vw;
    right: 4.8vw;
    width: 5.33vw;
    height: 5.33vw;
  }
  .top-service__modaal-button span {
    width: 6.13vw;
    height: 0.4vw;
  }
  .top-service__modaal-title {
    font-size: 4.8vw;
    line-height: 6.93vw;
  }
  .top-service__modaal-text {
    margin: 4.27vw 0 0;
  }
  .top-service__modaal-text p + p,
  .top-service__modaal-text p + ul,
  .top-service__modaal-text ul + p,
  .top-service__modaal-text ul + ul {
    margin: 4.27vw 0 0;
  }
  .top-service__modaal-text p,
  .top-service__modaal-text li {
    font-size: 3.73vw;
  }
  .top-service__menu {
    margin: 7.2vw 0 0;
  }
  .top-service__menu-item {
    padding: 4.27vw 0;
  }
  .top-service__menu-item + .top-service__menu-item {
    margin: 8vw 0 0;
  }
  .top-service__menu-title {
    gap: 1.87vw;
    font-size: 4.27vw;
    line-height: 6.4vw;
  }
  .top-service__menu-title img {
    flex: 0 0 5.33vw;
    width: 5.33vw;
  }
}
@media screen and (min-width: 768px), print {
  .top-service {
    padding: 96px 0 120px;
  }
  .top-service__inner {
    width: 1248px;
    padding: 0;
    margin: 0 auto;
  }
  .top-service__heading span {
    margin: 24px 0 0;
    font-size: 48px;
    line-height: 70px;
  }
  .top-service__contents {
    position: relative;
    min-height: 640px;
    padding: 0 540px 0 0;
    margin: 48px 0 0;
  }
  .top-service__tabs {
    gap: 12px;
    padding: 0;
    margin: 0;
    overflow: hidden;
  }
  .top-service__tabs-item {
    cursor: pointer;
  }
  .top-service__tabs-item:hover::before {
    opacity: 1;
  }
  .top-service__images {
    position: absolute;
    top: 0;
    right: 0;
    width: 492px;
    margin: 0;
  }
  .top-service__images-item {
    height: 640px;
  }
  .top-service__list {
    margin: 72px 0 0;
  }
  .top-service__item-title {
    padding: 0 0 0 20px;
    font-size: 32px;
    line-height: 46px;
  }
  .top-service__item-title::before {
    width: 4px;
  }
  .top-service__item-text {
    width: 600px;
    margin: 36px 0 0;
    font-size: 16px;
  }
  .top-service__modaal {
    top: 86px;
    left: 0;
    padding: 40px;
  }
  .top-service__modaal-button {
    top: 22px;
    right: 22px;
    cursor: pointer;
  }
  .top-service__modaal-title {
    font-size: 24px;
    line-height: 35px;
  }
  .top-service__modaal-text {
    margin: 24px 0 0;
  }
  .top-service__modaal-text p + p,
  .top-service__modaal-text p + ul,
  .top-service__modaal-text ul + p,
  .top-service__modaal-text ul + ul {
    margin: 24px 0 0;
  }
  .top-service__modaal-text p,
  .top-service__modaal-text li {
    font-size: 16px;
  }
  .top-service__menu {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 32px 24px;
    margin: 44px 0 0;
  }
  .top-service__menu-item {
    flex: 0 0 342px;
    width: 342px;
    padding: 16px 0 14px;
    cursor: pointer;
  }
  .top-service__menu-item + .top-service__menu-item {
    margin: 0;
  }
  .top-service__menu-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 24px;
  }
  .top-service__menu-title img {
    flex: 0 0 20px;
    width: 20px;
    aspect-ratio: 1;
  }
  .top-service__menu-contents {
    display: none;
  }
}
.top-line {
  padding: 24px 16px;
  padding: 24px 0;
  background: linear-gradient(90deg, #2196f3, #f44336);
}
.top-line__text {
  display: block;
  width: 518px;
  background: url("../images/top-line-text-sp.png") repeat-x;
  background-position: left center;
  background-size: 1076px auto;
  animation: loop 90s linear infinite;
}
.top-line__text img {
  display: block;
  width: 100%;
  opacity: 0;
}
@media (max-width: 767px) {
  .top-line {
    padding: 6.4vw 4.27vw;
    padding: 6.4vw 0;
  }
  .top-line__text {
    width: 286.93vw;
    background-size: 286.93vw auto;
  }
}
@media screen and (min-width: 768px), print {
  .top-line {
    padding: 40px 0 39px;
  }
  .top-line__text {
    width: 3572px;
    transform: translate(-25px, 0);
    background-image: url("../images/top-line-text-pc.png");
    background-size: 3572px auto;
    animation: loop 180s linear infinite;
  }
}
.top-works {
  padding: 64px 0;
  background-color: #fafafa;
}
.top-works__inner {
  padding: 0 24px;
}
.top-works__heading picture {
  display: block;
  width: 82px;
}
.top-works__heading span {
  display: block;
  margin: 8px 0 0;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 46px;
}
.top-works__tabs {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 16px;
  padding: 0 24px 12px;
  margin: 32px -24px 0;
  overflow: auto;
}
.top-works__tabs-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 168px;
  width: 168px;
  height: 53px;
  text-align: center;
  background-color: #e2e2e2;
}
.top-works__tabs-item::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, #2196f3, #f44336);
  opacity: 0;
  transition: opacity 0.4s ease-out;
}
.top-works__tabs-item.current::before {
  opacity: 1;
}
.top-works__tabs-item span {
  position: relative;
  z-index: 3;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 18px;
}
.top-works__contents {
  position: relative;
  margin: 20px 0 0;
}
.top-works__contents-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.4s ease-out;
}
.top-works__contents-item.current {
  position: relative;
  z-index: 2;
  top: auto;
  left: auto;
  opacity: 1;
}
.top-works__item-image {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
}
.top-works__item-title {
  margin: 24px 0 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 26px;
}
.top-works__item-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px 16px;
  margin: 16px 0 0;
}
.top-works__item-list-line {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px 16px;
  flex: 0 0 100%;
  width: 100%;
}
.top-works__item-list-title {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 64px;
  width: 64px;
  height: 27px;
  background-color: #000;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 19px;
}
.top-works__item-list-text {
  flex: 0 0 calc(100% - 80px);
  width: calc(100% - 80px);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 26px;
}
.top-works__item + .top-works__item {
  margin: 31px 0 0;
}
@media (max-width: 767px) {
  .top-works {
    padding: 17.07vw 0;
  }
  .top-works__inner {
    padding: 0 6.4vw;
  }
  .top-works__heading picture {
    width: 21.87vw;
  }
  .top-works__heading span {
    margin: 2.13vw 0 0;
    font-size: 8.53vw;
    line-height: 12.27vw;
  }
  .top-works__tabs {
    gap: 4.27vw;
    padding: 0 6.4vw 3.2vw;
    margin: 8.53vw -6.4vw 0;
  }
  .top-works__tabs-item {
    flex: 0 0 44.8vw;
    width: 44.8vw;
    height: 14.13vw;
  }
  .top-works__tabs-item span {
    font-size: 3.47vw;
    line-height: 4.8vw;
  }
  .top-works__contents {
    margin: 5.33vw 0 0;
  }
  .top-works__item-title {
    margin: 6.4vw 0 0;
    font-size: 4.8vw;
    line-height: 6.93vw;
  }
  .top-works__item-list {
    gap: 3.2vw 4.27vw;
    margin: 4.27vw 0 0;
  }
  .top-works__item-list-line {
    gap: 3.2vw 4.27vw;
  }
  .top-works__item-list-title {
    flex: 0 0 17.07vw;
    width: 17.07vw;
    height: 7.2vw;
    font-size: 3.47vw;
    line-height: 5.07vw;
  }
  .top-works__item-list-text {
    flex: 0 0 calc(100% - 21.33vw);
    width: calc(100% - 21.33vw);
    font-size: 4.27vw;
    line-height: 6.93vw;
  }
  .top-works__item + .top-works__item {
    margin: 8.27vw 0 0;
  }
}
@media screen and (min-width: 768px), print {
  .top-works {
    padding: 120px 0 115px;
  }
  .top-works__inner {
    width: 1248px;
    padding: 0;
    margin: 0 auto;
  }
  .top-works__heading span {
    margin: 24px 0 0;
    font-size: 48px;
    line-height: 70px;
  }
  .top-works__tabs {
    gap: 48px;
    padding: 0;
    margin: 48px 0 0;
    overflow: hidden;
  }
  .top-works__tabs-item {
    flex: 0 0 276px;
    width: 276px;
    cursor: pointer;
  }
  .top-works__tabs-item:hover::before {
    opacity: 1;
  }
  .top-works__contents {
    margin: 48px 0 0;
  }
  .top-works__contents-soon {
    display: block;
    width: 491px;
    margin: 80px auto 0;
  }
  .top-works__list {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 43px 48px;
  }
  .top-works__item {
    flex: 0 0 384px;
    width: 384px;
  }
  .top-works__item-title {
    font-size: 20px;
    line-height: 29px;
  }
  .top-works__item-list {
    gap: 7px 16px;
    margin: 24px 0 0;
  }
  .top-works__item-list-text {
    transform: translate(0, -4px);
    line-height: 2;
  }
  .top-works__item + .top-works__item {
    margin: 0;
  }
}
.top-company {
  position: relative;
  padding: 64px 0;
  background-color: #fafafa;
}
.top-company__inner {
  position: relative;
  z-index: 2;
  padding: 0 24px;
}
.top-company__image {
  position: absolute;
  inset: 0;
}
.top-company__image::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(157deg, #2196f3, #f44336);
  opacity: 0.9;
}
.top-company__image picture,
.top-company__image img {
  display: block;
  width: 100%;
  height: 100%;
}
.top-company__heading picture {
  display: block;
  width: 104px;
}
.top-company__heading span {
  display: block;
  margin: 8px 0 0;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 46px;
}
.top-company__logo {
  margin: 32px 0 0;
}
.top-company__detail {
  margin: 32px 0 0;
}
.top-company__tabs {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 16px;
  padding: 0 24px 12px;
  margin: 32px -24px 0;
  overflow: auto;
}
.top-company__tabs-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 168px;
  width: 168px;
  height: 53px;
  text-align: center;
  background-color: #e2e2e2;
}
.top-company__tabs-item::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, #2196f3, #f44336);
  opacity: 0;
  transition: opacity 0.4s ease-out;
}
.top-company__tabs-item.current::before {
  opacity: 1;
}
.top-company__tabs-item span {
  position: relative;
  z-index: 3;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 18px;
}
.top-company__items {
  position: relative;
  margin: 20px 0 0;
}
.top-company__list {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.top-company__list.current {
  position: relative;
  top: auto;
  left: auto;
  opacity: 1;
  pointer-events: auto;
}
.top-company__list.tokusyoho {
  overflow: auto;
  height: 600px;
}
.top-company__list-whiteline {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}
.top-company__list-whiteline::before {
  content: "";
  position: absolute;
  top: 2px;
  right: 0;
  left: 0;
  transform: translate(0, -1px);
  height: 1px;
  background-color: #fff;
}
.top-company__list-line {
  padding: 16px 20px 12px;
  border-bottom: 1px solid #fff;
}
.top-company__list-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 24px;
}
.top-company__list-text {
  margin: 3px 0 0;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 32px;
}
.top-company__list-text li {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.top-company__list-text li::before {
  content: "・";
}
.top-company__facebook {
  height: 400px;
  margin: 32px 0 0;
  overflow: hidden;
}
.top-company__facebook .fb-page {
  width: 100%;
  height: 100%;
}
.top-company__facebook .fb-page > span {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
.top-company__facebook .fb-page > span iframe {
  width: 100% !important;
  height: 100% !important;
}
@media (max-width: 767px) {
  .top-company {
    padding: 17.07vw 0;
  }
  .top-company__inner {
    padding: 0 6.4vw;
  }
  .top-company__heading picture {
    width: 27.73vw;
  }
  .top-company__heading span {
    margin: 2.13vw 0 0;
    font-size: 8.53vw;
    line-height: 12.27vw;
  }
  .top-company__logo {
    margin: 8.53vw 0 0;
  }
  .top-company__detail {
    margin: 8.53vw 0 0;
  }
  .top-company__tabs {
    gap: 4.27vw;
    padding: 0 6.4vw 3.2vw;
    margin: 8.53vw -6.4vw 0;
  }
  .top-company__tabs-item {
    flex: 0 0 44.8vw;
    width: 44.8vw;
    height: 14.13vw;
  }
  .top-company__tabs-item span {
    font-size: 3.47vw;
    line-height: 4.8vw;
  }
  .top-company__items {
    margin: 5.33vw 0 0;
  }
  .top-company__list-line {
    padding: 4.27vw 5.33vw 3.2vw;
  }
  .top-company__list-title {
    font-size: 4.27vw;
    line-height: 6.4vw;
  }
  .top-company__list-text {
    margin: 0.8vw 0 0;
    font-size: 4.27vw;
    line-height: 8.53vw;
  }
  .top-company__facebook {
    max-width: 500px;
    height: 106.67vw;
    height: 190.5vw;
    max-height: 715px;
    margin: 8.53vw auto 0;
  }
}
@media screen and (min-width: 768px), print {
  .top-company {
    padding: 120px 0;
  }
  .top-company__inner {
    width: 1248px;
    padding: 0;
    margin: 0 auto;
  }
  .top-company__heading span {
    margin: 24px 0 0;
    font-size: 48px;
    line-height: 70px;
  }
  .top-company__contents {
    position: relative;
    padding: 0 0 0 540px;
    margin: 48px 0 0;
  }
  .top-company__logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 492px;
    margin: 0;
  }
  .top-company__detail {
    margin: 32px 0 0;
  }
  .top-company__tabs {
    gap: 48px;
    padding: 0;
    margin: 48px 0 0;
    overflow: hidden;
  }
  .top-company__tabs-item {
    flex: 0 0 276px;
    width: 276px;
    cursor: pointer;
  }
  .top-company__tabs-item:hover::before {
    opacity: 1;
  }
  .top-company__items {
    margin: 48px 0 0;
  }
  .top-company__list {
    padding: 2px 0 0;
  }
  .top-company__list-whiteline::after {
    content: "";
    position: absolute;
    top: 1px;
    left: 0;
    transform: translate(0, -1px);
    width: 168px;
    height: 3px;
    background-color: #fff;
  }
  .top-company__list-line {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 16px 20px 12px;
    padding: 20px 0 19px;
  }
  .top-company__list-line::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translate(0, 2px);
    width: 168px;
    height: 3px;
    background-color: #fff;
  }
  .top-company__list-title {
    flex: 0 0 168px;
    width: 168px;
    text-align: center;
    line-height: 32px;
  }
  .top-company__list-text {
    padding: 0 0 0 48px;
    margin: 0;
  }
  .top-company__facebook {
    position: absolute;
    top: 200px;
    left: 0;
    width: 492px;
    height: 480px;
    margin: 0;
  }
}
@keyframes footerloop {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -1672px 0;
  }
}
@media (max-width: 767px) {
  @keyframes footerloop {
    from {
      background-position: 0 0;
    }
    to {
      background-position: -222.93vw 0;
    }
  }
}
@keyframes loop {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -3572px 0;
  }
}
@media (max-width: 767px) {
  @keyframes loop {
    from {
      background-position: 0 0;
    }
    to {
      background-position: -286.93vw 0;
    }
  }
}
