*{box-sizing:border-box;}
html {scroll-behavior: smooth;}

body {
  display: block!important;
  font-family: 'Lexend', sans-serif;
  color: #333;
  width: 100%;
  margin: 0;
  padding: 0;
  background-image: url(../img/bg.jpg);
  background-color: rgba(256,256,256,.4);
  background-blend-mode: lighten;
  background-attachment: fixed;
  background-size: cover;
}

@media screen and (min-width : 999px) {
  body::before {
    position: fixed;
    top: 0;
    left: calc((100% - 480px) / 4);
    transform: translateX(-50%);
    content: "";
    width: calc((100% - 480px) / 2);
    max-width: 200px;
    height: 100vh;
    background-image: url(../img/logo.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
  }
}

h1,h2,h3,h4,h4{
  margin: 0 auto 1rem;
}


a {
  text-decoration: none;
  color: inherit;
  transition: .3s;
}

a:hover {
  opacity: .7;
}

img {
  vertical-align: bottom;
  width: 100%;
}

.small {
  font-size: .7em;
}

.pc {
  display: inherit;
}

.sp {
  display: none;
}

.marker {
  font-weight: bold;
  background: linear-gradient(transparent 60%,#FFEF82 60%);
}

.red {
  font-weight: bold;
  color: #E60146;
}

p {
  margin: 0 auto;
}

@media screen and (max-width : 520px) {
  .pc {
    display: none;
  }

  .sp {
    display: inherit;
  }
}

#wpadminbar {
  top: auto!important;
  bottom: 0;
  position: fixed!important;
}


#main {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  /* background: rgba(256,256,256,.75); */
  box-shadow: 0 0 10px rgba(0,0,0,.1);
  min-height: 100vh;
  padding: 1rem 0 0;
}

/* @media screen and (max-width : 1000px) {
  #main {
    background-repeat: no-repeat;
    background-size: 240px;
    background-position: -20px -20px;
    background-image: url(../img/logo.png);
    background-color: rgba(256,256,256,.9);
    background-blend-mode: lighten;
  }
} */

@media screen and (max-width : 480px) {
  #main {
    padding-top: 3rem;
    background-size: 50vw;
    background-position: -5vw -5vw;
  }
}

h2 a {
  text-decoration: none;
}

.mail_address a {
  pointer-events: none;
  text-decoration: none!important;
}

/* ヘッダー */
header {
  position: absolute;
  top: 0;
  right: 0;
  width: 10%;
  min-width: 7em;
}

header #switch_en {
  padding: .5em 1em;
  border-radius: 999px;
  color: #999;
  width: 100px;
  margin: 8px 8px 8px auto;
  text-align: center;
  font-weight: 100;
}

header #switch_en strong {
  color: #333;
  font-weight: 400;
}

/* 個別ページ */
.single_detail {
  width: 90%;
  margin: 0 auto 2rem;
}

.thunbnail {
  width: 90%;
  margin: 0 auto 1rem;
  text-align: center;
  padding: 1rem 0;
  position: relative;
  opacity: 0;
  transition: 1s;
  background: #F4F4F4;
}

.thunbnail.anime_on {
  opacity: 1;
}

.thunbnail img {
  width: 90%;
  height: auto;
}

/* 作品一覧 */
#list h2 , #individual h2 , #contact h2 {
  text-align: center;
  line-height: 1em;
  font-weight: 400;
}

#list h2 .list_sub_title , #individual h2 .individual_sub_title , #contact h2 .individual_sub_title {
  font-size: .6em;
  font-weight: 400;
  color: #999;
}

#list .list_wrap {
  width: 96%;
  margin: 0 auto 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 36px 16px;
}

#list .list_wrap .list_card {
  display: flex;
  flex-direction: column;
  width: calc((100% - 16px) / 2);
  opacity: 0;
  transform: translateY(50px);
  transition: .5s ease-in-out;
  overflow: hidden;
  text-align: center;
  justify-content: left;
  font-size: 14px;
}

#list .list_wrap .list_card:focus {
  outline: none;
}

#list .list_wrap .list_card .list_card_img {
  width: 100%;
  background-color: #F4F4F4;
  text-align: center;
  padding: 1em 0;
}

#list .list_wrap .list_card:nth-of-type(even) {
  transition: .7s ease-in-out;
}

#list .list_wrap .list_card img {
  height: auto;
  transition: .2s;
  width: 90%;
}

#list .list_wrap .list_card:hover img {
  transform: scale(1.05);
}

#list .list_wrap .list_card p {
  text-align: left;
}

.single_detail {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: left;
}

p.detail_artist {
  margin: .25em auto 0;
  margin-left: 0;
}

p.detail_title {
  margin: 0 auto .5em;
  margin-left: 0;
}

p.detail_index {
  margin: .25em auto .25em;
  margin-left: 0;
  font-size: 1.2em;
  position: relative;
}

p.detail_index::after {
  position: absolute;
  bottom: .4em;
  right: -1.5em;
  width: 1.7em;
  height: 1px;
  background-color: #ddd;
  content: "";
  transform: rotate(-45deg);
}

p.detail_title {
  flex-grow: 1;
  text-align: left;
}

p.detail_price {
  font-weight: bold;
  flex-direction: column;
  margin-left: 0;
  margin-right: auto;
}

p.detail_content {
  text-align: left;
  margin: 0 auto 1rem 0;
  line-height: 1.75em;
}

#list .list_wrap .list_card.anime_on {
  opacity: 1;
  transform: translateY(0);
}

.single_detail p.detail_title {
  font-size: 20px;
  font-weight: bold;
  margin: .5em auto .5em 0;
}

.artist_profile {
  width: 100%;
  margin: 0;
  padding: 1rem 5%;
  background-color: #ededed;
}

.artist_profile h3 {
  letter-spacing: .1em;
}

.artist_profile p {
  font-size: 14px;
  line-height: 1.75em;
}

/* フッター */
footer {
  text-align: center;
  /* background-color: #fff; */
  /* background: linear-gradient(130deg, #cbd6dc 10% , #3E4B58 90%); */
  padding: 36px 0 4px;
  font-weight: 300;
  line-height: 1.75;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: 90%;
  height: 1px;
  background: #aaa;
  border-radius: 4px;
  transform: translateX(-50%);
}

footer .footer_main {
  margin: 0 auto 2rem;
}

footer .footer_main a {
  text-decoration: underline;
}

footer .footer_sns {
  margin: 0 auto 2rem;
  display: flex;
  gap: 12px;
  justify-content: center
}

footer .footer_sns a {
  display: block;
  padding: 12px;
  border-radius: 50%;
  text-align: center;
  /* box-shadow: 2px 2px 2px rgba(0,0,0,.2),-2px -2px 2px rgba(256,256,256,.2); */
}
footer .footer_sns a img {
  width: 28px;
}

footer .footer_credit {
  font-size: 13px;
  padding: .2em;
  position: relative;
}

footer .footer_credit::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: #aaa;
  border-radius: 999px;
  width: 90%;
  height: 1px;
}

.btn {
  display: block;
  width: 80%;
  margin: 3rem auto;
  padding: 1em 0;
  text-align: center;
  border: solid 2px #333;
  background: linear-gradient(135deg, #3E4B58 50%,transparent 50%);
  background: linear-gradient(135deg, #cbd6dc 10% , #3E4B58 49% , #3E4B58 55%,transparent 55%);
  background-size: 300%;
  background-position: 100%;
}

.btn:hover {
  opacity: 1;
  background-position: 25%;
  color: #fff;
  border-color: #3E4B58;
}

/* フォーム */
.contact_item_container {
  display: flex;
  gap: 16px;
  width: 90%;
  margin: 0 auto 1rem;
}

.contact_item_container .contact_item_img {
  width: calc((100% - 6px) / 2);
  background-color: #F4F4F4;
  text-align: center;
  padding: .5rem 0;
}

.contact_item_container .contact_item_img img {
  height: auto;
  width: 90%;
}

.contact_item_container .contact_item_detail {
  width: calc((100% - 6px) / 2);
  font-size: .8rem;
}

#contact .mw_wp_form {
  width: 100%;
  margin: 0 auto 5rem;
}

#contact .mw_wp_form h3 {
  font-size: 13px;
  margin: 0 auto;
  width: 90%;
}

#contact .mw_wp_form p:not(.form_btn) {
  margin: 0 auto 1.5rem;
  width: 90%;
}

#contact .mw_wp_form p input {
  background: none;
  border: none;
  border-bottom: solid 1px #ccc;
  line-height: 2em;
  width: 100%;
  font-size: 16px;
}

#contact .mw_wp_form p input:focus {
  outline: none!important;
  border-bottom: solid 1px #00d;
}

#contact .mw_wp_form p textarea {
  border: solid 1px #ccc;
  background: none;
  width: 100%;
}

#contact .contact_item_container {
  font-size: 13px;
}

#contact .mw_wp_form p input[type="submit"] {
  display: block;
  width: 80%;
  margin: 3rem auto 6rem;
  padding: 1em 0;
  text-align: center;
  border: solid 2px #333;
  background: linear-gradient(135deg, #3E4B58 50%,transparent 50%);
  background: linear-gradient(135deg, #cbd6dc 10% , #3E4B58 49% , #3E4B58 55%,transparent 55%);
  background-size: 300%;
  background-position: 100%;
  transition: .3s;
  color: #333;
  font-size: 16px;
  border-radius: 0;
  line-height: 1.5em;
}

#contact .mw_wp_form p input[type="submit"]:hover {
  cursor: pointer;
  opacity: 1;
  background-position: 25%;
  color: #fff;
  border-color: #3E4B58;
}

#contact .mw_wp_form .contact_complete {
  text-align: center;
  margin: 5rem auto!important;
}

#contact .contact_item_container .contact_item_detail p.detail_index {
  display: inline-block;
}

#contact .contact_item_container .contact_item_detail p.detail_artist {
  margin-bottom: 1rem;
}

#contact .contact_item_container .contact_item_detail p.detail_title {
  font-size: 1rem;
}

#contact .contact_item_container:has(+ .mw_wp_form_complete) {
  display: none!important;
}