/*
Theme Name: Company Blog
Author: Ayaka
Description: Mor Blog
Version: 1.0
*/
body {
  font-family: 'Inter', 'Lexend', sans-serif;
  font-size: 1rem;
  line-height: 150%;
  color: #181818;
}

html,
body {
  height: 100%;
  margin: 0;
  background: #fff;
  padding: 0;
  overflow-x: auto;
}

/* 見出し */
.h1 {
  font-size: 2.25rem;
  font-weight: bold;
}

.h2 {
  font-size: 1.875rem;
  font-weight: bold;
}

.h3 {
  font-size: 1.375rem;
  font-weight: bold;
}

/* component */
.btn {
  display: flex;
  width: fit-content;
  height: fit-content;
  padding: 16px 44px;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  font-weight: normal;
  text-decoration: none;
  font-family: 'Inter';
  font-size: 16px;
}

a.btn.btn-header1 {
  display: flex;
  padding: 0 45px;
  font-size: 0.875rem;
  width: auto;
  height: auto;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 4px;
  border: 3px solid #182e5b;
}

a.btn.btn-header1:hover {
  color: #fff;
  background: #182e5b;
  transition: all 0.2s;
  opacity: 1;
}

.btn-white {
  border: 1px solid #acacac;
  background: #fff;
  color: #181818;
}

.btn:hover {
  background-color: #f3f3f3;
  color: #2667db;
  transition: all 0.2s;
}

.btn .btn-white-category {
  width: 80%;
}

.btn-white-category {
  background: #fff;
  border-radius: 0px;
  color: #181818;
  list-style: none;
  display: flex;
  padding: 12px 10px;
  width: 80%;
  height: fit-content;
  justify-content: space-between;
  align-items: center;
  font-weight: normal;
  margin: 0;
  text-decoration: none;
}

.btn-white-category:hover {
  background-color: #f3f3f3;
  color: #2667db;
  border-radius: 6px;
  transition: all 0.2s;
}

.btn-blue {
  background-color: #2667db;
  color: #ffffff;
  flex-shrink: 0;
}

.btn-blue:hover {
  background-color: #0246bf;
  color: #ffffff;
  transition: all 0.2s;
}

.btn-arrow {
  position: relative;
  padding-right: 24px;
}

.btn-arrow::after {
  content: '';
  display: inline-block;
  margin: 0 0 -1px 12px;
  transform: translateY(-50%) rotate(-45deg);
  width: 8px;
  height: 8px;
  border-right: 1px solid #747474;
  border-bottom: 1px solid #747474;
  transition: transform 0.3s ease;
}

.btn-arrow-category {
  position: relative;
  padding-right: 24px;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.btn-arrow-category::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%) rotate(-45deg);
  width: 8px;
  height: 8px;
  border-right: 1px solid #747474;
  border-bottom: 1px solid #747474;
  transition: transform 0.3s ease;
}

.search-form {
  flex-shrink: 0;
}

.search-form input {
  display: flex;
  width: 321px;
  height: 50px;
  padding: 16px 12px;
  align-items: center;
  border-radius: 10px;
  border: 1px solid #acacac;
  background: #f3f3f3;
  color: #747474;
}

.search-form-sp {
  display: none;
}

@media screen and (max-width: 767px) {
  .btn-arrow {
    padding-right: 15%;
  }

  btn-arrow::after {
    right: 30%;
  }

  .search-form-sp {
    display: block;
    padding: 0;
    margin: 80px 0 48px 0;
    width: 100%;
    height: auto;
  }

  .search-form-sp input {
    width: 100%;
    height: 50px;
    padding: 16px 12px;
    border-radius: 10px;
    border: 1px solid #acacac;
    background: #f3f3f3;
    color: #747474;
  }
}

.main-content-search {
  padding: 0 48px;
  position: relative;
  width: 100%;
}

/* ベースの対策 */
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin-top: -30px;
  padding: 0;
}

.content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  position: relative;
  flex-wrap: wrap;
}

/* clearfix for .content */
.content::after {
  content: '';
  display: block;
  clear: both;
}

@media screen and (max-width: 767px) {
  .wrapper {
    margin-top: 24px;
  }

  .content {
    padding: 0 5%;
    flex-direction: column;
    min-height: 100vh;
  }
}

/* 全体の box-sizing を統一 */
*,
*::before,
*::after {
  box-sizing: border-box;
  position: relative;
}

/* header */
.header-top-wrapper {
  position: relative;
  background: #fff;
  z-index: 999;
}

.header {
  position: relative;
  z-index: 100;
  height: auto;
  padding-top: 10px;
  display: flex;
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
}

.header-top {
  display: flex;
  align-items: flex-start;
  padding-top: 10px;
}

.header-container {
  display: block;
  align-items: center;
  position: relative;
}

.logo {
  margin: 0;
  width: 130px;
  padding-left: 10px;
}

.logo:hover {
  opacity: 0.5;
  transition: all 0.2s;
}

.logo-js {
  color: #8a8d9d;
  font-size: 12px;
  padding-left: 30px;
  margin-top: -10px;
}

.logo-vn {
  color: #8a8d9d;
  font-size: 12px;
  padding-left: 30px;
  margin-top: -15px;
}

span.sp.sp-line {
  display: none;
}

.logo img {
  width: 160px;
  height: auto;
}

.nav-container {
  right: 2%;
  width: 100%;
}

.nav-list {
  display: -webkit-flex;
  display: flex;
  justify-content: flex-end;
  -webkit-justify-content: flex-end;
  line-height: 40px;
  font-family: 'Lexend', sans-serif;
  font-weight: 500;
  margin: 0;
  padding: 10px 15px 0;
  height: 100px;
}

.nav-item {
  list-style: none;
  margin: 0 15px;
  display: inline;
  font-size: 1rem;
}

.nav-item>a {
  color: #333;
  line-height: 3em;
  text-decoration: none;
}

.nav-item>a:hover {
  opacity: 0.5;
  transition: all 0.2s;
}

.nav-item.active a {
  color: #182e5b;
  border-bottom: 2px solid #182e5b;
  padding-bottom: 0.8rem;
}

.nav-item-btn {
  letter-spacing: 0.4rem;
  line-height: 3em;
}

.a {
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.header-container2 {
  width: 100%;
  box-shadow: 0px 5px 6px 0px rgba(83, 83, 83, 0.25);
  background-color: #fff;
  display: flex;
  padding: 12px 48px;
  margin-top: 60px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  box-sizing: border-box;
  z-index: 999;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: translateY(-100%);
}

.header-container2.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin-top: 0;
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transform: translateY(0);
}



/* SP向け */
@media screen and (max-width: 767px) {
  .header-top-wrapper {
    position: sticky;
    top: -1px;
    display: flex;
    padding: 16px 24px;
    border-bottom: 1px solid #e5e5e5;
    margin: 0 auto;
    z-index: 1000;
  }

  .header-container {
    position: fixed;
    top: 10px;
    right: 30px;
  }

  .header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    height: 60px;
    width: 100%;
  }

  .logo img {
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0 auto;
  }

  .logo {
    padding: 0;
    width: 180px;
    right: 20px;
    top: 10px;
  }

  .logo-info {
    display: flex;
    font-size: 0.625rem;
    padding-top: 2px;
    gap: 10px;
    margin-top: -14px;
  }

  .logo-js,
  .logo-vn {
    right: 30px;
    margin: 0;
  }

  .sp-line {
    display: inline;
    color: #707070;
    font-size: 0.5rem;
  }

  .header-container2 {
    margin-top: 0;
    transform: translateY(0);
    padding: 10px 12px;
    height: 90px;
  }

  .nav-container {
    position: static;
    display: block;
    width: auto;
    padding-top: 10px;
  }

  .nav-item.active a {
    color: #fff;
    padding-bottom: 0;
  }

  a.btn.btn-header1 {
    background-color: #738FD5;
    height: 80px;
    font-size: 1.6rem;
  }

  .btn-blue {
    display: none;
  }

  .nav-list {
    line-height: 1rem;
  }

  /*　ハンバーガーボタン */
  .hamburger {
    display: block;
    position: fixed;
    z-index: 10001;
    left: 32px;
    top: 32px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    text-align: center;
  }

  .hamburger span {
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    left: 6px;
    background: #738FD5;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    transition: 0.5s all;
  }

  .hamburger span:nth-child(1) {
    top: 10px;
  }

  .hamburger span:nth-child(2) {
    top: 20px;
  }

  .hamburger span:nth-child(3) {
    top: 30px;
  }

  /*  ナビ開いてる時のボタン*/
  .hamburger.active span:nth-child(1) {
    top: 16px;
    left: 6px;
    width: 24px;
    background: #738FD5;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);

  }

  .hamburger.active span:nth-child(2) {
    left: 60%;
    opacity: 0;
    -webkit-animation: active-btn17-bar02 .8s forwards;
    animation: active-hamburger-bar02 .8s forwards;
  }

  .hamburger.active span:nth-child(3) {
    top: 16px;
    width: 24px;
    background: #738FD5;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);

  }

  .hamburger::after {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    content: '';
    width: 52px;
    height: 52px;
    margin: -32px 0 0 -32px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0);
    transition: all .75s;
  }

  .hamburger.active::after {
    border: 2px solid #738FD5;
  }

  .globalMenuSp {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100% - 60px);
    background: #fff;
    z-index: 2000;
    padding: 20px;
    flex-direction: column;
  }

  .globalMenuSp.active {
    display: flex;
  }

  nav.globalMenuSp {
    display: none;
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    color: #fff;
    padding-top: 80px;
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
    width: 100%;
    opacity: 0;
    transition: opacity .6s ease, visibility .6s ease;
  }

  nav.globalMenuSp ul {
    margin: 0 auto;
    padding: 0;
    width: 100%;
    display: block;
  }

  nav.globalMenuSp ul li {
    list-style-type: none;
    padding: 0;
    width: 100%;
    transition: .4s all;
  }

  nav.globalMenuSp ul li:last-child {
    padding-bottom: 0px;
  }

  nav.globalMenuSp ul li:hover {
    background: #738FD5;
  }

  nav.globalMenuSp ul li a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 0;
  }

  /* このクラスを、jQueryで付与・削除する */
  /*
  nav.globalMenuSp {
    display: none;
  }
*/
  nav.globalMenuSp.active {
    display: block;
    opacity: 100;
    visibility: visible;
    z-index: 1000;
    height: -webkit-fill-available
  }
}

/* TOP */
.main {
  min-height: calc(100vh - 80px);
  padding-bottom: 80px;
  flex: 1;
  position: relative;
}

.main-content {
  width: calc(100% - 272px);
  /* サイドバー幅240px + 左右のgap（例：32px） */
  flex: 3;
}

.container {
  margin: 24px;
  position: static;
  display: block;
  right: 10px;
  padding: 0 20px;
}

.morblog-logo {
  position: relative;
  width: 100%;
  height: 346px;
  background-image: url('image/top-background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: -82px;
}

.morblog-logo img {
  height: 24%;
  width: auto;
  padding-left: 20px;
  z-index: 1;
}

@media screen and (max-width: 767px) {
  .main-content {
    order: 1;
    width: 100%;
    padding: 0;
  }

  .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    height: auto;
  }
}

.article-content {
  position: absolute;
}

.h2 img {
  margin-right: 12px;
  display: flex;
  width: 42px;
  height: 42px;
  justify-content: center;
  align-items: center;
}

.h2>span {
  font-size: 1rem;
  font-weight: normal;
  padding-top: 16px;
  margin-left: 16px;
  display: none;
}

.h2.container {
  display: flex;
  font-size: 2rem;
  line-height: 1.2;
  max-width: 90%;
  padding: 0px 0px 32px 0px;
  margin: 0;
  align-items: center;
  align-self: stretch;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 767px) {
  .main {
    margin-top: 32px;
  }

  .morblog-logo {
    height: 140px;
    width: auto;
  }
}

/* pickup,new section */
.pickup-container,
.new-container {
  display: flex;
  width: calc(100% - 272px);
  padding: 0 24px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.pickup-item,
.new-item {
  width: calc(33.333% - 16px);
  min-width: calc(33.333% - 16px);
  display: flex;
  align-items: flex-start;
  background: #fff;
  box-sizing: border-box;
  height: 100%;
  margin: 12px 0;
}

.pickup-item a:hover,
.new-item a:hover {
  transform: translateY(0px);
  background-color: #f3f3f3;
  transition: all 0.2s;
  border-radius: 8px;
}

.pickup-item a,
.new-item a {
  text-decoration: none;
  color: inherit;
  display: flex;
  width: 100%;
}

.pickup-articles,
.new-articles,
.category-articles {
  width: 100%;
  display: flex;
  margin-top: 12px;
  margin-bottom: 32px;
  padding-top: 24px;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid #747474;
}

@media screen and (max-width: 767px) {

  .pickup-container,
  .new-container {
    padding: 0;
    width: 100%;
  }

  .pickup-articles,
  .new-articles,
  .category-articles {
    flex-direction: column;
    gap: 24px;
    display: flex;
  }

  .pickup-item,
  .new-item {
    width: 100%;
    align-items: center;
    justify-content: center;
  }
}

/* サムネイル共通設定 */
.thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
}

/* 画像にクリッピングマスクを適用 */
.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  clip-path: inset(0 round 8px);
}

/* テキストメタ部分 */
.pickup-item .meta,
.new-item .meta,
.category-item .meta {
  flex-direction: column;
  align-items: flex-start;
  padding: 12px;
  color: #181818;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: bold;
  display: flex;
  text-decoration: none;
  gap: 4px;
  width: 100%;
}

.category-item a {
  padding: 12px;
  text-decoration: none;
  color: inherit;
}

.pickup-item .meta:hover h3,
.pickup-item .meta:hover .date,
.new-item .meta:hover h3,
.new-item .meta:hover .date,
.category-item .meta:hover h3,
.category-item .meta:hover .date {
  color: #2667db;
  transition: all 0.2s;
}

h3.meta-text.title {
  margin: 0;
  font-size: 1.125rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  min-height: 4em;
  /* 約3行分の高さ（1.5em × 3行） */
}

.pickup-item .meta .date,
.new-item .meta .date,
.category-item .meta .date {
  color: #181818;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: normal;
  margin: 0;
}

.new-item .meta {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.meta-text.date {
  margin-top: auto;
  /* ← これで常に最下部に寄る */
}

p.tag {
  display: block;
  width: 100%;
  min-height: 24px;
  color: #2667db;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  word-break: keep-all;
  white-space: nowrap;
  margin: 0;
  height: 1em;
  overflow: hidden;
  text-overflow: ellipsis;
}

p.tag a {
  color: #2667db;
  margin: 0 12px;
  text-decoration: none;
}

p.tag a:visited {
  color: #2667db;
}

p.tag a:hover {
  text-decoration: underline;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: 3px;
  transition: all 0.2s;
}

.tag-label {
  margin-right: 12px;
  font-size: 0.75rem;
}

/* category */
.category-container {
  padding: 0 24px;
  width: calc(100% - 272px);
}

.pickup-item .meta .category-label,
.new-item .meta .category-label,
.category-item .meta .category-label {
  font-size: 0.75rem;
  font-style: normal;
  font-weight: bold;
  margin: 8px 0 4px 0;
  display: flex;
  padding: 2px 12px;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
}

.category-label {
  background: #ecf3ff;
  display: inline-flex;
  padding: 6px 8px;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  color: #335ea7;
  font-weight: bold;
}

.category-label a {
  text-decoration: none;
  color: #335ea7;
}

.category-label:hover {
  background-color: #d0d9e7;
  transition: all 0.2s;
}

.category-item {
  width: 30%;
  height: auto;
}

.category-item a:hover {
  border-radius: 8px;
  background: #f3f3f3;
  transition: all 0.2s;
}

.category-label.category-system {
  color: #335ea7;
  background: #ecf3ff;
}

.category-label.category-vietnam {
  color: #c75306;
  background: #fff4ec;
}

.category-label.category-design {
  color: #218d57;
  background: #ebfff5;
}

.btn-full {
  display: flex;
  width: 100%;
  cursor: pointer;
  font-weight: bold;
}

@media screen and (max-width: 767px) {
  .category-container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
    margin: 0 auto;
  }

  .category-item {
    width: 100%;
  }
}

/* side menu */
.sidebar {
  position: absolute;
  right: 2%;
  top: 0;
  width: 240px;
  z-index: 999;
  transition: top 0.2s ease;
  flex: 1;
}

aside.sidebar {
  width: 240px;
}

/* 固定時 */
.sidebar.fixed {
  position: fixed;
  top: 100px;
}

/* フッター手前で止める */
.sidebar.stopped {
  position: absolute !important;
}

/* セクションデザイン */
.sidebar-section {
  margin-bottom: 32px;
  background-color: #fff;
  width: 100%;
}

/* カテゴリ */
.h3.container-sidebar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-bottom: 24px;
  margin: 0;
  border-radius: 8px;
  background-color: #fff;
  font-size: 1.125rem;
}

.category-list {
  padding: 0;
  margin: 0 0 48px 0;
}

.category-list li {
  padding: 8px;
  list-style: none;
  width: 100%;
  border-bottom: 1px solid #e5e5e5;
}

/* タグ */
a.tag-cloud-link {
  display: inline-block;
  color: #2667db;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  word-break: keep-all;
  white-space: nowrap;
  margin: 0 24px 6px 0;
}

a.tag-cloud-link:hover {
  text-decoration: underline;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: 3px;
  transition: all 0.2s;
}

@media screen and (max-width: 767px) {
  .sidebar {
    position: static;
    width: 100%;
    margin: 32px 0 0;
    right: auto;
    z-index: auto;
    align-items: center;
    order: 2;
    min-width: 0;
  }

  aside.sidebar {
    width: 100%;
  }

  .sidebar.fixed,
  .sidebar.stopped {
    position: static !important;
  }

  .sidebar-section {
    width: 100%;
  }

  .h3.container-sidebar {
    width: 100%;
  }
}

/* search-result page */
.search-page.container {
  display: flex;
  width: calc(100% - 272px);
  padding: 0px 24px;
  flex-direction: column;
  justify-content: center;
  margin: 48px 24px 120px;
  height: auto;
}

.breadcrumb-container {
  display: flex;
  padding: 0;
  align-items: center;
  gap: 12px;
  align-self: stretch;
}

.breadcrumb-container p {
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.breadcrumb-container p:first-child {
  display: contents;
}

.breadcrumb {
  font-size: 0.8rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.breadcrumb a {
  text-decoration: none;
  color: #747474;
  white-space: nowrap;
}

.breadcrumb a:hover {
  text-decoration: none;
  color: #2667db;
  transition: all 0.2s;
}

.search-header {
  width: 100%;
}

.result-count {
  font-size: 1.2rem;
  font-weight: normal;
  padding: 24px;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  background-color: #f3f3f3;
  border-radius: 8px;
}

.search-header .keyword {
  font-weight: bold;
}

.search-results {
  flex-direction: column;
  gap: 48px;
  width: 100%;
}

.search-item {
  display: flex;
  background: #fff;
  border-bottom: solid 1px #e5e5e5;
  padding: 12px;
  gap: 16px;
  align-items: flex-start;
}

.search-item a:hover {
  background: #f3f3f3;
  border-radius: 8px;
  color: #2667db;
  transition: all 0.2s;
}

.search-item a {
  text-decoration: none;
  color: inherit;
  display: flex;
  padding: 12px;
  width: 100%;
}

.search-item .thumbnail {
  flex-shrink: 0;
  width: 204px;
  height: auto;
}

.search-item .thumbnail img {
  width: 204px;
  height: auto;
  object-fit: cover;
  aspect-ratio: 204/148;
}

.search-item .meta {
  flex: 1;
  padding-left: 24px;
}

.search-item h3 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #181818;
  text-decoration: none;
}

.search-item:hover h3,
.search-item:hover .desc,
.search-item:hover .date {
  color: #2667db;
  transition: all 0.2s;
}

.search-item .desc {
  font-size: 0.9rem;
  color: #555;
}

.search-item .date {
  font-size: 0.75rem;
  color: #747474;
  text-decoration: none;
}

.mark {
  border-radius: 4px;
  border: 1px solid #f2f20c;
  background: #fdfd95;
  padding: 4px 6px;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  line-height: 1.4;
}

.no-result {
  text-align: center;
  margin: 0;
  padding-top: 32px;
  padding-bottom: 48px;
}

@media screen and (max-width: 767px) {
  .search-page.container {
    width: 100%;
    padding: 0 12px;
    justify-content: center;
    margin: 48px 0 80px 0;
    height: auto;
  }

  .main-content-search {
    padding: 0;
    width: 100%;
  }

  .search-item-container {
    flex-direction: column;
  }

  .search-item a {
    flex-direction: column;
  }

  .search-item .thumbnail {
    width: 100%;
  }

  .search-item .thumbnail img {
    width: 100%;
  }
}

/* 404 */
.error-container {
  display: flex;
  width: 100%;
  max-width: 960px;
  height: fit-content;
  padding: 120px 0px;
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
}

.error {
  display: flex;
  width: 100%;
  padding: 48px;
  background-color: #f3f3f3;
  border-radius: 8px;
  margin-bottom: 48px;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
}

.error p {
  margin: 4px;
}

.not-found {
  font-size: 2.625rem;
  font-weight: bold;
  padding-bottom: 16px;
}

.error-btn {
  width: 100%;
  text-align: center;
}

.sp-only {
  display: none;
}

@media screen and (max-width: 767px) {
  .error-container {
    padding: 0 24px;
    margin-top: 48px;
    margin-bottom: 100px;
  }
}

/* article/single.phpページ */
.article-container {
  display: flex;
  width: 620px;
  min-width: 600px;
  margin: 0 auto;
  padding-bottom: 120px;
  flex-direction: column;
  align-items: flex-start;
}

.article-image {
  display: flex;
  margin: 0 auto;
  padding-top: 12px;
  flex-direction: column;
  align-items: flex-start;
}

.article-image img {
  width: 100%;
  height: auto;
  align-self: stretch;
}

.article-h1 {
  padding: 64px 0px 16px 0px;
  margin: 0;
  font-size: 2rem;
  line-height: 150%;
  width: 100%;
}

.article-container .date {
  color: #747474;
  margin: 0;
  padding-top: 8px;
  padding-bottom: 48px;
}

.table-of-contents {
  display: flex;
  padding: 24px;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  border-radius: 8px;
  background-color: #f3f3f3;
}

.table-title {
  margin: 0;
  padding-bottom: 8px;
}

.table-of-contents a {
  text-decoration: none;
  color: #181818;
}

.table-of-contents a:hover {
  opacity: 0.5;
  transition: all 0.2s;
}

.table-of-contents li {
  padding-bottom: 10px;
}

.table-of-contents ul {
  list-style: none;
}

.table-of-contents ol {
  margin: 0;
  padding-top: 8px;
  padding-bottom: 16px;
}

.main-text {
  padding: 0 0 62px 0;
  overflow: visible;
  height: auto;
  width: 100%;
}

.main-text p {
  margin: 0;
}

.main-text li {
  padding-bottom: 8px;
}

.quote-container {
  padding: 24px 32px;
  border-radius: 8px;
  background-color: #f3f3f3;
  margin-top: 36px;
}

.quote {
  border-left: 4px solid #acacac;
  padding-left: 24px;
}

.text-link {
  padding: 22px 24px 24px 24px;
  margin-top: 48px;
  align-self: stretch;
  border-radius: 8px;
  background: #f3f3f3;
}

.text-link a {
  text-decoration: none;
  color: #2667db;
  padding: 0 12px;
  word-break: break-word;
  overflow-wrap: break-word;
  display: inline-block;
}

.text-link a:hover {
  text-decoration: underline;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: 3px;
  transition: all 0.2s;
}

.category-tag-container {
  padding-bottom: 48px;
}

.category-tag-container .tag {
  white-space: normal;
  overflow: visible;
}

.article-title {
  font-size: 1.375rem;
  padding: 48px 0 32px 0;
  border-top: 1px solid #e5e5e5;
  align-self: stretch;
  margin: 0;
}

.category-label {
  margin: 0;
}

a.tag {
  display: inline-block;
  color: #2667db;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  word-break: keep-all;
  white-space: nowrap;
  margin: 0 12px 6px 0;
}

a.tag:hover {
  text-decoration: underline;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: 3px;
  transition: all 0.2s;
}

/* wordpress class */
div#ez-toc-container {
  padding: 24px;
  border: none;
}

.wp-block-heading {
  margin: 0 auto;
  padding: 120px 0 24px 0;
  border-bottom: 2px solid #d1d1d1;
  line-height: 150%;
  font-size: 1.125rem;
}

h1.wp-block-heading {
  border-bottom: #747474;
  font-size: 2.25rem;
}

h2.wp-block-heading {
  font-size: 1.75rem;
}

h3.wp-block-heading {
  border-bottom: none;
  padding: 64px 0 0 0;
  font-size: 1.5rem;
}

h4.wp-block-heading {
  border-bottom: none;
  padding: 48px 0 0 0;
  font-size: 1.25rem;
}

.wp-block-list {
  margin: 0;
  padding-top: 24px;
}

.main-text p {
  padding-top: 24px;
}

.main-text figure {
  margin: 24px 0;
}

.wp-block-quote {
  margin: 32px 0 0 0;
  padding: 24px 32px;
  width: 100%;
  border-radius: 8px;
  background: var(--gray---background, #f3f3f3);
}

.wp-block-quote p {
  padding: 0;
  padding-left: 24px;
  align-items: center;
  flex: 1 0 0;
  border-left: 4px solid #acacac;
}

.wp-block-quote cite {
  padding-top: 8px;
  font-size: 14px;
}

.wp-block-group {
  display: flex;
  padding: 22px 24px 24px 24px;
  margin-top: 48px;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  gap: 8px;
  border-radius: 8px;
  background: #f3f3f3;
}

.wp-block-group p {
  padding-top: 0;
}

.wp-block-group a {
  text-decoration: none;
  color: #2667db;
}

.wp-block-group a:hover {
  text-decoration-line: underline;
  text-decoration-style: solid;
  transition: all 0.2s;
}

p.category-label {
  margin: 0 24px 12px 0;
}

.yarpp {
  margin: 0;
}

.yarpp li {
  display: flex;
  padding: 12px 6px;
  align-items: flex-start;
  background: var(--white, #fff);
  border-bottom: 1px solid var(--gray---outline, #e5e5e5);
}

.yarpp-related a {
  width: 100%;
  padding: 12px;
}

.yarpp a:hover {
  background-color: #f3f3f3;
  transition: all 0.2s;
  border-radius: 8px;
}

.yarpp ol {
  padding: 0;
  margin: 0 auto;
}

.yarpp a {
  color: #181818;
}

/* wordpress class end */
.article-title {
  font-size: 1.375rem;
  font-weight: bold;
}

.shareon-container {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  align-self: stretch;
}

.share-btn {
  display: flex;
  padding: 2% 8%;
  justify-content: center;
  align-items: center;
  flex: 1 0 0;
  border-radius: 32px;
  border: 1px solid var(--gray---outline-2, #acacac);
  background: var(--white, #fff);
}

.share-btn:hover {
  background-color: #f3f3f3;
  transition: all 0.2s;
}

.share-btn img {
  width: 28px;
  height: auto;
}

.banner-container {
  display: flex;
  padding: 32px 24px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  border-radius: 8px;
  border: 1px solid var(--blue---tag, #2667db);
  background: var(--blue---background, #ecf8ff);
  margin: 80px 0 48px 0;
}

.contact-us {
  display: inline-block;
  color: #2667db;
  font-size: 3.25rem;
  font-weight: 700;
  margin: auto;
  padding: 12px 24px;
  line-height: 120%;
}

.break-br {
  display: none;
}

.banner {
  padding-right: 2%;
}

.banner p {
  margin: 0;
  color: #2667db;
  padding: 4px 24px;
}

.btn-banner {
  display: flex;
  width: 100%;
  padding: 16px 12px;
  justify-content: center;
  align-items: center;
  flex: 1 0 0;
  border-radius: 6px;
  background: var(--blue---tag, #2667db);
}

a.btn-blue.btn-banner {
  text-decoration: none;
}

/* yarpp */
.related-posts {
  width: 100%;
}

.yarpp li {
  width: 100%;
}

.single-post .yarpp-related h3 {
  padding: 48px 0 32px 0;
}

/* yarpp end */
@media screen and (max-width: 767px) {
  .article-container {
    padding: 0 24px;
    width: 100%;
    min-width: 0;
    flex: 1;
  }

  .share-btn {
    padding: 14px 30px;
  }

  .banner-container {
    padding: 24px;
    flex-direction: column;
  }

  .banner {
    padding: 0;
  }

  .contact-us {
    font-size: 2rem;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
  }

  .break-br {
    display: block;
  }

  .btn-banner {
    margin-top: 24px;
  }

  .banner p {
    text-align: center;
    padding: 4px 0 0 0;
    font-size: 0.875rem;
  }

  .article-h1 {
    font-size: 1.25rem;
  }

  h2.wp-block-heading {
    font-size: 1.25rem;
    padding: 100px 0 24px 0;
  }
}

/* footer */
.bg-bl {
  background-color: #e5e5e5;
  padding-bottom: 10px;
}

.footer {
  width: 100%;
  bottom: 0;
  padding: 50px 150px 10px;
  color: #333;
  margin-left: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-l {
  width: 30%;
  padding-right: 5px;
}

.footer-logo img {
  width: 140px;
  height: auto;
  padding-bottom: 10px;
}

.footer-logo img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  margin-left: -16px;
}

.footer-logo:hover {
  opacity: 0.5;
  transition: all 0.2s;
}

.address {
  padding-bottom: 30px;
  margin: 0 auto;
}

.footer-r {
  width: 70%;
  flex-wrap: wrap;
  display: flex;
  justify-content: flex-start;
}

.footer-link {
  color: #333;
  padding-bottom: 15px;
  font-family: 'Lexend', sans-serif;
  font-weight: 400;
  text-decoration: none;
  display: block;
}

.footer-link:hover {
  opacity: 0.5;
  text-decoration: none;
  transition: all 0.2s;
}

.footer-link_sub {
  font-size: 13px;
  text-decoration: none;
  list-style: none;
  display: flex;
  color: #333;
  padding-bottom: 10px;
  padding-left: 10px;
  justify-content: flex-start;
}

.footer-link_sub:hover {
  opacity: 0.5;
  text-decoration: none;
  transition: all 0.2s;
}

.footer-container {
  margin: 0 40px;
  width: 140px;
}

.footer-container ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-container ul li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.text-center {
  text-align: center;
}

.footer-line {
  width: 80%;
}

.footer-bottom {
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.footer-bottom div {
  padding-right: 30px;
}

.fb img {
  width: 25px;
  padding-bottom: 15px;
}

.fb:hover {
  opacity: 0.5;
  transition: all 0.2s;
}

.copyrights {
  color: #333;
}

@media screen and (max-width: 767px) {
  .footer {
    padding: 30px 20px;
    margin-left: 0;
    flex-direction: column-reverse;
  }

  .footer-logo img {
    width: 140px;
    padding: 0;
  }

  .footer-l {
    width: 100%;
  }

  .footer-r {
    width: 100%;
    padding-bottom: 30px;
    gap: 0;
  }

  .footer-link {
    font-size: 0.9375rem;
  }

  .footer-link_sub {
    font-size: 0.75rem;
    padding-bottom: 10px;
    padding-left: 10px;
  }

  .footer-container {
    margin: 0 10px;
    width: 25%;
    align-items: flex-start;
    justify-content: space-between;
  }

  .footer-container.service {
    width: 30%;
  }

  .address {
    font-size: 0.75rem;
    padding-bottom: 0;
  }
}