/*
Theme Name: 229neo
Theme URI: http://229dic.com
Author: 229dic.com
Author URI: http://229dic.com
Description: にんにく大辞典
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: simple-theme
*/

:root {
    --gap: 20px;
    --gap-15x: calc(var(--gap) * 1.5);
    --gap-20x: calc(var(--gap) * 2);
    --max-width: 1100px;
    --color-dark-brown: #37270f;
    --color-light-brown: #56350c;
    --color-main-txt: #333333;
    --color-gray-txt: #555555;
    --hover-tranceparent: 0.7;
    --hover-transition: 0.3s;
    --container-width: 1100px;
    --sidebar-width: 300px;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', Meiryo, Helvetica, Arial, sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
    color: #333333;
}

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

.header {
    display: block;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-dark-brown);
    color: #fff;
}
.header__logo {
    padding: var(--gap);
}
.header__logo-img {
    width: 220px;
}
.header__element {
    display: flex;
}
.header__site-description {
    padding-top: 30px;
}
.header__navigation .header__menu {
    display: flex;
    justify-content: center;
    gap: var(--gap-15x);
    list-style: none;
    margin: 0;
    padding: var(--gap);
    background-color: #c5df1c;
}

.header__navigation a {
    color: var(--color-dark-brown);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
}

.footer {
    text-align: center;
    margin-top: var(--gap-20x);
    padding: var(--gap);
    background-color: var(--color-dark-brown);
    color: #fff;
}
.footer__logo {
    width: 200px;
    margin: 0 auto;
}
.footer__navi {
    list-style-type: none;
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding: 0;
}
.footer__navi-list::after {
    content: "｜";
    margin: 12px;
}
.footer__navi-list:last-child::after {
    content: none;
}
.footer__navi-list {
    padding: 0;
}
.footer__navi-list a {
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
}
.footer__copyright {
    font-size: 0.75rem;
    letter-spacing: .2em;
}

/* Common _________________________________ */

.breadcrumb__wrap {
    display: flex;
    list-style: none;
    padding: 20px 0;
    margin: var(--gap) 0;
    width: 1100px;
    max-width: 100%;
    margin: 0 auto;
}
.breadcrumb__item {
}
.breadcrumb__item a {
    text-decoration: none;
    color: var(--color-brown);
    font-size: 0.825rem;
}


.detail__container {
    max-width: var(--container-width);
    margin: 0 auto;
}

/* ARCHIVE _________________________________ */

.archive__title {
    font-size: 2.25rem;
    color: var(--color-light-brown);
    margin: 0 0 30px;
}
.archive__article-card {
    margin-top: 30px;
    padding: 0;
}
.archive__article-card-item {
    list-style: none;
}
.archive__article-card-item a {
    display: flex;
    padding: 20px;
    border-radius: 0px;
    text-decoration: none;
    transition: 0.2s;
}
.archive__article-card-item a:hover {
    background: #f7f6f2;
    opacity: 0.8;
}
.archive__article-card-item dl {
    margin: 0;
}
.archive__card-item-img {
    border: 0;
    width: 120px;
    height: 120px;
    object-fit: cover;
    display: block;
    margin-right: 30px;
}
.archive__card-item-title {
    font-size: 1.5rem;
    line-height: 110%;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 0.3em;
    padding-top: 10px;
    color: var(--color-dark-brown);
}
.archive__card-item-txt {
    margin: 0;
    color: #333;
    font-size: 0.8125rem;
    max-height: 80px;
    overflow: hidden;
}
.archive__card-item-post-type {
    text-align: left;
    margin: 7px auto;
    font-size: 12px;
    display: inline-block;
    background: #bbc670;
    padding: 2px 8px 1px;
    color: #fff;
}
.pagination {
    text-align: center;
    margin: 20px 0;
}

.pagination .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
}

.pagination .page-numbers.current {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

.pagination .page-numbers:hover {
    background-color: #f1f1f1;
}



/* TOP _________________________________ */

.top main section {
    display: grid;
    gap: var(--gap);
    padding: var(--gap);
}

.top__slider {
    grid-template-columns: repeat(3, 1fr);
}

.top__slider a {
    color: #555;
}

.top__slider-image {
    height: 260px;
    width: 100%;
    margin-bottom: 14px;
    object-fit: cover;
    overflow: hidden;
}

.top__slider-title {
    font-size: 1rem;
    font-weight: normal;
    margin-bottom: 5px;
}

.top__slider-description {
    font-size: 0.75rem;
    font-weight: normal;
}

.top__feature--2col {
    grid-template-columns: repeat(2, 1fr);
    max-width: var(--max-width);
    margin: 0 auto;
}

.top__feature--3col {
    grid-template-columns: repeat(3, 1fr);
    max-width: var(--max-width);
    margin: 0 auto;
}

.top__feature-item {
    border-radius: 8px;
    text-align: center;
}

.top__feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.top__feature-title {
    margin: 1em 0;
    font-size: 1rem;
    text-align: left;
    color: var(--color-dark-brown);
}

.top__feature-item p {
    margin: 0.5em 0;
    font-size: 1rem;
    color: #666;
}

.top__feature-list {
    list-style: none;
    padding: 0;
}

.top__feature-list-item {
    text-align: left;
    border-bottom: 1px dashed #e5e5e5;
}

.top__feature-list-item a {
    color: #555555;
    text-decoration: none;
    display: block;
    font-size: 0.875rem;
    line-height: 1.1em;
    padding: 8px 2px 7px;
}

.top__pickup {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.top__pickup-area-title {
    grid-column: 1 / -1;
    text-align: left;
    margin: 0 0 0.5em;
    color: var(--color-dark-brown);
}

.top__pickup-title {
    margin: 0.25em;
    font-size: 0.875rem;
    font-weight: normal;
    text-align: left;
    color: var(--color-brown);
}

.top main a {
    display: block;
    text-decoration: none;
    transition: var(--hover-transition);
}

.top main a:hover {
    opacity: var(--hover-tranceparent);
}

.top__btn-page-list {
    font-size: 12px;
    background: #a2bd47;
    color: #fff;
    padding: 7px 10px 7px;
    border-radius: 3px;
    display: inline-block;
    margin-top: 8px;
    display: block;
    width: 80px;
    margin-right: 0;
    margin-left: auto;
}


.detail__container,
.archive__container {
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap);
    padding: var(--gap);
    margin: 0 auto;
}
.detail__category a {
    background: var(--color-light-brown);
    padding: 12px 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: normal;
    border-radius: 30px;
    display: inline-block;
    color: #fff;
    text-decoration: none;
    transition: var(--hover-transition);
}
.detail__category a:hover {
    opacity: var(--hover-tranceparent);
}
.detail__contents,
.archive__contents {
    max-width: 750px;
    margin: 0 auto;
    width: 100%;
}



.sidebar {
    width: var(--sidebar-width);
    margin-left: auto;
}

.sidebar__new,
.sidebar__ranling,
.sidebar__recommend,
.sidebar__pickup {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}
.sidebar__title {
    font-size: 1.5rem;
    color: var(--color-light-brown);
}
.sidebar__item {
    display: flex;
    padding: 10px 0;
    gap: var(--gap);
    border-bottom: 1px solid #e8e8e8;
}

.sidebar__item-img {
    display: block;
}
.sidebar__new .sidebar__item-img {
    width: 75px;
    height: 75px;
}

.sidebar__item a {
    color: #555;
    font-size: 1.125rem;
    text-decoration: none;
    display: block;
}
.sidebar__item-title {
  display: block;
  padding-top: 10px;
}
.sidebar__recommend .sidebar__item,
.sidebar__pickup .sidebar__item {
    display: block;
    padding: 15px 0;
    gap:  unset;
    border-bottom: 1px solid #e8e8e8;
}
.sidebar__recommend .sidebar__item-img,
.sidebar__pickup .sidebar__item-img  {
    width: 100%;
    height: auto;
}
.sidebar__item a {
    font-size: 1rem;
}


/* Post Elements _________________________________ */

.detail__main h1 {
    font-size: 2.5rem;
    color: var(--color-light-brown);
    margin-bottom: 0.8em;
}
.detail__sub-title {
  font-size: 1.25rem;
  font-weight: bold;
}
.detail__main h2 {
    border-left: 1px solid #000;
    margin: 60px -29px 40px;
    padding: 25px 30px;
    font-size: 30px;
}
.detail__main h3 {
  border-bottom: 1px solid #111;
  padding-bottom: 8px;
  font-size: 24px;
}
.detail__main h4 {
    font-size: 1.25rem;
    padding: 8px 0;
    border-bottom: 1px dashed #333;
}
.detail__main p {
    font-size: 1.0625rem;
    line-height: 1.8em;
    letter-spacing: 0.08em;
}
.detail__main p a {
  color: #0080bf;
  text-decoration: none;
}
.detail__main figure {
  text-align: center;
}
.detail__index {
  padding-top: 30px;
  margin-bottom: 70px;
}
.detail__index-title {
  border: none;
  border-top: 1px dotted #999;
  letter-spacing: 0.1em;
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 5px;
  padding: 12px;
}
.detail__index-list::before {
  counter-increment: number;
  content: counter(number);
  position: absolute;
  top: 2px;
  left: -15px;
  font-family: sans-serif;
  font-weight: normal;
  color: #56350c;
  font-size: 13px;
}
.detail__index {
  line-height: 1.8em;
  margin-bottom: 8px;
}
.detail__index a {
  color: var(--color-light-brown);
  text-decoration: none;
}
.detail__index a:hover {
  text-decoration: underline;
}
.detail__index-heading3 {
  margin-top: 45px;
  border-bottom: 1px solid #111;
  padding-bottom: 8px;
  font-size: 24px;
}

.blog-card {
  margin-top: 0px;
}
p + .blog-card {
  margin-top: 50px;
}
.blog-card + p {
  margin-bottom: 50px;
}
.blog-card__thumbnail {
  width: 150px;
}
.blog-card__thumb-image {
  max-width: none;
  display: block;
}
.blog-card a {
  border-radius: 0px;
  border: 8px solid #f1f1f1;
  padding: 20px;
  display: flex;
  gap: var(--gap);
  text-decoration: none;
  color: #333;
  transition: 0.1s;
}
.blog-card a:hover {
  background: #f6f6f6;
}
.blog-card__title {
  font-weight: bold;
  margin-bottom: 14px;
  font-size: 1.25rem;
}

.detail__card-list {
    padding: 0;
}
.detail__card-item {
    list-style: none;
}
.detail__card-link {
    display: flex;
    margin: 0 0 20px;
    padding: 20px;
    border-radius: 0px;
    text-decoration: none;
    color: #333333;
    border: 8px solid #f1f1f1;
    transition: var(--hover-transition)
}
.detail__card-link:hover {
    opacity: var(--hover-tranceparent);
}

.detail__card-item dl {
    margin: 0;
}
.detail__card-img {
    border: 0;
    width: 100px;
    height: 100px;
    object-fit: cover;
    display: block;
    margin-right: 30px;
}
.detail__card-title {
    font-size: 16px;
    line-height: 110%;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 0.8em;
}
.detail__card-txt {
    margin: 0;
    color: #333;
    font-size: 1rem;
    max-height: 80px;
    overflow: hidden;

}
.detail__also-read .detail__card-list {
    list-style: none;
}
.detail__also-read .detail__card-link {
    display: flex;
    margin: 0 0 20px;
    padding: 20px;
    border-radius: 0px;
    border: none;
}

.detail__onept {
  border: 5px solid #eeeee2;
  background: #f8f8f0;
  padding: 5em 2em 2em;
  position: relative;
  margin-top: 4em;
  margin-bottom: 4em;
}
.detail__onept-area-title {
  position: absolute;
  border: none;
  display: inline-block;
  background: #b4a79f;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  padding: 8px 14px;
  top: 20px;
  left: -20px;
}
.detail__main .detail__onept-title {
  font-size: 1.25rem;
  margin: 0;
  border: none;
}
.detail__onept p {
  margin: 0;
  font-size: 16px;
}
.detail__onept img {
  display: block;
  margin-top: 30px;
}



.post-tags__list {
    list-style: none;
    padding: 0;
    margin: 3em auto;
}
.post-tags__item {
    display: inline-block;
}
.post-tags__item a {
    text-decoration: none;
    padding: 7px 10px;
    margin: 3px;
    border-radius: 0.3em;
    color: #fff;
    background: #999;
    font-size: 0.875em;
}

/* Custom Embed */
.wp-embedded-content {
  width: 100%;
}

@media (min-width: 900px) {
    .detail__container,
    .archive__container {
        grid-template-columns: 1fr var(--sidebar-width);
        gap: 50px;
    }
}

@media (max-width: 899px) {
    .detail__container,
    .archive__container {
        display: block;
    }

    .sidebar {
        width: 100%;
        margin: 0 auto;
    }
}

/* Container Queries */
@container (max-width: 600px) {
    .top__slider {
        grid-template-columns: 1fr;
    }

    .top__feature {
        grid-template-columns: 1fr;
    }
}

/* Ensure that the container behaves as expected */
main {
    container-type: inline-size;
}


.ariga-profile {
  display: flex;
  margin-top: 50px;
}
.ariga-profile__photo {
  margin-right: 30px;
}
.ariga-profile__image {
  border-radius: 50%;
  width: 180px;
  min-width: 180px;
}
.ariga-profile__text {
    max-width: 540px;
}
.ariga-profile__text-title {
  margin-top: 0;
  margin-bottom: 15px;
}
.ariga-profile__text-explanation {
  font-size: 14px;
  line-height: 1.5em;
}
@container (max-width: 600px) {
  .ariga-profile {
    display: block;
  }
  .ariga-profile__photo {
    width: 180px !important;
    height: 180px !important;
    margin: 0 auto;
  }
  .ariga-profile__text {
    width: 100%
  }
  .prof-img {
    border-radius: 50%;
    width: 180px !important;
    margin: 0 auto;
    display: block;
  }
  .prof h4 {
    font-size: 16px;
  }
}

/* kaze */
.kaze-tbl {
  width: 100%;
  border: none;
  margin-bottom: 6em;
  border-collapse: collapse;
}
.kaze-tbl tbody {
  border: none;
}
.kaze-tbl tr {
  border-bottom: 1px solid #ccc;
}
.kaze-tbl th {
  text-align: center;
  font-size: 17px;
  /* font-family: Shin Maru Go Bold ; */
  background: #6cc300;
  border: none;
  color: #fff;
  padding: 10px;
  border-right: 1px solid #ccc;
}
.kaze-tbl td {
  text-align: center;
  font-size: 17px;
  /* font-family: Shin Maru Go Medium ; */
  line-height: 1.5em;
  padding: 15px 6px;
  border: none;
  color: #56350c;
  border-right: 1px solid #ccc;
}
.kaze-tbl th:last-child {
  border-right: none;
}
.kaze-tbl td:last-child {
  border-right: none;
}

@media screen and (max-width:740px){
  .kaze-tbl th {
    font-size: 14px;
    letter-spacing: 0;
  }
  .kaze-tbl td {
    font-size: 14px;
    letter-spacing: 0;
  }
}

