.logo-link {
	padding: 1em 0;
}
.instagram {
	width: 40px;
	margin-top: 1em;
}
.instagram a {
	display: block;
}
/* ===== Blog (single/archive) minimal styles ===== */
.blog-wrap{max-width:1000px;margin:0 auto;padding:40px 20px;box-sizing:content-box}
.blog-wrap .single-content p { margin-bottom: 2em; }
.blog-wrap .single-content h2 { background: #37BEF0; padding: 8px; color: #fff; margin: 1em 0 2em; }
.blog-wrap .single-content h3 { border-left: 2px solid #37BEF0; padding: 2px 8px; color: #000; margin: 1em 0 2em; }
.blog-wrap .single-content ul { list-style: disc; margin-bottom: 1em; }
.blog-archive .archive-header{ display:block; margin-bottom:20px; border-bottom: 0;}
.archive-title,.single-title{font-size:28px;line-height:1.4;margin-bottom:8px}
.single-meta,.archive-meta{font-size:12px;color:#666}
.single-meta time,.archive-meta time{margin-right:10px;}
.blog-archive .archive-list{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.blog-archive .archive-item{background:#fff;border:1px solid #eee;border-radius:6px;overflow:hidden}
.archive-link{display:flex;color:inherit}
.archive-thumb{width:36%;background:#f7f7f7}
.archive-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.archive-body{width:64%;padding:12px}
.archive-item-title{font-size:16px;line-height:1.5;margin-bottom:6px}
.archive-excerpt{font-size:13px;color:#555;margin-top:6px}
.archive-cat{margin-left:8px;background:#f1fbff;color:#37BEF0;padding:2px 6px;border-radius:3px;font-size:11px}
.archive-pagination{margin-top:28px;text-align:center}
.archive-pagination a.page-numbers { color: #37BEF0; }

.blog-single header { display: block; border-bottom: 0;}
.blog-single .single-header{margin-bottom:16px; height: auto;}
.blog-single .single-thumb{margin:16px 0}
.blog-single .single-content{line-height:1.9}
.blog-single .single-content img{width: 100%!important;max-width:100%;height:auto}
.single-pager{display:flex;justify-content:space-between;gap:10px;margin-top:24px}
.single-tags{font-size:12px;margin-top:16px}

#mkj.mkj{background:#f8fbff;border:1px solid #e6f2fb;border-left:4px solid #37BEF0;border-radius:6px;padding:16px;margin:16px 0 20px}
#mkj .toc-title{display:flex;align-items:center;gap:6px;color:#37BEF0;font-weight:700;font-size:16px;margin-bottom:8px}
#mkj .toc-title:before{content:"\f318";font-family:"dashicons";font-size:18px;line-height:1}
#mkj .toc-list{margin:0;padding:0}
#mkj .toc-item{position:relative;padding-left:16px;margin:6px 0;line-height:1.7; list-style:none;}
#mkj .toc-item:before{content:"";position:absolute;left:0;top:0.8em;width:6px;height:6px;border-radius:50%;background:#37BEF0}
#mkj .toc-item a{color:#222;border-bottom:1px dashed rgba(55,190,240,.4)}
#mkj .toc-item a:hover{color:#37BEF0;border-bottom-color:#37BEF0}

@media screen and (max-width: 1024px){
  .blog-archive .archive-list{grid-template-columns:repeat(2,1fr)}
}
@media screen and (max-width: 767px){
  .blog-wrap{padding:24px 16px}
  .archive-link{display:block}
  .archive-thumb,.archive-body{width:100%}
  .archive-thumb{height:48vw}
}

.single-post header, .page-id-209 header {
	height: auto;
}

.single-post .header-logo a {
	display: block;
    width: auto;
    height: 100%;
    padding: 10px 0;
}

/* page-post.php only: vertical card layout */
.posts-vertical .archive-list{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.posts-vertical .archive-link{display:block}
.posts-vertical .archive-thumb{width:100%;height:auto}
.posts-vertical .archive-thumb img{width:100%;height:auto;object-fit:cover}
.posts-vertical .archive-body{width:100%;padding:10px}
.posts-vertical .archive-item-title{font-size:16px;margin:8px 0 4px}
.posts-vertical .archive-meta{font-size:12px;color:#666}
@media screen and (max-width: 1024px){
  .posts-vertical .archive-list{grid-template-columns:repeat(2,1fr)}
}
@media screen and (max-width: 767px){
  .posts-vertical .archive-list{grid-template-columns:1fr}
}

/* --------------------------------------
 * 吹き出しのスタイル
 * -------------------------------------- */
.speech-bubble-left,
.speech-bubble-right {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}
.speech-bubble-right {
  flex-direction: row-reverse;
}

/* --------------------------------------
 * アイコン部分
 * -------------------------------------- */
.speech-icon {
  width: 80px;
  flex-shrink: 0;
  text-align: center;
}
.speech-icon img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #f0f0f0;
  box-sizing: border-box;
}
.speech-icon .speech-name {
  font-size: 13px;
  font-weight: bold;
  margin-top: 5px;
  word-wrap: break-word;
}
.speech-text {
  position: relative;
  flex: 1;
  background-color: #f3f3f3;
  border-radius: 12px;
  padding: 18px;
  box-sizing: border-box;
}
.speech-bubble-left .speech-text {
  margin-left: 20px;
}

.speech-bubble-left .speech-text::before {
  content: '';
  position: absolute;
  top: 20px;
  left: -18px;
  border-width: 9px;
  border-style: solid;
  border-color: transparent #f3f3f3 transparent transparent;
}
.speech-bubble-right .speech-text {
  margin-right: 20px;
}
.speech-bubble-right .speech-text::before {
  content: '';
  position: absolute;
  top: 20px; 
  right: -18px;
  border-width: 9px;
  border-style: solid;
  border-color: transparent transparent transparent #f3f3f3;
}

.speech-text p {
  margin: 0;
  padding: 0;
  line-height: 1.7;
}
.speech-text p:not(:last-child) {
  margin-bottom: 1em;
}

.footer-logo img {
	max-width: 200px;
    display: block;
    margin: 0 auto 40px;
}

/* --------------------------------------
 * カスタムボタン（CTAボタン）のスタイル
 * -------------------------------------- */
.my-custom-button {
	margin-top: 1em;
}
.my-custom-button a {
  display: inline-block;
  padding: 12px 30px;
  background-color: #37BEF0;
  color: #ffffff !important;
  text-decoration: none !important;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.my-custom-button a:hover {
  background-color: #0056b3;
  color: #ffffff !important;
}

.pattern-312-wrap img, .pattern-304-wrap img {
	display: block;
	margin: 0 auto;
}

.breadcrumb{margin:16px 0 0;font-size:12px;color:#666}
.breadcrumb .breadcrumb-item{display:inline}
.breadcrumb .breadcrumb-item a{color:inherit;text-decoration:none}
.breadcrumb .breadcrumb-item a:hover{text-decoration:underline}
.breadcrumb .breadcrumb-sep{margin:0 6px;color:#aaa}