@charset "utf-8";

/******** Fonts ********/
/*** Playfair Display ***/
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/******** basic structure ********/

body {
  padding: 2em;
  font-family: "Yu Gothic",YuGothic,"Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W3","Avenir","Helvetica Neue","Helvetica","Arial",sans-serif;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  letter-spacing: 0.05rem;
  color: #000;
}

h1 {
  font-size: 1.8rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.3rem;
}

h4 {
  font-size: 1.1rem;
}

input[type="text"],input[type="submit"],input[type="email"],textarea {
  padding: 0.3rem;
  border: 0.09rem solid #333;
}

input[type="text"],input[type="email"],textarea {
  max-width: 400px;
  width: 100%;
}

input[type="text"] {
  text-align: left;
}

i {
 font-style: normal;
 margin: 0 0.2rem;
}

/******** header ********/

#site_title {
  font-family: "Playfair Display";
  font-size: 2rem;
  font-weight: 500;
  word-wrap: break-word;
  color: #c71585;
}

header {
  text-align: center;
  padding-bottom: 2rem;
  border-bottom: 0.09rem solid #333;
  margin-bottom: 0.5rem;
}

/*** header_menu ***/

#menu_button {
  width: 3rem;
  height: 3rem;
  position: fixed;
  top: 1rem;
  right: 1rem;
  border: 0.09rem solid #333;
  background-color: rgba(255,255,255,0.9);
  z-index: 3;
}

.menu_open::before {
  font-family: "Font Awesome 5 Free";
  content: "\f0c9";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

.menu_close::before {
  font-family: "Font Awesome 5 Free";
  content: "\f00d";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

#header_menu {
  position: fixed;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  padding: 1rem;
  background-color: rgba(255,255,255,0.9);
  overflow-y: auto;
  transition: .5s;
  z-index: 2;
}

.menu_close + #header_menu {
  left: 0;
}

#header_menu > form {
  margin: 6rem auto 2.5rem;
}

#header_menu > form > div > input[type="text"] {
  width: 55%;
  max-width: 300px;
}

#global_menu {
  padding: 2rem;
}

#global_menu > div > ul > li{
  margin-bottom: 1.4rem;
}

#global_menu > div > ul > li > a{
  font-size: 1.2rem;
}

#global_menu > div > ul > li > ul{
  width: 80%;
  margin: 0.2rem auto 0;
}

#global_menu > div > ul > li > ul > li{
  display: inline-block;
  margin: 0.2rem 0.2rem;
}

/*** post_data ***/

.post_data {
  width: 90%;
  font-size: 0.9rem;
}

.post_data > div > p{
  display: inline-block;
  margin: 0.3rem 0.5rem 0.3rem 0;
}

.cate_list a,.tag_list a{
  padding: 0.3rem;
  border-radius: 0.5rem;
  font-size: 0.87rem;
  color: #fff;
  white-space: nowrap;
}

.cate_list a{
  background-color: #dc143c;
}

.tag_list{
  line-height: 2rem;
}

.tag_list a{
  background-color: #c71585;
  margin-right: 0.4rem;
}

.tag_list span{
  white-space: nowrap;
  cursor: pointer;
}



/******** aside ********/

/******** main ********/

main {
  width: 100%;
  max-width: 400px;
  margin: 2rem auto;
}

main > article a {
  color: #c71585;
}

.wp-block-image a {
  display: inline;
}

/*** index.php ***/
.nav-links {
  text-align: center;
}

/*** contents.php ***/

#archive_header {
  text-align: center;
  margin-bottom: 2rem;
}

#archive_header > h1, #archive_header > h2{
  font-size: 1.5rem;
}

.post_archive {
  position: relative;
  width: 100%;
  margin: 2rem auto;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  color: #fff;
}

.post_archive::before {
  content: "";
  display: block;
  padding-top: 67.3%
}

.post_archive > a {
  position: absolute;
  top: 0; bottom: 0;
  left: 0; right: 0;
}

.post_archive > a > h3,.post_archive > a > h2 {
  width: 100%;
  position: absolute;
  bottom: 0;
  padding: 0.3rem;
  text-align: center;
  background-color: rgba(0,0,0,0.6);
  font-size: 1.2rem;
}

.post_archive_data {
  position: absolute;
  top: 0;
  right: 0;
  background-color: rgba(0,0,0,0.6);
}

.post_archive_data > p {
  display: inline-block;
  margin: 0.3rem;
}

/*** single.php ***/

.post_content > h1 {
  text-align: center;
  line-height: 1.3;
  margin-bottom: 2rem;
  font-weight: bold;
}

.post_content > h2 {
  position: relative;
  margin-top: 3rem;
  margin-bottom: 3rem;
  line-height: 1.4;
  text-align: center;
  font-weight: bold;
}

.post_content > h2::after{
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  width: 60%;
  height: 2px;
  transform: translateX(-50%);
  background-color: #c54998;
}

.post_content > h3 {
  margin-top: 3rem;
  margin-bottom: 3rem;
  text-align: center;
  font-weight: bold;
}

.post_content > h4 {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
  font-weight: bold;
}

.post_content > p {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.post_content_thum {
  text-align: center;
  margin: 1rem 0;
}

.thum_post {
  width: 100%;
}

.post_content > figure {
  margin: 3rem auto;
}

/*** SNS Account List ***/

ul.ac_sns {
  margin: 4rem 0;
  text-align: center;
}

ul.ac_sns > li {
  margin: 1.5rem 0;
}

ul.ac_sns > li > a {
  display: inline-block;
  width: 75%;
  padding: 0.8rem;
  color: #fff;
}

ul.ac_sns > li > a:hover {
  color: #fff;
}

li.ac_x > a {
  background-color: #0f1419;
}

li.ac_x > a:hover {
  background-color: #313539;
}

li.ac_x > a::before {
  content: "\e61b";
  font-family: "Font Awesome 5 Brands";
  margin-right: 0.3rem;
}

li.ac_ig > a {
  background-color: #f13f79;
}

li.ac_ig > a:hover {
  background-color: #e76d8b;
}

li.ac_ig > a::before {
  content: "\f16d";
  font-family: "Font Awesome 5 Brands";
  margin-right: 0.3rem;
  font-size: 1.25rem;
}

/*** 単体作品リンク ***/

ul.ta_list {
  margin: 4rem 0;
  text-align: center;
}

ul.ta_list > li {
  margin: 1.5rem 0;
}

ul.ta_list > li > a {
  display: inline-block;
  width: 75%;
  padding: 0.8rem;
  color: #fff;
}

ul.ta_list > li > a:hover {
  color: #fff;
}

li.ta_fan > a {
  background-color: #ee2737;
}

li.ta_fan > a:hover {
  background-color: #e5757e;
}

li.ta_mgs > a {
  background-color: #000;
}

li.ta_mgs > a:hover {
  background-color: #333;
}


/*** sidebar.php ***/

#sidebar_widget {
  margin: 3rem 0 0;
  padding: 2rem 0 1rem;
  border-top: 0.09rem solid #333;
}

#sidebar_widget > div {
  margin: 1rem 0;
}

#sidebar_widget > div:last-child {
  margin: 0 0;
}

#sidebar_widget {
  text-align: center;
}

.relation_post {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 2rem auto 0;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  color: #fff;
}

.relation_post::before {
  content: "";
  display: block;
  padding-top: 67.3%
}

.relation_post > a {
  position: absolute;
  top: 0; bottom: 0;
  left: 0; right: 0;
}

.relation_post > a > h3 {
  width: 100%;
  position: absolute;
  bottom: 0;
  padding: 0.3rem;
  text-align: center;
  background-color: rgba(0,0,0,0.6);
  font-size: 1.2rem;
}

/*** page.php ***/

.page_content > h1 {
  line-height: 1.3;
  text-align: center;
  margin-bottom: 2rem;
}

.page_content > h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  line-height: 1.4;
  text-align: center;
}

.page_content > h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.page_content > p {
  margin-top: 0.6rem;
  margin-bottom: 0.6rem;
}

/******** footer ********/

footer {
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 0.09rem solid #333;
}

#footer_menu > div > ul {
  text-align: center;
}

#footer_menu > div > ul > li {
  display: inline-block;
  margin: 0.2rem 0.2rem;
}

#page_top {
  display: none;
  width: 3rem;
  height: 3rem;
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  border: 0.09rem solid #333;
  border-radius: 50%;
  z-index: 1;
  background-color: rgba(255,255,255,0.9);  
}

#page_top::before {
  content: "\f102";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 1.2rem;
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  transform: translate(-50%,-50%);
  color: #333;
}

.copyright {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
}

/******** Plugins ********/

/*** Easy Table of Contents ***/

#ez-toc-container {
  position: relative;
  width: 100%;
  height: 200px;
  margin: 3rem auto 0;
  padding: 1rem 1rem 2.5rem;
  border: solid 0.09rem #333;
  overflow: hidden;
}

.toc_button {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.5rem 0;
  text-align: center;
  background: rgba(0,0,0,0.6);
  color: #fff;
  cursor: pointer;
}

.ez-toc-title-container {
  margin-bottom: 1rem;
}

.ez-toc-title {
  text-align: center;
}

.ez-toc-list > li {
  margin-bottom: 1rem;
}

.ez-toc-list > li > a {
  display: block;
  margin-bottom: .3rem;
}

.ez-toc-list > li > ul > li {
  margin-bottom: .3rem;
  margin-left: 1rem;
}

/*** Contact Form 7 ***/

.wpcf7 {
  max-width: 400px;
  width: 100%;
  margin: 2rem auto;
}

form.wpcf7-form > p {
  margin: 1rem 0;
}

.grecaptcha-badge { visibility: hidden; }
