@charset "utf-8";

/* 洗練されたカラースキーム */
:root {
  /* メインカラー - より鮮やかで豊かなグリーン */
  --primary-color: #00866a;
  --primary-light: #4db6a2;
  --primary-dark: #005d4a;

  /* アクセントカラー - より輝きのあるゴールド */
  --accent-color: #c0a86b;
  --accent-light: #d9c89c;
  --accent-dark: #9a8650;

  /* 金色のアクセントカラーを追加 */
  --gold-accent: #d4af37;
  --gold-light: #f8e9c7;
  --gold-gradient: linear-gradient(135deg, #d4af37, #f8e9c7, #d4af37);

  /* 中立色 */
  --light-bg: #f9fbf8;
  --off-white: #f7f7f2;
  --border-color: #e6e9e4;

  /* テキスト色 */
  --text-dark: #2d3b36;
  --text-medium: #5a6a66;
  --text-light: #94a39e;

  /* アクセント背景色 #f1f8f2,#e8ede2*/
  --yellow-green: #f1f8f2;
  --gold-light: #f8f4e6;

  /* 基本色 */
  --white: #ffffff;
  --gray: #f0f2f1;
  --ivory-bg: #f9f7f4;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Cormorant Garamond", serif, "Times New Roman", Times, serif;
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0 auto;
  background-color: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* ヘッダーの中に入るロゴエリアをコラム記事のときはなくす処理 */
header .inner{
  display: none!important;
}

/* ロゴエリア */
.logo-area {
  text-align: center;
  padding: 30px 0;
  background: linear-gradient(to bottom, var(--ivory-bg), var(--white));
}


h1 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.5;
}

.site-tagline {
  font-size: 26px;
  color: var(--accent-color);
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.site-description,
.site-since {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.site-since {
  margin-top: 15px;
  font-style: italic;
  color: var(--accent-color);
}

/* メインビジュアル - PC・スマホ両方オーバーレイデザイン */

/* PC表示用オーバーレイスタイル */
.main-visual-overlay {
  position: relative;
  height: 220px;
  overflow: hidden;
  margin-bottom: 20px;
}

.main-visual-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
  object-position: 50% 43%;
}

.overlay-content-pc {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  /* 明るく保ったグラデーション */
  /* background: linear-gradient(to bottom, rgba(255,255,255,0.7), rgba(255,255,255,0.8)); */
  background: linear-gradient(to left, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.8));
  max-width: none !important;
}

.text-container-pc {
  padding: 20px 30px;
  border-radius: 8px;
  max-width: 70%;
}

.overlay-content-pc h2 {
  color: #005d4a;
  font-weight: 600;
  font-size: 28px;
  margin-bottom: 15px;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 1px;
  line-height: 1.5;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
}

.overlay-content-pc p {
  color: #2d3b36;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

/* スマホ表示用のスタイル */
@media (max-width: 768px) {

  /* PCバージョンを非表示 */
  .main-visual-overlay {
    display: none;
  }

  /* モバイル用メインビジュアル */
  .mobile-main-visual {
    display: block;
  }

  .image-overlay-container {
    position: relative;
    height: 120px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .image-overlay-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 3s ease;
  }

  .overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    text-align: center;
    /* 明るく保ったグラデーション */
    /* background: linear-gradient(to bottom, rgba(255,255,255,0.7), rgba(255,255,255,0.8)); */
    background: linear-gradient(to left, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.8));
  }

  .text-container-mobile {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 8px 12px;
    border-radius: 6px;
    max-width: 90%;
    backdrop-filter: blur(2px);
  }

  .overlay-content h2 {
    color: #005d4a;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
  }

  .compact-text {
    color: #2d3b36;
    font-size: 12px;
    margin: 10px 0 0;
    max-width: 100%;
    line-height: 1.5;
    text-align: center;
  }
}

/* タブレット向けの調整 */
@media (min-width: 769px) and (max-width: 1024px) {
  .overlay-content-pc h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .overlay-content-pc p {
    font-size: 14px;
  }

  .text-container-pc {
    max-width: 80%;
    padding: 15px 25px;
  }

  /* モバイル用コンテンツを非表示 */
  .mobile-main-visual {
    display: none;
  }
}

/* PCでモバイル用コンテンツを非表示 */
@media (min-width: 769px) {
  .mobile-main-visual {
    display: none;
  }
}

/* 2分割レイアウト用のレスポンシブ対応 */
@media (max-width: 1024px) {

  .main-visual-split .content {
    padding: 40px 30px;
  }

  .main-visual-split h2 {
    font-size: 32px;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .main-visual-split {
    grid-template-columns: 1fr;
    height: auto;
  }

  .main-visual-split .image-container {
    height: 220px;
  }

  .main-visual-split h2 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .main-visual-split .image-container {
    height: 150px;
  }

  .main-visual-split .content {
    padding: 10px;
  }

  .main-visual-split h2 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .main-visual-split p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .main-visual-split .btn {
    padding: 10px 25px;
    font-size: 14px;
  }
}

/* 人気の記事 */
.popular-column-section {
  margin-top: 10px;
}

/* 右側配置モダン水平バッジ */
.badge-modern-right {
  position: absolute;
  top: 10px;
  right: 0;
  z-index: 1;
  overflow: hidden;
}

.badge-modern-right::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: -1;
}

.badge-modern-right-no1 {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.9), rgba(255, 241, 181, 0.9));
}

.badge-modern-right-no2 {
  background: linear-gradient(135deg, rgba(168, 169, 173, 0.9), rgba(224, 224, 224, 0.9));
}

.badge-modern-right-no3 {
  background: linear-gradient(135deg, rgba(205, 127, 50, 0.9), rgba(255, 200, 150, 0.9));
}

.badge-modern-right .badge-text {
  display: flex;
  align-items: center;
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 500;
  color: white;
}

.badge-modern-right .rank {
  font-weight: bold;
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
  .badge-modern-right {
    top: 10px;
  }

  .badge-modern-right .badge-text {
    padding: 6px 12px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .badge-modern-right .badge-text {
    padding: 4px 10px;
    font-size: 11px;
  }
  .popular-column-section .section-header{
    margin-top: 10px;
  }
  section.popular-column-section{
    margin-top: 0;
  }
}

/* タブナビゲーションシステム */
.search-tabs {
  margin: 40px auto;
  max-width: 1000px;
  background-color: var(--white);
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid #e0e0e0;
}

.tab-content {
  padding: 25px 0;
}

/* スクロールコンテナ */
.scroll-container {
  position: relative;
  overflow: hidden;
  padding: 0;
  background-color: #f8f8f8;
}

.category-list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  overflow-x: auto;
  padding: 0;
  gap: 0;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #d4d4d4 #f8f8f8;
  -webkit-overflow-scrolling: touch;
  background-color: #f8f8f8;
}

.category-list::-webkit-scrollbar {
  height: 6px;
}

.category-list::-webkit-scrollbar-track {
  background: #f8f8f8;
  border-radius: 3px;
}

.category-list::-webkit-scrollbar-thumb {
  background-color: #d4d4d4;
  border-radius: 3px;
}

.category-button {
  font-size: 14px;
  font-weight: 500;
  padding: 16px 20px;
  background-color: transparent;
  border: none;
  border-radius: 0;
  color: #666;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  text-align: center;
  border-bottom: 2px solid transparent;
  flex-shrink: 0;
}

.category-button:hover {
  background-color: rgba(255, 255, 255, 0.8);
  color: #333;
  transform: none;
  box-shadow: none;
}

/* アクティブ状態のスタイル */
.category-button.active {
  background-color: var(--white, #ffffff);
  color: #333;
  border-bottom: 2px solid #c0a86b;
  font-weight: 600;
}

.category-button.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #c0a86b;
}

/* スクロールボタンを非表示（I-PRIMOスタイルではスクロールボタンなし） */
.scroll-buttons {
  display: none;
}

/* セクションヘッダー */
.section-header {
  text-align: left;
  margin: 30px 0;
  padding: 0 20px;
}

.section-title {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--accent-dark);
  text-align: center;
  line-height: 1.5;
}

.section-title.second {
  color: var(--primary-color);
}

.section-border {
  width: 60px;
  height: 2px;
  background: var(--accent-dark);
  margin: 0 auto;
}

/* 記事グリッドのレイアウト - PC用 */
.column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* PCでは3列表示 */
  gap: 30px;
  padding: 0 20px;
  margin-bottom: 40px;
  margin-top: 15px;
}

/* 記事アイテムのデザイン */
.column-item {
  display: flex;
  flex-direction: column;
  border: none;
  box-shadow: none;
  transition: transform 0.3s ease;
  background-color: var(--white);
  position: relative;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 30px;
  height: 100%;
}

.column-item:hover {
  transform: translateY(-5px);
}

/* 画像エリア */
.column-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  margin-bottom: 15px;
}

.column-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.column-item:hover .column-image img {
  transform: scale(1.05);
}

/* タグラベル */
.tag-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.9);
  padding: 5px 12px;
  border-radius: 20px;
  z-index: 0;
}

h4.tag {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary-dark);
  letter-spacing: 0.5px;
}

/* 記事コンテンツ */
.column-content {
  padding: 5px;
  background: none;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.column-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.4;
  color: var(--text-dark);
  transition: color 0.3s ease;
  height: 44px;
  /* 2行分の高さを固定 */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* 2行に制限 */
  -webkit-box-orient: vertical;
}

.column-item:hover .column-title {
  color: var(--primary-color);
}

.column-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 20px;
}

.column-category {
  font-size: 14px;
  color: var(--text-medium);
  margin-bottom: 5px;
  font-weight: 500;
  position: relative;
  display: inline-block;
}

.date {
  font-size: 14px;
  color: var(--text-medium);
  font-style: italic;
  display: inline-block;
}

/* View Moreリンク */
.view-more {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  align-self: flex-end;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  background: none;
  box-shadow: none;
  transition: color 0.3s ease;
  background-color: var(--accent-color);
  padding: 5px;
}

.view-more .arrow {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.view-more:hover {
  color: var(--accent-color);
  transform: none;
  box-shadow: none;
  border: 1px solid var(--accent-color);
  background-color: var(--gold-light);
}

.view-more:hover .arrow {
  transform: translateX(3px);
}

/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 40px 0;
}

.page-number,
.page-next {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 14px;
}

.page-number {
  background: var(--white);
  border: 1px solid var(--border-color);
  color: var(--text-medium);
}

.page-number.current {
  background: var(--accent-color);
  color: var(--white);
  border-color: var(--accent-color);
}

.page-next {
  background: var(--white);
  border: 1px solid var(--border-color);
}

.page-number:hover:not(.current),
.page-next:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}


/* レスポンシブデザイン - タブレット向け */
@media (max-width: 1024px) {
  .column-grid {
    grid-template-columns: repeat(2, 1fr);
    /* タブレットでは2列表示 */
  }

  .column-image {
    height: 200px;
  }

  .category-list {
    justify-content: flex-start;
  }
}


@media (max-width: 768px) {
  .ring-section .column-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

  .column-image {
    height: 90px;
  }

  .column-title {
    font-size: 16px;
    height: auto;
    display: block;
    /* webkit-box表示を解除 */
    -webkit-line-clamp: unset;
    /* 行数制限を解除 */
    -webkit-box-orient: initial;
    /* 向きを初期値に戻す */
  }

  .tab-buttons {
    margin-bottom: 0;
  }

  .tab-content {
    padding: 15px 0;
  }
}

/* リングセクション */

.marriage-ring {
  background: linear-gradient(to bottom, var(--white), var(--light-bg), var(--white));
}
/* フッターバナーエリア */
.footer-banners {
  padding: 60px 20px;
  margin-top: 70px;
  background: linear-gradient(to bottom, var(--white), var(--light-bg));
}

.footer-banners .inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.footer-banner-card {
  position: relative;
  height: 250px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 25px rgba(192, 168, 107, 0.15);
  transition: all 0.3s ease;
  border: 1px solid rgba(192, 168, 107, 0.1);
}

.footer-banner-card .image-container {
  flex: none;
  height: 81%;
  overflow: hidden;
  position: relative;
}

.footer-banner-card .image-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.footer-banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  object-position: bottom;
}

.footer-banner-card:hover img {
  transform: scale(1.1);
}

.footer-banner-card .content {
  background: linear-gradient(135deg, #c0a86b, #d9c89c);
  padding: 15px;
  text-align: center;
  border-top: 1px solid rgba(192, 168, 107, 0.2);
  transition: all 0.3s ease;
  position: relative;
  margin-top: auto;
}

/* 左に線が入るアニメーション */
.footer-banner-card .content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--gold-gradient);
  transition: height 0.5s ease;
}

.footer-banner-card:hover .content::before {
  height: 100%;
}

.footer-banner-card h3 {
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  display: inline-block;
  margin-bottom: 0;
}

.footer-banner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(192, 168, 107, 0.25);
}

.footer-banner-card:hover .content {
  background: linear-gradient(135deg, var(--accent-color), var(--white));
}

.footer-banner-card:hover h3 {
  color: white;
}

.footer-banner-card:hover h3::after {
  width: 80%;
}

/* パンくずリスト共通スタイル */
.breadcrumb-container {
  font-size: 14px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  font-size: 12px;
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin: 0 5px;
  color: var(--accent-color);
}

.breadcrumb a {
  color: var(--text-medium);
  text-decoration: none;
  transition: color 0.3s;
  line-height: 1.5;
}

.breadcrumb a:hover {
  color: var(--accent-color);
}

.breadcrumb li:last-child {
  color: var(--text-medium);
}

.breadcrumb li:not(:first-child):before {
  content: "\f0c8";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin: 0 5px;
  font-size: 6px;
  color: var(--gold-accent);
  transform: rotate(45deg);
}

.breadcrumb li:first-child i {
  margin-right: 5px;
  color: var(--gold-accent);
}

.breadcrumb li:last-child {
  color: var(--text-medium);
}

/* パンくずリスト - フッター上 */
.breadcrumb-above-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  text-align: center;
}

/* レスポンシブデザイン */

@media (max-width: 768px) {
  header .inner {
    width: 100%;
    background-color: var(--ivory-bg);
  }

  header.headfix a img {
    height: 32px;
    margin: 20px 0 0 20px;
    padding-bottom: 8px;
  }

  #menu+label:before {
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    background: url(../img/column/header_global_icon_open.svg) no-repeat left top !important;
    background-size: 32px 32px;
    z-index: 2;
    position: fixed;
    right: 16px;
    top: 16px;
  }


  .site-tagline {
    font-size: 22px;
  }

  .tab-button {
    font-size: 11px;
    padding: 15px 20px;
  }

  .column-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .column-image {
    height: 160px;
  }

  .header-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .header-nav li a {
    font-size: 15px;
  }

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

  .footer-banners {
    padding: 40px 20px;
  }

  .footer-banners .inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-banner-simple h3 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {

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

  .category-button {
    padding: 8px 18px;
    font-size: 13px;
  }

  .search-box input {
    padding: 14px 45px 14px 15px;
  }

  .section-header {
    padding: 0 15px;
    margin-bottom: 0;
  }

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

  .search-box input {
    font-size: 12px;
  }

  .column-item {
    padding-bottom: 15px;
  }

  .column-grid {
    gap: 20px;
  }

  .column-image {
    height: 115px;
  }

  .column-title {
    font-size: 14px;
  }

  .column-category,
  .date {
    font-size: 11px;
  }

  .tag-label {
    padding: 2px 6px;
  }

  h4.tag {
    font-size: 11px;
  }

  .footer-banners {
    padding: 30px 20px;
  }

  .footer-banners .inner {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* キーワードページ専用、カテゴリーページ専用スタイル */
.category-info .category-count {
  margin-bottom: 20px;
  margin-left: 20px;
}

.keyword-header,
.category-header,
.search-header {
  background: linear-gradient(to bottom, var(--ivory-bg), var(--white));
  padding: 40px 0;
  text-align: center;
  margin-bottom: 40px;
}

.keyword-header h1,
.category-header h1,
.search-header h1 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: normal;
  text-align: center;
}

/* キーワードページの関連キーワードリストのスタイル調整 */
.keyword-header .scroll-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.keyword-header .keyword-list {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  padding-bottom: 15px;
  /* スクロールバー用の余白を確保 */
  /* スクロールバー非表示設定を削除 */
}

.keyword-header .description,
.category-header .description,
.tags-header .description {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  color: #555;
}

h4.related-heading,
h4.tags-heading {
  color: var(--accent-dark);
  margin-top: 20px;
}

h4.related-heading::before,
h4.tags-heading::before,
h4.related-heading::after,
h4.tags-heading::after {
  border-top: 1px solid var(--accent-dark);
}

/* コラムに戻るリンク */
.back-to-column {
  text-align: center;
  margin-bottom: 60px;
}

.back-link {
  display: inline-block;
  padding: 12px 25px;
  background-color: #876c3b;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
  margin-top: 50px;
}

.back-link:hover {
  background-color: #6f5930;
}

@media (max-width:768px) {

  .keyword-header .description,
  .category-header .description,
  .tags-header .description {
    text-align: left;
  }

  .related-tags-section .inner {
    width: 100%;
  }
}
