/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com
Template: hello-elementor
Version: 1.2
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/
/*
    Add your custom styles here
*/
/** Global Defaults**/
body {
  font-family: "Noto Sans JP", sans-serif;
}

.alignwide{
  margin : 0px !important;
  }
/* 
  figure.size-large > img{
    width: 100% !important;
    object-fit: contain;
  }

  figure.is-resized > img{
    width: auto !important;
    object-fit: contain;
  } */

  div.wp-block-column > figure.is-resized > img{
    width: 100% !important;
    object-fit: cover;
    height: auto !important;
  }

div.wp-block-column > figure.size-full > img{
    width: 100% !important;
    object-fit: cover;
    height: auto !important;
  }

div.wp-block-image > figure.size-full > img{
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

/* body {
  font-family: "Noto Serif JP", serif;
} */

/* body {
  font-family: "Sawarabi Gothic", sans-serif;
} */

/* body {
  font-family: "Kosugi Maru", sans-serif;
} */

/* body {
  font-family: "Zen Kaku Gothic New", sans-serif;
} */


ul {
  list-style-type: none;
}
li {
  padding-bottom: 10px;
}

img {
  max-width: unset !important;
}
.pagination-class {
}

.article {
  opacity: 0;
  transition: 1s all ease;
}

.show-more {
  text-align: end;
  padding-right: 60px;
}

.show-all {
  text-align: end;
  padding-right: 60px;
}

.revealHide {
  opacity: 0;
  transition: 2s all ease;
}

.reveal {
  opacity: 1;
}

.articles-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding-left: 56px;
  gap: 30px 15px;
}

.image-border {
  width: 450px !important;
  height: 300px !important;
  border: 1.3px solid #000000;
  border-radius: 8px;
  object-fit: cover;
  overflow: hidden;
}

.image-articles {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

a {
  color: inherit;
  text-decoration: inherit;
}
.body-styles {
  display: flex !important;
  padding: 25px 60px !important;
  margin-top: 10px;
  overflow: hidden;
}
.padding-section {
  flex: 100%;
  /* padding-left: 20px; */
}

.grid-container {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  padding: 10px 0px;
  column-gap: 10px;
  row-gap: 10px;
  width: 100%;
}
.grid-item {
  border: 1px solid rgba(0, 0, 0, 0.8);
  padding: 20px;
  font-size: 30px;
  text-align: center;
}
/* ! Sidebar ! */
.first-box {
  display: flex;
  width: 29vw;
  max-width: 300px;
  min-width: 220px;
  border: solid 2px black;
  align-items: center;
  justify-content: center;
  height: 100px;
  background: white;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 2rem;
  margin-left: 21px;
  -webkit-box-shadow: -21px 21px 0px 0px black;
  -moz-box-shadow: -21px 21px 0px 0px black;
  box-shadow: -21px 21px 0px 0px black;
}
.category-title {
  /* 
  font-weight: 500;
  font-size: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 12px; */
  letter-spacing: 0.3em;
  padding: 0.85rem;
  font-size: 2.2rem;
}

.search-title {
  letter-spacing: 0.2em;
  padding: 0.85rem;
  font-size: 1.4rem;
}
.sidebar-list {
  font-weight: 400;
  font-size: 1.25rem;
  /* letter-spacing: 0.15rem; */
}
.category-sidebar {
  padding-top: 10px;
  width: 30vw;
  max-width: 320px;
  min-width: 250px;
}
.category-sidebar-border {
  background-color: white;
  border: solid 2px black;
  border-radius: 10px;
  padding: 18px;
}
/* ! HOMEPAGE !*/
.tag-container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
  /* margin: calc(calc(30 / 1440 * 100vw) - 10px) 0 0 0; */
}
.tags {
  border: 2px solid #000000;
  width: fit-content;
  padding: 2% 3%;
  border-radius: 20px;
  font-weight: 500;
  /* letter-spacing: 0.38em; */
  /* font-size: 0.75rem; */
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
}

.thumbbnail-tags {
  border: 2px solid #000000;
  width: fit-content;
  padding: 5px 2rem;
  border-radius: 20px;
  font-weight: 800;
  letter-spacing: 0.38em;
  font-size: 1vw;
}

.pickup-single {
  padding-right: 30px;
}

.pickup-border {
  border: 1.3px solid #000000;
  border-radius: 8px;
  object-fit: cover;
  overflow: hidden;
  width: 380px !important;
  height: 253.33px !important;
}

.thumbnail-tags {
  font-size: 0.8rem !important;
}

.image-border-thumbnail {
  border: 1.3px solid #000000;
  border-radius: 8px;
  width: 500px !important;
  height: 500px;
  object-fit: cover;
}

.left-thumbnail {
  max-width: 580px;
}

/* ! THUMBNAIL ! */
.thumbnail-container {
  padding: 0px 0px 20px 56px;
}

.thumbnail-category {
  font-size: 0.8rem;
}

.logoc {
  margin-top: 5px;
  height: 120px;
  width: 190px;
  margin-left: 50px;
  padding: 2px;
  object-fit: contain;
}

.thumbnail-text-container {
  display: flex;
  flex-direction: column;
  gap: 2%;
}
.date-container {
  order: 1;
  font-weight: 500;
  font-size: 1.2vw;
  letter-spacing: 0.38em;
  display: flex;
  gap: 1rem;
}
.title-container {
  order: 2;
}
.thumbnail-title {
  font-weight: 400 !important;
  font-size: 1.5rem;
  margin: 10px 0 30px 0;
}
/* ! ARTICLES ! */
.articles-category {
  display: flex;
  gap: 10px;
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.33em;
  flex-wrap: wrap;
  margin-top: 10px;
}
.article-title {
  /* font-weight: 700; */
  font-size: 1.2rem;
  margin: 8px 0 20px 0;
}
.article-linebreak {
  grid-column-start: 1;
  grid-column-end: 4;
  border: 1px solid black;
  /* margin: 10px 0px 30px 0px; */
  /* margin: 10px 0px; */
}

/* ! Archive ! */
.archive-grid {
  /* margin-bottom: 80px; */
  padding-bottom: 20px;
}

/* ! PICKUP ! */
.pickup-title {
  margin-bottom: 0.8rem;
  letter-spacing: 0.38em;
  font-weight: 500;
  font-size: 1.5rem;
}
.pickup-container {
  width: 100%;
  margin-bottom: 3rem;
  padding: 0px 60px;
}
.pickup-grid {
  display: inline-grid;
  grid-template-columns: auto auto auto auto;
  padding: 10px 0px;
  column-gap: 10px;
  row-gap: 10px;
  width: 100%;
}
.pickup {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 1%;
}
.image-pickup {
  border: 2px solid #000000;
  border-radius: 8px;
  width: 30vh !important;
  object-fit: cover;
  /* max-height: 40vh; */
  height: 30vh;
}

/* ! HEADER ! */
.search-bar {
  border-radius: 16px;
}
.logo {
}
.header-container {
  height: 100px;
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.search-bar-container {
}
.enquiry-container {
  margin-left: 1rem;
  height: 60px;
  width: 150px;
  background-color: black;
  margin: 0px 0px 0px 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.enquiry {
  color: white;
  letter-spacing: 0.38em;
  font-weight: 800;
  font-size: 0.85rem;
}
/* ! FOOTER ! */
.footer-container {
  background-color: black;
  padding: 40px 0px;
}
.footer-top-container {
  color: white;
  letter-spacing: 0.38em;
  font-size: 0.75rem;
  font-weight: 800;
  border-left: 1px solid #ffffff;
  padding-left: 2rem;
}
.footer-article {
  color: white;
  letter-spacing: 0.38em;
  font-size: 0.9rem;
  font-weight: 400;
  border-left: 1px solid #ffffff;
}
.footer-top {
  padding-bottom: 1rem;
}
.footer-article-title {
  padding-left: 2rem;
  padding-bottom: 1rem;
}
/* ! RESPONSIVE !*/
/*  TABLET max-width: 920px  */
/*  MOBILE max-width: 480px  */
/* XXL Desktop */
/* XL Desktop */
/* Only adjust padding and header height*/
/*  TABLET  */
@media (max-width: 960px) {
  .search-title {
    letter-spacing: 0.2em;
    padding: 0.85rem;
    font-size: 1rem;
  }
  .pickup-single {
    padding-right: 10px;
    margin-bottom: 56px;
  }
  .header-container {
    margin-bottom: 20px !important;
  }
  .logoc {
    height: 65px;
    width: 150px;
    margin-top: 10px;
    margin-left: 20px;
    padding: 2px 2px 0px 2px;
    object-fit: contain;
  }
  .show-more {
    text-align: center;

    padding: 0;
  }

  .show-all {
    text-align: center;

    padding: 0;
  }

  .pickup-container {
    width: 100%;
    padding: 0px 30px;
  }

  .image-border-thumbnail {
    border: 1.3px solid #000000;
    border-radius: 8px;
    width: 300px !important;
    height: 300px;
    object-fit: cover;
  }

  /* .archive-grid {
    margin-bottom: 50px;
  } */
}
/*  MOBILE  */
@media (max-width: 480px) {
  .search-title {
    letter-spacing: 0.2em;
    padding: 0.85rem;
    font-size: 0.8rem;
  }

  .pickup-single {
    padding-right: 5px;
    margin-bottom: 40px;
  }
  .header-container {
    margin-bottom: 20px !important;
  }
  .logoc {
    height: 60px;
    width: 90px;
    margin-top: 10px;
    margin-left: 15px;
    padding: 2px 2px 0px 2px;
    object-fit: contain;
  }
  .show-more {
    text-align: center;
    padding: 0;
  }

  .show-all {
    text-align: center;
    padding: 0;
  }

  /* Pickup Component*/
  .pickup-grid {
    grid-template-columns: auto auto;
  }
  .pickup-container {
    width: 100%;
    padding: 0px 30px;
  }
  .image-pickup {
    height: 150px;
    width: 150px !important;
  }

  .image-border-thumbnail {
    border: 1.3px solid #000000;
    border-radius: 8px;
    width: 200px !important;
    height: 200px;
    object-fit: cover;
  }
  .thumbnail-title-col {
    padding: 0;
  }
  .thumbnail-tags {
    font-size: 0.8rem !important;
    padding: 1% 2% !important;
  }
  .thumbnail-title {
    margin: 5px 0 10px 0;
  }
}
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='30' viewBox='0 0 30 30' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position-x: 100%;
  background-position-y: 50%;
  border: 1px solid #dfdfdf;
  border-radius: 2px;
  margin-right: 2rem;
  padding: 1rem;
  padding-right: 2rem;
}

.type {
  color: #0000;
  background: linear-gradient(-90deg, #000000 5px, #0000 0) 10px 0,
    linear-gradient(#000000 0 0) 0 0;
  background-size: calc(var(--n) * 1ch) 200%;
  -webkit-background-clip: padding-box, text;
  background-clip: padding-box, text;
  background-repeat: no-repeat;
  animation: b 0.7s infinite steps(1),
    t calc(var(--n) * 0.07s) steps(var(--n)) forwards;
}

@keyframes t {
  from {
    background-size: 0 200%;
  }
}
@keyframes b {
  50% {
    background-position: 0 -100%, 0 0;
  }
}
.thumbnail-container:hover .type,
.thumbnail-container:hover .thumbnail-tags,
.thumbnail-container:hover .tags,
.thumbnail-container:hover .image-border-thumbnail {
  cursor: pointer;
  color: #007aff;
  border-color: #007aff;
}

.pickup-single:hover .image-border,
.pickup-single:hover .tags,
.pickup-single:hover .articles-date,
.pickup-single:hover div {
  border-color: #007aff;
  color: #007aff;
}
.pickup-single:hover .type {
  color: #007aff;
  border-color: #007aff;
}

.article:hover .image-border,
.article:hover .tags,
.article:hover .type {
  color: #007aff;
  border-color: #007aff;
}

.archive-grid:hover .image-border,
.archive-grid:hover .type,
.archive-grid:hover .tags {
  color: #007aff;
  border-color: #007aff;
}

select {
  color: black !important;
}

.pundeks {
  display: none;
}

.wp-block-image .aligncenter{
    display: grid !important;
    justify-content: center !important;
}
