@charset "UTF-8";
html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  position: relative;
  color: #24292e;
  font-family: "Sawarabi Gothic";
}

a {
  text-decoration: none;
}

p {
  font-size: 1.3rem;
}

img {
  max-width: 100%;
}

li {
  list-style: none;
}

/* -----------------------
wrapper
 ------------------------*/
.wrapper {
  max-width: 960px;
  margin: 0 auto 70px auto;
  font-size: 0.8rem;
}

.site-title {
  font-size: 2.0rem;
  font-weight: 600;
}

.sec-title {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 15px;
  padding: 10px 0 10px 0;
  background-color: #f5dfff;
}
/* -----------------------
ヘッダー
 ------------------------*/
#header {
  position: relative;
  /* max-width: 960px; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  margin: 0 auto;
  padding: 0 4%;
  z-index: 99;
  background-color: rgba(255, 255, 255,0.7);
}

#header ul {
  display: flex;
  padding: 10px 0;
  align-items: center;
}

#header li {
  font-size: 0.9rem;
  margin-left: 30px;
}

#header li a {
  color: #24292e;
  transition: all 0.3s;
}

#header li a:hover {
  opacity: 0.7;
  background-color: #f5dfff;
}

#header li img.line_icon {
  width: 30px;
}

/* -----------------------
Main visual
 ------------------------*/
main {
  z-index: 1;
  transform: translateY(-70px);
  margin-bottom: 10px;
}

#main_visual {
  z-index: 0;
}

#main_visual img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* -----------------------
About
 ------------------------*/
#about ul {
  margin-bottom: 20px;
  text-align: center;
}

#about ul li {
  font-size: 0.9rem;
  margin-bottom: 5px;
}

#about ul li:first-child {
  margin-bottom: 20px;
}

#about p { 
  font-size: 1rem;
  text-align: center;
}

/* -----------------------
Wroks
 ------------------------*/
#works div {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

#works div h3 {
  font-size: 1.1rem;
  margin: 0 auto 10px auto;
}

#works_panel div {
  width: 49%;
  margin-bottom: 20px;
  border: 1px solid #cccccc;
  padding: 10px;
  border-radius: 5px;
}

#works_panel div img {
  cursor: pointer;
  transition: all 0.5s;
}

#works_panel div img:hover {
  opacity: 0.7;
  scale: 1.05;
}

/* -----------------------
Support
 ------------------------*/
#support dl {
  width: 80%;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.9rem;
  border-top: 1px solid #cccccc;
  justify-content: center;
  margin: 0 auto;
}

#support dt {
  width: 20%;
  padding: 10px 0 10px 0;
  border-bottom: 1px solid #cccccc;;
}

#support dd {
  width: 80%;
  padding: 10px 0 10px 0;
  border-bottom: 1px solid #cccccc;;
}

/* -----------------------
Contact
 ------------------------*/
#contact p,div {
  text-align: center;
}

#contact p {
  font-size: 1rem;
}

#contact div {
  margin-top: 20px;
  scale: 1.5;
  transition: all 0.3s;
}

#contact div:hover {
  opacity: 0.7;
  scale: 1.7;
}

/* -----------------------
Footer
 ------------------------*/
#footer {
  font-size: 0.8rem;
  text-align: center;
  border-top: 1px solid #cccccc;
  padding-top: 15px;
  margin-top: 10px;
}

#footer div {
  width: 100%;
  margin: 0 auto;
  margin-bottom: 5px;
}

#footer #ft_name {
  font-size: 1rem;
}

/* スマホレスポンシブ--------------------- */
@media screen and (max-width: 600px){

  html {
    overflow-x: hidden;
  }

  .wrapper {
    max-width: 100%;
  }
  .site-title {
    margin-top: 20px;
  }

  /* -----------------------
  Header
  ------------------------*/
  #header {
    max-width: 100%;
    height :auto;
    flex-direction: column;
  }

  #header ul {
    max-width: 100%;
  }

  #header ul li.img {
    width: 20px;
  }

  /* -----------------------
  Works
  ------------------------*/
  #works_panel {
    flex-direction: column;
  }
  
  #works_panel .works_contents {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
  }

  /* -----------------------
  Support
  ------------------------*/
  #support dl {
    flex-direction: column;
  }

  #support dt {
    width: 100%;
    border-bottom: none;
    padding: 5px 0 0 0;
  }

  #support dd {
    width: 100%;
    margin-bottom: 3px;
    padding: 0 0 5px 0;
  }
}