@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap");
@-webkit-keyframes opacity {
  0% {
    opacity: 0; }
  100% {
    opacity: 1; } }

@keyframes opacity {
  0% {
    opacity: 0; }
  100% {
    opacity: 1; } }

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
html {
  background: #fff; }
  html body {
    color: #454545;
    font-family: "Montserrat", "Noto Sans JP", sans-serif;
    font-size: 15px;
    line-height: 1.8;
    word-wrap: break-word;
    word-break: break-all; }
    html body h1, html body h2, html body h3, html body h4, html body h5, html body h6 {
      font-family: "Montserrat", "Noto Sans JP", sans-serif;
      font-weight: 400; }
    html body a {
      color: #888888;
      text-decoration: none; }
      html body a:active, html body a:focus, html body a:visited {
        color: #888888; }
      html body a:hover {
        color: #454545;
        text-decoration: underline;
        transition: 0.2s; }
        html body a:hover img {
          opacity: 0.8; }
    html body ul, html body ol {
      margin: 0;
      padding: 0; }
      html body ul li, html body ol li {
        list-style: none;
        margin: 0;
        padding: 0; }
    html body .ease-in-top {
      opacity: 0;
      transform: translate(0, 45px);
      transition: all 1000ms; }
      html body .ease-in-top.scrollOn {
        opacity: 1;
        transform: translate(0, 0); }
    @media screen and (min-width: 768px) {
      html body .sp-only {
        display: none !important; } }
    @media screen and (max-width: 767px) {
      html body .pc-only {
        display: none !important; } }

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-header {
  display: none; }

/*--------------------------------------------------------------
# HOME
--------------------------------------------------------------*/
#home-title {
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto;
  position: relative; }
  #home-title .home-title-img {
    position: relative;
    opacity: 0;
    -webkit-animation: opacity 1s 0.5s forwards;
    animation: opacity 1s 0.5s forwards; }
    #home-title .home-title-img img {
      width: 100%; }
  #home-title .home-title-txt {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 1rem;
    margin: auto;
    height: 140px;
    opacity: 0;
    -webkit-animation: opacity 1s 1s forwards;
    animation: opacity 1s 1s forwards; }
    #home-title .home-title-txt .home-title-ttl {
      margin: 0 auto; }
      #home-title .home-title-txt .home-title-ttl p {
        color: #454545;
        margin: 0 auto 1rem auto; }
      #home-title .home-title-txt .home-title-ttl .ttl-en {
        line-height: 1.4; }
      #home-title .home-title-txt .home-title-ttl .ttl-jp {
        font-family: "Noto Serif JP", serif;
        font-size: 1rem; }
  @media screen and (max-width: 991px) {
    #home-title .home-title-txt {
      left: 1rem;
      bottom: 1rem; }
      #home-title .home-title-txt .home-title-ttl .ttl-en {
        font-size: 1.3rem; }
      #home-title .home-title-txt .home-title-ttl .ttl-jp {
        font-size: 0.8rem; } }

#home-content {
  width: 90%;
  max-width: 800px;
  margin: 2rem auto;
  word-break: auto-phrase;
  opacity: 0;
  -webkit-animation: opacity 1s 1.5s forwards;
  animation: opacity 1s 1.5s forwards; }
  #home-content .profile-name strong {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 2px; }
  #home-content .wp-block-buttons {
    text-align: center; }
    #home-content .wp-block-buttons a:hover {
      text-decoration: none; }

#home-works {
  width: 90%;
  margin: 2rem auto; }
  #home-works .home-works-ttl {
    text-align: center; }
  #home-works .home-works-subttl {
    text-align: center; }
  #home-works .list-books {
    display: grid;
    -moz-column-gap: 1rem;
    column-gap: 1rem;
    row-gap: 1rem;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    position: relative; }
    #home-works .list-books a:hover {
      text-decoration: none;
      color: #454545; }
      #home-works .list-books a:hover .thumb-img {
        transform: scale(0.98); }
    #home-works .list-books .thumb-img {
      width: 100%;
      background-image: linear-gradient(135deg, #f9f9f9, #e1e1e1);
      text-align: center;
      padding: 25px;
      transition: transform .6s ease; }
      #home-works .list-books .thumb-img .thumb-img-content {
        width: 200px;
        max-width: 100%;
        height: 300px;
        max-height: 100%;
        margin: auto;
        overflow: hidden;
        position: relative; }
        #home-works .list-books .thumb-img .thumb-img-content img {
          position: absolute;
          top: 0;
          bottom: 0;
          left: 0;
          right: 0;
          margin: auto; }
    #home-works .list-books .thumb-txt {
      margin: 0.5rem auto;
      text-align: left;
      font-size: 0.7rem; }
    @media screen and (max-width: 991px) {
      #home-works .list-books {
        grid-template-columns: 1fr 1fr 1fr; }
        #home-works .list-books .thumb-img .thumb-img-content {
          width: 100px;
          height: 150px; } }
    @media screen and (max-width: 460px) {
      #home-works .list-books {
        grid-template-columns: 1fr 1fr; }
        #home-works .list-books .thumb-img .thumb-img-content {
          width: 100px;
          height: 150px; } }
  #home-works .home-works-web {
    margin: 2rem auto; }
    #home-works .home-works-web .list-web {
      width: 90%;
      max-width: 500px;
      margin: 2rem auto;
      width: 100%;
      text-align: left; }
      #home-works .home-works-web .list-web h3 {
        margin-bottom: 0;
        line-height: 1.5; }
        #home-works .home-works-web .list-web h3 a {
          color: #454545; }
      #home-works .home-works-web .list-web ul {
        margin: 0.5rem 0; }
        #home-works .home-works-web .list-web ul li {
          line-height: 1.4;
          font-size: 0.9rem;
          padding: 0 0 0.3rem 0;
          display: flex;
          justify-content: flex-start;
          align-items: flex-start; }
          #home-works .home-works-web .list-web ul li:before {
            content: "";
            display: block;
            width: 15px;
            min-width: 15px;
            height: 20px;
            background: url("./images/icon-pen.svg") center 2px no-repeat;
            background-size: contain;
            margin-right: 5px; }
    #home-works .home-works-web .list-magazine {
      max-width: 600px;
      width: 100%;
      margin: 2rem auto;
      padding-top: 2rem; }
      #home-works .home-works-web .list-magazine .magazine-box {
        display: grid;
        -moz-column-gap: 1rem;
        column-gap: 1rem;
        row-gap: 1rem;
        grid-template-columns: 1fr 1fr 1fr;
        position: relative; }
        #home-works .home-works-web .list-magazine .magazine-box .magazine-item .magazine-img {
          height: 180px;
          text-align: center; }
          #home-works .home-works-web .list-magazine .magazine-box .magazine-item .magazine-img img {
            max-height: 100%; }
        #home-works .home-works-web .list-magazine .magazine-box .magazine-item h3 {
          text-align: center;
          font-size: 1rem;
          margin: 0.5rem auto;
          line-height: 1.4; }
    @media screen and (max-width: 460px) {
      #home-works .home-works-web .list-web h3 small {
        display: block; }
      #home-works .home-works-web .list-magazine .magazine-box .magazine-item .magazine-img {
        height: 130px; }
      #home-works .home-works-web .list-magazine .magazine-box .magazine-item h3 {
        font-size: 0.8rem; } }

#contact {
  width: 90%;
  max-width: 800px;
  margin: 2rem auto; }
  #contact .home-contact-ttl {
    text-align: center; }
  #contact .contact-form {
    margin-bottom: 3rem; }
    #contact .contact-form p {
      margin: 0; }
    #contact .contact-form .form-item {
      margin: 0 auto 1rem auto;
      display: flex;
      flex-wrap: wrap; }
      #contact .contact-form .form-item .form-name {
        width: 30%; }
      #contact .contact-form .form-item .form-must {
        width: 10%;
        text-align: center; }
        #contact .contact-form .form-item .form-must .must {
          font-size: 0.8rem;
          background: #ff0000;
          padding: 4px 8px;
          border-radius: 3px;
          color: #fff; }
      #contact .contact-form .form-item .form-content {
        width: 60%; }
        #contact .contact-form .form-item .form-content input {
          width: 100%;
          max-width: 100%; }
        #contact .contact-form .form-item .form-content .form-content-memo {
          font-size: 0.8rem;
          line-height: 1.2;
          padding: 5px 0; }
    #contact .contact-form .form-submit {
      text-align: center;
      margin: 2rem auto; }
      #contact .contact-form .form-submit .your-submit {
        margin-left: 70px;
        padding: 1rem 1.4rem;
        background: transparent;
        border: 2px solid;
        border-radius: 50rem;
        cursor: pointer; }
        #contact .contact-form .form-submit .your-submit:hover {
          background: #eee;
          transition: 0.5s; }
  @media screen and (max-width: 991px) {
    #contact .contact-form .form-item .form-name {
      width: 80%;
      padding: 0 0 5px 0; }
    #contact .contact-form .form-item .form-must {
      width: 20%;
      text-align: right;
      padding: 0 0 5px 0; }
    #contact .contact-form .form-item .form-content {
      width: 100%; } }

.fancybox-container .bookdetail {
  background: transparent;
  padding: 0; }

.bookdetail {
  background: transparent;
  text-align: center; }
  .bookdetail .bookdetail-content {
    width: 90%;
    max-width: 500px;
    margin: 2rem auto; }
  .bookdetail .detail-img {
    width: 500px;
    max-width: 100%;
    height: 500px;
    max-height: 100%;
    background-image: linear-gradient(135deg, #f9f9f9, #e1e1e1);
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    overflow: hidden; }
    .bookdetail .detail-img img {
      max-height: 400px;
      max-width: 400px;
      width: auto;
      height: auto;
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      margin: auto; }
  .bookdetail .detail-txt {
    text-align: left;
    margin: 1rem 0; }
    .bookdetail .detail-txt p {
      margin: 0;
      line-height: 1.6; }

@media screen and (max-width: 991px) {
  .bookdetail .detail-img {
    width: 380px;
    height: 380px; }
    .bookdetail .detail-img img {
      max-height: 280px;
      max-width: 280px; } }

.single-header .site-title {
  font-size: 1rem;
  text-align: center; }
  .single-header .site-title a {
    font-family: "Noto Serif JP", serif; }

.page-content {
  width: 90%;
  max-width: 800px;
  margin: 2rem auto; }

.not-found .page-content {
  text-align: center; }

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
  margin: 2rem auto;
  text-align: center;
  font-size: 0.7rem; }
