/*
Theme Name: Shonan Tamashii Base
Theme URI: https://www.shonan-tamashii.com/
Author: Codex
Description: WordPress theme for the Shonan Tamashii migration.
Version: 0.2.0
Text Domain: shonan-tamashii
*/

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 3px;
  background: #fff;
  color: #333;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

a,
a img {
  border: 0;
}

a {
  color: #8d1a1a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrapper {
  width: 800px;
  margin: 10px auto 0;
  background-color: #fff;
  background-position: center top;
  background-repeat: repeat-y;
  overflow: hidden;
}

.img_replace,
.img_replace span {
  display: block;
  overflow: hidden;
}

.img_replace {
  position: relative;
}

.img_replace span {
  position: absolute;
  top: 0;
  left: 0;
}

.header,
.header a,
.header a span {
  width: 800px;
  height: 107px;
}

.header a {
  display: block;
  position: relative;
  text-indent: -9999px;
  white-space: nowrap;
}

.site-layout {
  display: flex;
  align-items: flex-start;
}

.menu {
  width: 200px;
  flex: 0 0 200px;
}

.menu h2 {
  display: none;
}

.menu ul,
.menu li {
  margin: 0;
  padding: 0;
}

.menu li {
  list-style: none;
  line-height: 1;
  min-height: 60px;
  overflow: hidden;
}

.menu img {
  display: block;
}

.left_co_info {
  margin: 20px 5px 0;
}

.left_co_info h3 {
  margin: 10px 0 5px;
  color: #666;
  font-size: 12px;
  font-weight: bold;
}

.left_co_info h3 b {
  display: none;
}

.left_co_info address,
.left_co_info .time,
.left_co_info .branch {
  color: #666;
  font-size: 12px;
  line-height: 1.35;
  font-style: normal;
}

.left_co_info .taiouArea {
  margin: 0;
  padding: 0;
  color: #666;
  font-size: 12px;
}

.left_co_info .taiouArea li {
  display: inline;
  margin: 0 5px 5px 0;
  line-height: 1.3;
}

.taiouMenuTitle,
.taiouMenu {
  display: none;
}

.bangoTitle {
  margin: 10px 0 5px;
  color: #666;
  font-size: 12px;
  font-weight: normal;
}

.bangoList ul {
  margin: 0;
  padding: 0;
}

.bangoList li {
  list-style: none;
  display: inline-block;
  margin-right: 0.5em;
  min-height: 0;
  overflow: visible;
  color: #666;
  font-size: 12px;
  text-decoration: none;
  font-style: normal;
  line-height: 1.3;
  height: auto;
}

.menu-blog-link {
  margin: 14px 5px 0;
}

.menu-blog-link a {
  display: block;
  border: 1px solid #c7b4b4;
  padding: 10px 12px;
  background: #fff7f7;
  color: #8d1a1a;
  font-weight: bold;
  text-align: center;
}

.content-area {
  width: 600px;
  flex: 0 0 600px;
  padding: 8px 18px 24px;
}

.archive-header {
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e7d4d4;
}

.archive-title {
  margin: 0 0 8px;
  color: #6d1010;
  font-size: 28px;
  line-height: 1.25;
}

.archive-description {
  margin: 0;
  color: #666;
  font-size: 14px;
}

.breadcrumb {
  margin: 0 0 14px;
  font-size: 12px;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  color: #666;
  list-style: none;
}

.breadcrumb-item {
  position: relative;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  margin-right: 10px;
  color: #999;
}

.breadcrumb-item a {
  color: #8d1a1a;
}

.home-section {
  margin-bottom: 28px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e7d4d4;
}

.section-heading-tight {
  margin-bottom: 10px;
  padding-bottom: 6px;
}

.section-title,
.category-section-title {
  margin: 0;
  color: #6d1010;
  line-height: 1.35;
}

.section-title {
  font-size: 24px;
}

.category-section-title {
  font-size: 22px;
}

.section-link {
  flex: 0 0 auto;
  color: #8d1a1a;
  font-size: 13px;
  font-weight: bold;
}

.latest-post-list {
  display: block;
}

.post-card-featured {
  margin-bottom: 16px;
}

.category-section {
  margin-bottom: 22px;
  padding: 14px 16px;
  border: 1px solid #e2dada;
  background: #fffaf8;
}

.category-section:last-child {
  margin-bottom: 0;
}

.category-section-description {
  margin: 6px 0 0;
  color: #666;
  font-size: 13px;
}

.category-post-list {
  margin: 0;
  padding: 0;
}

.category-post-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid #eadfda;
  list-style: none;
}

.category-post-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.category-post-link {
  display: block;
  color: #333;
  font-weight: bold;
}

.category-post-date {
  flex: 0 0 auto;
  color: #777;
  font-size: 12px;
}

.post-card-category,
.entry-category {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 10px;
  background: #fff2ec;
  color: #8d1a1a;
  font-size: 12px;
  font-weight: bold;
  border-radius: 999px;
}

.post-card {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2dada;
}

.post-card:last-child {
  border-bottom: 0;
}

.post-card-title,
.entry-title {
  margin: 0 0 8px;
  line-height: 1.35;
}

.post-card-title {
  font-size: 25px;
}

.entry-title {
  font-size: 30px;
  color: #6d1010;
}

.post-card-meta,
.entry-meta {
  margin-bottom: 10px;
  color: #777;
  font-size: 12px;
}

.post-card-excerpt,
.entry-content {
  color: #333;
  font-size: 14px;
}

.entry-content p {
  margin: 0 0 1em;
}

.entry-content img {
  height: auto;
}

.more-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
}

.navigation.pagination,
.post-navigation {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid #e2dada;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-links a,
.nav-links span {
  padding: 6px 10px;
  border: 1px solid #cfcfcf;
  background: #fff;
}

.entry-footer {
  margin-top: 24px;
  padding-top: 10px;
  border-top: 1px solid #e2dada;
  color: #666;
  font-size: 12px;
}

.service-cta {
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid #dfcfc9;
  background: #fff8f4;
}

.service-cta-title {
  margin: 0 0 6px;
  color: #6d1010;
  font-size: 20px;
}

.service-cta p {
  margin: 0 0 10px;
}

.service-cta-link {
  display: inline-block;
  font-weight: bold;
}

.site-footer {
  width: 800px;
  height: 60px;
  margin: 20px auto 1px;
  padding-bottom: 20px;
}

.site-footer img {
  display: block;
  width: 800px;
  height: 60px;
}

.no-posts {
  padding: 18px;
  border: 1px solid #e2dada;
  background: #fffaf8;
}

@media (max-width: 820px) {
  .wrapper,
  .header,
  .header a,
  .header a span,
  .site-footer,
  .site-footer img {
    width: 100%;
  }

  .site-layout {
    display: block;
  }

  .menu,
  .content-area {
    width: 100%;
  }

  .content-area {
    padding: 16px 14px 24px;
  }

  .section-heading,
  .category-post-item {
    display: block;
  }

  .section-link {
    display: inline-block;
    margin-top: 6px;
  }

  .category-post-date {
    display: block;
    margin-top: 4px;
  }

  .header,
  .header a,
  .header a span {
    height: auto;
    min-height: 86px;
    background-size: cover;
  }

  .site-footer img {
    height: auto;
  }
}
