/*
Theme Name: tonojikan.jp
Version: 1.0
Author: ITOCREATIVE
*/

/**
 * Table of Contents:
 *
 * 1.0 - Reset
 * 2.0 - Repeatable Patterns
 * 3.0 - Basic Structure
 * 4.0 - Header
 *   4.1 - Site Header
 *   4.2 - Navigation
 * 5.0 - Content
 *   5.1 - Entry Header
 *   5.2 - Entry Meta
 *   5.3 - Entry Content
 *   5.4 - Galleries
 *   5.5 - Post Formats
 *   5.6 - Attachments
 *   5.7 - Post/Paging Navigation
 *   5.8 - Author Bio
 *   5.9 - Archives
 *   5.10 - Search Results/No posts
 *   5.11 - 404
 *   5.12 - Comments
 *   5.13 - Multisite
 * 6.0 - Sidebar
 *   6.1 - Widgets
 * 7.0 - Footer
 * 8.0 - Media Queries
 * 9.0 - Print
 * ----------------------------------------------------------------------------
 */

@import url(//fonts.googleapis.com/earlyaccess/notosansjapanese.css);

/**
 * 1.0 Reset
 *
 * Modified from Normalize.css to provide cross-browser consistency and a smart
 * default styling of HTML elements.
 *
 * @see http://git.io/normalize
 * ----------------------------------------------------------------------------
 */


* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

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

audio,
canvas,
video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden] {
  display: none;
}

html {
  font-size: 100%;
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html,
button,
input,
select,
textarea {
  font-family: "Noto Sans Japanese", serif;
  /*	font-family: Avenir , "Open Sans" , "Helvetica Neue" , Helvetica , Arial , Verdana , Roboto , "游ゴシック" , "Yu Gothic" , "游ゴシック体" , "YuGothic" , "ヒラギノ角ゴ Pro W3" , "Hiragino Kaku Gothic Pro" , "Meiryo UI" , "メイリオ" , Meiryo , "ＭＳ Ｐゴシック" , "MS PGothic" , sans-serif; */
  word-wrap: break-word;
}

body {
  color: #333;
  font-size: 16px;
  line-height: 1.45;
  margin: 0;
}

a {
  text-decoration: none;
}

a:visited {
}

a:focus {
  outline: thin dotted;
}

a:active,
a:hover {
  outline: 0;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  line-height: 1.3;
}

h1 {
  font-size: 1.6em;
  line-height: 1.3em;
  margin: 0;
  padding: 0;
  z-index: 99;
}

h2 {
  font-size: 1.6em;
  line-height: 1em;
  margin: 0;
  padding: 0;
}

h3 {
  font-size: 1.4em;
  line-height: 1em;
  margin: 0;
  padding: 0;
}

.sd-content ul li.share-twitter,
.sd-content ul li.share-facebook,
.sd-content ul li.share-google-plus-1 {
  background: none;
}

h4 {
  font-size: 1.4em;
  line-height: 1em;
  margin: 0;
  padding: 0;
}

h5 {
  border-bottom: 1px #1e257c dashed;
  font-size: 1.2em;
  line-height: 1em;
  margin: 0;
  padding: 0;
}

h6 {
  font-size: 1.2em;
  line-height: 1em;
  margin: 0;
  padding: 0;
}

address {
  font-style: italic;
  margin: 0 0 24px;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

mark {
  background: #ff0;
  color: #000;
}

p {
  margin: 0 0 24px;
}

code,
kbd,
pre,
samp {
  font-family: monospace, serif;
  font-size: 14px;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

pre {
  background: #f5f5f5;
  color: #666;
  font-family: monospace;
  font-size: 14px;
  margin: 20px 0;
  overflow: auto;
  padding: 20px;
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}

blockquote,
q {
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
  quotes: none;
}

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

blockquote {
  margin: 0 0 20px 0;
  background: rgba(124, 124, 124, 0.1);
  padding: 12px;
  -webkit-box-shadow: 1px 1px 1px #999;
  box-shadow: 1px 1px 1px #999;
}

blockquote blockquote {
  margin-right: 0;
}
.body-wrap .body blockquote h3 {
  margin-top: 0;
  background: #fff;
}

blockquote cite,
blockquote small {
  font-size: 14px;
  font-weight: normal;
  text-transform: uppercase;
}

blockquote em,
blockquote i {
  font-style: normal;
  font-weight: 300;
}

blockquote strong,
blockquote b {
  font-weight: 400;
}

blockquote p:last-child {
  margin-bottom: 0;
}

small {
  font-size: smaller;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

dl {
  margin: 0;
  padding: 0;
}

dt {
  margin: 0;
  padding: 0;
}

dd {
  margin: 0;
  padding: 0;
}

menu,
ol,
ul {
  margin: 16px 0;
  padding: 0 0 0 40px;
}

ul {
  list-style-type: none;
}

nav ul,
nav ol {
  list-style: none;
  list-style-image: none;
}

li > ul,
li > ol {
  margin: 0;
}

img {
  -ms-interpolation-mode: bicubic;
  border: 0;
  vertical-align: middle;
  max-width: 100%;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 0;
  max-width: 100%;
}

form {
  margin: 0;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
  white-space: normal;
}

button,
input,
select,
textarea {
  font-size: 100%;
  margin: 0;
  max-width: 100%;
  vertical-align: baseline;
}

button,
input {
  line-height: normal;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
input[disabled] {
  cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
  padding: 0;
}

input[type="search"] {
  -webkit-appearance: textfield;
  padding-right: 2px; /* Don't cut off the webkit search cancel button */
  width: 270px;
}

input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
  vertical-align: top;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0 auto 10px auto;
  max-width: 100%;
}

caption,
th,
td {
  font-weight: normal;
  text-align: left;
}

caption {
  font-size: 16px;
  margin: 20px 0;
}

th {
  font-weight: bold;
  text-transform: uppercase;
}

td {
  border: none;
  padding: 0;
  margin: 0;
}

del {
  color: #333;
}

ins {
  background: #fff9c0;
  text-decoration: none;
}

hr {
  background: url(images/dotted-line.png) repeat center top;
  background-size: 4px 4px;
  border: 0;
  height: 1px;
  margin: 0 0 24px;
}

.cf:before,
.cf:after,
.body.post dl:before,
.body.post dl:after {
  content: " ";
  display: table;
}

.cf:after,
.body.post dl:after {
  clear: both;
}

.cf,
.body.post dl {
  *zoom: 1;
}

ul,
dl {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-flex;
  display: flex;
  -webkit-box-lines: multiple;
  -moz-box-lines: multiple;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
}

ul:before,
dl:before {
  width: 0;
}

li dt dd {
  font-weight: normal;
  margin: 0;
  padding: 0;
}

.content ul {
  padding: 0 0 0 20px;
}

.content ul li {
  list-style-type: disc;
  width: 100%;
}

.fluid-box {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  min-width: 1300px;
  padding: 0;
}

.fluid-box-inner {
  margin: 0 auto;
  padding: 25px;
}

iframe {
  display: block;
  margin: 0;
  padding: 0;
}

.bx-wrapper {
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  border: none !important;
}

.bxslider li:not(:first-child),
.about-slide li:not(:first-child),
.top-slide li:not(:first-child) {
  display: none;
}

ul.top-slide {
  margin: 0 0 0 0;
  padding: 0 0 0 0;
}

/**
 * 8.0 Media Queries
 * ----------------------------------------------------------------------------
 */

@-ms-viewport {
  width: device-width;
}
@viewport {
  width: device-width;
}

.only-mobile {
  display: none;
}
.only-pc {
  display: block;
}

@media (max-width: 1599px) {
}

@media (max-width: 1069px) {
}

@media (max-width: 999px) {
}

/* Collapse oversized image and pulled images after iPad breakpoint. */
@media (max-width: 767px) {
  .only-mobile {
    display: block;
  }
  .only-pc {
    display: none;
  }

  body {
    font-size: 16px;
    margin: 0;
  }

  h1 {
    font-size: 17px;
  }
}

@media (max-width: 643px) {
}

/* Mobile devices */
@media (max-width: 640px) {
}

/* mobile-menu */
.mobile-menu label {
  position: fixed;
  top: 7px;
  right: 7px;
  display: block;
  margin: 0;
  height: 30px;
  width: 30px;
  z-index: 10001;
}

input[type="checkbox"].on-off {
  display: none;
}

input:checked + label {
}

.mobile-menu-wrap {
  background: #fff;
  position: fixed;
  top: 0;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  margin: 0;
  padding: 0;
  width: 100%;
  z-index: 10;
}

input[type="checkbox"].on-off + .mobile-menu-wrap {
  height: 0;
  overflow: hidden;
}

input[type="checkbox"].on-off:checked + .mobile-menu-wrap {
  height: 100%;
  overflow: scroll;
}

.mobile-menu-content {
  margin: 0 auto 0 auto;
  width: 100%;
}

/**
 * 9.0 Print
 * ----------------------------------------------------------------------------
 */

/* Retina-specific styles. */
@media print,
  (-o-min-device-pixel-ratio: 5/4),
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 120dpi) {
  .site-header .search-field {
    background-image: url(images/search-icon-2x.png);
  }

  .format-audio .audio-content,
  .format-status .entry-content:before,
  .format-status .entry-meta:before,
  .comment-list > li:after,
  .comment-list .children > li:before {
    background-image: url(images/dotted-line-2x.png);
  }
}

@media print {
  body {
    background: none !important;
    color: #000;
    font-size: 10pt;
  }

  footer a[rel="bookmark"]:link:after,
  footer a[rel="bookmark"]:visited:after {
    content: " [" attr(href) "] "; /* Show URLs */
  }

  .site {
    max-width: 98%;
  }

  .site-header {
    background-image: none !important;
  }

  .site-header .home-link {
    max-width: none;
    min-height: 0;
  }

  .site-title {
    color: #000;
    font-size: 21pt;
  }

  .site-description {
    font-size: 10pt;
  }

  .author-avatar,
  .site-footer,
  .comment-respond,
  .comments-area .comment-edit-link,
  .comments-area .reply,
  .comments-link,
  .entry-meta .edit-link,
  .page-links,
  .site-content nav,
  .widget-area,
  .main-navigation,
  .navbar,
  .more-link {
    display: none;
  }

  .entry-header,
  .entry-content,
  .entry-summary,
  .entry-meta {
    margin: 0;
    width: 100%;
  }

  .page-title,
  .entry-title {
    font-size: 21pt;
  }

  .entry-meta,
  .entry-meta a {
    color: #444;
    font-size: 10pt;
  }

  .entry-content img.alignleft,
  .entry-content .wp-caption.alignleft {
    margin-left: 0;
  }

  .entry-content img.alignright,
  .entry-content .wp-caption.alignright {
    margin-right: 0;
  }

  .format-image .entry-content .size-full {
    margin: 0;
  }

  /* Remove colors from post formats */
  .hentry {
    background-color: #fff;
  }

  /* Comments */
  .comments-area > li.comment {
    background: none;
    position: relative;
    width: auto;
  }

  .comment-metadata {
    float: none;
  }

  .comment-author .fn,
  .comment-reply-link,
  .comment-reply-login {
    color: #333;
  }
}
/* search */
.mobile-menu-search {
  width: 160px;
  /* height: 20px; */
  margin-top: 8px;
}
.searchform.cf input {
  /* height: 20px; */
  border: solid 1px var(--red) !important;
}
.searchform.cf input[type="submit"] {
}

.search_li {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.searchi_li_img {
  display: block;
  width: 19px;
  height: 20px;
}
.search-popup {
}
body.noscroll {
  overflow: hidden;
}

.search-popu {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 500px;
  background: white;
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: top 0.3s ease;
  z-index: 1001;
}

.search-popu.active {
  top: 10%;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.overlay.active {
  display: block;
}

.search-popu .close-btn {
  display: block;
  width: auto;
  height: auto;
  /* margin: 0 auto 10px auto; */
  margin-left: auto;
  margin-right: 0;
  /* padding: 10px 20px; */
  padding: 0;
  /* color: white; */
  border: none;
  cursor: pointer;
  background-color: unset;
}
.search-popu .close-btn_img {
  display: block;
  width: 28px;
  height: 30px;
}
.searchform.cf {
  width: fit-content !important;
  margin: 0 auto;
}

/* 検索結果 */
.search-sp-only {
  display: none;
  padding-bottom: 20px;
}
@media (max-width: 640px) {
  h1.page-title.mincho {
    padding-bottom: 20px !important;
  }
  .search-sp-only {
    display: block;
    width: fit-content;
    margin: 0 auto;
  }

  .page-list-card {
    display: flex;
    gap: 4%;
  }

  .page-list-card-img,
  .page-list-card-text {
    width: 48%;
  }
  .page-list-card-img .event-poster {
    height: fit-content !important;
    min-height: 100px;
  }

  .page-list-card-text .text {
    display: none;
  }
}
