html, body {
  margin: 0;
  padding: 0;
  letter-spacing: 1px;
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth;
  font-family: "Noto Sans", sans-serif;
}

img {
  width: 100%;
  vertical-align: bottom;
}

h1, h2, h3, h4, h5, h6, p, div, ul, ol, li {
  margin: 0;
  padding: 0;
}

.bg {
  background: linear-gradient(135deg, #898989, #363636);
}

.container {
  height: 100vh;
  background-color: #eeeeee;
  position: sticky;
}

.outer {
  display: grid;
  flex-direction: column;
  height: 100vh;
  grid-template-columns: 80% 20%;
  grid-template-rows: 80% 20%;
}
@media screen and (max-width: 780px) {
  .outer {
    display: none;
  }
}
.outer .header {
  padding: 16% 0 0 10%;
}
.outer .header h1 {
  width: 180px;
  height: 180px;
  margin-bottom: 40px;
}
.outer .header h1 img {
  width: 100%;
  height: 100%;
}
.outer .header ul {
  display: flex;
  flex-direction: column;
  width: 180px;
}
.outer .header ul li {
  list-style: none;
  display: inline;
  padding: 4px 0;
  margin-bottom: 8px;
  font-weight: bold;
}
.outer .header ul li a {
  color: #333;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease-in;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
}
.outer .header ul li a:hover {
  transform: translateX(8px);
  cursor: pointer;
}
.outer .footer {
  padding-left: 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.outer .footer p {
  color: #f5f6f4;
}

.main {
  max-width: 390px;
  width: 100%;
  background-color: #f5f6f4;
  position: absolute;
  overflow: scroll;
  top: 0;
  right: 16%;
  height: 100vh;
  scrollbar-width: none;
}
@media screen and (max-width: 780px) {
  .main {
    margin: 0 auto;
    position: relative;
    right: 0;
  }
}
@media screen and (max-width: 480px) {
  .main {
    left: 0;
    transform: none;
    max-width: 480px;
  }
}
.main > div {
  margin: 80px auto;
  padding: 40px 16px;
}
.main > div h3 {
  font-size: 28px;
  margin-bottom: 24px;
  text-align: center;
  color: #363636;
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
}
.main > div > ul > li {
  list-style: none;
}
.main > div > ul > li > .service-item > .title {
  display: flex;
  align-items: center;
  font-weight: bold;
  color: #363636;
  padding: 16px 0;
  box-sizing: border-box;
}
.main > div > ul > li > .service-item > .title i {
  font-size: 2em;
  margin-right: 8px;
  width: 50px;
}
.main > div > ul > li > .service-item ul {
  padding-left: 32px;
}
.main > div > ul > li > .service-item ul li {
  list-style: disc;
}
.main > div > ul > li:not(:last-child) {
  margin-bottom: 24px;
}
.main > div table {
  border-collapse: collapse;
  width: 100%;
}
.main > div table > tbody > tr > th, .main > div table > tbody > tr td {
  padding: 16px 0;
  box-sizing: border-box;
  text-align: left;
  border-bottom: 1px solid #363636;
}
.main > div table > tbody > tr th {
  color: #363636;
}
.main > div table > tbody > tr td {
  padding-left: 16px;
  font-size: 14px;
}
.main .fv {
  background-image: url("../img/background.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 678px;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
}
.main .fv::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: soft-light;
  background-color: rgba(255, 255, 255, 0.8);
}
.main .fv p {
  color: #f5f6f4;
  text-shadow: 3px 3px 2px rgba(0, 0, 0, 0.8);
  writing-mode: vertical-rl;
  font-size: 40px;
  position: absolute;
  letter-spacing: 3px;
  font-family: "Noto Serif JP", serif;
}
.main .fv p:nth-of-type(1) {
  right: 0;
  top: 20%;
}
.main .fv p:nth-of-type(2) {
  top: 35%;
  right: 60px;
}
.main #message {
  background-color: #363636;
}
.main #message > h3 {
  color: #f5f6f4;
}
.main #message .txtBox {
  position: relative;
  height: 60vh;
  max-height: 400px;
  border: 1px solid #f5f6f4;
  overflow: hidden;
  border-radius: 8px;
}
.main #message .txtBox:before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 40px;
  top: 0;
  background: linear-gradient(to bottom, #363636 40%, transparent);
  z-index: 333;
  pointer-events: none;
}
.main #message .txtBox:after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 40px;
  bottom: 0;
  background: linear-gradient(to top, #363636 40%, transparent);
  z-index: 333;
  pointer-events: none;
}
.main #message .txtBox > div {
  padding: 40px 16px;
  box-sizing: border-box;
  overflow: scroll;
  scrollbar-width: none;
  max-height: 100%;
}
.main #message .txtBox > div p {
  color: #f5f6f4;
}
.main #message .img {
  width: 240px;
  height: 240px;
  margin-left: auto;
  position: relative;
  padding-top: 16px;
}
.main #message .img:before {
  content: "";
  position: absolute;
  top: -14px;
  left: 30%;
  transform: translateX(-50%) rotate(45deg);
  width: 24px;
  height: 24px;
  background-color: #363636;
  border-bottom: 1px solid #f5f6f4;
}
.main #message .img > img {
  border-radius: 50%;
}
.main footer {
  display: none;
}
@media screen and (max-width: 780px) {
  .main footer {
    display: block;
  }
}
.main footer .footer-inner {
  margin: 0 auto;
}
.main footer .footer-inner > h1 {
  width: 120px;
  height: 120px;
  margin: 0 auto 40px;
}
.main footer .footer-inner p {
  text-align: center;
}

.swiper {
  width: 100%;
  height: 300px;
}
.swiper-wrapper {
  transition-timing-function: linear !important;
}
.swiper-wrapper .swiper-slide {
  transition-timing-function: linear;
}

.char {
  opacity: 0;
  display: inline-block;
  animation: fadeInUp 0.7s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}