/*
Theme Name: Arkhe
Theme URI: https://arkhe-theme.com/
Version: 3.12.0
Tested up to: 6.8
Requires at least: 6.0
Requires PHP: 7.0
Description: A very simple theme for production templates. Customize as you like.
Tags: two-columns, one-column, right-sidebar, custom-colors, custom-menu, editor-style, theme-options, block-styles, wide-blocks
Author: LOOS,Inc.
Author URI: https://loos.co.jp/
Text Domain: arkhe
Domain Path: /languages
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/
body{
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.l-wrapper{
  height: 100vh;
}
.l-content__body{
  
  justify-content: center!important;
}
.top-container {
  max-width: 420px;
  margin: 0 auto;
  background-color: #fff;
  z-index: 10;
  position: relative;
}

.search-box {
  padding:1.5rem 0;
}

.search-box p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.search-box .c-searchForm__s{
  border:1px solid #666666;
  width:80%;
  padding: 4px 44px 4px 8px;
}
.category-header {
  color: #fff;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  border-top:1px solid #666666;
  border-bottom:1px solid #666666;
}
.category-header h2{
  font-size:1em;
}
.view-more{
  background:#FFF;
  border-radius: 50px;
  border:1px solid #666666;
  color:#666666;
  font-size:12px;
  padding:6px 20px;
}
.card-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: #fff;
  border-top: none;
}

.memo-card {
  background: #fff;
  border-bottom: solid 1px #666666;
  border-right: 1px solid #666666;
  overflow: hidden;
  font-size: 0.9rem;
  transition: transform 0.2s;
  padding:16px;
}
.memo-card:nth-child(2n) {
    border-right: none;
}

.memo-card a{
  color:inherit;
}
.memo-card h3{
  font-size:1em;
}
.card-thumb{
  width:80%;
  height:108px;
  margin:auto;
  border:1px solid #666666;
  border-radius:12px;
  overflow: hidden;
}
.card-thumb img {
  object-fit: cover;
  display: block;
  height:108px;
}

.card-title {
  font-weight: bold;
  margin: 0.5rem 0;
}

.card-excerpt {
  font-size: 0.8rem;
  color: #555;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.category-label {
  font-size: 0.7rem;
  background: #eee;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
}
.favorite-icon {
  font-size: 1.2rem;
  color: #999;
}
.bg-memo{
  background:url('assets/img/bg_memo.png');
}
.c-pageTitle{
  padding: 8px 8px 8px 36px;
  position: relative;
}
.c-pageTitle p,.c-pageTitle h1,.c-pageTitle h2{
  color:#FFF;
  font-size:1rem;
}
.c-pageTitle.category-cooking {
  background: #438296;
}
.c-pageTitle.category-digital {
  background: #966A43;
}
.c-pageTitle::before {
 position: absolute;
  left: 4px;
}
.c-pageTitle.category-cooking::before {
  content: url('assets/img/icon-cooking.svg');
}
.c-pageTitle.category-cleaning::before {
  content: url('assets/img/icon-cleaning.svg');
}
.l-article{
  padding-bottom:40px;
}
.p-single {
  margin: 1rem;
  border: 2px solid #666666;
  border-radius: 8px;
  overflow: hidden;
  background: #FFF;
}

.p-single-header {
  display: flex;
  border-bottom:2px solid #666666;
}

.p-single-thumbnail {
  width: 120px;
}

.p-single-thumbnail img {
  width: auto;
  height: 100%;
  object-fit: cover;
  vertical-align: bottom;
}

.p-single-title-area {
  flex: 1;
  min-width: 200px;
  padding:8px;
}

.p-single-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0 0 0.5rem;
}

.p-single-date {
  font-size: 0.85rem;
  color: #666;
}

.p-single-like {
  font-size: 1.2rem;
  color: #999;
  margin-top: 0.5rem;
}

.p-single-content {
  padding: 1rem;
  line-height: 1.8;
}

.p-single-table {
  margin-top: 2rem;
}

.p-single-table table {
  width: 100%;
  border-collapse: collapse;
}

.p-single-table th,
.p-single-table td {
  border: 1px solid #000;
  padding: 0.5rem;
  text-align: left;
}

.p-single-table th {
  width: 60%;
}
.wp-block-table{
  margin:16px 0;
  border:solid 1.5px #999999;
}
.wp-block-table td,.wp-block-table th {
  border:solid 1.5px #999999;
}
.p-post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem 1rem 0 1rem;
  border: 1px solid #666666;
  background:#FFF;
}

.p-post-nav a {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    text-decoration: none;
    color: inherit;
    flex: 0 0 50%;
    padding: 8px;
    transition: 0.3s;
}

.p-post-nav a:hover {
  background-color: #f9f9f9;
}

.p-post-nav img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 4px;
  border: 1px solid #666666;
}

.p-post-nav__title {
    font-size: 0.8em;
    display: block;
}
.p-post-nav__prev {
    border-right: 1px solid #666666;
}
.sfsi_shortcode_container{
  float:none!important;
}
@media screen and (max-width: 1023px) {
  .l-header{
    border-bottom: 1px solid #666;
  }
  .search-box{
    margin:0 1rem;
  }
}
@media screen and (min-width: 1024px) {
  .l-content__body{
    position: fixed;
    height: 100vh;
    width: 100vw;
  }
  .top-container {
    max-width: 420px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    z-index: 10;
    position: relative;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
  }
}