@charset "UTF-8";
html {
  margin: 0;
  padding: 0;
}

@media screen and (min-width: 600px) {
  body {
    background: url(../img/bg.png) 0% 0% no-repeat #fff;
    margin: 0;
    padding: 0;
    font-family: "Yu Gothic", "Meiryo", sans-serif;
    line-height: 1.5;
  }
  header {
    margin: 0 auto;
    padding: 0;
  }
  header h1 {
    margin: 2rem 4rem;
    position: relative;
    padding: 15px 65px 0;
    text-align: center;
    border-top: 3px solid #333;
    border-bottom: 3px solid #333;
  }
  main {
    margin: 0 auto;
    padding: 2rem 0;
    width: 1024px;
  }
  main h2 {
    position: relative;
    margin: 2em 0;
    padding: 0 65px;
    text-align: center;
  }
  section {
    margin: 0;
    padding: auto;
  }
  section .works {
    margin: 0;
    width: 100%;
  }
  section .works li {
    position: relative;
    overflow: hidden;
    display: inline-block;
    margin: 10px;
    padding: 0;
  }
  section .works li p {
    opacity: 0;
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    transition: all 0.4s ease;
  }
  section .works li p:hover {
    opacity: 1;
  }
  section .profile p {
    margin: 0 0 20px;
  }
  footer {
    border-top: 1px solid #333;
    margin: 20px auto;
    padding: 20px 0 0;
    font-size: 0.8em;
    text-align: center;
  }
  /*madal*/
  .md-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.7;
    z-index: 9999;
  }
  .md-contents {
    display: none;
    position: fixed;
    top: 80px;
    left: 50%;
    width: 1000px;
    height: auto;
    overflow: hidden;
    transform: translateX(-50%);
    z-index: 10000;
  }
  .md-inner {
    padding: 20px 40px;
    border-radius: 6px;
    background: #fff;
    height: 800px;
    overflow-y: scroll;
    font-size: 0.9em;
  }
  .md-inner h3 {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
  }
  .md-inner dl {
    margin: 0 0 20px;
  }
  .md-inner dt {
    color: #BF7A7A;
    float: left;
  }
  .md-inner p {
    margin: 10px 0 20px;
  }
  .md-inner a {
    text-decoration: underline;
  }
  .md-inner img {
    margin: 0 30px 0 0;
    vertical-align: top;
  }
  .md-inner article {
    background: #f8e5e5;
    outline: 2px dashed #BF7A7A;
    outline-offset: -10px;
    padding: 20px;
  }
  .md-inner article h4 {
    color: #BF7A7A;
  }
  .md-inner article p {
    margin: 10px 0;
  }
  .md-xmark {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 25px;
    height: 22px;
    z-index: 9999;
    cursor: pointer;
  }
  .md-xmark span {
    height: auto;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #333;
    border-radius: 4px;
  }
  .md-xmark span:nth-of-type(1) {
    top: 0;
    transform: translateY(10px) rotate(-45deg);
  }
  .md-xmark span:nth-of-type(2) {
    bottom: 0;
    transform: translateY(-10px) rotate(45deg);
  }
}
@media screen and (max-width: 600px) {
  body {
    background: url(../img/bg.png) 0% 0% no-repeat #fff;
    margin: 0;
    padding: 0;
    background-size: contain;
    background-attachment: fixed;
    font-family: "Yu Gothic", "Meiryo", sans-serif;
    line-height: 1.5;
  }
  header {
    margin: 0 auto;
    padding: 0;
  }
  header h1 {
    margin: 1rem 1rem 0;
    position: relative;
    padding: 15px 20px 0;
    text-align: center;
    border-top: 3px solid #333;
    border-bottom: 3px solid #333;
  }
  header h1 img {
    width: 100%;
  }
  main {
    margin: 0 auto;
    padding: 1rem 0;
    width: 100%;
  }
  main h2 {
    position: relative;
    margin: 0.5em 0;
    padding: 0 65px;
    text-align: center;
  }
  main h2 img {
    width: 60%;
  }
  section {
    margin: 0;
    padding: 0 20px;
  }
  section .works {
    margin: 0 auto;
    text-align: center;
    width: 100%;
  }
  section .works li {
    position: relative;
    overflow: auto;
    display: inline-block;
    margin: 10px auto;
    padding: 0;
  }
  section .works li p {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    transition: all 0.4s ease;
  }
  section .profile {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.6);
    padding: 20px;
    width: 100%;
  }
  section .profile p {
    margin: 0 0 20px;
  }
  footer {
    border-top: 1px solid #333;
    margin: 20px auto;
    padding: 20px 0 0;
    font-size: 0.8em;
    text-align: center;
  }
  /*madal*/
  .md-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.7;
    z-index: 9999;
  }
  .md-contents {
    display: none;
    position: fixed;
    top: 80px;
    left: 50%;
    width: 90%;
    height: auto;
    overflow: hidden;
    transform: translateX(-50%);
    z-index: 10000;
  }
  .md-inner {
    padding: 20px;
    border-radius: 6px;
    background: #fff;
    max-height: 600px;
    overflow-y: scroll;
    font-size: 0.9em;
  }
  .md-inner h3 {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
  }
  .md-inner dl {
    margin: 0 0 20px;
  }
  .md-inner dt {
    color: #BF7A7A;
    float: left;
  }
  .md-inner p {
    margin: 10px 0 20px;
    text-align: center;
  }
  .md-inner p.point {
    text-align: left;
  }
  .md-inner a {
    text-decoration: underline;
  }
  .md-inner img {
    margin: 10px auto;
    vertical-align: top;
    max-width: 100%;
    text-align: center;
  }
  .md-inner article {
    background: #f8e5e5;
    outline: 2px dashed #BF7A7A;
    outline-offset: -10px;
    padding: 20px;
  }
  .md-inner article h4 {
    color: #BF7A7A;
  }
  .md-inner article p {
    margin: 10px 0;
    text-align: left;
  }
  .md-xmark {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 25px;
    height: 22px;
    z-index: 9999;
    cursor: pointer;
  }
  .md-xmark span {
    height: auto;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #333;
    border-radius: 4px;
  }
  .md-xmark span:nth-of-type(1) {
    top: 0;
    transform: translateY(10px) rotate(-45deg);
  }
  .md-xmark span:nth-of-type(2) {
    bottom: 0;
    transform: translateY(-10px) rotate(45deg);
  }
}
/* PAGETOP*/
#page_top {
  font-size: 80%;
  font-weight: bold;
  position: fixed;
  border-radius: 30px;
  bottom: 20px;
  right: 10px;
}
#page_top::before {
  -ms-filter: blur(6px);
  filter: blur(6px);
}
#page_top a {
  display: block;
  color: #fff;
  text-align: center;
  text-decoration: none;
  padding: 8px 12px 10px;
  transition: all 0.3s;
}
#page_top a:hover {
  text-decoration: none;
  animation: bound 1s ease-in;
}
@keyframes bound {
  /** 開始時は１倍の大きさ */
  from {
    transform: scale(1);
  }
  /** 0%～25%にかけて1.15倍する */
  25% {
    transform: scale(1.15);
  }
  /** 25%～50%にかけて0.95倍する */
  50% {
    transform: scale(0.95);
  }
  /** 50%～75%にかけて1.05倍する */
  75% {
    transform: scale(1.05);
  }
  /** 終了時は元の大きさに戻す */
  to {
    transform: scale(1);
  }
}/*# sourceMappingURL=common.css.map */