@charset "utf-8";

/*
theme Name: 夜にぴかぴか光る文字
Author: satuki_siho
Description: yorupika original theme
version： 0.9.2
*/

/*cssのリセット*/

* {
  box-sizing: border-box;
}

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  border: 0;
  outline: 0;
  background: transparent;
}

button,
input,
select,
textarea {
  font: 100% inherit;
}

body {
  background: #f5f5f5;
  line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

.wrapper {
  overflow: hidden;
}

ul.menu {
  position: relative;
  list-style: none;
  display: flex;
  width: auto;
  padding-top: 0.25em;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

a {
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  background: transparent;
}

ins {
  background: #ff9;
  text-decoration: none;
  color: #000;
}

mark {
  background: #ff9;
  font-weight: bold;
  font-style: italic;
  color: #000;
}

del {
  text-decoration: line-through;
}

abbr[title],
dfn[title] {
  cursor: help;
  border-bottom: 1px dotted;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

hr {
  display: block;
  height: 1px;
  margin: 32px 0 16px 0 !important;
  padding: 0;
  border: 0;
  border-top: 1px solid #ccc !important;
  border-bottom: 0 !important;
}

/* iOSでのデフォルトスタイルをリセット */

input[type="submit"],
input[type="button"] {
  background: #eee;
  border-radius: 2px;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: 1px solid #999;
  box-sizing: border-box;
  cursor: pointer;
  font-weight: 300;
  color: black;
}

input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}

input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

/*全体の基準*/

html {
  font-size: 16px;
}

body {
  font-family: LINESeedJPStd, sans-serif;
  line-height: 1.4;
  font-weight: 300;
  margin: 0;
  padding: 0;
  color: #333;
}

@font-face {
  font-family: LINESeedJPStd;
  src: local("※"), url(fonts/LINESeedJP_OTF_Th.woff) format('woff');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: LINESeedJPStd;
  src: local("※"), url(fonts/LINESeedJP_OTF_Rg.woff) format('woff');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: LINESeedJPStd;
  src: local("※"), url(fonts/LINESeedJP_OTF_Bd.woff) format('woff');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: LINESeedJPStd;
  src: local("※"), url(fonts/LINESeedJP_OTF_Eb.woff) format('woff');
  font-weight: 800;
  font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  color: #333;
}

img {
  max-width: 100%;
  height: auto;
}

.wp-block-image img {
  width: 100%;
}

a {
  color: #08a;
}

/*確認用に一時記述----------
.contents, #sidebar {height: 800px; }
 
header{background-color: #888;}
 
.header-inner{ background-color: #ccc;}
 
.container {background-color: #9db2ea; }
 
.contents {background-color: #a5e2ff; }
 
#sidebar{background-color: #aefffc; }
 
footer{background-color: #777; }
 
.footer-inner{background-color: #ddd;}
------------------------*/

.no {
  display: none;
}

.blo {
  display: block;
}

.inblo {
  display: inline-block;
}

.header-inner {
  margin-right: auto;
  margin-left: auto;
  padding: 0;
}

.container,
.footer-inner {
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 2rem;
  padding: 0 1.25rem;
}

/*loading*/

#loading {
  width: 100%;
  height: 150%;
  top: -25%;
  left: 0;
  position: fixed;
  z-index: 999;
  background: rgba(0,0,0,0.975);
}

#animation_container {
  top: 16%;
  margin: 0 auto;
  width: 260px;
  height: 259px;
  position: relative;
}

/*header*/

.header-inner {
  height: auto;
}

.site-title-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.site-title {
  background: #fff;
  width: 100%;
}

.title-image {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.title-image img {
  height: 115px;
  object-fit: cover;
  margin: 25px 0;
}

.header-nav-wrap {
  margin-top: 2rem;
  text-align: right;
  width: 902px;
  padding: 0px 18px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  justify-content: center;
}

.header-nav-wrap a {
  text-decoration: none;
  color: black;
}

.navbutton {
  display: none;
}

.header-nav {
  width: fit-content;
}

.header-nav.inblo{
  margin-right: 16px;
}

.header-nav li {
  padding: 0 1rem;
  display: block;
}

.header-nav-wrap form {
  display: inline-block;
  height: calc(1rem + 6px);
}

.header-nav-wrap .searchsubmit {
  font-size: 12px;
  margin-left: 1em;
}

.header-nav-wrap .searchfield {
  width: 170px;
}

.header-nav-wrap .searchsubmit,
.header-nav-wrap .searchfield {
  box-sizing: border-box;
  display:inline-block;
}

@media (max-width: 940px) {
  .site-title a img {
    height: 80px;
    margin: 20px 0;
  }

  /*menu表示*/

  .navbutton {
    display: block;
    width: calc(1.25rem + 18px);
    height: calc(1.25rem + 18px);
    padding: 0;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    cursor: pointer;
    border: 0;
    background-color: transparent;
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center center;
  }

  .navbutton.black {
    background-image: url(images/black_outlined_spotlight_filled.svg);
    /* background-color: #fff; */
  }

  .navbutton.white {
    background-image: url(images/white_outlined_spotlight.svg);
  }

  ul.menu {
    position: fixed;
    z-index: 999;
    top: 130px;
    left: 120px;
    line-height: 2.25rem;
    display: block;
  }

  .navbutton:focus {
    outline: 0;
  }

  .header-nav li {
    text-align: left;
  }

  .light {
    position: fixed;
    z-index: 998;
    top: -160px;
    left: 70px;
    mix-blend-mode: screen;
    filter: blur(1px);
    /* opacity: 0.5; */
  }

  .light.f {
    fill: #f40000;
  }

  .light.s {
    fill: #00f400;
  }

  .light.t {
    fill: #0000EE;
  }



  .header-nav-wrap {
    margin-top: 1em;
    padding: 0 0;
    width: 415px;
  }

  .shadow {
    position: fixed;
    z-index: 997;
    top: -25%;
    left: 0;
    width: 100%;
    height: 150%;
    background-color: rgba(0,0,0,0.975);
    opacity: 0.975;
    /* will-change: top; */
  }
}

@media (max-width: 498px) {
  body.home .header-nav-wrap {
    margin-top: 1em;
    padding: 0 0;
    padding-right: 38px;
    width: 100%;
  }

  body.archive .header-nav-wrap {
    margin-top: 1em;
    padding: 0 0;
    padding-right: 38px;
    width: 100%;
  }

  ul.menu {
    /* top: 14%; */
    /* left:calc(16% + 2rem); */
    /* line-height:2.25rem; */
  }

  .light::after {
    top: 8.75%;
    left: 22%;
    height: 82.5%;
    background-color: white;
    transform: perspective(200px) rotateY(-48deg);
  }
}

/**/

/*content*/

.contents {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.contents article {
  background: white;
  width: 415px;
  height: 375px;
  /* margin: 1em 0; */
}

.contents article a .text {
  padding: 0 1.4em;
  height: 191px;
  position: relative;
  /* line-height:1em; */
}

.contents article>a {
  color: #333;
  text-decoration: none;
  height: 100%;
  width: 100%;
  display: inline-block;
}

.contents article h2 {
  font-size: 20px;
  margin-top: 0.2em;
  line-height: 2em;
  color: #222;
  max-height: 2em;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

span.article-date {
  color: #aaaaaa;
  font-weight: bold;
  font-size: 14px;
}

body.home .article-author {
  font-size: 14px;
  margin-left: 10px;
}

body.archive .article-author {
  font-size: 14px;
  margin-left: 10px;
}

.contents article a .img-wrap {
  height: 180px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.contents article a .img-wrap img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
}

.contents article a .text p {
  margin-top: 8px;
  font-size: 12px;
  height: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contents article a .text div.cat-data {
  font-size: 14px;
  position: absolute;
  bottom: 2rem;
  width: auto;
}

.cat-data .cat {
  background: #999;
  margin-right: 15px;
  color: white;
  padding: 4px 10px;
  border-radius: 3px;
}

a.cat-data {
  background: #999;
  margin-bottom: 6px;
  margin-left: 15px;
  color: white;
  padding: 4px 10px 3px;
  border-radius: 3px;
  text-decoration: none;
}

i.fa-user {
  padding: 0 0.3rem 0 0;
}

.archive-top {
  margin-left: calc((100% - 902px + 36px) / 2);
  margin-top: 2em;
}

@media (max-width: 940px) {
  .container {
    margin-top: 1rem;
    /* padding: 0; */
  }

  .contents article {
    margin-bottom: 0;
  }

  .archive-top {
    margin-left: 18px;
  }
}

@media (max-width: 498px) {
  .container {
    margin-top: 1rem;
    padding: 0;
  }

  .contents article {
    margin-bottom: 0;
  }

  .archive-top {
    margin-left: 18px;
  }
}

@media (max-width: 600px) {
  body.home .container {
    padding-top: 0;
  }

  body.home .contents article {
    width: calc(100% - 36px);
    min-width: 300px;
    height: 210px;
    background-color: white;
    margin-top: 2em;
  }

  body.home .contents article a .img-wrap {
    height: 80px;
    width: 100%;
    position: relative;
    overflow: hidden;
  }

  body.home .contents article h2 {
    font-size: 18px;
    margin-top: 0.2em;
    line-height: 2em;
    color: #222;
  }

  body.home .contents article a .text {
    padding: 0 1em;
    height: 130px;
    position: relative;
    /* line-height:1em; */
  }

  body.home .cat-data .cat {
    margin-right: 10px;
    background-color: #999;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
  }

  .contents article a .text div.cat-data {
    font-size: 14px;
    position: absolute;
    bottom: 1rem;
    width: auto;
  }

  /*archive*/

  .archive-top {
    margin-left: 18px;
  }

  body.archive .container {
    padding-top: 0;
  }

  body.archive .contents article {
    width: calc(100% - 36px);
    min-width: 300px;
    height: 200px;
    background-color: white;
    margin-top: 2em;
  }

  body.archive .contents article a .img-wrap {
    height: 80px;
    width: 100%;
    position: relative;
    overflow: hidden;
  }

  body.archive .contents article h2 {
    font-size: 18px;
    margin-top: 0.2em;
    line-height: 2em;
    color: #222;
  }

  body.archive .contents article a .text {
    padding: 0 1em;
    height: 120px;
    position: relative;
    /* line-height:1em; */
  }

  body.archive .cat-data .cat {
    margin-right: 10px;
    background-color: #999;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
  }

  .contents article a .text div.cat-data {
    font-size: 14px;
    position: absolute;
    bottom: 1rem;
    width: auto;
  }
}

/*pagination*/

.pagination {
  margin: 2rem 0;
  text-align: center;
}

.pagination ul {
  font-size: 0;
}

.pagination ul li {
  font-size: 1rem;
  display: inline-block;
  margin-right: .5rem;
}

.pagination ul li:last-child {
  border: 0;
}

.pagination ul li a,
.pagination .current {
  display: block;
  padding: .5rem .8rem;
  border: 1px solid #ccc;
}

.pagination ul li .prev,
.pagination ul li .next {
  border: 0;
}

.pagination ul li a {
  text-decoration: none;
  color: #333;
}

.pagination ul li a:hover {
  opacity: .6;
}

.pagination .current {
  background: #333;
  color: #fff;
}

/**/

/*single-post*/

body.single-post .container {
  /* padding:0; */
}

body.single-post .container .contents article {
  width: 100%;
  height: auto;
  padding-bottom: 1rem;
  display: block;
  position: relative;
}

body.single-post article {
  /* z-index:-3; */
}

body.single-post .article-img {
  height: 80px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

body.single-post .article-img img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
  height: 80px;
  object-fit: cover;
}

body.single-post .datecat {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.5rem;
}

.datecat .article-date,
.datecat .cat-data {
  display: inline-block;
  width: auto;
}

.datecat .cat-data .cat {
  margin: 0;
}

body.single-post .article-text {
  padding: 2.5em;
}

.datecat .article-date time {
  font-weight: normal;
  font-size: 16px;
  vertical-align: middle;
  /* font-weight: 100; */
}

body.single-post .contents {
  /* padding: 20px 0; */
}

body.single-post .article-info h1 {
  font-size: 20px;
  padding-bottom: 0.5rem;
}

body.single-post .article-info {
  padding-bottom: 1rem;
}

body.single-post div.talk {
  width: 100%;
}

body.single-post.talk-icon {
  background: transparent;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  content: '';
  display: inline-block;
  z-index: 1;
  margin: 16px 25px 0 0;
  vertical-align: top;
}

body.single-post .balloon {
  background: #f5f5f5;
  width: calc(100% - 75px);
  margin-top: 1rem;
  padding: 1.5rem;
  border-radius: 0 1rem 1rem 1rem;
  z-index: auto;
  display: inline-block;
  position: relative;
  max-width: 500px;
  line-height: 2;
}

body.single-post .balloon::before {
  background: #f5f5f5;
  content: '';
  display: block;
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  z-index: 1;
  top: 0;
  left: -20px;
}

body.single-post .balloon::after {
  background: white;
  content: '';
  display: block;
  position: absolute;
  width: 22px;
  height: 40px;
  border-radius: 11px;
  z-index: 2;
  top: 10px;
  left: -22px;
}

@media (max-width: 940px) {
  .header-nav-wrap {
    margin-top: 1rem;
    padding: 0 38px;
    width: 100%;
  }

  body.single-post .contents {
    padding-top: 0;
    /* padding: 20px 18px; */
  }

  body.single-post .article-text {
    padding: 1.5em;
  }
}

@media (max-width: 498px) {
  body.single-post .contents {
    padding-top: 0;
    /* padding: 20px 0; */
  }

  body.single-post .header-nav-wrap {
    margin-top: 1em;
    padding: 0 0;
    /* padding-right:38px; */
    width: 100%;
  }

  body.single-post .article-text {
    font-size: 13px;
    padding: 1em;
  }

  .datecat .article-date time {
    font-size: 12px;
  }

  .datecat .cat-data .cat {
    font-size: 12px;
  }

  body.single-post .article-info h1 {
    font-size: 14px;
  }

  .icon {
    width: 35px;
    height: 35px;
  }

  body.single-post .balloon {
    padding: 1.5rem;
    width: calc(100% - 60px);
  }
}

@media (max-width: 382px) {
  .balloon {
    padding: 2rem;
  }

  a.cat-data {
    margin-left: 8px;
    background-color: #999;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    text-decoration: none;
  }
}

/*single-post*/

body.page .container {
  padding: 0;
}

body.page article {
  width: 868px;
  height: auto;
  padding-bottom: 1rem;
  display: block;
  position: relative;
}

body.page .article-img {
  height: 80px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

body.page .article-img img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
}

body.page .datecat {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.5rem;
}

.datecat .article-date,
.datecat .cat-data {
  display: inline-block;
  width: auto;
}

.datecat .cat-data .cat {
  margin: 0;
}

body.page .article-text {
  padding: 2.5rem;
}

.datecat .article-date time {
  font-weight: 300;
  font-size: 16px;
  vertical-align: middle;
}

body.page .contents {
  padding: 20px;
}

body.page .article-info h1 {
  font-size: 20px;
  padding-bottom: 0.5rem;
}

body.page .article-info {
  padding-bottom: 1rem;
}

body.page .talk {
  width: 100%;
}

.talk .icon {
  background-color: transparent;
  content: '';
  display: inline-block;
  z-index: 1;
  margin: 16px 25px 0 0;
  vertical-align: top;
}

body.page .balloon {
  background: #f5f5f5;
  width: calc(100% - 75px);
  margin-top: 1rem;
  padding: 1.5rem;
  border-radius: 0 1rem 1rem 1rem;
  z-index: auto;
  display: inline-block;
  position: relative;
  max-width: 500px;
  line-height: 1.5rem;
}

body.page .balloon::before {
  background: #f5f5f5;
  content: '';
  display: block;
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  z-index: 1;
  top: 0;
  left: -20px;
}

body.page .balloon::after {
  background: white;
  content: '';
  display: block;
  position: absolute;
  width: 22px;
  height: 40px;
  border-radius: 11px;
  z-index: 2;
  top: 10px;
  left: -22px;
}

.introduction {
  background: #f5f5f5;
  width: calc(100% - 75px);
  max-width: 500px;
  padding: 0 0 16px 0;
  margin: 16px 0 0 75px;
  border: 1px solid #ccc;
}

.user-info {
  display: grid;
  grid-template-rows: 25px 1fr;
  grid-template-columns: 66px 1fr;
  padding: 16px 16px 0 16px;
  height: 66px;
}

.user-info .icon {
  display: inline-block;
  grid-row: 1 / 3;
  grid-column: 1 / 2;
  margin-right: 16px;
}

.user-info .name {
  grid-row: 1 / 2;
  grid-column: 2 / 3;
  font-weight: 600;
}

.user-info .caption {
  grid-row: 2 / 3;
  grid-column: 2 / 3;
  font-size: 12px;
  display: inline;
  padding-left: 8px;
  vertical-align: bottom;
}

.icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-size: contain;
}

.u1 .icon {
  background-image: url("https://yorupika.com/wp-content/themes/yorupikatheme/images/talk-icons/u1.png");
}

.u2 .icon {
  background-image: url("https://yorupika.com/wp-content/themes/yorupikatheme/images/talk-icons/u2.png");
}

.u3 .icon {
  background-image: url("https://yorupika.com/wp-content/themes/yorupikatheme/images/talk-icons/u3.png");
}

body.single-post .article-text>p {
  width: calc(100% - 75px);
  margin: 16px 0 0 75px;
  padding: 0 24px;
  max-width: 500px;
}

body.single-post .article-text>p img {
  vertical-align: -8px;
  margin: 0 8px 0 0;
}

.article-text>.wp-block-image {
  /* margin: 1em auto !important; */
  width: calc(100% - 75px) !important;
  margin: 16px 0 0 75px !important;
  /* padding: 0 24px; */
  max-width: 500px;
}

.wp-block-image figcaption {
  text-align: center;
  font-size: 8pt;
  color: #666;
  margin-bottom: 0 !important;
  font-weight: 300;
}

.wp-block-image figure {
  margin: 0 !important;
  width: 100%;
}

@media (max-width: 940px) {
  .header-nav-wrap {
    margin-top: 1em;
    padding: 0 38px;
    width: 100%;
  }

  body.page .contents {
    padding-top: 0;
  }

  body.page .container .contents article .article-text {
    padding: 1.5rem;
  }
}

@media (max-width: 498px) {
  body.page .header-nav-wrap {
    margin-top: 1em;
    padding: 0 0;
    padding-right: 38px;
    width: 100%;
  }

  body.page .contents .article-text {
    font-size: 13px;
  }

  .datecat .article-date time {
    font-size: 12px;
  }

  .datecat .cat-data .cat {
    font-size: 12px;
  }

  body.page .container .contents article .article-info h1 {
    font-size: 14px;
  }

  .user-info {
    grid-template-rows: 20px 1fr;
    grid-template-columns: 47px 1fr;
    height: 51px;
  }

  .user-info .icon {
    margin-right: 12px;
  }

  .user-info .caption {
    font-size: 10px;
  }

  .icon {
    width: 35px;
    height: 35px;
  }

  body.single-post .article-text>p {
    width: calc(100% - 60px);
    margin: 16px 0 0 60px;
  }

  body.single-post .article-text>.wp-block-image {
    width: calc(100% - 60px) !important;
    margin: 16px 0 0 60px !important;
  }

  body.single-post .introduction {
    width: calc(100% - 60px);
    margin: 16px 0 0 60px;
  }
}