@import url("./normalize.css");

/* ========================================================================== */
/* common */
/* ========================================================================== */
body {
  /*font-family: "Inter", sans-serif;*/
  font-family: "游明朝", "Noto Sans JP", "Helvetica Neue", Helvetica,
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", Arial, "Yu Gothic", Meiryo,
    sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  line-height: 1.8rem;
}

body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  font-size: 14px;
  scroll-behavior: smooth;
}

@media screen and (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

.pageHeader {
  background-color: #052e94;
  padding-top: 0px;
  padding-bottom: 0px;
}
.hamburgerMenu .hamburgerMenuBar,
.hamburgerMenu .hamburgerMenuBar:before,
.hamburgerMenu .hamburgerMenuBar:after {
  position: fixed;
  top: 23px;
  left: 14px;
  z-index: 9999;
  display: flex;
  width: 40px;
  height: 5px;
  content: "";
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  border-radius: 5px;
  background: #000000;
  border: solid 1px #ffffff;
}

.hamburgerMenu .hamburgerMenuBar:before {
  top: 13px;
}

.hamburgerMenu .hamburgerMenuBar:after {
  top: 33px;
}

.hamburgerMenu {
  position: relative;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

label {
  display: block;
  width: 0;
  height: 0;
}

.hamburgerMenu input:checked ~ .hamburgerMenuBar {
  background: transparent;
  border: none;
}

.hamburgerMenu input:checked ~ .hamburgerMenuBar:before {
  top: 24px;
  transform: rotate(45deg);
}

.hamburgerMenu input:checked ~ .hamburgerMenuBar:after {
  top: 24px;
  transform: rotate(-45deg);
}

#hamburgerButton {
  display: none;
}

@media screen and (min-width: 769px) {
  .hamburgerMenu {
    display: none;
  }
}

input {
  display: none;
}

.mainHeader {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  width: 100svw;
  height: 73px;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  white-space: nowrap;
  clip-path: ellipse(20% 50% at 0% 50%) ellipse(80% 50% at 100% 50%);
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
/*.mainHeader.scrolled {
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.6s ease, box-shadow 0.6s ease;
}*/

@media screen and (max-width: 768px) {
  .mainHeader {
    height: unset;
    width: unset;

    -webkit-transition: -webkit-transform 0.4s ease;
    transition: -webkit-transform 0.4s ease;
    transition: transform 0.4s ease;
    transition: transform 0.4s ease, -webkit-transform 0.4s ease;
  }
}
.headerHide {
  -webkit-transform: translateY(-150%);
  transform: translateY(-150%);
}

.headerHideSmooth {
  -webkit-transform: translateY(-150%);
  transform: translateY(-150%);
  transition: unset;
}
.globalMenuTitle {
  display: block;
  color: #000000;
  font-family: "游明朝", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 2rem;
  padding-left: 0.3rem;
}
/*.globalMenuTitle.scrolled {
  color: #000000;
}*/

.logoImage {
  max-width: 70px;
  max-height: 40px;
}
.logoImageBase {
  padding-left: 1rem;
  margin: auto 0;
}
.logoImageBase a {
  text-decoration: none;
}
@media screen and (max-width: 768px) {
  .logoImageBase {
    padding-left: 0;
  }
}
.globalMenuBase {
  display: flex;
  margin-left: auto;
  margin-right: 1rem;
}

.globalMenuBase ul {
  display: flex;
  list-style: none;
}

.globalMenuBase a {
  text-decoration: none;
  color: #000000;
  font-family: "游明朝", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 1rem;
  padding: 16px 20px 16px 20px;
  transition: all 0.3s ease 0s;
}

.globalMenuBase a:hover {
  color: #ffffff;
  background-color: #000000;
}

/*.globalMenuBase.scrolled a {
  color: #000000;
}

.globalMenuBase.scrolled a:hover {
  color: #ffffff;
  background-color: #000000;
}*/

@media screen and (max-width: 768px) {
  .mainHeader {
    display: block;
    text-align: center;
    padding-top: calc(1svh + 20px);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0;
    border-radius: unset;
  }

  .mainHeader.scrolled {
    box-shadow: unset;
    transition: unset;
    background-color: rgba(255, 255, 255, 0.5);
  }
  .globalMenuBase {
    display: block;
    width: 100svw;
  }

  .globalMenuBase ul {
    display: block;
    margin: 0;
    justify-content: center;
    line-height: 3;
  }

  .globalMenuBase li {
    border: 1px solid #000000;
    width: 100%;
    height: 100%;
  }

  .globalMenuBase a {
    padding: 0;
    display: flex;
    justify-content: center;
    width: 100%;
    color: #000000;
  }
  .globalMenuTitle {
    color: #000000;
    padding-left: 0;
  }
}

.contentsWrapper {
  padding: 5.5rem 0 5.5rem;
}
@media screen and (max-width: 768px) {
  .contentsWrapper {
    padding: 5.5rem 5svw;
  }
}
.service {
  background-color: #052d94;
  margin: 0 auto;
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
  margin: 0 calc(50% - 50svw);
  width: 100svw;
}

.innerService {
  display: flex;
  padding-left: 4svw;
  padding-right: 4svw;
  min-width: 800px;
  max-width: 1100px;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .innerService {
    padding: 0;
    min-width: 0px;
  }
}

.rightContent {
  min-width: 55%;
}

.leftContent {
  min-width: 45%;
  height: 24rem;
}

.innerFooter .leftContent {
  height: 10rem;
  width: 25rem;
  max-width: 25%;
}
.innerFooter .rightContent {
  max-width: 55%;
}
@media screen and (max-width: 768px) {
  .rightContent {
    width: 40svw;
    height: 100%;
    min-width: unset;
  }

  .leftContent {
    height: 100%;
    width: 50svw;
    height: unset;
  }
  .innerFooter .leftContent {
    height: 6rem;
    min-width: 20%;
  }
}

.leftContentAccess {
  min-width: 45%;
  padding-right: 2rem;
}
.leftTitle h1 {
  color: #eaf0ff;
  font-size: 2rem;
  margin: 0px;
  border-bottom: solid;
  border-color: #eaf0ff;
  border-width: 5px;
  width: fit-content;
}

.leftTitle p {
  color: #eaf0ff;
  font-size: 1rem;
  margin: 0.3em 0 0 0;
}
@media screen and (max-width: 768px) {
  .leftTitle p {
    margin: 0.8em 0;
  }
}
.serviceMain {
  padding-top: 5rem;
}
@media screen and (max-width: 768px) {
  .serviceMain {
    padding: 0;
    margin: 0.8rem 0;
  }
}
.serviceMain p {
  color: #eaf0ff;
  font-size: 1.2rem;
  margin: 0px;
}
@media screen and (max-width: 768px) {
  .serviceMain p {
    font-size: 1rem;
  }
}

.serviceDetailButtonPos {
  position: absolute;
  width: 10svw;
  bottom: 1rem;
}

.serviceDetailButton a {
  width: 5rem;
  display: flex;
  justify-content: center;
  border: 4px solid #eaf0ff;
  border-radius: 15px;
  padding: 28px 50px;
  color: #eaf0ff;
  font-size: 1rem;
  margin: 0px;
  text-decoration: none;
}

.serviceImage {
  width: 100%;
  height: 24rem;
  object-fit: cover;
  border-radius: 50px;
  flex-shrink: 0;
}
@media screen and (max-width: 768px) {
  .serviceImage {
    width: 40svw;
    height: 18rem;
  }
}
.serviceImageBase {
  width: 46svw;
  max-width: 605px;
}
.serviceImageBase p {
  display: flex;
  justify-content: center;
  color: #eaf0ff;
  font-size: 1rem;
  margin: 0px;
}

.middleTitle {
  text-align: center;
  flex-wrap: wrap;
  /*padding-top: 1rem;*/
  width: 100%;
}
.middleTitle h1 {
  color: #052d94;
  font-size: 2rem;
  width: fit-content;
  margin: 0 auto;
  border-bottom: solid;
  border-style: #052d94;
  border-width: 5px;
}

@media screen and (max-width: 768px) {
  .middleTitle h1 {
    display: block;
    width: 100%;
    word-break: keep-all;
    overflow-wrap: break-word;
    margin: 0;
  }
}

.middleTitle p {
  color: #052d94;
  font-size: 1.2rem;
  margin: 0.3em 0 0 0;
}

ul {
  list-style-type: none;
  padding: 0px;
}

.listMoreButton {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.listMoreButtonLine {
  position: relative;
  width: 40px;
  height: 40px;
  line-height: 1rem;
}

.listMoreButtonLine::before {
  position: absolute;
  top: 20px;
  left: -21px;
  width: 40px;
  height: 1px;
  content: "";
  transform: rotate(30deg);
  background-color: #000000;
  animation: arrowSlide 1s ease-in-out infinite;
}

.listMoreButtonLine::after {
  position: absolute;
  top: 20px;
  left: 14px;
  width: 40px;
  height: 1px;
  content: "";
  transform: rotate(-30deg);
  background-color: #000000;
  animation: arrowSlide 1s ease-in-out infinite;
}

@keyframes arrowSlide {
  100% {
    opacity: 0;
    top: 30px;
  }
}

.listMoreButtonLineClose {
  position: relative;
  width: 40px;
  height: 40px;
  top: 20px;
  line-height: 1rem;
}

.listMoreButtonLineClose::before {
  position: absolute;
  top: 0px;
  left: -21px;
  width: 40px;
  height: 1px;
  content: "";
  transform: rotate(330deg);
  background-color: #000000;
  animation: arrowSlideClose 1s ease-in-out infinite;
}

.listMoreButtonLineClose::after {
  position: absolute;
  top: 0px;
  left: 14px;
  width: 40px;
  height: 1px;
  content: "";
  transform: rotate(-330deg);
  background-color: #000000;
  animation: arrowSlideClose 1s ease-in-out infinite;
}

@keyframes arrowSlideClose {
  100% {
    opacity: 0;
    top: -10px;
  }
}

.access {
  background-color: #052d94;
  padding-top: 5.5rem;
  margin: 0 auto;
}

.innerAccess {
  display: flex;
  padding-left: 4svw;
  padding-right: 4svw;
  max-width: 1100px;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .innerAccess {
    display: block;
    padding: 0;
  }
}

.rightTitle {
  text-align: right;
  flex-wrap: wrap;
}
.pageHeader .rightTitle {
  margin-right: 3rem;
}

.rightTitle h1 {
  color: #eaf0ff;
  font-size: 1.85rem;
  min-width: 10rem;
  margin: 0;
  margin-left: auto;
  border-bottom: solid;
  border-color: #eaf0ff;
  border-width: 5px;
  word-break: keep-all;
  overflow-wrap: break-word;
  width: fit-content;
}

.pageHeader .rightTitle h1 {
  font-size: 2.4rem;
}
@media screen and (max-width: 768px) {
  .rightTitle h1 {
    word-break: keep-all;
    overflow-wrap: break-word;
    min-width: 0rem;
  }
}

.rightTitle p {
  color: #eaf0ff;
  font-size: 1rem;
  margin: 0.3em 0 0 auto;
  width: 11rem;
}

@media screen and (max-width: 768px) {
  .rightTitle {
    display: block;
  }
  .rightTitle p {
    width: 100%;
    margin: 0;
  }
}

.accessMain {
  text-align: right;
  flex-wrap: wrap;
  padding-top: 50px;
  padding-bottom: 50px;
}

.accessMain p {
  color: #eaf0ff;
  font-size: 1rem;
  margin-left: auto;
  margin-top: 0px;
  margin-bottom: 0px;
}

.map {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50px;
  flex-shrink: 0;
}
@media screen and (max-width: 768px) {
  .map {
    margin: 0 calc(50% - 50svw);
    width: calc(100svw + 20px);
    height: 300px;
    border-radius: 0px;
  }
}
.rightContentAccess {
  padding-top: 5px;
  min-width: 51%;
}

.contactButtonPos {
  text-align: right;
  flex-wrap: wrap;
}
.contactButton {
  width: 12rem;
  margin-left: auto;
  padding-right: 4rem;
}

.contactButton a {
  width: 8rem;
  display: flex;
  justify-content: center;
  border: 4px solid #eaf0ff;
  border-radius: 15px;
  padding: 28px 50px;
  color: #eaf0ff;
  font-size: 1rem;
  margin: 0;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .contactButtonPos {
    margin: 0;
  }
  .contactButton {
    padding-right: calc(4rem + 20px);
  }
}

.footer {
  background-color: #001342;
  padding-top: 0px;
  padding-bottom: 0px;
  margin: 0 auto;
}

.footer > hr {
  height: 1px;
  border: 0;
  border-top: 1px solid #e5e7eb;
}

.innerFooter {
  display: flex;
  flex-wrap: wrap;
  max-width: 1100px;
  padding-left: 4svw;
  padding-right: 4svw;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .contentsWrapper.footer {
    padding: 0px;
  }
  .innerFooter {
    display: block;
    padding: 0;
  }
}

.logo {
  display: flex;
  padding-top: 30px;
  width: 20svw;
  min-width: 400px;
  white-space: nowrap;
}

.logoImage {
  width: 111px;
  height: 67px;
}

.logo h1 {
  display: flex;
  top: 50%;
  transform: translate(0%, 17%);
  color: #eaf0ff;
  font-size: 2.28rem;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .logo {
    min-width: 100svw;
    max-width: 100svw;
  }

  .logoImage {
    padding: 0;
    margin-left: auto;
  }

  .logo h1 {
    word-break: keep-all;
    overflow-wrap: break-word;
    margin-right: auto;
  }
}

.footerCategory {
  display: flex;
  flex-wrap: wrap;
  color: #eaf0ff;
  font-size: 1rem;
  line-height: 2;
  padding-left: 4svw;
}

.footerCategory > li {
  width: 12rem;
  font-size: 1rem;
  font-weight: 500;
  padding-bottom: 1rem;
}

.footerCategory a {
  display: flex;
  text-decoration: none;
  color: #eaf0ff;
  width: 100svw;
  /* border: 1px solid #ffffff; */
}

.footerSubCategory li {
  display: block;
  color: #eaf0ff;
  font-size: 1rem;
  font-weight: 100;
}

@media screen and (max-width: 768px) {
  .footer .rightContent {
    width: 100svw;
  }
  .footerCategory {
    color: #eaf0ff;
  }

  .footerCategory li {
    background-color: #001342;
    width: 100svw;
  }
  .footerSubCategory li {
    border-bottom: 1px solid #eaf0ff;
  }
  .footerSubCategory li:first-child {
    border-top: 1px solid #eaf0ff;
  }
  .footerCategory a {
    color: #eaf0ff;
    justify-content: center;
    text-align: center;
  }

  .footerSubCategory {
    color: #eaf0ff;
  }
}

.leftTitle {
  top: 0px;
}

.copyright {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 10px;
  margin: 0px;
  color: #ffffff;
  font-size: 0.7rem;
}

.secondView {
  position: relative;
  height: 60svh;
}

.secondView img {
  clip-path: polygon(0 0, 100% 0, 0% 100%, 0 100%);
  height: 60svh;
}

.secondView .moveImageOne {
  clip-path: polygon(0 0, 100% 0, 0% 100%, 0 100%);
  height: 75svh;
  animation: imgMove 0.8s ease-in-out forwards;
}

.secondView .moveImageTwo {
  position: absolute;
  top: 0;
  left: 190px;
  clip-path: polygon(80% 0, 100% 0, 0% 100%, 0% 80%);
  height: 75svh;
  animation: imgMove 1s ease-in-out forwards;
}

.secondView .moveImageThree {
  position: absolute;
  top: 0;
  left: 245px;
  clip-path: polygon(95% 0, 100% 0, 10% 90%, 10% 85%);
  height: 75svh;
  animation: imgMove 1.3s ease-in-out forwards;
}

@keyframes imgMove {
  0% {
    transform: translate(100%, -100%);
  }

  100% {
    transform: translate(0%, 0%);
  }
}

@media screen and (max-width: 768px) {
  .pageHeader {
    position: relative;
  }
  .secondView {
    height: 100%;
  }
  .secondView .moveImageOne {
    clip-path: unset;
    animation: none;
    width: 100%;
    height: 100%;
    object-position: 0 0;
    object-fit: cover;
    vertical-align: top;
    -webkit-mask-image: -webkit-linear-gradient(
      top,
      #000 90%,
      transparent 100%
    );
    mask-image: linear-gradient(to bottom, #000 90%, transparent 100%);
  }
  .pageHeader .rightTitle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }

  .moveImageTwo,
  .moveImageThree {
    display: none;
  }
}

.bluetext h1 {
  color: #052d94;
  border-color: #052d94;
  font-size: 2rem;
}
