@charset "UTF-8";

@media screen and (max-width: 767px) {
  html {
    font-size: 11px;
  }

  /* wrapper */
  #wrapper {
    min-width: 300px;
  }

  .spbr {
    display: block;
  }

  .pcbr {
    display: none;
  }

  /* header */
  #header {
    width: 100%;
    padding: 15px 12px 6em;
  }

  #header header {
    text-align: left;
    display: flex;
    justify-content: space-between;
    line-height: 1;
    width: 100%;
    position: relative;
  }

  #header header h1 {
    width: auto;
  }

  #header header nav {
    line-height: 1;
    margin-right: auto;
    margin-left: 1.5em;
  }

  #header header nav ul {
    display: flex;
    align-items: center;
  }

  #header header nav ul li {
    margin-right: 0.6em;
  }

  #header header nav ul li:last-child {
    margin-right: 0
  }

  #header header #logo_jp {
    width: 1.1em;
    position: absolute;
    top: 0;
    right: 0;
  }

  /* catch */
  #catch {
    padding: 15px 12px 20px;
  }

  #catch h3 {
    width: auto;
  }

  #catch div {
    width: auto;
    margin-left: auto;
  }

  /* category_list */
  #category_list {
    column-count: 1;
    gap: 48px;
    text-align: left;
    line-height: 1.5;
  }

  /* all */
  .work_list li {
    width: calc(100%);
  }

  .work_list#ov_list li.large {
    width: calc(100%);
  }

  .work_list#ov_list li.paired {
    width: calc(100%);
  }

  .sort .work_list li {
    width: calc((100% - 12px) / 2);
  }

  /* detail */
  #detail #entry_header {
    padding: 0;
    align-items: flex-end;
  }

  #detail #entry_header #title {
    font-size: 1em;
    width: 100%;
  }

  #detail #entry_header #tag {
    display: none;
  }

  #detail #entry_photo {
    margin-top: 15px;
    width: 100%;
    min-width: auto;
    margin-right: auto;
    padding: 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  #detail #entry_photo .w100 {
    width: 100%;
    margin-bottom: 12px;
    padding: 0;
  }

  #detail #entry_photo .w65 {
    width: 100%;
    margin-bottom: 12px;
    padding: 0;
  }

  #detail #entry_photo .w50 {
    width: 100%;
    margin-bottom: 12px;
    padding: 0;
  }

  #detail #entry_photo .w30 {
    width: 100%;
    margin-bottom: 12px;
    padding: 0;
  }

  #detail #entry_photo div:last-child {
    margin-bottom: 0;
  }

  #detail #entry_caption {
    margin-top: 1.5em;
    font-size: 0.9em;
    padding: 0 0 1em;
  }

  #detail #entry_caption #visit {
    font-size: 0.9em;
    margin-top: 2em;
  }

  /* about */
  #about {
    min-height: auto;
  }

  #about .flex {
    flex-direction: column;
    margin-top: 1em;
  }

  #about .left {
    width: 100%;
    margin-left: auto;
    margin-bottom: 5em;
  }

  #about .left h2 {
    font-size: 1em;
    margin-bottom: 1em;
  }

  #about .left #email {
    margin-top: 2em;
  }

  #about .left #instagram {
    margin-top: 1em;
  }

  #about .right {
    width: 100%;
  }

  #about .right #profile {
    flex-direction: column;
    margin-bottom: 0;
    width: 100%;
    margin-left: auto;
  }

  #about .right #profile .member {
    width: 100%;
    margin-bottom: 3em;
  }

  #about .right #profile .member p {
    font-size: 1em;
    text-align: justify;
    margin-bottom: 1em;
    width: 100%;
  }

  #about .right #profile .member p:last-child {
    margin-bottom: 0;
  }

  #about .right #profile .member p.en {
    text-align: left;
  }

  #about .right #profile #en {
    margin-top: 0.8em;
    line-height: 1.5;
    text-align: left;
  }

  #about .right #service {
    margin-top: 3em;
  }

  /* contact */
  #contact {
    min-height: auto;
  }

  #contact h2 {
    font-size: 1em;
  }

  #contact #form {
    margin-top: 2em;
    width: 100%;
  }

  #contact #form dl {
    margin-bottom: 1em;
  }

  #contact #form dl dt {
    margin-bottom: 0.2em;
  }

  #contact #form input {
    width: 100%;
    border: 1px solid #707070;
    padding: 2%;
    font-size: 1em;
  }

  #contact #form textarea {
    width: 100%;
    border: 1px solid #707070;
    padding: 2%;
    font-size: 1em;
  }

  #contact #submit {
    display: inline-block;
    text-align: left;
    width: auto;
    cursor: pointer;
    position: relative;
    text-decoration: underline;
  }

  #contact #submit input {
    font-family: basiersquare-medium, 'IBM Plex Sans', Helvetica, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, sans-serif;
    width: auto;
    border: none;
    padding: 0;
    font-size: 1em;
    color: #222222;
    text-decoration: underline;
  }

  #contact #link {
    margin-top: 1em;
    font-size: 0.8em;
  }

  /* policy */
  #policy {
    width: 100%;
  }

  /* notfound */
  #notfound {
    min-height: auto;
  }

  /* footer */
  #footer {
    margin-top: 6em;
    padding: 0 12px 15px;
    line-height: 1;
  }

  #footer footer {
    display: flex;
  }

  #footer footer nav ul li {
    margin-right: 0.6em;
  }

  #footer p {
    text-align: right;
  }
}

@media screen and (max-width: 350px) {
  #header header #logo_jp {
    display: none;
  }
}