@charset "utf-8";
/* ==========================================================================
  overall
========================================================================== */
html {
  font-size: 16px;
}
body {
  color: #333;
  font-family: ab-doramin, sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
}
#wrapper {
  max-width: 100%;
  height: 100vh;
  margin: 0 auto;
}
#wrapper.works {
  width: 100%;
  height: auto;
}
ul {
  list-style: none;
}
a {
  color: #444;
  text-decoration: none;
  transition: 1.0s ;
}
a:visited {
  color: #444;
}
a:hover { 
  color: #5337a0;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
  index.html
========================================================================== */
/* animation */
#lineDrawing {
  background: #222;
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  z-index:9999;
  display: flex;
  align-items: center;
}
.my-path {
  fill:none;
  stroke:#5337a0;
  stroke-width:4;
}

/* header */
header {
  padding: 1rem 1rem 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #222;
  height: 95px;
}
header h1 {
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  justify-content: flex-end;
  gap: 0 1rem;
}
header ul.pc-menu li a {
  color: #ddd;
}
header ul.pc-menu li a:hover {
  color: #5337a0;
}
header ul.sp-menu {
  padding-top: 4rem;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  background: #999999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s linear;
}
header ul.sp-menu.is-active {
  pointer-events: auto;
  opacity: 1;
}
header ul.sp-menu li {
  margin-bottom: 32px;
}
header ul.sp-menu li a {
  font-size: 22px;
}
.jump a{
  color: #5337a0;
}
.jump a:hover {
  color: #444;
}


/* contents */
main {
  width: 100%;
  height: calc(100vh - 95px);
}
#typewriter::after {
  content: '☾';
  font-size: 26px;
  margin-left: 2px;
  animation: blink 1s infinite;
}
@keyframes blink {
  0% { opacity: 1; }
  100% { opacity: 0; }
}
#typewriter02::after {
  content: '|';
  font-size: 16px;
  margin-left: 2px;
  animation: blink 1s infinite;
}
@keyframes blink {
  0% { opacity: 1; }
  100% { opacity: 0; }
}
.full {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 95px);
  background: url("../images/background01.jpg") center / cover;
}
main.full .text {
  position: absolute;
  top: 15%;
  left: 5%;
}
main.full .text h2 {
  margin-bottom: 0.2rem;
  color: #ddd;
}
main.full .text p {
  margin-bottom: 1rem;
  color: #ddd;
}
main.full .text p .color01{
  color: #5337a0;
}
main.full .language {
  display: flex;
  gap: 0 1rem;
}
main.full .language a {
  color: #ddd;
  text-decoration: underline;
}
main.full .language a:hover {
  color: #5337a0;
}
main.full .language .gray a {
  color: #6b6677;
}


/* ==========================================================================
  footer :not( index.html )
========================================================================== */
footer {
  padding: 1rem;
  background-color: #222;
  padding-top: 2rem;
  width: 100%;
  height: 95px;
  position: relative;
}
footer ul {
  display: flex;
  justify-content: space-between;
}
footer p.copy {
  position: absolute;
  bottom: 0;
  right: 0.2rem;
  color: #eee;
  font-size: 14px;
}
/* top btn */
.top {
  position: fixed;
  right: 4%;
  bottom: 10%;
  z-index: 200;
  display: none;
}
.top a {
  display: block;
  text-decoration: none;
}

/* ==========================================================================
  about.html
========================================================================== */
.about {
  overflow: hidden;
}
#contents.flex{
  display: flex;
}
#contents.flex main {
  width: 70%;
  height: calc(100vh - 190px);
  background-color: rgba(153, 153, 153, 50%);
  padding: 0 1rem;
  position: relative;
  overflow-y: scroll;
}
#contents.flex main::-webkit-scrollbar-track{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.9);
	background-color: rgba(153, 153, 153, 50%);
}

#contents.flex main::-webkit-scrollbar{
	width: 12px;
	background-color: #ccc;
}

#contents.flex main::-webkit-scrollbar-thumb{
	border-radius: 10px;
	background-color: #5337a0;
	background-image: -webkit-linear-gradient(90deg,transparent,rgba(46, 46, 46, 0.4) 50%, transparent, transparent)
}
#contents main .warning {
  margin-top: 2.5rem;
  font-weight: bold;
  font-size: 14px;
}
#contents main .warning a{
  text-decoration: underline;
}
#contents main p, #contents main ul {
  font-family: 'Roboto Flex', sans-serif;
}
#contents.flex main h2 {
  text-align: end;
  margin-bottom: 1rem;
  position: absolute;
  top: 7rem;
  right: 10%;
}
#contents.flex main p.text01 {
  margin: 5rem 0 1rem 0;
}
#contents.flex main h3 {
  margin-bottom: 0.5rem;
}
#contents.flex main p.text01 {
  margin-bottom: 3rem;
}
#contents.flex main p.text02, #contents.flex main ul{
  margin-bottom: 4rem;
  margin-left: 1rem;
}
#contents.flex main .text04{
  margin-bottom: 5rem;
}
#contents.flex main ul {
  list-style-type: square;
  margin-left: 1.5rem;
}
#contents.flex main ul .italic {
  font-style: italic;
}
#contents.flex aside {
  width: 30%;
  height: calc(100vh - 190px);
  padding: 0 1rem;
  background-color: #999;
  z-index: -10;
}
#contents.flex aside .slick li {
  margin-left: 0.1rem;
}

/* ==========================================================================
  designs.html
========================================================================== */
.works{
  background-color: rgba(153, 153, 153, 50%);
  width: 100%;
  height: auto;
}
.works main {
  width: 100%;
  height: auto;
}
.works .info {
  margin-bottom: 4rem;
}
.works .menu {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem 0 3rem 0;
}
.works .width {
  width: 70%;
  margin: 0 auto;
}
.works main .warning {
  margin-bottom: 2rem;
}
.works main.designs ul.menu {
  display: flex;
}
.works main.designs ul.menu li a{
  font-style: italic;
  font-family: ab-doramin, sans-serif;
}
.works main ul.modaal li {
  overflow: hidden;
}
.works main ul.modaal li img {
  transition: transform .6s ease;
}
.works main ul.modaal li img:hover{
  transform : scale(1.2,1.2);
}
.works main.designs ul.menu li {
  line-height: 0;
}
.works main.designs h3 {
    display: flex;
    align-items: center;
    white-space: nowrap;
    margin-bottom: 7rem;
}
.works main.designs h3.reverse{
  flex-direction: row-reverse;
}
.works main .designs h3::before, h3::after {
	content: "";
	background-color: #333;
  margin: 0 1rem;
	width: 100%;
	height: 1px;
}
.heading {
  opacity: 0;
  transform: translateX(-100px);
}
.active {
  opacity: 1;
  transition: 1s;
  transform: translateX(0);
}
ul.modaal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 5rem 4rem;
}
ul.modaal li{
  width: calc((100% - 8rem) / 3);
  text-align: center;
}
ul.m02 {
  flex-direction: column;
  width: 87%;
  margin: 0 auto;
}
ul.m02 li {
  width: 100%;
  text-align: left;
}
ul.m003 {
  align-items: flex-start;
  gap: 2rem 0.5rem;
}
ul.m003 li {
  width: calc((80% - 1rem) / 5);
}
.section {
  margin-bottom: 7rem;
}
/* modal */
.modaal-content-container {
  background: rgba(153, 153, 153, 0.3);
  color: #444;
  font-family: 'Roboto Flex', sans-serif;
}
.modaal-content-container h4 {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 1rem;
}
.modaal-content-container div.desc {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: #444;
}
.modaal-content-container div.desc dl, .modaal-content-container dl.desc01b{
  display: flex;
  flex-wrap: wrap;
}
dl.desc01b{
  margin-top: 1.5rem;
}
.modaal-content-container div.desc dl dt, .modaal-content-container dl.desc01b dt{
  width: 25%;
}
.modaal-content-container div.desc dl dd, .modaal-content-container dl.desc01b dd{
  width: 75%;
}
.modaal-content-container dl.widthLogo {
  width: 100%;
  height: 50%;
}
.desc02 {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.desc03 {
  display: flex;
  gap: 1rem;
}

/* ==========================================================================
  contact.html
========================================================================== */
#contents.reverse {
  flex-direction: row-reverse;
  width: 100%;
  height: calc(100vh - 190px);
  overflow: hidden;
}
#contents.reverse main{
  width: 60%;
}
#contents.reverse main p {
  margin: 0 0 2.5rem 2rem;
}
#contents.reverse main form {
  margin-top: 2rem;
}
#contents.reverse main form p.caution {
  margin-bottom: 4rem;
}
#contents.reverse main form .asterisk{
  color: #f00;
}
#contents.reverse main form input{
  border-bottom: solid 1px #999;
  padding-left: 10%;
}
#contents.reverse main form select, #contents.reverse main form button {
  border: solid 1px #999;
  padding: 0.5rem 1rem;
}
#contents.reverse main form textarea {
  border: solid 1px #999;
}


/* aside */
#contents.reverse aside {
  width: 40%;
  background: url(../images/background03.jpeg) ; 
  background-size: cover; 
  height: calc(100vh - 190px);
  position: relative;
}
#contents.reverse aside p {
  color: #eee;
  font-size: 22px;
}
#contents.reverse aside p.textA1 {
  position: absolute;
  bottom: 10%;
  right: 20%;
}
#contents.reverse aside p.textA2 {
  position: absolute;
  bottom: 5%;
  right: 0;
}
#contents.reverse aside img {
  margin: 1rem 1rem 0 0;
}
#contents.reverse main p.warning {
  margin-top: 2rem;
}
/* ==========================================================================
  thanks.html
========================================================================== */
#contents.reverse main p.thx {
  font-family: ab-doramin, sans-serif;
  margin-top: 3rem;
}
/* ==========================================================================
  media query
========================================================================== */
@media screen and (max-width: 768px) {
  html {
    font-size: 14px;
  }
  header ul.pc-menu {
    display: none;
  }
  /*hamburger*/
  header ul.pc-menu {
    display: none;
  }
  /*hamburger*/
  .ham-menu {
    display: inline-block;
    cursor: pointer;
    position: fixed;
    right: 1rem;
    top: 1rem;
    z-index: 10;
    width: 60px;
    height: 60px;
  }
  .ham-line {
    position: absolute;
    transition: 0.3s;
    width: calc(100% - (12px * 2));
    height: 3px;
    background-color: #777;
  }
  .line-top {
    top: 17px;
    left: 12px;
  }
  .line-middle {
    top: calc(50% - (4px / 2));
    left: 12px;
  }
  .line-bottom {
    bottom: 17px;
    left: 12px;
  }
  .ham-menu-active > .line-top {
    top: calc(50% - (4px / 2));
    transform: rotate(45deg);
  }
  .ham-menu-active > .line-middle {
    width: 0;
    height: 0;
    left: 18px;
  }
  .ham-menu-active > .line-bottom {
    top: calc(50% - (4px / 2));
    transform: rotate(-45deg);
  }
  /* about.html contact.html*/
  #contents.flex {
    flex-direction: column-reverse;
  }
  #contents.flex main, #contents.flex aside{
    width: 100%;
  }
  #contents.flex aside {
    height: 30%;
  }
  #contents.reverse aside p.textA1 {
    position: absolute;
    bottom: 25%;
    right: 15%;
  }
  #contents.reverse aside p.textA2 {
    position: absolute;
    bottom: 5%;
    right: 0;
  }
  /* designs.html */
  ul.m01 li, ul.m04 li, ul.m05 li, ul.m002 li{
    width: calc((100% - 8rem) / 2);
  }
  ul.m003 li {
    width: calc((80% - 1rem) / 3);
  }
  .modaal-content-container .desc,.modaal-content-container .desc03 {
    display: flex;
    flex-direction: column;
  }
}

@media screen and (max-width: 450px) {
  /* design.html */
  ul.m04 {
    gap: 0 2rem;
  }
  .desc02 {
    display: flex;
    flex-direction: column;
  }
}

@media screen and (max-width: 415px) {
  /* design.html */
  ul.modaal li {
    width: 100%;
  }
  ul.m03 li img {
    width: 40%;
  }
  ul.m003 li {
    width: calc((90% - 1rem) / 2);
  }
}



