@charset "UTF-8";
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after {
  content: "";
  content: none;
}

q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a {
  color: #000000;
}

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

body {
  font-family: "秀英角ゴシック金 M", "Shuei KakuGo Kin M", sans-serif;
  letter-spacing: 0.3px;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  display: grid;
  grid-template: "...... header header header ......" auto "visual visual visual visual visual" 100vh "...... left   ...... right  ......" auto "...... footer footer footer ......" auto/40px 1fr 50px 1fr 50px;
}
@media screen and (max-width: 900px) {
  body {
    grid-template: "...... header ......" 150px "visual visual visual" calc(100vh - 150px) "...... left   ......" 0px "...... right  ......" "...... footer ......"/20px 1fr 20px;
  }
}

body::before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -2;
  width: 100vw;
  height: 100vh;
  background-color: #D99244;
}

div#bg {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  background-image: url("../images/bg.jpg");
  background-repeat: contain;
  background-size: cover;
}
@media screen and (max-width: 375px) {
  div#bg {
    background-image: url("../images/bg_sp.jpg");
  }
}

header {
  grid-area: header;
  position: fixed;
  width: 100%;
}
@media screen and (max-width: 900px) {
  header {
    position: relative;
  }
}
header h1 {
  margin: 40px 0 30px 40px;
  max-width: 390px;
}
@media screen and (max-width: 900px) {
  header h1 {
    margin: 30px 0;
  }
}
@media screen and (max-width: 375px) {
  header h1 {
    max-width: 290px;
  }
}
header p {
  margin: 0 0 0 40px;
  max-width: 243px;
}
@media screen and (max-width: 900px) {
  header p {
    margin: 0;
  }
}
@media screen and (max-width: 375px) {
  header p {
    max-width: 210px;
  }
}

#visual {
  grid-area: visual;
  display: flex;
  width: 100vw;
  overflow: hidden;
}
#visual ul {
  padding: 0;
  width: 128vw;
  height: 100%;
  display: flex;
  flex-shrink: 0;
  position: relative;
  z-index: -1;
}
#visual ul:first-child {
  animation: slide1 34s -17s linear infinite;
}
#visual ul:last-child {
  animation: slide2 34s linear infinite;
}
#visual ul li {
  display: inline-block;
  width: 100%;
  height: 100%;
  position: relative;
  margin-right: -3vw;
  list-style: none;
  text-align: center;
}
#visual ul li img {
  display: block;
  width: 100%;
  height: auto;
  position: absolute;
  left: 0;
  bottom: 7%;
  animation: 20s linear infinite rotation1;
}
@media screen and (max-width: 375px) {
  #visual ul {
    width: 200vw;
  }
  #visual ul li {
    margin-right: -3vw;
  }
  #visual ul li img {
    bottom: 20%;
  }
}

@keyframes slide1 {
  0% {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}
@keyframes slide2 {
  0% {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}
/*
#visual { 
	grid-area: visual;
	animation:3s linear infinite rotation1;


	background-image: url('../images/main.svg');
	background-repeat: no-repeat;
	background-size: 130%;	
	background-position: center 75%;

	@media screen and (max-width:375px) {
		background-size: 190%;
		background-position: center 55%;

	}
}
*/
@keyframes rotation1 {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0);
  }
}
aside {
  grid-area: left;
}

main {
  grid-area: right;
  padding-top: 50px;
}
@media screen and (max-width: 375px) {
  main {
    padding-top: 0px;
  }
}
main section {
  margin-bottom: 160px;
}
main section h2, main section h3 {
  font-family: "Helvetica Neue", Helvetica, Arial, "秀英角ゴシック金 M", "Shuei KakuGo Kin M", sans-serif;
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 35px;
}
main section h2 span, main section h3 span {
  font-size: 1.2rem;
  margin-left: 10px;
}
main section p {
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 35px;
}
main section a:hover {
  text-decoration: none;
}
main section#profile img {
  max-width: 350px;
  height: auto;
  width: auto;
}
@media screen and (max-width: 375px) {
  main section#profile img {
    max-width: 100%;
  }
}
main section#works ul {
  border-top: 1px solid #000;
  margin-bottom: 40px;
}
main section#works ul li {
  border-bottom: 1px solid #000;
  padding: 30px 0 10px 0;
}
main section#works ul li h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}
main section#works ul li h3 span {
  font-size: 0.9rem;
  margin-left: 0px;
}
main section#works ul li p {
  margin-bottom: 20px;
}
main section#works ul li p img {
  max-width: 100%;
  height: auto;
  width: auto;
}

footer {
  grid-area: footer;
  width: 100%;
  padding-bottom: 40px;
}
footer p {
  text-align: right;
  font-size: 0.8rem;
}
@media screen and (max-width: 375px) {
  footer p {
    text-align: left;
  }
}
