@charset "utf-8";
/* Variable */

:root {
  /* Colors: */
  --dark-bl: #3C3C3C;
  --gray: #7F7F7F;
  --mid-gray: #C5C5C5;
  --light-gray: #E9E9E9;
  --white: #FFFFFF;
  --white-opacity: rgba(255, 255, 255, .9);
  --unnamed-color-b4b4b4: #B4B4B4;
  /* Borders */
  --grid-line: 1px solid var(--dark-bl);
}

/* General */

* {
  color: var(--dark-bl);
  font-family: 'Zen Kaku Gothic New', sans-serif;
  box-sizing: border-box;
}

.eng {
  font-family: 'Montserrat', sans-serif;
}

/* 12px */

html {
  font-size: 75%;
}

/* 10px */

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

ul {
  list-style: none;
}

img {
  width: 100%
}

input, select, textarea {
  max-width: 100%;
  color: var(--mid-gray);
}

a {
  color: var(--dark-bl);
  text-decoration: none;
}

a:focus, a:hover {
  color: initial;
  text-decoration: none;
}

::placeholder {
  color: var(--mid-gray);
}

input[type=submit] {
  background-color: var(--white);
  color: var(--dark-bl);
  border-style: solid;
  border-color: var(--dark-bl);
}

/* Front Page */

#my-main, #my-footer {
  margin-left: 150px;
}

.content-left, .content-right {
  width: 50%;
}

.middle-content {
  background-color: var(--white);
}

.middle-content, .footer-content {
  padding: 211px 150px;
  display: flex;
  align-items: center;
}

#my-totop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 3;
  width: 110px;
  height: 110px;
  cursor: pointer;
  opacity: 0;
  transition: all .4s;
}

.totop-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all .4s;
}

.totop-img:hover {
  width: 90px;
}

/* Menu */

#my-menu {
  position: fixed;
  height: 100vh;
  top: 0;
  bottom: 0;
  width: 150px;
  border-right: var(--grid-line);
  box-sizing: border-box;
  background-color: var(--white);
}

.menu-content {
  margin: auto;
}

#my-toggle, #my-close {
  display: block;
  position: relative;
  width: 70px;
  height: 40px;
  margin-top: 90px;
  margin-left: auto;
  margin-right: auto;
  cursor: pointer;
  /* top: 90px; */
}

#my-toggle i, #my-close i {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--dark-bl);
  position: absolute;
  transition: transform .5s, opacity .5s;
}

#my-toggle {
  z-index: 2;
}

#my-toggle i {
  z-index: 3;
}

#my-toggle i:nth-child(1) {
  top: 0;
}

#my-toggle i:nth-child(2) {
  top: 0;
  bottom: 0;
  margin: auto;
}

#my-toggle i:nth-child(3) {
  bottom: 0;
}

#my-close {
  margin-left: 40.5px;
  z-index: 1;
}

#my-close i:nth-child(1) {
  transform: rotate(-45deg);
  top: 50%;
}

#my-close i:nth-child(2) {
  transform: rotate(45deg);
  top: 50%;
}

#my-toc {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  height: 100%;
}

#toc-j {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 30px;
}

.menu-list {
  position: fixed;
  left: -120%;
  height: 100vh;
  width: 42.70833333333333vw;
  border-right: var(--grid-line);
  background-color: var(--white);
  z-index: 1;
  transition: all .6s;
}

.menu-list>ul {
  padding: 21.2962962962963% 18.29268292682927%;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  /* overflow-y: scroll; */
}

.menu-list>ul>li {
  cursor: pointer;
  /* margin-bottom: 14.28571428571429%; */
  height: 25%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.menu-list>ul>li>a {
  padding-bottom: 10px;
  border-bottom: 1px solid;
  font-size: 30px;
  display: block;
  transition: all .6s;
  width: 100%;
}

.menu-list a:hover {
  color: var(--mid-gray);
}

.menu-list>ul>li>a:hover {
  letter-spacing: 6px;
}

#my-submenu {
  padding-left: 0;
  margin-top: 20px;
}

#my-submenu li {
  position: relative;
}

#my-submenu li a {
  transition: all .6s;
  display: block;
  background-color: var(--white);
  /* position: relative; */
}

#my-submenu li a:hover {
  /* left: 14px; */
  margin-left: 14px;
}

#my-submenu li span {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 12px;
  height: 1px;
  background-color: var(--mid-gray);
  z-index: -1;
}

/* Top */

#my-top {
  /* position:relative; */
  display: table;
  width: 100%;
  height: 100vh;
}

.top-content {
  display: table-cell;
  vertical-align: middle;
  position: relative;
}

#my-logo {
  /* position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%); */
  display: flex;
  /* width:fit-content; */
  margin: auto;
  max-width: 959.5px;
  width: 50.15885416666667vw;
  position: fixed;
  top: 50%;
  left: calc(50% + 75px);
  transform: translate(-50%, -50%);
  z-index: -1;
}

#my-logo img {
  max-width: 575.05px;
  width: 29.95052083333333vw;
  display: block;
  margin: auto;
}

#my-logo img+div {
  display: table;
  margin-left: auto;
}

#my-logo img+div div {
  display: table-cell;
  vertical-align: middle;
  font-size: 20px;
  font-weight: bold;
  font-size: 30px;
}

#my-logo img+div div span {
  display: block;
  min-width: max-content;
}

#my-scroll {
  position: fixed;
  top: 75%;
  left: calc(50% + 75px);
  transform: translateX(-50%);
  font-size: 20px;
  font-weight: bold;
  z-index: -1;
}

.scroll-arrow {
  width: 2px;
  height: 123px;
  background-color: var(--gray);
  margin: auto;
  position: relative;
}

.scroll-arrow::before {
  content: "";
  position: absolute;
  height: 16px;
  width: 2px;
  background-color: var(--gray);
  bottom: 0;
  left: calc(100% + 2px);
  transform: rotate(30deg);
}

/* Middle */

#my-about {
  background-color: var(--light-gray);
}

.middle-content h2 {
  /* text-align:center; */
  font-size: 100px;
  font-weight: bold;
  word-break: break-all;
  position: relative;
}

/* .middle-content h2.is-on::before {
  content: "";
  background-color: var(--light-gray);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: bg 2.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes bg {
  0% {
    opacity: 0;
    transform: scaleX(0) translateX(-5%);
  }

  30% {
    transform: scaleX(1) translateX(0);
  }

  100% {
    transform: scaleX(1) translateX(0);
  }

  30%, 100% {
    opacity: 1;
  }
} */

.middle-content h2 span {
  display: block;
  font-size: 30px;
  font-weight: normal;
  position: relative;
  padding-left: 100px;
}

.middle-content h2+div {
  margin: auto;
}

.middle-content h2 span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100px;
  height: 1px;
  background-color: var(--gray);
}

#my-what-content {
  display: flex;
  gap: 120px 0;
}

#my-what-pcschool, #my-what-workplace {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 60px 0;
}

#my-what-pcschool h3, #my-what-workplace h3 {
  margin: 0 auto;
  display: flex;
  align-items: center;
  width: 50%;
  width: auto;
}

#my-what h3 img {
  max-width: 120px;
  padding-right: 20px;
}

#my-what h3 img+span {
  display: block;
  font-size: 14px;
  margin: 0 auto;
}

.my-button {
  /* display: inline-block; */
  /* width: 50% !important; */
  margin: auto;
  width: auto;
}

.my-button a {
  font-size: 12px;
  border: 1px solid var(--gray);
  display: block;
  padding: 20px 50px;
  text-align: center;
  max-width: 190px;
  margin: 0 auto;
}

.my-button a:hover, #my-contact input[type=submit]:hover {
  background-color: var(--gray);
  color: var(--white);
}

.my-button a::after {
  content: "＞";
}

#my-access {
  background-image: url(images/リピートグリッド\ 1.png);
  background-repeat: no-repeat;
  background-size: cover;
}

#my-access iframe {
  max-width: 100%;
}

#my-contact {
  background-color: var(--light-gray);
}

.your-message textarea {
  width: 100%;
}

#my-contact input[type=submit] {
  border: 1px solid var(--gray);
}

/* Footer */

#my-footer {
  background-color: var(--dark-bl);
}

#my-footer div img {
  max-width: 437px;
}

#my-sitemap ul {
  display: flex;
  padding: 0;
}

#my-sitemap ul li {
  width: 25%;
  font-size: 20px;
  text-align: center;
}

#my-sitemap ul li a {
  color: var(--white);
  cursor: pointer;
  text-align: center;
}

#my-sitemap ul li a:hover {
  border-bottom: 1px solid;
}

/* Javascript */

.js-menu-list-open {
  left: 0;
}

.js-fadein {
  opacity: 1 !important;
}

/* Animation */

.js-ani {
  transform: translateY(50px);
  opacity: 0;
}

.js-ani.is-on {
  transition: all .6s;
  transform: translateY(0);
  opacity: 1;
}

/* Width 1024px */

@media screen and (max-width: 1024px) {
  .menu-list {
    width: 100vw;
  }
	
  #toc-j {
	font-size: 18px;  
  }

  #my-logo {
    display: block;
    width: max-content;
	width: 200px;
  }
	
  #my-logo img {
	width: 100%;	
  }

  #my-logo img+div {
    margin-left: 0;
	margin-bottom: 20px;
  }

  #my-logo img+div div {
	font-size: 20px;	
  }

  .middle-content, .footer-content {
    display: block;
    padding: 150px 30px;
  }

  .middle-content h2, .middle-content div, .footer-content div {
    width: 100%;
  }

  .middle-content h2 {
    font-size: 40px;
    ;
  }

  .middle-content h2 span {
    font-size: 12px;
    padding-left: 20px;
  }

  .middle-content h2 span::before {
    width: 20px;
  }

  .content-left {
    margin-bottom: 82px;
  }

  #my-about h3 {
    font-size: 16px;
  }

  #my-sitemap ul {
    display: block;
  }

  #my-what-content {
    flex-direction: column;
  }

  #my-what-pcschool img, #my-what-workplace img {
    width: 70px;
  }

  #my-sitemap ul li {
    width: 100%;
    text-align: start;
  }

  #my-sitemap ul li a {
    font-size: 14px;
  }
}

/* Width 768px */

@media screen and (max-width: 768px) {
  #my-what-pcschool, #my-what-workplace {
    flex-direction: column;
  }

  #my-what-pcschool h3, #my-what-workplace h3, .my-button {
    width: 100% !important;
  }

  .my-button {
    /* text-align: center; */
    /* margin-top: 60px; */
  }
}

/* Width 425px */

@media screen and (max-width: 425px) {
  #my-totop {
    width: 60px;
    height: 60px;
  }

  #my-menu {
    width: 60px;
  }

  #my-toggle, #my-close {
    width: 20px;
    height: 16px;
  }

  .menu-list>ul>li>a {
    font-size: 20px;
  }

  #my-main, #my-footer {
    margin-left: 60px;
  }

  #my-logo, #my-scroll {
    left: calc(50% + 30px);
  }

  #my-what-pcschool br, #my-what-workplace br {
    display: block !important;
  }

}