@charset "UTF-8";

/* ===========================
   Blog Page Base Styles
   =========================== */
.blog-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  background: #ffffff;
}

.blog-page-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: linear-gradient(180deg, #fcfdfd 0%, #e5f4f1 100%);
  border-radius: 0 0 120px 120px;
  box-sizing: border-box;
  overflow: hidden;
}

/* ===========================
   Blog Hero Section
   =========================== */
.blog-hero-section {
  width: 100%;
  position: relative;
  padding: 2rem 0;
}

.blog-hero-content {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 400px;
  margin: 0 auto;
}

.blog-hero-media {
  position: relative;
  width: 100%;
  height: 100%;
}

.blog-hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  max-width: 720px;
  object-fit: cover;
  border-radius: 120px 0 0 0;
  z-index: 1;
}

.blog-hero-text-wrapper {
  position: relative;
  z-index: 2;
  padding: 3rem 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-header-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}

.section-label {
  color: #50bac8;
  font-family: "Shippori Mincho", serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 2.56px;
  line-height: 1.2;
  white-space: nowrap;
}

.section-title {
  color: #186a79;
  font-family: "Shippori Mincho", serif;
  font-size: 64px;
  font-weight: 600;
  letter-spacing: 1.28px;
  line-height: 1.2;
  white-space: nowrap;
  margin: 0;
}

/* ===========================
   Breadcrumb Navigation
   =========================== */
.breadcrumb-wrapper {
  width: 100%;
  margin-top: 1rem;
  padding: 0;
  box-sizing: border-box;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumb-link {
  position: relative;
  padding-bottom: 2px;
  color: #50bac8;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.breadcrumb-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #186a79;
  transition: width 0.3s ease;
}

.breadcrumb-link:hover {
  color: #186a79;
}

.breadcrumb-link:hover::after {
  width: 100%;
}

.breadcrumb-separator {
  color: #50bac8;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
}

.breadcrumb-current {
  color: #4a6671;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

/* ===========================
   Blog Content Section
   =========================== */
.blog-content-section {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 2rem;
  padding: 2rem 20px;
  box-sizing: border-box;
}

.blog-content-wrapper {
display: flex
;
    align-items: flex-start;
    justify-content: center;
    gap: 60px;
    width: 100%;
    max-width: 1200px;
}

/* ===========================
   Blog List (Left Column)
   =========================== */
.blog-list-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  gap: 40px;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* Blog Card */
.blog-card {
  width: 100%;
  background: #ffffff;
  border-radius: 40px 0 40px 0;
  box-shadow: 1px 1px 2px #d0e3e5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.blog-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.blog-card-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  
  min-height: 180px;
  box-sizing: border-box;
  text-decoration: none;
}

.blog-card-thumbnail {
  width: 280px;
  height: 180px;
  border-radius: 20px;
  object-fit: cover;
  flex-shrink: 0;
}

.blog-card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  height: 100%;
}

.blog-card-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 12px;
}

.blog-meta {
  flex-grow: 1;
}

.blog-card-date {
  display: block;
  margin-bottom: 8px;
  color: #4a6671;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.blog-card-title {
  margin: 0;
  color: #4a6671;
  font-family: "Shippori Mincho", serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
}

/* Blog Card Read More Button */
.blog-card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 12px;
  padding: 8px 20px;
  background: #fff;
  border: 1.5px solid #50bac8;
  border-radius: 50px;
  color: #50bac8;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-card-readmore:hover {
  background: #50bac8;
  color: #fff;
  transform: translateY(-2px);
}

.readmore-text {
  line-height: 1;
}

.readmore-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  transition: transform 0.3s ease;
}

.blog-card-readmore:hover .readmore-icon {
  transform: translateX(4px);
}

/* ===========================
   Pagination
   =========================== */
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
  color: #3b4b55;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-block;
  padding: 8px 16px;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  transition: all 0.25s ease;
}

.blog-pagination a.page-numbers {
  border-bottom: 2px solid #d6e5e7;
  color: #3b4b55;
}

.blog-pagination a.page-numbers:hover {
  border-color: #50bac8;
  color: #50bac8;
  transform: translateY(-2px);
}

.blog-pagination .current {
  border-color: #50bac8;
  color: #50bac8;
  font-weight: 700;
}

.blog-pagination .next,
.blog-pagination .prev {
  padding: 8px 20px;
  border-bottom: 2px solid #3b4b55;
  font-weight: 600;
  transition: all 0.3s ease;
}

.blog-pagination .next:hover,
.blog-pagination .prev:hover {
  border-color: #50bac8;
  color: #50bac8;
  transform: translateY(-2px);
}

/* ===========================
   Archive Sidebar
   =========================== */
.archive-sidebar {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 280px;
  gap: 2rem;
}

/* Archive Header */
.archive-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 48px;
  padding: 0 20px;
  background: linear-gradient(90deg, #f5f7f8 0%, #edf2f3 100%);
  border-left: 4px solid #65a8b3;
  border-radius: 8px 0 0 0;
  box-shadow: 0 2px 6px rgba(10, 23, 69, 0.05);
  box-sizing: border-box;
}

.archive-title {
  margin: 0;
  color: #4a6671;
  font-family: "Shippori Mincho", serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Archive List */
.archive-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 8px;
}

.archive-item {
  position: relative;
  display: flex;
  align-items: center;
}

.archive-item-content {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #4a6671;
  transition: transform 0.3s ease;
}

.archive-bullet {
  width: 8px;
  height: 8px;
  background: #65a8b3;
  border-radius: 2px;
  flex-shrink: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.archive-line {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #e6ebed;
}

.archive-link,
.archive-link:visited,
.archive-link:hover,
.archive-link:focus,
.archive-link:active {
  color: #4a6671;
  text-decoration: none !important;
  transition: color 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

.archive-link:hover {
  color: #50bac8;
  transform: translateX(4px);
}

.archive-item:hover .archive-bullet {
  background: #50bac8;
  transform: scale(1.3);
}

/* ===========================
   Blog Search Form
   =========================== */
.blog-search-wrapper {
  display: flex;
  justify-content: center;
}

.blog-search-form {
display: flex
;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #fff;
    border: 1px solid #65a8b3;
    border-radius: 50px;
    box-shadow: 0 3px 6px rgba(8, 21, 58, 0.1);
    overflow: hidden;
    margin: 2rem 0.4rem;
}

.blog-search-input {
  flex: 1;
  padding: 12px 20px;
  background: transparent;
  border: none;
  color: #333;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  outline: none;
}

.blog-search-input::placeholder {
  color: #aaa;
}

.blog-search-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: none;
  border: none;
  color: #50bac8;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, color 0.3s ease;
}

.blog-search-button:hover {
  background: rgba(101, 168, 179, 0.08);
  color: #2e8fa0;
  transform: scale(1.15);
}

.search-icon {
  display: block;
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.blog-search-button:hover .search-icon {
  transform: rotate(5deg);
}

.search-container {
  width: 100%;
}

.search-heading {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
}

.blog-search-form {
  display: flex;
  align-items: center;
}
/* ===========================
   Article Content (Single Post)
   =========================== */
.blog-single .blog-article-section {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 80px;
  padding: 0 20px;
  box-sizing: border-box;
}

.blog-single .blog-article-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  width: 100%;
  max-width: 1080px;
}

.article-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 40px;
}

.article-card {
  width: 100%;
  max-width: 960px;
  background: #ffffff;
  border-radius: 80px 0 80px 0;
  box-shadow: 1px 1px 2px #93c6ca;
}

.article-inner {
  padding: 4rem;
  box-sizing: border-box;
}

/* Article Header */
.article-header {
  margin-bottom: 24px;
}

.article-title {
  margin: 0 0 16px 0;
  color: #186a79;
  font-family: "Shippori Mincho", serif;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 56px;
}

.article-date {
  display: block;
  margin-bottom: 16px;
  color: #4a6671;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 32px;
}

.article-divider {
  width: 80px;
  height: 2px;
  background: #00CED1;
}

/* Article Body */
.article-body {
  color: #2e2d31;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 32px;
}

.article-body p {
  margin: 0 0 24px 0;
}

.article-body p:last-child {
  margin-bottom: 0;
}

.article-image {
  display: block;
  width: 100%;
  max-width: 620px;
  height: auto;
  margin: 24px 0;
  object-fit: cover;
}

/* Text Styles */
.text-emphasis {
  color: #186a79;
  font-weight: 700;
}

.text-highlight {
  color: #a18a50;
  font-weight: 500;
  text-decoration: underline;
}

.text-alert {
  color: #eb4345;
  font-weight: 700;
}

/* Article Button */
.article-button-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.article-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  width: 200px;
  height: 40px;
  background: #ffffff;
  border: 1.5px solid #50bac8;
  border-radius: 42px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s ease;
}

.article-button:hover {
  background: #50bac8;
  border-color: #50bac8;
}

.button-text {
  color: #50bac8;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  transition: color 0.4s ease;
}

.article-button:hover .button-text {
  color: #ffffff;
}

.button-arrow {
  display: flex;
  align-items: center;
  gap: 2px;
  position: relative;
  transition: transform 0.3s ease;
}

.article-button:hover .arrow-line {
  background: #ffffff;
}

.article-button:hover .arrow-tip {
  color: #ffffff;
}

.article-button:hover .button-arrow {
  transform: translateX(8px);
}

/* Article Navigation */
.article-navigation {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.nav-divider {
  width: 100%;
  max-width: 660px;
  height: 1px;
  background: #d0e3e5;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.nav-link:hover {
  transform: translateX(-6px);
}

.nav-arrow-prev {
  margin: 1rem;
  color: #50bac8;
  font-size: 20px;
  line-height: 1;
  transition: color 0.3s ease;
}

.nav-link:hover .nav-arrow-prev {
  color: #186a79;
}

.nav-text {
  color: #50bac8;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 60px;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.nav-link:hover .nav-text {
  color: #186a79;
}

/* Article Bottom Navigation */
.article-bottom-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.article-navigation .nav-prev a,
.article-navigation .nav-next a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #50bac8;
  font-size: 16px;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.article-navigation .nav-prev a:hover,
.article-navigation .nav-next a:hover {
  opacity: 0.8;
}

.nav-arrow {
  font-size: 18px;
  line-height: 1;
  margin: 0 4px;
}

/* ===========================
   SNS Share Section
   =========================== */
.share-buttons {
  text-align: center;
  border-radius: 24px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  margin: 1rem;
  padding: 1rem;
}

.share-title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1.4px;
  color: #4a6671;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.share-title i {
  color: #50bac8;
  font-size: 1.2em;
}

.share-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

.share-btn {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.share-btn.x {
  background: #000000;
}

.share-btn.facebook {
  background: #1877f2;
}

.share-btn.line {
  background: #06c755;
}

.share-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  opacity: 0;
  transform: scale(1.4);
  transition: all 0.4s ease;
}

.share-btn:hover::before {
  opacity: 1;
  transform: scale(1);
}

.share-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.share-btn i {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.share-btn:hover i {
  transform: scale(1.15);
}

/* ===========================
   Responsive Design
   =========================== */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
	.blog-list {
        display: flex
;
        flex-direction: column;
        align-items: center;
}
  .blog-page-wrapper {
    border-radius: 0 0 80px 80px;
  }

  .blog-hero-content {
    height: 360px;
  }

  .blog-hero-image {
    max-width: 600px;
    border-radius: 100px 0 0 0;
  }

  .blog-hero-text-wrapper {
    padding: 2.5rem 20px;
  }

  .section-label {
    font-size: 28px;
    letter-spacing: 2.24px;
  }

  .section-title {
    font-size: 48px;
    letter-spacing: 1px;
  }

  .blog-content-wrapper,
  .blog-article-wrapper {
   flex-direction: column;
        gap: 40px;
        display: flex
;
        align-items: center;
  }

  .archive-sidebar {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .article-card {
    max-width: 100%;
  }

  .article-inner {
    padding: 60px;
  }
	.article-bottom-nav {
    display: flex
;
    flex-direction: column-reverse;
   
    justify-content: center;
  
    flex-wrap: wrap;
}}

@media (max-width: 768px) {

  /* ====== カード全体のレイアウトを安定化 ====== */
  .blog-card-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch; /* ← 高さを内容に応じず全幅で均一 */
    gap: 16px;
    min-height: auto;
  }

  /* ====== アイキャッチ画像（固定比率＆切り抜き） ====== */
  .blog-card-thumbnail {
    width: 100%;
    position: relative;
    aspect-ratio: 16 / 9; /* ← ここで比率固定 */
    overflow: hidden;
    border-radius: 12px;
  }

  .blog-card-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* ← 画像を自然にトリミング */
    display: block;
  }

  /* ====== テキスト領域 ====== */
  .blog-card-content {
    flex: 1; /* ← 画像高さに影響されない */
    padding: 0;
    width: 100%;
  }

  .blog-card-date {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .blog-card-title {
    font-size: 18px;
    line-height: 1.5;
    margin-top: 0.4em;
    margin-bottom: 0.6em;
    word-break: break-word;
  }

  .blog-card-readmore {
    margin-top: auto;
    padding: 6px 16px;
    font-size: 13px;
  }

  /* ====== 高さがずれる原因を防止 ====== */
  .blog-card-inner > * {
    flex-shrink: 0; /* ← タイトルの長さによる高さ圧縮を防ぐ */
  }
}





/* ===========================
   ブログ　太字＋下線スタイル
   =========================== */
.is-style-bold-underline {
  font-weight: 700 !important;
  text-decoration: underline !important;
}

/* ===========================
   ブログ　カスタムカラースタイル
   =========================== */
.has-custom-red-color {
  color: #c81e2b !important;
  font-weight: 700;
}

.has-custom-green-color {
  color: #186a79 !important;
  font-weight: 700;
}

.has-custom-yellow-color {
  color: #7c6a30 !important;
}

/* ===========================
   Gutenberg編集画面プレビュー用（安全に反映）
   =========================== */
.editor-styles-wrapper .is-style-bold-underline {
  font-weight: 700 !important;
  text-decoration: underline !important;
}

.editor-styles-wrapper .has-custom-red-color {
  color: #c81e2b !important;
  font-weight: 700;
}

.editor-styles-wrapper .has-custom-green-color {
  color: #186a79 !important;
  font-weight: 700;
}

.editor-styles-wrapper .has-custom-yellow-color {
  color: #7c6a30 !important;
}

