/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.5.1768023255
Updated: 2026-01-10 14:34:15

*/

/* 投稿リスト全体 */
.plp-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

/* 各投稿アイテム */
.plp-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 16px;
  line-height: 1.6;
}

.plp-item:first-child {
  border-top: 1px solid #e0e0e0;
}

/* 日付 */
.plp-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  color: #666;
  white-space: nowrap;
  min-width: 80px;
}

/* カテゴリー */
.plp-cat {
  font-family: 'Zen Old Mincho', serif;
  background-color: #3d6b6b;
  color: #fff;
  padding: 4px 16px;
  border-radius: 2px;
  font-size: 13px;
  white-space: nowrap;
}

/* タイトル */
.plp-title {
  font-family: 'Zen Old Mincho', serif;
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.plp-title:hover {
  color: #3d6b6b;
}

/* SP版のレイアウト */
@media (max-width: 768px) {
  .plp-item {
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px 0;
    align-items: flex-start; /* これを追加 */
  }
  
  /* 日付とカテゴリーを横並びに */
  .plp-date,
  .plp-cat {
    flex: 0 0 auto;
  }
  
  .plp-date {
    min-width: auto;
    font-size: 14px;
  }
  
  .plp-cat {
    font-size: 12px;
    padding: 3px 12px;
  }
  
  /* タイトルを2行表示 */
  .plp-title {
    flex: 1 1 100%;
    width: 100%; /* 明示的に幅を指定 */
    white-space: normal !important; /* !important で上書き */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.5;
    font-size: 15px;
    word-break: break-word; /* 長い単語も折り返す */
  }
}

/* ページネーション */
.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  font-family: 'Cormorant Garamond', serif;
}

.page-numbers a,
.page-numbers span {
  display: inline-block;
  padding: 8px 12px;
  text-decoration: none;
  color: #666;
  border: 1px solid #ddd;
  border-radius: 3px;
  transition: all 0.3s;
}

.page-numbers a:hover {
  background-color: #3d6b6b;
  color: #fff;
  border-color: #3d6b6b;
}

.page-numbers .current {
  background-color: #3d6b6b;
  color: #fff;
  border-color: #3d6b6b;
}

.page-numbers .dots {
  border: none;
  padding: 8px 5px;
}

/* ページネーション全体 */
.plp-pagination {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-family: 'Cormorant Garamond', serif;
  flex-wrap: wrap;
}

.plp-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  text-decoration: none;
  color: #666;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
  font-size: 20px;
  font-weight: 500;
}

.plp-pagination .page-numbers:hover {
  background-color: #3d6b6b;
  color: #fff;
  border-color: #3d6b6b;
}

.plp-pagination .page-numbers.current {
  background-color: #3d6b6b;
  color: #fff;
  border-color: #3d6b6b;
  cursor: default;
}

.plp-pagination .page-numbers.dots {
  border: none;
  background: none;
  padding: 0 5px;
  min-width: auto;
}

@media (max-width: 768px) {
  .plp-pagination .page-numbers {
    gap: 5px;
  }
  
  .plp-pagination .page-numbers,
  .plp-pagination .page-numbers.current {
    min-width: 35px;
    height: 35px;
    font-size: 14px;
    padding: 0 8px;
  }
}

/* Fluent Forms - ラベルを左側に配置 */

/* フォーム全体のレイアウト調整 */
.fluentform .ff-el-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 20px;
}

.ff-el-group.ff_submit_btn_wrapper {
    justify-content: center;
}

/* ラベルのスタイル */
.fluentform .ff-el-input--label {
    flex: 0 0 200px; /* ラベルの幅を固定 */
    padding-top: 10px;
    font-weight: normal;
}

/* 必須マークの調整 */
.fluentform .ff-el-input--label .ff-el-is-required {
    color: #e74c3c;
    margin-left: 2px;
}

/* 入力欄のコンテナ */
.fluentform .ff-el-input--content {
    flex: 1;
    max-width: 600px;
}

/* 入力欄 */
.fluentform input[type="text"],
.fluentform input[type="email"],
.fluentform input[type="tel"],
.fluentform textarea,
.fluentform select {
    width: 100%;
}

/* チェックボックス・ラジオボタンの調整 */
.fluentform .ff-el-form-check-input {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fluentform .ff-el-form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* テキストエリアの調整 */
.fluentform textarea {
    min-height: 150px;
    resize: vertical;
}

/* レスポンシブ対応 - スマホでは縦並びに */
@media (max-width: 768px) {
    .fluentform .ff-el-group {
        flex-direction: column;
        gap: 5px;
    }
    
    .fluentform .ff-el-input--label {
        flex: 1;
        text-align: left;
        padding-top: 0;
    }
    
    .fluentform .ff-el-input--content {
        max-width: 100%;
        width: 100%;
    }
}

/* セレクトボックスの調整 */
.fluentform select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* フォーカス時のスタイル */
.fluentform input:focus,
.fluentform textarea:focus,
.fluentform select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
}

/* グリッドレイアウト */
.column-grid {
  display: grid;
  gap: 30px;
  margin-bottom: 50px;
}

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

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

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

/* カード */
.column-card {
  transition: transform 0.3s;
}

.column-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* サムネイル */
.column-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f5f5f5;
  border-radius: 0 0 60px 0;
}

.column-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.column-card:hover .column-thumb img {
  transform: scale(1.1);
}

/* コンテンツ */
.column-content {
  padding: 20px 0;
}

.column-title {
  font-family: 'Zen Old Mincho', serif;
  font-size: 16px;
  font-weight: 400;
  margin: 0 0 12px 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* メタ情報 */
.column-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.column-cat {
  font-family: 'Zen Old Mincho', serif;
  background-color: #3d6b6b;
  color: #fff;
  padding: 3px 12px;
  font-size: 12px;
  white-space: nowrap;
}

.column-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  color: #999;
  margin-left: auto;
}

/* ページネーション */
.column-pagination {
  margin-top: 50px;
}

.column-pagination .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-family: 'Cormorant Garamond', serif;
  flex-wrap: wrap;
}

.column-pagination .page-numbers a,
.column-pagination .page-numbers span.current,
.column-pagination .page-numbers span.dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  text-decoration: none;
  color: #666;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 16px;
  font-weight: 500;
}

.column-pagination .page-numbers a {
  background-color: #fff;
}

.column-pagination .page-numbers a:hover {
  background-color: #3d6b6b;
  color: #fff;
  border-color: #3d6b6b;
}

.column-pagination .page-numbers span.current {
  background-color: #3d6b6b;
  color: #fff;
  border-color: #3d6b6b;
}

.column-pagination .page-numbers span.dots {
  border: none;
  background: none;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .column-grid.columns-3,
  .column-grid.columns-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .column-content {
    padding: 15px 0;
  }
  
  .column-title {
    font-size: 14px;
  }
  
  .column-cat {
    font-size: 11px;
    padding: 2px 10px;
  }
  
  .column-date {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .column-grid.columns-3,
  .column-grid.columns-4,
  .column-grid.columns-2 {
    grid-template-columns: 1fr;
  }
}

.wp-singular .post p,
.wp-singular .page-content p{
    text-align: left;
    color: #333333;
    font-family: "Zen Kaku Gothic New", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 2em;
}

.wp-singular #content {
    padding-bottom: 100px;
}

/* ========================================
   シングルページ ヘッダー部分のスタイル
======================================== */

.page-header {
  text-align: center;
  padding: 60px 20px;
  position: relative;
    font-family: "Zen Old Mincho", Sans-serif;
}

/* 松のアイコン */
.entry-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.entry-icon svg {
  width: 50px;
  height: 50px;
}

/* タイトル */
.entry-title {
    font-size: 30px;
  line-height: 1.6;
  margin: 0 0 20px 0;
  font-weight: 400;
  color: #333;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* カテゴリーバッジ */
.entry-meta-category {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.category-badge {
  display: inline-block;
  background-color: #007475;
  color: #fff;
  padding: 5px 10px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.category-badge:hover {
  background-color: #005a5b;
}

/* 日付 */
.entry-meta-date {
  display: flex;
  justify-content: center;
  align-items: center;
}

.entry-date {
  font-size: 14px;
  color: #666;
  letter-spacing: 0.05em;
	font-family: "Cormorant Garamond", Sans-serif;
    font-size: 16px;
}

/* ========================================
   アイキャッチ画像
======================================== */

.post-thumbnail {
  margin: 0 auto 40px;
  max-width: 1200px;
  padding: 0 20px;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   レスポンシブ対応
======================================== */

@media screen and (max-width: 768px) {
  .page-header {
    padding: 40px 15px;
  }
  
  .entry-icon {
    margin-bottom: 20px;
  }
  
  .entry-title {
    font-size: 22px;
    margin-bottom: 20px;
  }
  
  .category-badge {
    font-size: 13px;
    padding: 5px 16px;
  }
  
  .entry-date {
    font-size: 13px;
  }
}

@media screen and (max-width: 480px) {
  .entry-title {
    font-size: 20px;
  }
  
  .category-badge {
    font-size: 12px;
    padding: 4px 14px;
  }
}

/* ===== Carousel (case_carousel) ===== */
.case-carousel {
  position: relative;
}

.case-carousel .swiper {
  padding: 10px 6px;
}

.case-carousel .swiper-wrapper {
  transition-timing-function: linear !important;
  will-change: transform;
}

.case-carousel .swiper-slide {
  width: 320px !important;
  flex-shrink: 0;
  height: auto;
}

@media (max-width: 1024px) {
  .case-carousel .swiper-slide {
    width: 280px !important;
  }
}

@media (max-width: 767px) {
  .case-carousel .swiper-slide {
    width: 240px !important;
  }
}

.case-carousel .case-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.case-carousel .case-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 30px 0;
  background: #eee;
  aspect-ratio: 16 / 10;
}

.case-carousel .case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .45s ease;
}

.case-carousel .case-card:hover .case-thumb img {
  transform: scale(1.08);
}

/* Hashtag overlay (case_cat) */
.case-carousel .case-tags {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  z-index: 2;
}

.case-carousel .case-tag {
  font-size: 12px;
  line-height: 1;
  padding: 6px 8px;
  background: rgba(256,256,256,.8);
  color: #111;
  position: relative;
}

/* ===== Case Cards Grid ===== */
.case-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

@media (max-width: 1024px) {
  .case-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .case-cards-grid {
    grid-template-columns: 1fr;
  }
}

.case-cards-grid .case-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.case-cards-grid .case-thumb {
  overflow: hidden;
  border-radius: 0 0 30px 0;
  background: #eee;
  aspect-ratio: 16 / 10;
}

.case-cards-grid .case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.case-cards-grid .case-card:hover .case-thumb img {
  transform: scale(1.06);
}

.case-cards-grid .case-body {
  text-align: center;
  padding: 14px 10px 0;
}

.case-cards-grid .case-title {
  font-size: 16px;
  font-family: "Zen Old Mincho", serif;
  color: #355E5B;
  line-height: 1.5;
  margin: 0 0 8px;
}

.case-cards-grid .case-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  color: #355E5B;
  line-height: 1;
  padding: 4px 8px;
  border: 1px solid #007475;
  position: relative;
  margin-bottom: 10px;
}

.case-cards-grid .case-excerpt {
  font-size: 12px;
  line-height: 1.8;
  margin: 0;
  color: #222;
}