/*
Theme Name: ミュナヴァン株式会社
Theme URI: https://myunavan.jp
Author: ミュナヴァン株式会社
Author URI: https://myunavan.jp
Description: ミュナヴァン株式会社のコーポレートサイトテーマ（Kadence風デザイン）
Version: 2.7.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: myunavan
*/

/* おしゃれなカラーパレット */
:root {
  --primary-color: #5D768C;
  --primary-hover: #4a5f73;
  --text-color: #333333;
  --text-light: #666666;
  /* 背景ブラウンを少し白寄りに */
  --bg-color: #FBF6F1;
  --bg-light: #f8f9fa;
  --bg-accent: #f0f4f8;
  --border-color: #e5e7eb;
  --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px 0 rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px 0 rgba(0, 0, 0, 0.12);
  --container-width: 1200px;
  --spacing-unit: 1rem;
}

/* ローディング画面 */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-logo {
  max-width: 160px;
  height: auto;
  object-fit: contain;
}

/* リセットとベーススタイル */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  line-height: 1.6;
  width: 100%;
  overflow-x: hidden;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
  background-color: var(--bg-color);
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-color);
  background-color: var(--bg-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-snap-type: none;
}

body.loading {
  overflow: hidden;
  height: 100vh;
}

/* トップ：会員制ワインバーThais・ミュナヴァンワインクラブ・ぴさみのタイトル跳ねアニメ */
@keyframes titleBounce {
  0%   { transform: translateY(0); }
  35%  { transform: translateY(-8px); }
  60%  { transform: translateY(2px); }
  100% { transform: translateY(0); }
}
/* タイトルブロック全体（.wine-event-header）に適用して確実に表示 */
#thais .wine-event-header,
#wine-event .wine-event-header,
#pisami .wine-event-header {
  animation: titleBounce 0.55s ease-out 1 forwards;
  animation-fill-mode: both;
}
#thais .wine-event-header { animation-delay: 0.1s; }
#wine-event .wine-event-header { animation-delay: 0.25s; }
#pisami .wine-event-header { animation-delay: 0.4s; }

/* モバイル：タイトルが表示位置に来たら下からスライドイン（#thais等はトップのみに存在） */
@media (max-width: 767px) {
  #thais .wine-event-header,
  #wine-event .wine-event-header,
  #pisami .wine-event-header {
    animation: none !important;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease-out, transform 0.55s ease-out;
  }
  #thais .wine-event-header.slide-in-view,
  #wine-event .wine-event-header.slide-in-view,
  #pisami .wine-event-header.slide-in-view {
    opacity: 1;
    transform: translateY(0);
  }
}

/* コンテナ（内容を左右に広げて中央寄りすぎないように） */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.75rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ヘッダー：メニュー背景を完全に透過（PC・モバイル共通）・薄いベージュを残さない */
#site-header.site-header,
.site-header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding-top: 0.65rem; /* 会社ロゴを少し下の位置から始める（上に間隔） */
  transition: none;
}

@media (max-width: 767px) {
  .site-header {
    padding-top: 0.4rem; /* モバイルもロゴを少し下から */
    padding-bottom: 0.15rem;
  }
}

@media (min-width: 768px) {
  .site-header.scrolled,
  .site-header.hide,
  .site-header.show {
    background-color: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    padding-top: 0.3rem !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* WordPress Admin Barがある場合の調整 */
.admin-bar .site-header {
  top: 0 !important;
}

#site-header .site-header-inner,
.site-header-inner {
  padding: 0.25rem 0;
  background-color: transparent !important;
  background: transparent !important;
}

@media (max-width: 767px) {
  .site-header-inner {
    padding: 0.08rem 0;
  }
}

/* 左に会社ロゴ・右にメニュー項目（PC・モバイル共通） */
.header-inner-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  margin: 0;
  padding: 0 1rem;
  background-color: transparent !important;
  background: transparent !important;
}

.site-branding,
.site-logo,
.main-navigation,
.nav-menu,
.nav-menu li {
  background-color: transparent !important;
  background: transparent !important;
}

@media (min-width: 768px) {
  .header-inner-wrap {
    padding: 0 1rem;
    padding-left: 0.4rem; /* PCでもロゴをできるだけ左寄せ */
    padding-right: 2.5rem; /* COMPANY・SERVICE・CONTACTと画面右端の間隔を広く */
    justify-content: flex-start;
  }
  
  .site-branding {
    margin-left: 0;
    padding-left: 0;
    margin-right: 3rem; /* ロゴとメニューの間隔を広く */
  }
  
  /* 会社ロゴのみ少し下から表示（メニューはそのまま） */
  .site-branding .site-logo {
    margin-top: 10px;
  }
  
  .main-navigation {
    margin-left: auto;
  }
}

.site-branding {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

@media (max-width: 767px) {
  .site-branding {
    position: relative;
    top: auto;
    left: auto;
    z-index: 1001;
    margin-left: 0;
    padding-left: 0;
  }
  
  .main-navigation {
    position: relative;
    z-index: 1001;
  }
  
  .mobile-menu-toggle {
    position: relative;
    top: auto;
    right: auto;
    z-index: 1001;
  }
  
  /* 会社ロゴを画面の左端寄りに（後続の上書きを防ぐため !important） */
  .header-inner-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 0 !important;
    padding-right: 0.5rem !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

.site-logo {
  text-decoration: none;
  display: inline-block;
}

.site-logo-image-wrapper {
  width: 120px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

@media (min-width: 768px) {
  .site-logo-image-wrapper {
    width: 140px;
    height: 60px;
  }
}

.site-logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.site-title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.3125rem;
  font-weight: 600;
  color: var(--text-color) !important;
  margin: 0;
  letter-spacing: 0.05em;
}

/* ヘッダーのロゴを非表示 */
#header-logo {
  display: none !important;
}

@media (max-width: 767px) {
  .site-logo-image-wrapper {
    width: 110px;
    height: 44px;
    margin-left: 0; /* ロゴを左画面寄りに */
  }
}

/* WordPress Admin Barを非表示 */
#wpadminbar {
  display: none !important;
}

html.admin-bar,
body.admin-bar {
  margin-top: 0 !important;
}

/* メインナビゲーション */
.main-navigation {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
    margin-left: 2.5rem;
  }
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  display: block;
  padding: 0.5rem 0;
  color: #6B5E56;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  font-family: "Noto Serif JP", serif;
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
}

/* PC：トップ・会社概要は白、それ以外は #6B5E56 */
@media (min-width: 768px) {
  .nav-menu a {
    font-size: 1.125rem;
  }
  /* すべてのページでメニュー文字色を #6B5E56 に統一 */
  body.home .nav-menu a {
    color: #6B5E56;
  }
  body.home .nav-menu a:hover,
  body.home .nav-menu a:focus {
    color: #6B5E56;
    opacity: 0.9;
  }
  body:not(.home) .nav-menu a {
    color: #6B5E56;
  }
  body:not(.home) .nav-menu a:hover,
  body:not(.home) .nav-menu a:focus {
    color: #6B5E56;
    opacity: 0.85;
  }
  .nav-menu a:hover,
  .nav-menu a:focus {
    transform: translateY(-3px);
  }
  .nav-menu a::after {
    display: none;
  }
  .nav-menu a:hover::after,
  .nav-menu a:focus::after {
    display: none;
  }
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a:focus::after {
  width: 100%;
}

/* モバイルメニュー */
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
  margin-top: -0.5rem;
}

@media (max-width: 767px) {
  .mobile-menu-toggle {
    width: 20px;
    height: 20px;
    padding: 0.25rem;
    margin-top: 0.15rem; /* 二本線アイコンを少し下の位置に */
    margin-right: 20px; /* 右端から離して左寄せに見せる */
  }
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-icon {
  display: block;
  width: 20px;
  height: 2px;
  background-color: transparent;
  position: relative;
  transition: background-color 0.2s ease;
}

.mobile-menu-icon::before,
.mobile-menu-icon::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background-color: #6B5E56 !important;
  position: absolute;
  left: 0;
  transition: transform 0.2s ease;
}


.mobile-menu-icon::before {
  top: -6px;
}

.mobile-menu-icon::after {
  top: 6px;
}

@media (max-width: 767px) {
  .mobile-menu-icon {
    width: 14px;
    height: 1.5px;
  }
  
  .mobile-menu-icon::before,
  .mobile-menu-icon::after {
    width: 14px;
    height: 1.5px;
    /* モバイル：ハンバーガー＆閉じるアイコンの線色をブラウンに統一 */
    background-color: #6B5E56 !important;
  }
  
  .mobile-menu-icon::before {
    top: -4px;
  }
  
  .mobile-menu-icon::after {
    top: 4px;
  }
  
  .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon::before {
    transform: rotate(45deg) translate(3px, 3px);
  }
  
  .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon::after {
    transform: rotate(-45deg) translate(3px, -3px);
  }
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon {
  background-color: transparent;
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon::before {
  transform: rotate(45deg) translate(4px, 4px);
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon::after {
  transform: rotate(-45deg) translate(4px, -4px);
}

.mobile-menu {
  display: none;
  border-top: none;
  padding: 1rem 0;
  background-color: var(--bg-color) !important;
  background: var(--bg-color) !important;
}

.mobile-menu.active {
  display: block;
  background-color: var(--bg-color) !important;
  background: var(--bg-color) !important;
}

.mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .mobile-nav-menu {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.mobile-nav-menu li {
  margin: 0;
  border-bottom: none;
}

.mobile-nav-menu a {
  display: block;
  padding: 1rem 0;
  color: #6B5E56;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
  font-family: "Noto Serif JP", serif;
  transition: color 0.2s ease;
  position: relative;
  padding-left: 1rem;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a:focus {
  color: #6B5E56;
  opacity: 0.85;
}

.mobile-nav-menu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.mobile-nav-menu a:hover::before,
.mobile-nav-menu a:focus::before {
  width: 4px;
}

/* サイトコンテンツラッパー */
.site-content-wrapper {
  min-height: calc(100vh - 200px);
}

/* モバイルでのコンテンツ位置
   以前は固定ヘッダー分の余白を入れていたが、現在はヘッダーを固定していないため余白は不要 */
@media (max-width: 767px) {
  .site-content-wrapper {
    padding-top: 0;
  }
}

/* ヒーローセクション：TOP画像を画面一番上から表示（上余白なし） */
body.home {
  padding-top: 0 !important;
}
.hero-section {
  position: relative;
  width: 100%;
  margin-top: -80px; /* ヘッダー分だけ上に重ね、画像が画面上端から見えるように */
  padding-top: 0;
  margin-bottom: 0;
  text-align: center;
  background-color: var(--bg-color);
  overflow: visible;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}

@media (min-width: 768px) {
  .hero-section {
    margin-top: -100px; /* PC：TOP画像を画面上端まで */
  }
}

.hero-frame {
  position: relative;
  width: 100%;
  height: 360px;
  margin: 0 auto;
  overflow: hidden;
  background-color: var(--bg-color);
}

@media (min-width: 768px) {
  .hero-frame {
    height: 700px; /* PC：TOP画像の高さ */
  }
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 0.6s ease;
  z-index: 0;
}

.hero-slide-active {
  opacity: 1;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero-frame:hover .hero-slide-active {
    transform: scale(1.08);
  }
}

/* TOP画像オーバーレイ：左右中央・上下下寄り・アニメーション付きテキスト */
.hero-mission-text {
  position: absolute;
  left: 50%;
  bottom: 12%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
  width: auto;
  max-width: 90%;
  padding: 0;
  display: block;
  pointer-events: none;
  background-color: transparent;
  box-sizing: border-box;
}

/* 人生に、そっと彩りを Myunavan：白の透過の横長帯・文字は中央寄せ */
.hero-mission-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.75);
  padding: 0.75rem 1.5rem 0.75rem 1.5rem;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 2px 12px rgba(107, 94, 86, 0.08);
}

.hero-mission-line1,
.hero-mission-line2 {
  margin: 0;
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 0;
  animation: hero-text-fade-up 1s ease-out forwards;
}

/* バッジ内はブラウン文字でおしゃれに */
.hero-mission-badge .hero-mission-line1,
.hero-mission-badge .hero-mission-line2 {
  color: #6B5E56;
}

.hero-mission-line1 {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: clamp(24px, 5.5vw, 38px);
  margin-bottom: 0;
  animation-delay: 2s;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.hero-mission-line2 {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: clamp(24px, 5.5vw, 40px);
  font-weight: 700;
  animation-delay: 2.25s;
  letter-spacing: 0.2em;
}

@keyframes hero-text-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .hero-mission-text {
    bottom: 14%;
  }
  .hero-mission-line1 {
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
    font-size: 42px;
    margin-bottom: 0;
    font-weight: 600;
  }
  .hero-mission-line2 {
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
    font-size: 46px;
    font-weight: 700;
  }
}

@media (max-width: 767px) {
  .hero-mission-text {
    bottom: 10%;
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .hero-mission-badge {
    padding: 0.6rem 1rem 0.6rem 1rem;
  }
  .hero-mission-line1 {
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
    font-size: 22px;
    margin-bottom: 0;
    font-weight: 600;
    white-space: nowrap;
  }
  .hero-mission-line2 {
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
    font-size: 26px;
    letter-spacing: 0.12em;
    font-weight: 700;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  background: none;
  z-index: 2;
}



/* セクション共通スタイル */
.content-section {
  padding: 5rem 0;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}

@media (min-width: 768px) {
  .content-section {
    padding: 6rem 0;
  }
  
  /* 最初のコンテンツセクション（Concept）を下から始める */
  .content-section:first-of-type {
    padding-top: 7rem;
  }
}

/* 固定メニューとタイトル間を狭く（会社概要・お問い合わせなどサブページ） */
body:not(.home) .site-main > .content-section:first-child {
  padding-top: 2rem;
}
@media (min-width: 768px) {
  body:not(.home) .site-main > .content-section:first-child {
    padding-top: 2.5rem;
  }
}

/* お問い合わせページのみ、さらに上の空間を少し狭く */
body:not(.home) .site-main > .content-section.inquiry-section:first-child {
  padding-top: 1.25rem;
}
@media (min-width: 768px) {
  body:not(.home) .site-main > .content-section.inquiry-section:first-child {
    padding-top: 1.5rem;
  }
}

/* BARのコンセプトセクション */
.concept-section {
  padding: 7rem 0;
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}

/* Thaisセクションとワイン会セクション・ぴさみセクションの間隔を調整（モバイル） */
@media (max-width: 767px) {
  #thais.concept-section {
    padding-top: 3.5rem; /* TOP画像と飲食店運営 Thais の間隔を少し狭く */
    padding-bottom: 40px;
  }
  
  #pisami.concept-section {
    /* ミュナヴァンワインクラブとの間を少し広めに */
    padding-top: 3.5rem;
    padding-bottom: 3rem;
  }
}

.concept-wrapper,
.concept-content,
.concept-image {
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
  visibility: visible !important;
}

@media (min-width: 768px) {
  .concept-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  
  /* トップページの最初のコンセプトセクションを下から始める */
  #concept.concept-section {
    padding-top: 7rem;
    padding-bottom: 5rem;
  }
  
  /* Thaisセクションとワイン会セクションの間隔を調整 */
  #thais.concept-section {
    padding-top: 5rem; /* TOP画像との間隔を広く */
    padding-bottom: 40px;
  }
  
  #pisami.concept-section {
    /* ミュナヴァンワインクラブとの間を少し広めに（PC） */
    padding-top: 5rem;
    padding-bottom: 3rem;
  }
}

/* ミュナヴァンワインクラブセクション：ほんの少しだけ薄いブラウンのレイヤー */
#wine-event {
  /* 全体背景 #F8EFE5 よりごくわずかに濃い、白寄りのごく薄いブラウン */
  background-color: #F6ECE4;
}

/* Conceptページ（Aboutページ）の最初のコンセプトセクション */
.page-template-about .concept-section:first-of-type,
body.page-template-page-about .concept-section:first-of-type {
  padding-top: 10rem;
}

@media (min-width: 768px) {
  .page-template-about .concept-section:first-of-type,
  body.page-template-page-about .concept-section:first-of-type {
    padding-top: 12rem;
  }
}

/* 2つ目のコンセプトセクションの上パディングを小さく */
.concept-section-2 {
  padding-top: 2rem;
}

@media (min-width: 768px) {
  .concept-section-2 {
    padding-top: 2rem;
    padding-bottom: 4rem;
  }
}

/* PROFILEセクション */
.profile-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .profile-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.profile-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
}

@media (max-width: 767px) {
  .profile-wrapper {
    width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }
  
  .profile-content {
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
  }
  
  .profile-text {
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
  }
  
  .profile-text p {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    padding: 0;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  .profile-image {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
  }
  
  .profile-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
  }
  
  .profile-image-placeholder {
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 4 / 3;
    margin: 0 auto;
    padding: 0;
  }
}

@media (min-width: 768px) {
  .profile-wrapper {
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: center;
    justify-items: start;
    padding-left: 3rem;
    max-width: calc(1200px + 3rem);
    margin-left: 0;
  }
}

.profile-image {
  width: 400px;
  flex-shrink: 0;
  align-self: center;
}

.profile-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.profile-image-placeholder {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.875rem;
  border: 2px dashed #ddd;
}

.profile-content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.profile-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 1.5rem 0;
  letter-spacing: 0.02em;
  padding-bottom: 0.4rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-bottom: 2px solid #586488;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
}

@media (max-width: 767px) {
  .profile-title {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 1.5rem auto;
    display: block;
    text-align: center;
  }
}

@media (min-width: 768px) {
  .profile-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

.profile-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 1.5rem 0;
  letter-spacing: 0.05em;
  text-align: left;
}

@media (max-width: 767px) {
  .profile-name {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 768px) {
  .profile-name {
    font-size: 1.125rem;
    margin-bottom: 2rem;
  }
}

.profile-text {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--text-color);
  text-align: left;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

@media (min-width: 768px) {
  .profile-text {
    font-size: 0.9375rem;
    line-height: 2;
  }
}

.profile-text p {
  margin: 0 0 1rem 0;
}

.profile-text p:last-child {
  margin-bottom: 0;
}

.concept-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
}

@media (max-width: 767px) {
  .concept-wrapper {
    width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  
  /* Thaisセクションとワイン会セクションのモバイル表示順序は専用レイアウトで上書きされるため削除 */
  
  .concept-wrapper-reverse {
    display: flex;
    flex-direction: column-reverse;
  }
  
  .concept-content-header,
  .concept-content-text {
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
  }
  
  /* モバイルでタイトル部分の下部マージンを削除、上部マージンを削除 */
  #thais .concept-content-header,
  #wine-event .concept-content-header {
    margin-bottom: 0;
    padding-bottom: 0;
    margin-top: 0;
  }
  
  /* モバイルでタイトルヘッダー部分も上端に */
  #thais .wine-event-header,
  #wine-event .wine-event-header {
    margin-top: 0;
  }
  
  /* モバイルでワイン会セクションのタイトル下の空間を狭く */
  #wine-event .wine-event-header {
    margin-bottom: 0;
    padding-bottom: 0;
  }
  
  /* モバイルで詳細文の最初の段落の上部マージンを削除 */
  #thais .concept-content-text .concept-text,
  #wine-event .concept-content-text .concept-text {
    margin-top: 0;
    padding-top: 0;
  }
  
  #thais .concept-content-text .concept-text p:first-child,
  #wine-event .concept-content-text .concept-text p:first-child {
    margin-top: 0;
    padding-top: 0;
  }
  
  #wine-event .concept-content-text {
    margin-top: 0;
    padding-top: 0;
  }
  
  /* モバイルでタイトルヘッダーと詳細文の間隔を完全に削除 */
  #thais .wine-event-header,
  #wine-event .wine-event-header {
    margin-bottom: 0;
    padding-bottom: 0;
  }
  
  #thais .concept-content-header,
  #wine-event .concept-content-header {
    margin-bottom: 0;
    padding-bottom: 0;
  }
  
  /* モバイルでタイトルコンテナと詳細文コンテナの間隔を完全に削除 */
  #thais .concept-content-header + .concept-content-text,
  #wine-event .concept-content-header + .concept-content-text {
    margin-top: 0;
    padding-top: 0;
  }
  
  #thais .concept-content-text .concept-text,
  #wine-event .concept-content-text .concept-text {
    margin-top: 0;
    padding-top: 0;
  }
  
  #thais .concept-content-text .concept-text p:first-child,
  #wine-event .concept-content-text .concept-text p:first-child {
    margin-top: 0;
    padding-top: 0;
  }
  
  .concept-content {
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
  }
  
  .concept-text {
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    text-align: center;
  }
  
  /* Thaisセクションとワイン会セクションの詳細文を中央寄せ */
  #thais .concept-text,
  #wine-event .concept-text {
    text-align: center;
  }
  
  #thais .concept-content-text .concept-text,
  #wine-event .concept-content-text .concept-text {
    text-align: center;
  }
  
  .concept-text p {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    padding: 0;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  .concept-image {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* Thais・ワイン会セクションのみモバイルで画像をコンテナ幅いっぱいに（崩れ防止） */
  #thais .concept-image,
  #wine-event .concept-image {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  #thais .concept-image img,
  #wine-event .concept-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    object-fit: cover !important;
    display: block !important;
    vertical-align: top !important;
  }
  
  .concept-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
    margin: 0 auto;
    padding: 0;
    object-fit: cover;
  }
  
  .concept-image-placeholder {
    width: 100%;
    max-width: 350px;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    padding: 0;
  }
}

@media (min-width: 768px) {
  .concept-wrapper {
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: start;
    justify-items: start;
    padding-left: 3rem;
    max-width: calc(1200px + 3rem);
    margin-left: 0;
  }
  
  /* Thaisセクションとワイン会セクションで画像とテキストの上端を揃える */
  #thais .concept-wrapper,
  #wine-event .concept-wrapper {
    align-items: start;
  }
  
  /* Wine eventセクション：画像とタイトルの上端を揃える */
  #wine-event .concept-wrapper {
    align-items: start;
  }
  
  #wine-event .concept-image {
    align-self: start;
  }
  
  /* コンセプト2：画像が右、テキストが左 */
  .concept-wrapper-reverse {
    grid-template-columns: 1.5fr 400px;
    padding-left: 0;
    padding-right: 4rem;
    margin-left: auto;
    margin-right: 0;
  }
  
  .concept-wrapper-reverse .concept-content {
    order: 1;
  }
  
  .concept-wrapper-reverse .concept-image {
    order: 2;
    justify-self: end;
    margin-left: 3rem;
  }
}

.concept-image {
  width: 400px;
  flex-shrink: 0;
  align-self: center;
  justify-self: start;
  margin: 0;
  margin-left: 2rem;
}

@media (max-width: 767px) {
  .concept-image {
    margin-left: 0;
    margin-right: 0;
  }
}

.concept-image img {
  width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  display: block;
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  .concept-image img:hover {
    transform: scale(1.05);
  }
}

.concept-image-placeholder {
  width: 400px;
  height: 300px;
  background-color: var(--bg-light);
  border: 2px dashed var(--border-color);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.875rem;
  flex-shrink: 0;
  text-align: center;
  padding: 0.5rem;
}

.concept-content {
  width: 100%;
  padding-left: 2rem;
}

/* 新しい構造用のスタイル（画像なしレイアウトでは no-image ブロックで padding 0 に上書き） */
.concept-content-header,
.concept-content-text {
  width: 100%;
  padding-left: 2rem;
}

/* 画像なしレイアウト：飲食店運営・会員制ワインバーThais・コンセプト詳細の左端を揃える（全幅で適用） */
#thais.concept-section-no-image .concept-content-header,
#thais.concept-section-no-image .concept-content-text,
#wine-event.concept-section-no-image .concept-content-header,
#wine-event.concept-section-no-image .concept-content-text,
#pisami.concept-section-no-image .concept-content-header,
#pisami.concept-section-no-image .concept-content-text {
  padding-left: 0;
  padding-right: 0;
}

/* PC表示でタイトルと詳細文の間隔を完全に削除 */
@media (min-width: 768px) {
  #thais .concept-content-header,
  #wine-event .concept-content-header {
    margin-bottom: 0;
    padding-bottom: 0;
    margin-top: 0;
    align-self: start;
  }
  
  #thais .concept-content-text,
  #wine-event .concept-content-text {
    margin-top: 0;
    padding-top: 0;
  }
  
  /* タイトルヘッダーと詳細文の間隔を完全に削除 */
  #thais .wine-event-header,
  #wine-event .wine-event-header {
    margin-bottom: 0;
    padding-bottom: 0;
    margin-top: 0;
  }
  
  #thais .concept-content-text,
  #wine-event .concept-content-text {
    margin-top: 0;
    padding-top: 0;
  }
  
  #thais .concept-content-text .concept-text,
  #wine-event .concept-content-text .concept-text {
    margin-top: 0;
    padding-top: 0;
  }
  
  #thais .concept-content-text .concept-text p:first-child,
  #wine-event .concept-content-text .concept-text p:first-child {
    margin-top: 0;
    padding-top: 0;
  }
  
  /* PC表示で画像とテキストの上端を揃える */
  #thais .concept-image,
  #wine-event .concept-image {
    align-self: start;
  }
}

@media (max-width: 767px) {
  .concept-content {
    padding-left: 0;
    padding-right: 0;
  }
  
  .concept-content-header,
  .concept-content-text {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (min-width: 768px) {
  .concept-content {
    padding-left: 3rem;
  }
  
  .concept-content-header,
  .concept-content-text {
    padding-left: 3rem;
  }
  
  /* 画像なしレイアウト（Thais・ワイン会・ぴさみ）：右カラムのパディングを0にしてカテゴリ・タイトル・詳細の左端を揃える */
  #thais.concept-section-no-image .concept-content-header,
  #wine-event.concept-section-no-image .concept-content-header,
  #pisami.concept-section-no-image .concept-content-header,
  #thais.concept-section-no-image .concept-content-text,
  #wine-event.concept-section-no-image .concept-content-text,
  #pisami.concept-section-no-image .concept-content-text {
    padding-left: 0;
    padding-right: 0;
  }
  
  /* PC表示では、Thaisセクションとワイン会セクションで元の順序（画像→タイトル→詳細文）を維持 */
  #thais .concept-wrapper,
  #wine-event .concept-wrapper {
    display: grid;
    grid-template-columns: 400px 1fr;
    column-gap: 4rem;
    row-gap: 0;
    align-items: start;
  }
  
  /* PC表示でタイトルと詳細文の間のgapを0に */
  #thais .concept-content-header + .concept-content-text,
  #wine-event .concept-content-header + .concept-content-text {
    margin-top: 0;
    padding-top: 0;
  }
  
  /* PC表示でタイトルヘッダーと詳細文の間隔を完全に削除 */
  #thais .concept-content-header .wine-event-header,
  #wine-event .concept-content-header .wine-event-header {
    margin-bottom: 0;
    padding-bottom: 0;
  }
  
  #thais .concept-content-text,
  #wine-event .concept-content-text {
    margin-top: 0;
    padding-top: 0;
  }
  
  #thais .concept-content-text .concept-text,
  #wine-event .concept-content-text .concept-text {
    margin-top: 0;
    padding-top: 0;
  }
  
  #thais .concept-content-text .concept-text p:first-child,
  #wine-event .concept-content-text .concept-text p:first-child {
    margin-top: 0;
    padding-top: 0;
  }
  
  /* PC表示では画像を左に、コンテンツを右に */
  #thais .concept-image,
  #wine-event .concept-image {
    order: 1;
  }
  
  #thais .concept-content-header,
  #wine-event .concept-content-header {
    order: 2;
  }
  
  #thais .concept-content-text,
  #wine-event .concept-content-text {
    order: 3;
    margin-top: 0;
  }
  
  /* PC表示ではconcept-content-headerとconcept-content-textを縦に並べる */
  #thais .concept-content-header,
  #wine-event .concept-content-header,
  #thais .concept-content-text,
  #wine-event .concept-content-text {
    grid-column: 2;
  }
  
  /* PC表示でタイトルと詳細文の間隔を完全に削除 */
  #thais .concept-content-header,
  #wine-event .concept-content-header {
    margin-bottom: 0;
    padding-bottom: 0;
  }
  
  #thais .concept-content-text,
  #wine-event .concept-content-text {
    margin-top: 0;
    padding-top: 0;
  }
  
  #thais .concept-content-text .concept-text,
  #wine-event .concept-content-text .concept-text {
    margin-top: 0;
    padding-top: 0;
  }
  
  #thais .concept-content-text .concept-text p:first-child,
  #wine-event .concept-content-text .concept-text p:first-child {
    margin-top: 0;
    padding-top: 0;
  }
  
  #thais .concept-image {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
  }
  
  /* ワイン会セクションで画像を少し下に配置 */
  #wine-event .concept-image {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
    margin-top: 40px;
  }
  
  #wine-event .concept-content-header {
    align-self: start;
  }
}

/* =========================================
   Thaisセクション・ワイン会セクション専用レイアウト
   画像の下に白いカードを重ね、その下にコンセプト本文を表示
   ========================================= */

/* PC・モバイル共通：Thais・ワイン会・ぴさみセクションは縦並びレイアウト（ぴさみは no-image で上書き） */
#thais .concept-wrapper,
#wine-event .concept-wrapper,
#pisami .concept-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 840px;
  margin: 0 auto 3rem auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

/* 画像なしレイアウト（Thais・ワイン会・ぴさみ）：ワイン会と同じ構造・同じ幅で中央配置。テキスト幅を広くして改行を減らす */
#thais.concept-section-no-image .concept-wrapper,
#wine-event.concept-section-no-image .concept-wrapper,
#pisami.concept-section-no-image .concept-wrapper {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

#thais.concept-section-no-image .concept-detail-section,
#wine-event.concept-section-no-image .concept-detail-section,
#pisami.concept-section-no-image .concept-detail-section {
  order: unset !important;
  margin: 0 !important;
  max-width: none !important;
}

@media (min-width: 768px) {
  #thais.concept-section-no-image .concept-detail-section,
  #wine-event.concept-section-no-image .concept-detail-section,
  #pisami.concept-section-no-image .concept-detail-section {
    display: grid !important;
    grid-template-columns: 260px 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem 2rem;
    align-items: start;
  }
  #thais.concept-section-no-image .concept-sidebar-logo,
  #wine-event.concept-section-no-image .concept-sidebar-logo,
  #pisami.concept-section-no-image .concept-sidebar-logo {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
  }
  #thais.concept-section-no-image .concept-content-header,
  #wine-event.concept-section-no-image .concept-content-header,
  #pisami.concept-section-no-image .concept-content-header {
    order: unset !important;
    grid-column: 2;
    grid-row: 1;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    z-index: 1 !important;
  }
  #thais.concept-section-no-image .concept-content-text,
  #wine-event.concept-section-no-image .concept-content-text,
  #pisami.concept-section-no-image .concept-content-text {
    order: unset !important;
    grid-column: 2;
    grid-row: 2;
  }
  /* 右カラム：飲食店運営・会員制ワインバーThais・コンセプト詳細の左端を同じ縦の列に揃える（Thais／ワイン会／ぴさみ） */
  #thais.concept-section-no-image .concept-content-header,
  #wine-event.concept-section-no-image .concept-content-header,
  #pisami.concept-section-no-image .concept-content-header {
    padding: 0;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
    max-width: none;
  }
  #thais.concept-section-no-image .wine-event-header,
  #wine-event.concept-section-no-image .wine-event-header,
  #pisami.concept-section-no-image .wine-event-header {
    align-items: flex-start;
    text-align: left;
    padding: 0;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
    margin-left: 0;
    margin-right: 0;
    background-color: transparent;
  }
  #thais.concept-section-no-image .wine-event-category,
  #wine-event.concept-section-no-image .wine-event-category,
  #pisami.concept-section-no-image .wine-event-category,
  #thais.concept-section-no-image .wine-event-title,
  #wine-event.concept-section-no-image .wine-event-title,
  #pisami.concept-section-no-image .wine-event-title {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
  /* ぴさみ：「ワインダイアリー」が変な位置で改行されないようにする */
  #pisami.concept-section-no-image .wine-event-category {
    white-space: nowrap;
  }
  #thais.concept-section-no-image .concept-content-text .concept-text,
  #wine-event.concept-section-no-image .concept-content-text .concept-text,
  #pisami.concept-section-no-image .concept-content-text .concept-text {
    text-align: left;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }
  #thais.concept-section-no-image .concept-content-text,
  #wine-event.concept-section-no-image .concept-content-text,
  #pisami.concept-section-no-image .concept-content-text {
    padding-left: 0;
    padding-right: 0;
  }
  /* タイトルとロゴの上端を揃える（グリッドで既に start のため、ヘッダー余白をなくす） */
  #thais.concept-section-no-image .concept-sidebar-logo,
  #wine-event.concept-section-no-image .concept-sidebar-logo,
  #pisami.concept-section-no-image .concept-sidebar-logo {
    align-self: start;
  }
}

@media (max-width: 767px) {
  #thais.concept-section-no-image .concept-detail-section,
  #wine-event.concept-section-no-image .concept-detail-section,
  #pisami.concept-section-no-image .concept-detail-section {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 1rem !important;
    padding: 0 0.5rem !important; /* 左右いっぱいに文字が入るよう余白を狭く */
  }
  #thais.concept-section-no-image .concept-content-header,
  #wine-event.concept-section-no-image .concept-content-header,
  #pisami.concept-section-no-image .concept-content-header {
    order: 1 !important;
    text-align: center;
    margin: 0 !important;
    margin-top: 0 !important;
  }
  #thais.concept-section-no-image .concept-sidebar-logo,
  #wine-event.concept-section-no-image .concept-sidebar-logo,
  #pisami.concept-section-no-image .concept-sidebar-logo {
    order: 2 !important;
  }
  #thais.concept-section-no-image .concept-content-text,
  #wine-event.concept-section-no-image .concept-content-text,
  #pisami.concept-section-no-image .concept-content-text {
    order: 3 !important;
    text-align: left;
  }
  #thais.concept-section-no-image .wine-event-header,
  #wine-event.concept-section-no-image .wine-event-header,
  #pisami.concept-section-no-image .wine-event-header {
    align-items: center !important;
    text-align: center !important;
  }
  #thais.concept-section-no-image .wine-event-category,
  #wine-event.concept-section-no-image .wine-event-category,
  #pisami.concept-section-no-image .wine-event-category,
  #thais.concept-section-no-image .wine-event-title,
  #wine-event.concept-section-no-image .wine-event-title,
  #pisami.concept-section-no-image .wine-event-title {
    text-align: center !important;
  }
  #thais.concept-section-no-image .concept-content-text .concept-text,
  #wine-event.concept-section-no-image .concept-content-text .concept-text,
  #pisami.concept-section-no-image .concept-content-text .concept-text {
    text-align: left;
  }
}

/* コンセプト画像を横長で表示 */
#thais .concept-image,
#wine-event .concept-image {
  order: 1 !important; /* 最初に表示 */
  width: 100% !important;
  max-width: 840px !important; /* 画像を少し小さく */
  margin: 0 !important;
  grid-column: unset !important; /* PCのgridレイアウトを無効化 */
  grid-row: unset !important;
  position: relative !important;
  z-index: 1 !important; /* 画像を下に配置 */
  overflow: hidden !important; /* ズームエフェクト用：画像の範囲内でのみズーム */
}

#thais .concept-image img,
#wine-event .concept-image img {
  width: 100%;
  height: auto;
  max-height: 380px; /* 高さも少し小さく */
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.5s ease; /* スムーズなズームエフェクト */
  transform-origin: center center; /* 中央を基準にズーム */
}

/* Thaisセクション・ワイン会セクションの画像hover効果：画像表示の中だけでズーム */
@media (min-width: 768px) {
  #thais .concept-image:hover img,
  #wine-event .concept-image:hover img {
    transform: scale(1.1); /* 画像を1.1倍にズーム */
  }
}

/* 白いカード（Thais・ワイン会：画像ありのときだけ画像に重ねるカード用。画像なしレイアウトでは適用しない） */
#thais:not(.concept-section-no-image) .concept-content-header,
#wine-event:not(.concept-section-no-image) .concept-content-header {
  order: 2 !important; /* 画像の後に表示 */
  width: 100% !important;
  max-width: 600px !important; /* 左右の長さをもっと小さく */
  margin: -60px auto 0 auto !important; /* 画像にもっと重なるように上へ */
  padding: 0 !important;
  grid-column: unset !important; /* PCのgridレイアウトを無効化 */
  position: relative !important;
  z-index: 10 !important; /* 白いカードを画像の上に表示 */
}

/* ぴさみ：左ロゴ・右テキストのグリッド用（画像に重ねないため margin / max-width は使わない） */
#pisami .concept-content-header {
  width: 100%;
  padding: 0;
}

/* Thais・ワイン会（画像あり）：画像の上に重なる白いカード風ヘッダー・中央揃え。画像なしレイアウトでは適用しない */
#thais:not(.concept-section-no-image) .wine-event-header,
#wine-event:not(.concept-section-no-image) .wine-event-header {
  background-color: var(--bg-color) !important;
  border-radius: 0 !important;
  padding: 24px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 0.1rem !important;
  margin: 0 !important;
  margin-bottom: 0 !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}

/* カテゴリ・タイトル：画像ありレイアウトでは中央、画像なし（左ロゴ右テキスト）では左揃え */
#thais:not(.concept-section-no-image) .wine-event-category,
#wine-event:not(.concept-section-no-image) .wine-event-category,
#pisami:not(.concept-section-no-image) .wine-event-category {
  font-family: "Noto Serif JP", serif;
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0;
  text-align: center;
}

#thais:not(.concept-section-no-image) .wine-event-title,
#wine-event:not(.concept-section-no-image) .wine-event-title,
#pisami:not(.concept-section-no-image) .wine-event-title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  text-align: center;
}

/* 画像なしレイアウト（Thais・ワイン会・ぴさみ）：カテゴリは左揃え、タイトルは大きく・左揃えで飲食店運営／会員制ワインバーThais／コンセプト詳細の左端を揃える */
#thais.concept-section-no-image .wine-event-category,
#wine-event.concept-section-no-image .wine-event-category,
#pisami.concept-section-no-image .wine-event-category {
  font-family: "Noto Serif JP", serif;
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0;
  text-align: left;
  width: 100%;
  display: block;
  box-sizing: border-box;
}
#thais.concept-section-no-image .wine-event-title,
#wine-event.concept-section-no-image .wine-event-title,
#pisami.concept-section-no-image .wine-event-title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  text-align: left;
  width: 100%;
  display: block;
  box-sizing: border-box;
}

/* コンセプト詳細セクション（ロゴ＋本文）※ぴさみは no-image 用のグリッドで別指定 */
#thais .concept-detail-section,
#wine-event .concept-detail-section {
  order: 3 !important;
  width: 100% !important;
  max-width: 720px !important;
  margin: 2rem auto 0 auto !important;
  grid-column: unset !important;
  position: relative !important;
  z-index: 1 !important;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.5rem;
}

/* ぴさみ：PCではグリッド内で幅いっぱい（上記の no-image ブロックで grid 指定） */
#pisami .concept-detail-section {
  order: unset;
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.5rem;
}

/* PC：コンセプト内容詳細の左側に正方形ロゴ（角丸なし・縁#F8EFE5・ホバーでズーム） */
#thais .concept-sidebar-logo,
#wine-event .concept-sidebar-logo,
#pisami .concept-sidebar-logo {
  flex-shrink: 0;
  width: 260px;
  height: 260px;
  overflow: hidden;
  border-radius: 0;
  border: 4px solid #F8EFE5;
}

#thais .concept-sidebar-logo img,
#wine-event .concept-sidebar-logo img,
#pisami .concept-sidebar-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

#thais .concept-sidebar-logo:hover img,
#wine-event .concept-sidebar-logo:hover img,
#pisami .concept-sidebar-logo:hover img {
  transform: scale(1.05);
}

.concept-sidebar-logo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Serif JP", serif;
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  padding: 0.5rem;
}

/* 本文はカードの下に（detail-section内） */
#thais .concept-detail-section .concept-content-text,
#wine-event .concept-detail-section .concept-content-text,
#pisami .concept-detail-section .concept-content-text {
  order: unset !important;
  flex: 1;
  min-width: 0;
  margin: 0 !important;
  max-width: none !important;
}

#thais .concept-content-text,
#wine-event .concept-content-text,
#pisami .concept-content-text {
  width: 100% !important;
  grid-column: unset !important;
  position: relative !important;
  z-index: 1 !important;
}

/* モバイルでThais・ワイン会セクションのコンテナのパディングを削除（コンセプト画像と同じ表示にする） */
@media (max-width: 767px) {
  #thais.concept-section .container,
  #wine-event.concept-section .container,
  #pisami.concept-section .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  
  /* 画像はコンセプト画像と同じくコンテナ幅100%で中央配置（left/transformは使わない） */
  #thais .concept-image,
  #wine-event .concept-image {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    left: auto !important;
    transform: none !important;
  }
}

@media (max-width: 767px) {
  /* モバイルでもPCと同じレイアウトを維持 */
  #thais .concept-wrapper,
  #wine-event .concept-wrapper,
  #pisami .concept-wrapper {
    margin-bottom: 2.5rem;
    padding: 0 1rem !important; /* コンセプト内容・ワイン会について・ぴさみ説明文の左右に少し余白 */
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    max-width: 100% !important;
    overflow: hidden !important; /* 画像の崩れ防止 */
  }

  #thais .concept-image,
  #wine-event .concept-image {
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 1 !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
  }

  #thais .concept-image img,
  #wine-event .concept-image img {
    width: 100% !important;
    height: auto !important;
    max-height: 380px !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 0 !important;
    transition: transform 0.5s ease !important;
    display: block !important;
  }

  #thais .concept-content-header,
  #wine-event .concept-content-header {
    order: 2 !important; /* 画像の後に表示（白いカード） */
    width: calc(100% - 1.5rem) !important; /* 左右の広さを少し狭く */
    max-width: 560px !important;
    margin: -64px auto 0 auto !important; /* もう少し上に */
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 1rem !important;
    position: relative !important;
    z-index: 10 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  #thais .wine-event-header,
  #wine-event .wine-event-header {
    /* モバイルではカードの背景色をつけず、セクション背景になじませる */
    background-color: transparent !important;
    padding: 20px 16px !important; /* 上下の高さは維持 */
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
    margin: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 20px !important;
    box-shadow: none !important;
  }

  /* モバイル：Thais・Parette・ぴさみのタイトルを少し大きく（22pxに統一） */
  #thais .wine-event-title,
  #wine-event .wine-event-title,
  #pisami .wine-event-title,
  #thais.concept-section-no-image .wine-event-title,
  #wine-event.concept-section-no-image .wine-event-title,
  #pisami.concept-section-no-image .wine-event-title {
    font-family: "Noto Serif JP", serif;
    font-size: 22px !important;
    font-weight: 600;
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #thais .wine-event-category,
  #wine-event .wine-event-category,
  #pisami .wine-event-category {
    text-align: center !important;
    width: 100% !important;
    font-size: 12px; /* モバイル：カテゴリもpxで小さめに統一 */
  }

  /* モバイル：ぴさみのタイトル・カテゴリを左右中央に */
  #pisami .wine-event-header {
    width: 100% !important;
    align-items: center !important;
    text-align: center !important;
  }
  #pisami .wine-event-category,
  #pisami .wine-event-title {
    text-align: center !important;
    width: 100% !important;
  }

  /* モバイル：タイトルの下に正方形ロゴ、その下にコンセプト内容詳細 */
  #thais .concept-detail-section,
  #wine-event .concept-detail-section {
    order: 3 !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 1rem auto 0 auto !important;
    padding: 0 1rem !important;
    gap: 1rem !important;
  }

  #thais .concept-sidebar-logo,
  #wine-event .concept-sidebar-logo,
  #pisami .concept-sidebar-logo {
    width: 240px !important;
    height: 240px !important;
    order: 2 !important;
  }

  #thais .concept-detail-section .concept-content-text,
  #wine-event .concept-detail-section .concept-content-text,
  #pisami .concept-detail-section .concept-content-text {
    order: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 画像なしセクション：モバイルで必ず タイトル(1) → ロゴ(2) → 詳細(3) の順に表示 */
  #thais.concept-section-no-image .concept-detail-section .concept-content-header,
  #wine-event.concept-section-no-image .concept-detail-section .concept-content-header,
  #pisami.concept-section-no-image .concept-detail-section .concept-content-header {
    order: 1 !important;
  }
  #thais.concept-section-no-image .concept-detail-section .concept-sidebar-logo,
  #wine-event.concept-section-no-image .concept-detail-section .concept-sidebar-logo,
  #pisami.concept-section-no-image .concept-detail-section .concept-sidebar-logo {
    order: 2 !important;
  }
  #thais.concept-section-no-image .concept-detail-section .concept-content-text,
  #wine-event.concept-section-no-image .concept-detail-section .concept-content-text,
  #pisami.concept-section-no-image .concept-detail-section .concept-content-text {
    order: 3 !important;
  }

  /* 画像ありレイアウトのみ order を unset（no-image では order 1,2,3 を維持） */
  #thais:not(.concept-section-no-image) .concept-content-text,
  #wine-event:not(.concept-section-no-image) .concept-content-text {
    order: unset !important;
  }
  #thais .concept-content-text,
  #wine-event .concept-content-text,
  #pisami .concept-content-text {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    margin-top: 0 !important;
    position: relative !important;
    z-index: 1 !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    box-sizing: border-box !important;
  }
  
  #thais .concept-content-header + .concept-content-text,
  #wine-event .concept-content-header + .concept-content-text,
  #pisami .concept-content-header + .concept-content-text {
    margin-top: 1rem !important;
  }

  /* モバイル：コンセプト・ワイン会・ぴさみの詳細文を左右いっぱいに・文字を小さく */
  #thais .concept-content-text .concept-text,
  #wine-event .concept-content-text .concept-text,
  #pisami .concept-content-text .concept-text {
    padding-left: 0 !important;
    padding-right: 0 !important;
    font-size: 0.875rem !important;
    line-height: 1.7 !important;
  }
  #thais .concept-content-text .concept-text p,
  #wine-event .concept-content-text .concept-text p,
  #pisami .concept-content-text .concept-text p {
    font-size: 0.875rem !important;
  }
}

.concept-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 1.5rem 0;
  letter-spacing: 0.02em;
  padding-bottom: 0;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-bottom: none;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
}

@media (max-width: 767px) {
  .concept-title {
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  
  .concept-content {
    text-align: center;
  }
  
  .concept-wrapper {
    align-items: center;
    justify-items: center;
  }
}

@media (min-width: 768px) {
  .concept-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    padding-bottom: 0;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

.concept-text {
  font-family: "Noto Serif JP", serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 2.0; /* 文字と文字の間隔を少し広く */
  color: var(--text-color);
  text-align: left;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* モバイルでコンセプト詳細とワイン会詳細を左寄せ */
@media (max-width: 767px) {
  #thais .concept-text,
  #wine-event .concept-text {
    text-align: left;
  }
  
  #thais .concept-content-text .concept-text,
  #wine-event .concept-content-text .concept-text {
    text-align: left;
  }
}

@media (min-width: 768px) {
  .concept-text {
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 2.1; /* PCでも文字と文字の間隔を少し広く */
  }
}

/* Wine eventセクション：文字を太く、少し大きく */
#wine-event .concept-text,
#pisami .concept-text {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 2.0; /* 文字と文字の間隔を少し広く */
}

@media (min-width: 768px) {
  #wine-event .concept-text,
  #pisami .concept-text {
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 2.1; /* PCでも文字と文字の間隔を少し広く */
  }
}

.concept-text p {
  margin: 0 0 1.5rem 0;
}

.concept-text p:first-child {
  margin-top: 0;
}

.concept-text p:last-child {
  margin-bottom: 0;
}

/* Thaisセクションとワイン会セクションで詳細文の最初の段落の上部マージンを削除 */
#thais .concept-text p:first-child,
#wine-event .concept-text p:first-child,
#pisami .concept-text p:first-child {
  margin-top: 0;
  padding-top: 0;
  margin-bottom: 1rem;
}

/* PC表示でタイトル直下に詳細文を配置 */
@media (min-width: 768px) {
  #thais .concept-content-text .concept-text p:first-child,
  #wine-event .concept-content-text .concept-text p:first-child {
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 1rem;
  }
}

/* モバイル表示でもタイトル直下に詳細文を配置 */
@media (max-width: 767px) {
  #thais .concept-content-text .concept-text p:first-child,
  #wine-event .concept-content-text .concept-text p:first-child {
    margin-top: 0;
    padding-top: 0;
  }
}

/* Diaryセクション */
.diary-section {
  padding: 5rem 0;
  display: none;
}

@media (min-width: 768px) {
  .diary-section {
    padding: 6rem 0;
    display: none;
  }
}

.diary-wrapper {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 8rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

@media (max-width: 767px) {
  .diary-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.5rem;
  }
}

.diary-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-left: auto;
  padding-right: 2rem;
  margin-top: 3rem;
  align-self: flex-start;
}

@media (max-width: 767px) {
  .diary-header {
    order: -1;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    padding-right: 0;
    margin-bottom: 1.5rem;
    align-items: center;
    text-align: center;
  }
  
  .diary-view-more {
    text-align: center;
    display: block;
    margin: 0 auto;
  }
}

@media (min-width: 768px) {
  .diary-header {
    margin-top: 4rem;
    padding-right: 3rem;
  }
}

.diary-title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.625rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
  letter-spacing: 0.02em;
  padding-bottom: 0;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-bottom: none;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
}

@media (max-width: 767px) {
  .diary-title {
    width: fit-content;
    max-width: 100%;
  }
}

@media (min-width: 768px) {
  .diary-title {
    font-size: 1.875rem;
    font-weight: 600;
    padding-bottom: 0;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

.wine-event-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  margin-bottom: 0;
  margin-top: 0;
  padding: 16px;
  padding-bottom: 0;
  padding-top: 16px;
  border-radius: 0.25rem;
}

/* カテゴリをタイトルの真上に配置 */
.wine-event-category {
  width: 100%;
  text-align: left;
}

.wine-event-title {
  width: 100%;
  display: flex;
  align-items: center;
}

/* モバイルでタイトル部分の間隔を狭く */
@media (max-width: 767px) {
  .wine-event-header {
    gap: 0.1rem;
  }
  
  /* Thaisセクションとワイン会セクションでタイトル部分の間隔をさらに狭く */
  #thais .wine-event-header,
  #wine-event .wine-event-header {
    gap: 0.1rem;
  }
}

/* Thaisセクションとワイン会セクションでタイトルと詳細文の間隔を最小限に */
#wine-event .wine-event-header {
  margin-bottom: 0;
  padding-bottom: 0;
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 16px;
}

/* Thaisセクションのwine-event-headerは専用レイアウトで上書きされるため除外 */

/* タイトルコンテナと詳細文コンテナの間隔を完全に削除 */
#thais .concept-content-header,
#wine-event .concept-content-header {
  margin-bottom: 0;
  padding-bottom: 0;
}

#thais .concept-content-text,
#wine-event .concept-content-text {
  margin-top: 0;
  padding-top: 0;
}

/* PC表示でタイトルと詳細文の間隔を完全に削除 */
@media (min-width: 768px) {
  #thais .wine-event-header,
  #wine-event .wine-event-header {
    margin-bottom: 0;
    padding-bottom: 0;
  }
  
  #thais .concept-content-header,
  #wine-event .concept-content-header {
    margin-bottom: 0;
    padding-bottom: 0;
  }
  
  #thais .concept-content-text,
  #wine-event .concept-content-text {
    margin-top: 0;
    padding-top: 0;
  }
}

/* モバイル表示でもタイトルと詳細文の間隔を完全に削除 */
@media (max-width: 767px) {
  #thais .wine-event-header,
  #wine-event .wine-event-header {
    margin-bottom: 0;
    padding-bottom: 0;
  }
  
  #thais .concept-content-header,
  #wine-event .concept-content-header {
    margin-bottom: 0;
    padding-bottom: 0;
  }
  
  #thais .concept-content-text,
  #wine-event .concept-content-text {
    margin-top: 0;
    padding-top: 0;
  }
}

/* PC表示でタイトルと詳細文の間隔をさらに狭く */
@media (min-width: 768px) {
  .wine-event-header {
    margin-bottom: 0;
    padding-bottom: 0;
    margin-top: 0;
  }
  
  /* Thaisセクションとワイン会セクションでタイトルヘッダーの下部パディングを削除、上端に揃える */
  #thais .wine-event-header,
  #wine-event .wine-event-header {
    margin-bottom: 0;
    padding-bottom: 0;
    margin-top: 0;
  }
  
  /* タイトル部分のコンテナの下部マージンも削除、上端に揃える */
  #thais .concept-content-header,
  #wine-event .concept-content-header {
    margin-bottom: 0;
    padding-bottom: 0;
    margin-top: 0;
    align-self: start;
  }
  
  /* 詳細文部分の上部マージンとパディングを削除 */
  #thais .concept-content-text,
  #wine-event .concept-content-text {
    margin-top: 0;
    padding-top: 0;
  }
  
  /* 詳細文の最初の段落の上部マージンを削除 */
  #thais .concept-content-text .concept-text,
  #wine-event .concept-content-text .concept-text {
    margin-top: 0;
    padding-top: 0;
  }
  
  /* 詳細文の最初の段落の上部マージンを完全に削除 */
  #thais .concept-content-text .concept-text p:first-child,
  #wine-event .concept-content-text .concept-text p:first-child {
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 1rem;
  }
  
  /* PC表示で画像とテキストの上端を揃える */
  #thais .concept-image,
  #wine-event .concept-image {
    align-self: start;
  }
}

/* Thaisセクションのヘッダー背景色を薄いベージュに */
#thais .wine-event-header {
  background-color: var(--bg-color);
}

/* ワイン会セクションのヘッダー背景色を薄いベージュに */
#wine-event .wine-event-header {
  background-color: var(--bg-color);
}

.wine-event-category {
  font-family: "Noto Serif JP", serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-light);
  margin: 0;
  letter-spacing: 0.02em;
  padding-left: 0;
}

@media (min-width: 768px) {
  .wine-event-category {
    font-size: 1rem;
    font-weight: 600;
    padding-left: 0;
  }
}

.wine-event-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
  letter-spacing: 0.02em;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
  border-bottom: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
}

@media (max-width: 767px) {
  .wine-event-header {
    align-items: flex-start !important;
    width: 100%;
    padding: 0.75rem;
  }
  
  .wine-event-category {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  
  .wine-event-title {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
  }
}

@media (min-width: 768px) {
  .wine-event-title {
    font-size: 1.5rem;
    font-weight: 600;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
  }
}

/* セクション用ブログスタイル */
.section-blog-wrapper {
  margin-top: 3rem;
  padding-top: 2rem;
}

@media (max-width: 767px) {
  .section-blog-wrapper {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
  /* コンセプト内容とブログの上下間隔を狭く */
  #thais .section-blog-wrapper,
  #wine-event .section-blog-wrapper {
    margin-top: 1.25rem;
    padding-top: 1rem;
  }
}

.section-blog-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1.5rem;
}

.section-blog-item-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: background-color 0.2s ease;
}

.section-blog-item-link:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.section-blog-item {
  padding: 1rem 0;
  /* Thais / ミュナヴァンワインクラブのブログ項目の区切り線を少し細く */
  border-bottom: 0.5px solid #6B5E56;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

@media (min-width: 768px) {
  .section-blog-item {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    text-align: left;
  }
}

.section-blog-item-link:last-child .section-blog-item {
  border-bottom: none;
}

.section-blog-date {
  display: flex;
  align-items: center;
  gap: 0.75em;
  font-family: "Noto Serif JP", serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-light);
  margin: 0;
  flex-shrink: 0;
  text-align: left;
}

/* NEW用の幅を常に確保し、日付の開始位置を全行で揃える */
.section-blog-date-prefix {
  display: inline-flex;
  align-items: center;
  width: 3.5em;
  min-width: 3.5em;
  flex-shrink: 0;
}

.section-blog-date-value {
  flex-shrink: 0;
}

/* 最新投稿のみ：日付の左にNEW（文字のみ・Noto Serif JP） */
.section-blog-new-badge {
  display: inline-block;
  font-family: "Noto Serif JP", serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #6B5E56;
  background: none;
  padding: 0;
  vertical-align: middle;
  line-height: 1.2;
}

@media (max-width: 767px) {
  .section-blog-date {
    font-size: 0.8125rem;
    gap: 0.35em;
  }
  .section-blog-date-prefix {
    /* モバイルでは日付の右側にNEWを出すので固定幅は外す */
    width: auto;
    min-width: 0;
    margin-left: 0.35em;
  }
  .section-blog-new-badge {
    font-size: 0.75rem;
  }

  /* モバイル：日付 → NEW の順に表示（NEWは日付の右側） */
  .section-blog-date-value {
    order: 1;
  }
  .section-blog-date-prefix {
    order: 2;
  }
}

@media (min-width: 768px) {
  .section-blog-date {
    width: 10em;
    min-width: 10em;
    text-align: left;
  }
}

.section-blog-title {
  font-family: "Noto Serif JP", serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
  line-height: 1.5;
  flex: 1;
  text-align: left;
}

@media (max-width: 767px) {
  .section-blog-title {
    font-size: 0.8125rem;
    text-align: left;
  }
}

@media (min-width: 768px) {
  .section-blog-title {
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
  }
}

.section-blog-view-more {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 0;
  padding-top: 1rem;
  padding-bottom: 2.5rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* ブログをみるボタンの下の区切り線（一旦非表示） */
#thais .section-blog-view-more::after {
  display: none !important;
}

.section-blog-view-more-link {
  font-family: "Noto Serif JP", serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #6B5E56;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: 1px solid #6B5E56;
  border-radius: 0;
  background: transparent;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  letter-spacing: 0.02em;
}

.section-blog-view-more-link:hover {
  color: var(--bg-color);
  background-color: #6B5E56;
  border-color: #6B5E56;
  transform: translateY(-2px);
}

/* ブログをみる・お知らせをみる・ワイン会の申込はこちら：＞アイコンなし */
.section-blog-view-more-link::after,
.wine-event-join-link::after {
  display: none;
}

/* Thaisセクションとワイン会セクションのブログスタイル（左右に適度な余白） */
#thais .section-blog-wrapper,
#wine-event .section-blog-wrapper {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#thais .section-blog-items,
#wine-event .section-blog-items {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  align-items: stretch;
  padding: 0 1rem;
  box-sizing: border-box;
}

#thais .section-blog-item .section-blog-date,
#wine-event .section-blog-item .section-blog-date,
#thais .section-blog-item .section-blog-title,
#wine-event .section-blog-item .section-blog-title {
  text-align: left;
}

@media (min-width: 768px) {
  #thais .section-blog-wrapper,
  #wine-event .section-blog-wrapper {
    align-items: center;
  }
  
  #thais .section-blog-items,
  #wine-event .section-blog-items {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    align-items: stretch;
  }
}

@media (max-width: 767px) {
  /* モバイル：会員制ワインバーThais・ミュナヴァンワインクラブのブログ部分の左右に空間 */
  #thais .section-blog-wrapper,
  #wine-event .section-blog-wrapper {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    box-sizing: border-box;
  }
  
  #thais .section-blog-items,
  #wine-event .section-blog-items {
    max-width: 100%;
    padding: 0 0.5rem;
    box-sizing: border-box;
  }

  /* モバイル：会員制ワインバーThaisの「ブログをみる」とワインコミュニティの上下の間を狭く */
  #thais .section-blog-view-more {
    padding-bottom: 1rem;
  }
  /* モバイル：「お知らせをみる」とワインダイアリーの上下の間を狭く */
  #wine-event .section-blog-view-more {
    padding-bottom: 1rem;
  }
  #pisami.concept-section {
    padding-top: 3.5rem;
  }
}

/* ぴさみセクションは #pisami.concept-section-no-image でワイン会と同じUI（上記の #thais/#wine-event/#pisami 共通スタイルを参照） */

/* ワイン会入会リンク */
.wine-event-button-wrapper {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

@media (min-width: 768px) {
  #wine-event .wine-event-button-wrapper {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  #wine-event .wine-event-join-link {
    display: inline-block;
    text-align: center;
  }
}

/* ワイン会の申込はこちら：ブログをみる・お知らせをみると同じボタンUIに統一 */
.wine-event-join-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6B5E56;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  font-family: "Noto Serif JP", serif;
  padding: 0.75rem 1.5rem;
  border: 1px solid #6B5E56;
  border-radius: 0;
  background: transparent;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  letter-spacing: 0.02em;
}

.wine-event-join-link:hover {
  color: var(--bg-color);
  background-color: #6B5E56;
  border-color: #6B5E56;
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .wine-event-button-wrapper {
    margin-top: 1.5rem;
    width: 100%;
  }
  
  .wine-event-join-link {
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: center;
  }
}


.diary-view-more {
  font-family: "Noto Serif JP", serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
}

.diary-view-more:hover {
  color: var(--text-color);
}

.diary-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (max-width: 767px) {
  .diary-items {
    order: 0;
  }
}

.diary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-bottom: none;
  transition: background-color 0.2s ease;
}

.diary-item:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.diary-item-content {
  flex: 1;
}

.diary-item-date {
  font-family: "Noto Serif JP", serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light);
  margin: 0 0 0.5rem 0;
}

.diary-item-title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .diary-item-title {
    font-size: 1.1875rem;
    font-weight: 600;
  }
}

.diary-item-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-left: 1rem;
  flex-shrink: 0;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.diary-item-link:hover {
  transform: translateX(4px);
}

.diary-item-link svg {
  width: 24px;
  height: 24px;
}

/* Diary個別投稿ページ（ブログをみる・お知らせをみるの詳細） */
.diary-single-section {
  padding: 8rem 0 11rem;
}

/* モバイル：投稿詳細の下にフッターまで余白を広く */
@media (max-width: 767px) {
  .diary-single-section {
    padding-bottom: 16rem;
  }
}

@media (min-width: 768px) {
  .diary-single-section {
    padding: 10rem 0 13rem;
  }
}

.diary-single-header {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.diary-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  transition: color 0.2s ease;
}

.diary-back-link:hover {
  color: var(--text-color);
}

.diary-back-link svg {
  width: 20px;
  height: 20px;
}

.diary-single-date {
  font-size: 0.875rem;
  color: var(--text-light);
  margin: 0 0 1rem 0;
}

.diary-single-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 2rem 0;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-align: center;
}

@media (min-width: 768px) {
  .diary-single-title {
    font-size: 2rem;
  }
}

.diary-single-content {
  max-width: 800px;
  margin: 0 auto;
  /* ブログ詳細：行間を少し詰める */
  line-height: 1.7;
  text-align: left;
}

/* 1回Enter＝改行だけ（余白はごく小さく）、2回Enter＝空白1行が入るようにする */
.diary-single-content p {
  margin: 0 0 0.2em 0;  /* 通常の段落はほぼ行送りだけ */
}

/* 空の段落（2回Enterでできる行）だけ1行分の高さにする */
.diary-single-content p:empty {
  margin: 0 0 1em 0;
  line-height: 0;
  min-height: 0;
}

.diary-single-content h2,
.diary-single-content h3,
.diary-single-content h4 {
  margin: 2rem 0 1rem;
  font-weight: 600;
  /* 見出しの基本色はテーマカラーを使うが、エディターからのインラインカラー指定を優先させるため !important は付けない */
  color: var(--text-color);
}

.diary-single-content h2 {
  font-size: 1.5rem;
}

.diary-single-content h3 {
  font-size: 1.25rem;
}

.diary-single-content h4 {
  font-size: 1.125rem;
}

.diary-single-content ul,
.diary-single-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
  display: inline-block;
  text-align: left;
}

.diary-single-content li {
  margin: 0.5rem 0;
}

.diary-single-content img {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
  border: 4px solid #F8EFE5;
  display: block;
}

.diary-single-content a {
  color: var(--primary-color);
  text-decoration: underline;
}

.diary-single-content a:hover {
  color: var(--primary-hover);
}

/* Diaryページ（一覧ページ） */
.diary-page-section {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .diary-page-section {
    padding: 6rem 0;
  }
}

.diary-page-wrapper {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 8rem;
}

@media (max-width: 767px) {
  .diary-page-wrapper {
    padding: 0 1.5rem;
  }
}

/* Diaryアコーディオン */
.diary-item-wrapper {
  border-bottom: none;
}

.diary-item-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-left: 1rem;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.3s ease;
}

.diary-item-toggle:hover {
  transform: translateX(4px);
}

.diary-item-toggle.active {
  transform: rotate(90deg);
}

.diary-item-toggle svg {
  width: 24px;
  height: 24px;
  transition: stroke 0.2s ease;
}

.diary-item-toggle:hover svg path,
.diary-item-toggle.active svg path {
  stroke: var(--text-color);
}

/* Diary詳細セクション */
.diary-detail-section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: none;
  animation: fadeIn 0.3s ease;
}

/* モバイル：投稿詳細の下にフッターまで余白を広く（一覧ページ内でタップして開いた詳細） */
@media (max-width: 767px) {
  .diary-page-section .diary-detail-section {
    padding-bottom: 14rem !important;
    margin-bottom: 2rem;
  }
  /* モバイル：ブログ一覧・詳細の左右余白を狭くし、詳細文を左右に広く表示 */
  .diary-page-section .container {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }
  .diary-page-section .diary-page-wrapper {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.diary-detail-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  color: var(--text-color);
}

.diary-detail-body-wrapper {
  display: flex;
  flex-direction: column;
}

.diary-detail-text-wrapper {
  order: 2;
  width: 100%;
}

@media (max-width: 767px) {
  .diary-detail-image-wrapper {
    order: 1;
    margin: 0 auto 2rem auto;
    text-align: center;
    max-width: 600px;
    width: 100%;
  }

  .diary-detail-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    margin: 0 auto;
  }
}

@media (min-width: 768px) {
  .diary-detail-content {
    max-width: 1000px;
  }
  
  .diary-detail-body-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: flex-start;
  }
  
  .diary-detail-image-wrapper {
    order: 2;
    margin: 0;
    max-width: 400px;
    width: 400px;
    flex-shrink: 0;
  }
  
  .diary-detail-image {
    max-width: 400px;
    width: 400px;
    height: 400px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    margin: 0;
  }
  
  .diary-detail-text-wrapper {
    order: 1;
    flex: 1;
    min-width: 0;
  }
  
  /* Thaisブログ・ワイン会ブログ：左テキスト右画像にしない。本文のみ中央・1カラム（画像は本文中に表示） */
  .diary-page-section .diary-detail-body-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .diary-page-section .diary-detail-text-wrapper {
    width: 100%;
    max-width: 100%;
    order: 1;
  }
  .diary-page-section .diary-detail-image-wrapper {
    order: 2;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 2rem auto;
  }
  .diary-page-section .diary-detail-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

.diary-detail-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color);
  text-align: center;
  margin: 0 auto 2rem auto;
  line-height: 1.4;
  letter-spacing: 0.02em;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(93, 118, 140, 0.3);
  display: inline-block;
  width: fit-content;
}

@media (min-width: 768px) {
  .diary-detail-title {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
  }
}

/* ブログ一覧ページ内の詳細表示（タップで開くエリア）は中央揃え・区切り線なし */
.diary-page-section .diary-detail-title {
  border-bottom: none !important;
}

.diary-page-section .diary-detail-section {
  text-align: center;
}

.diary-detail-text {
  text-align: left;
}

/* 1回Enter＝改行だけ、2回Enter＝空白1行 */
.diary-detail-text p {
  margin: 0 0 0.2em 0;
}

.diary-detail-text p:empty {
  margin: 0 0 1em 0;
  line-height: 0;
  min-height: 0;
}

.diary-detail-text p:last-child {
  margin-bottom: 0;
}

.diary-detail-text h2,
.diary-detail-text h3,
.diary-detail-text h4 {
  margin: 1.5rem 0 1rem;
  font-weight: 600;
  color: var(--text-color);
}

.diary-detail-text h2 {
  font-size: 1.25rem;
}

.diary-detail-text h3 {
  font-size: 1.125rem;
}

.diary-detail-text h4 {
  font-size: 1rem;
}

.diary-detail-text ul,
.diary-detail-text ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.diary-detail-text li {
  margin: 0.5rem 0;
}

.diary-detail-text img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border: 4px solid #F8EFE5;
  display: block;
}

/* Thaisブログ・ワイン会ブログ：詳細のメイン画像にも#F8EFE5の縁 */
.diary-page-section .diary-detail-image {
  border: 4px solid #F8EFE5;
  display: block;
}

.diary-detail-text a {
  color: var(--primary-color);
  text-decoration: underline;
}

.diary-detail-text a:hover {
  color: var(--primary-hover);
}

.diary-item-link circle {
  transition: stroke 0.2s ease;
}

.diary-item-link path {
  transition: stroke 0.2s ease;
}

.diary-item-link:hover circle,
.diary-item-link:hover path {
  stroke: var(--text-color);
}

/* Diaryページ */
.diary-page-section {
  padding-top: 8rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .diary-page-section {
    padding-top: 10rem;
    padding-bottom: 5rem;
  }
}

.diary-page-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .diary-page-wrapper {
    padding: 0 2rem;
  }
}

.diary-page-wrapper {
  text-align: left;
}

.diary-page-wrapper .diary-items {
  max-width: 100%;
}

/* Diaryページのコンテナを中央揃え（タイトルのみ） */
.diary-page-section .container {
  text-align: center;
}

/* Diaryページの項目を左寄せ */
.diary-page-section .diary-item {
  text-align: left;
  justify-content: flex-start;
  gap: 2rem;
  position: relative;
  cursor: pointer;
}

.diary-item-link-wrapper {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
}

.diary-item-link-wrapper:hover .diary-item {
  background-color: rgba(0, 0, 0, 0.02);
}

.diary-item-link-wrapper .diary-item {
  cursor: pointer;
}

@media (max-width: 767px) {
  .diary-page-section .diary-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1.5rem 0;
    padding-right: 3rem;
  }
}

.diary-page-section .diary-item-date {
  margin: 0;
  flex-shrink: 0;
  width: 120px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.5em;
  flex-wrap: wrap;
}

/* ブログ一覧：最新投稿のNEW（モバイルは日付の右） */
.diary-item-new-badge {
  font-family: "Noto Serif JP", serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: #6B5E56;
  letter-spacing: 0.05em;
}

@media (max-width: 767px) {
  .diary-page-section .diary-item-date {
    width: auto;
    margin-bottom: 0.25rem;
  }
}

/* PC：NEWを日付の左に・日付は全行とも同じ右位置から統一 */
@media (min-width: 768px) {
  .diary-item-new-badge {
    order: -1;
    margin-right: 0.6em;
  }
  .diary-page-section .diary-item-date {
    gap: 0.75em;
  }
  /* NEWのない行も日付を同じ位置から始める（NEW+間隔分の余白） */
  .diary-page-section .diary-item-wrapper:not(:first-child) .diary-item-date {
    padding-left: 3.5em;
  }
}

.diary-page-section .diary-item-content {
  flex: 1;
  text-align: left;
}

@media (max-width: 767px) {
  .diary-page-section .diary-item-content {
    width: 100%;
  }
}

.diary-page-section .diary-item-title {
  margin: 0;
  text-align: left;
}

@media (max-width: 767px) {
  .diary-page-section .diary-item-title {
    width: 100%;
    white-space: normal;
    word-wrap: break-word;
  }
}

@media (max-width: 767px) {
  .diary-page-section .diary-item-toggle {
    position: absolute;
    top: 1.5rem;
    right: 0;
    margin-left: 0;
  }
}

@media (min-width: 768px) {
  .diary-page-section .diary-item-date {
    width: 150px;
  }
}

/* Thais / ワイン会ブログ一覧タイトル：Noto Serif JP・下線なし（PC・モバイル共通で少し小さめ、px指定） */
.diary-page-section .company-title.blog-page-title,
.diary-page-section .company-title {
  font-family: "Noto Serif JP", serif !important;
  font-weight: 600 !important;
  font-size: 18px !important;
  text-align: center !important;
  margin: 0 auto 3.5rem auto !important;
  width: fit-content;
  max-width: 100%;
  display: inline-block;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

/* ワイン会ブログページ（/wine-event-blog/）の「ミュナヴァンワインクラブ」タイトルはさらに少し小さめ */
.wine-event-blog-page .company-title.blog-page-title {
  font-size: 17px !important;
  font-weight: 600 !important;
}

/* モバイル：タイトルとブログ項目の上下の間隔を狭く＆タイトル文字を少し小さめに */
@media (max-width: 767px) {
  .diary-page-section .company-title.blog-page-title,
  .diary-page-section .company-title {
    font-size: 16px !important;
    margin-bottom: 1.5rem !important;
  }
  /* モバイル：ミュナヴァンワインクラブ（ブログページタイトル）をさらに小さく */
  .wine-event-blog-page .company-title.blog-page-title {
    font-size: 15px !important;
    font-weight: 600 !important;
  }
  .diary-page-section .diary-item {
    padding: 0.75rem 0 !important;
    padding-right: 3rem !important;
  }
  .diary-page-section .diary-detail-text p,
  .diary-page-section .diary-detail-text p:last-child {
    margin-bottom: 0.75rem !important;
  }
  .diary-page-section .diary-detail-text p:last-child {
    margin-bottom: 0 !important;
  }
}

@media (min-width: 768px) {
  .diary-page-section .company-title.blog-page-title,
  .diary-page-section .company-title {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    margin-bottom: 4rem !important;
  }
  /* PC：ワイン会ブログページのタイトルは少し小さく・太さ控えめ */
  .wine-event-blog-page .company-title.blog-page-title {
    font-size: 1.3125rem !important;
    font-weight: 600 !important;
  }
}

/* ブログ一覧ページ（Thais・お知らせ）：項目押す前もPC・モバイルともフッターまで上下余白を広く */
.diary-page-section {
  padding-top: 15rem;
  padding-bottom: 16rem;
}

@media (min-width: 768px) {
  .diary-page-section {
    padding-top: 17rem;
    padding-bottom: 18rem;
  }
}

/* ブログ一覧：項目間の区切り線・タイトル下の線を非表示 */
.diary-page-section .diary-item-wrapper,
.diary-page-section .diary-item {
  border-bottom: none !important;
  border-top: none !important;
}

.diary-page-section .diary-detail-title {
  border-bottom: none !important;
}

/* モバイル：ブログページの文字を全体的に小さく */
@media (max-width: 767px) {
  .diary-page-section .diary-item-date {
    font-size: 0.75rem !important;
  }
  .diary-page-section .diary-item-title {
    font-size: 0.875rem !important;
  }
  .diary-page-section .diary-detail-title {
    font-size: 1rem !important;
  }
  .diary-page-section .diary-detail-text,
  .diary-page-section .diary-detail-text p {
    font-size: 0.8125rem !important;
  }
  .diary-single-section .diary-single-date {
    font-size: 0.75rem !important;
  }
  .diary-single-section .diary-single-title {
    font-size: 1.25rem !important;
  }
  .diary-single-section .diary-single-content,
  .diary-single-section .diary-single-content p {
    font-size: 0.8125rem;
  }
  .diary-single-section .diary-single-content h2 {
    font-size: 1.125rem;
  }
  .diary-single-section .diary-single-content h3 {
    font-size: 1rem;
  }
  .diary-single-section .diary-single-content h4 {
    font-size: 0.9375rem;
  }
}

.section-title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-color) !important;
  text-align: center;
  margin: 0 0 3.5rem 0;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.125rem;
    font-weight: 600;
    margin-bottom: 4.5rem;
  }
}

/* 会社概要ページのタイトル */
.company-section {
  padding-top: 10rem;
}

@media (min-width: 768px) {
  .company-section {
    padding-top: 12rem;
  }
}

.company-title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.1875rem !important;
  font-weight: 600 !important;
  text-align: center !important;
  margin: 0 auto 3.5rem auto !important;
  letter-spacing: 0.02em;
  padding-bottom: 0.4rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-bottom: 2px solid #586488;
  display: inline-block;
}

/* 会社概要ページのタイトルを表示 */
.company-section .company-title {
  border-bottom: none !important;
  padding-bottom: 0 !important;
  display: inline-block !important;
  margin-bottom: 2rem !important;
  margin-top: 2rem !important;
}

@media (min-width: 768px) {
  .company-section .company-title {
    margin-bottom: 2.5rem !important;
    margin-top: 3rem !important;
  }
}

/* 運用事業の紹介セクション */
.business-intro-section {
  padding: 3rem 0;
}

.business-intro-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.business-intro-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.business-intro-image {
  width: 100%;
  max-width: 120px;
  margin-bottom: 1.5rem;
}

.business-intro-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.business-intro-text {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
}

.business-intro-line1,
.business-intro-line2 {
  font-family: "Noto Serif JP", serif;
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #3F4B6F;
  line-height: 1.6;
}

.business-intro-line1 {
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .business-intro-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  
  .business-intro-item {
    position: relative;
    flex-direction: column;
  }
  
  .business-intro-image {
    max-width: 150px;
    margin-bottom: 1.5rem;
    margin-top: 0;
  }
  
  .business-intro-text {
    margin-bottom: 0;
  }
  
  .business-intro-line1,
  .business-intro-line2 {
    font-size: 1rem;
    font-weight: 800;
  }
  
  .business-intro-line1 {
    margin-bottom: 0.75rem;
  }
}

/* プライバシーポリシーページのタイトルのアンダーラインを削除 */
.terms-section .company-title {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

@media (min-width: 768px) {
  .company-title {
    font-size: 1.25rem !important;
    margin-bottom: 4rem !important;
    padding-bottom: 0.5rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* トップ画面のお問い合わせセクションを非表示 */
.content-section.contact-section {
  display: none !important;
}

#contact.contact-section {
  display: none !important;
}

/* お問い合わせページのタイトルとフォームの間隔を少し狭く */
.inquiry-section .company-title {
  margin-bottom: 1.25rem !important;
  margin-top: 0 !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

@media (min-width: 768px) {
  .inquiry-section .company-title {
    margin-bottom: 1.5rem !important;
    margin-top: 0 !important;
  }
}

.inquiry-instruction {
  font-family: "Noto Serif JP", serif;
  font-size: 0.9375rem;
  color: var(--text-light);
  text-align: center;
  margin: 0 auto 1.5rem auto;
  max-width: 520px;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .inquiry-instruction {
    font-size: 0.8125rem;
    margin-bottom: 1.25rem;
  }
}

@media (min-width: 768px) {
  .inquiry-instruction {
    margin-bottom: 2rem;
    font-size: 0.9375rem;
  }
}

/* ワイン会申込：「5日前」を赤文字で強調 */
.inquiry-instruction-highlight {
  color: #e74c3c;
  font-weight: 700;
}

/* お問い合わせ説明文：モバイル用表示・PC用非表示 */
.inquiry-instruction-pc {
  display: none;
}
.inquiry-instruction-mobile {
  display: block;
}
@media (min-width: 768px) {
  .inquiry-instruction-pc {
    display: block;
  }
  .inquiry-instruction-mobile {
    display: none;
  }
}

/* 会社概要セクション */
.company-section .container {
  text-align: center;
}

.company-info-card {
  background-color: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  max-width: 700px;
  margin: 0 auto;
  margin-top: 0;
  transition: none;
  text-align: left;
  display: block;
}

@media (min-width: 768px) {
  .company-info-card {
    margin: 0 auto;
    padding: 0 2rem;
  }
}

.company-info-card:hover {
  box-shadow: none;
  transform: none;
}

@media (min-width: 768px) {
  .company-info-card {
    padding: 0;
  }
}

.company-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}

.company-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

/* モバイル：すべての項目を1行表示 */
@media (max-width: 767px) {
  .company-info-item {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
  
  .company-info-item .company-info-label {
    font-size: 0.8125rem;
    width: auto;
    flex-shrink: 0;
    margin-bottom: 0;
  }
  
  .company-info-item .company-info-value {
    font-size: 0.8125rem;
    margin-left: 0;
    line-height: 1.6;
  }
}

@media (min-width: 768px) {
  .company-info-item {
    flex-direction: row;
    justify-content: flex-start;
    gap: 4rem;
    align-items: start;
    text-align: left;
  }
}

.company-info-label {
  font-family: "Noto Serif JP", serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color) !important;
  margin: 0;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
  width: 180px;
}

@media (min-width: 768px) {
  .company-info-label {
    width: 200px;
  }
}

.company-info-value {
  font-family: "Noto Serif JP", serif;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-color);
  margin: 0;
  margin-left: 1rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .company-info-value {
    margin-left: 2rem;
  }
}

.company-info-value a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.company-info-value a:hover {
  color: var(--primary-hover);
}

/* 利用規約ページ */
.terms-section {
  padding-top: 8rem;
}

@media (min-width: 768px) {
  .terms-section {
    padding-top: 10rem;
  }
}

.terms-content {
  max-width: 800px;
}

/* モバイル：プライバシーポリシー・内容の左右に少し空間 */
@media (max-width: 767px) {
  .terms-section .container {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100%;
    box-sizing: border-box;
  }
  .terms-section .company-info-card.terms-content {
    padding-left: 0;
    padding-right: 0;
  }
  /* タイトルと1. 基本方針の上下間隔を少し小さく */
  .terms-section .company-title {
    margin-bottom: 1.5rem !important;
  }
  .terms-section .terms-section-content:first-child {
    margin-top: 0;
  }
}

.terms-section-content {
  margin-bottom: 2.5rem;
}

.terms-section-content:last-child {
  margin-bottom: 0;
}

.terms-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 1rem 0;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .terms-section-title {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
  }
}

.terms-text {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--text-color);
  margin: 0;
  text-align: left;
}

@media (min-width: 768px) {
  .terms-text {
    font-size: 1rem;
    line-height: 2;
  }
}

.terms-date {
  font-size: 0.875rem;
  color: var(--text-light);
  margin: 3rem 0 0 0;
  text-align: center;
  line-height: 1.8;
}

@media (min-width: 768px) {
  .terms-date {
    font-size: 0.9375rem;
    margin-top: 4rem;
  }
}

/* Thaisについてページ */
.thais-section {
  padding-top: 8rem;
}

@media (min-width: 768px) {
  .thais-section {
    padding-top: 10rem;
  }
}

.thais-about-wrapper {
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .thais-about-wrapper {
    margin-bottom: 4rem;
  }
}

/* Thaisについてページのコンテンツ部分の下マージンを調整 */
.thais-section .thais-about-wrapper {
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .thais-section .thais-about-wrapper {
    margin-bottom: 5rem;
  }
}

/* Thais公式Instagramセクション */
.thais-instagram-wrapper {
  margin-top: 7rem !important;
  margin-bottom: 1rem !important;
  max-width: 100%;
}

@media (min-width: 768px) {
  .thais-instagram-wrapper {
    margin-top: 8rem !important;
    margin-bottom: 1.5rem !important;
  }
}

.thais-concept-wrapper {
  max-width: 100%;
}

@media (max-width: 767px) {
  .thais-concept-wrapper .concept-image {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .thais-concept-wrapper .concept-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
    margin: 0 auto;
  }
  
  .thais-concept-wrapper .concept-image-placeholder {
    width: 100%;
    max-width: 350px;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
  }
}

.thais-about-text {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--text-color);
  text-align: left;
}

@media (min-width: 768px) {
  .thais-about-text {
    font-size: 1rem;
    line-height: 2;
  }
}

.thais-about-text p {
  margin: 0 0 1.5rem 0;
}

.thais-about-text p:last-child {
  margin-bottom: 0;
}

.thais-info-content {
  max-width: 700px;
}

.thais-info-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 2rem 0;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .thais-info-title {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
  }
}

/* ワイン会セクションの専用スタイル */
.wine-event-section {
  padding-bottom: 2rem !important;
}

@media (min-width: 768px) {
  .wine-event-section {
    padding-bottom: 3rem !important;
  }
}

/* ワイン会についてのコンテンツ部分の下マージンを調整 */
.wine-event-section .thais-about-wrapper {
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .wine-event-section .thais-about-wrapper {
    margin-bottom: 5rem;
  }
}

/* ワイン会公式Instagramセクション */
.wine-event-instagram-wrapper {
  margin-top: 7rem !important;
  margin-bottom: 1rem !important;
  max-width: 100%;
}

@media (min-width: 768px) {
  .wine-event-instagram-wrapper {
    margin-top: 8rem !important;
    margin-bottom: 1.5rem !important;
  }
}

/* トップページのInstagramセクション（フッターとの間隔を狭く） */
.instagram-section {
  padding: 0.5rem 0;
}

@media (max-width: 767px) {
  .instagram-section {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    margin-bottom: 0;
  }
}

/* PC/モバイル共通で左右いっぱいに表示するため、コンテナ余白をなくす */
.instagram-section .container {
  padding: 0;
  max-width: 100%;
}

@media (min-width: 768px) {
  .instagram-section {
    padding: 0.75rem 0;
  }
}

/* トップページのお問い合わせセクション */
.contact-section {
  padding: 4rem 0;
  text-align: center;
}

@media (min-width: 768px) {
  .contact-section {
    padding: 5rem 0;
  }
}

.contact-section .contact-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 auto 3rem auto;
  text-align: center;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .contact-section .contact-title {
    font-size: 1.25rem;
    margin-bottom: 4rem;
  }
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-info-wrapper {
    gap: 2rem;
  }
}

.contact-section .contact-info-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0;
  background-color: transparent;
  border: none;
  text-decoration: none;
  color: var(--text-color);
  transition: none;
}

.contact-section .contact-info-item:hover {
  transform: none;
  border: none;
}

.contact-section .contact-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #3F4B6F;
  stroke: #3F4B6F;
}

.contact-section .contact-text {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-color);
  text-decoration: none;
}

@media (min-width: 768px) {
  .contact-section .contact-text {
    font-size: 1.125rem;
  }
}

.contact-section .contact-info-item a.contact-text {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-section .contact-info-item a.contact-text:hover {
  color: var(--primary-color);
}

.instagram-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 100%;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .instagram-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.instagram-item {
  width: 100%;
}

.instagram-item .wine-event-instagram-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.wine-event-instagram-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  aspect-ratio: 21 / 9; /* より横長の長方形（高さを小さく） */
  overflow: hidden;
}

@media (min-width: 768px) {
  .wine-event-instagram-image-wrapper {
    aspect-ratio: 21 / 7; /* より横長で高さを低く */
  }
  /* PC：Thais / ぴさみ Instagram画像にカーソルを乗せると少しズーム */
  .wine-event-instagram-image-wrapper:hover .wine-event-instagram-image {
    transform: scale(1.08);
  }
}

.wine-event-instagram-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.wine-event-instagram-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.5rem;
  background-color: rgba(0, 0, 0, 0.3); /* 画像の上に半透明のオーバーレイ */
}

.wine-event-instagram-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.wine-event-instagram-link:hover {
  opacity: 0.8;
}

.wine-event-instagram-account {
  display: block;
  font-size: 0.875rem;
  color: #F8EFE5;
  margin-top: 0.15rem;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.wine-event-instagram-text {
  color: #F8EFE5;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-shadow: none;
  transition: transform 0.3s ease;
  font-family: "Noto Serif JP", serif;
}

.wine-event-instagram-category {
  display: block;
  font-size: 0.8rem;
  color: #F8EFE5;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.thais-instagram-text,
.wine-event-instagram-text-custom {
  color: #F8EFE5 !important;
  font-size: 1rem !important;
  font-family: "Noto Serif JP", serif !important;
  font-weight: 600 !important;
}

.wine-event-instagram-link:hover .wine-event-instagram-text {
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .wine-event-instagram-text {
    font-size: 1.1rem;
  }
  .thais-instagram-text,
  .wine-event-instagram-text-custom {
    font-size: 1.1rem !important;
  }
}

.wine-event-instagram-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  color: #999;
  font-size: 1rem;
  border: 2px dashed #ddd;
}

/* 事業内容セクション */
.business-grid {
  display: grid;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .business-grid {
    gap: 2.5rem;
  }
}

.business-card {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary-color);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.business-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-left-width: 6px;
}

@media (min-width: 768px) {
  .business-card {
    padding: 3rem;
  }
}

.business-card-title {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text-color) !important;
  margin: 0 0 1.25rem 0;
  letter-spacing: 0.02em;
}

.business-card-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-color);
  margin: 0;
}

.shop-card {
  background: linear-gradient(135deg, var(--bg-accent) 0%, #ffffff 100%);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary-color);
}

.shop-card:hover {
  border-left-width: 6px;
}

.shop-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.shop-icon {
  width: 72px;
  height: 72px;
  background-color: var(--primary-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.shop-logo-wrapper {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-color);
}

.shop-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.shop-info h4 {
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--text-color) !important;
  margin: 0 0 0.5rem 0;
  letter-spacing: 0.02em;
}

.shop-info p {
  font-size: 1rem;
  color: var(--text-light);
  margin: 0;
}

/* お問い合わせセクション */
.contact-card {
  background-color: var(--bg-color);
  border: 1px solid #6B5E56;
  border-radius: 16px;
  padding: 3rem 2rem;
  box-shadow: var(--shadow-sm);
  max-width: 760px;
  margin: 0 auto;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .contact-card {
    padding: 3.5rem 3rem;
  }
}

.contact-title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--text-color) !important;
  margin: 0 0 1.5rem 0;
  text-align: left;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .contact-title {
    font-size: 1.3125rem;
    font-weight: 600;
    margin-bottom: 1.75rem;
  }
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  background-color: transparent;
  border-radius: 0;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.2s ease;
  border: none;
  border-bottom: 1px solid #6B5E56;
}

.contact-info-item:hover {
  color: var(--primary-color);
  border-bottom-color: rgba(93, 118, 140, 0.5);
  transform: translateX(0);
}

.contact-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-color);
}

.contact-info-text {
  font-family: "Noto Serif JP", serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  flex: 1;
}

@media (min-width: 768px) {
  .contact-info-text {
    font-size: 1.0625rem;
    font-weight: 600;
  }
}

/* お問い合わせフォーム（タイトル上の空間を少し狭く・上から始まるように） */
.inquiry-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .inquiry-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.inquiry-form-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

.inquiry-form-card {
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .inquiry-form-card {
    margin-top: 1.5rem;
  }
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.inquiry-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.inquiry-label {
  font-family: "Noto Serif JP", serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  letter-spacing: 0.02em;
  text-align: left;
}

@media (min-width: 768px) {
  .inquiry-label {
    font-size: 1.0625rem;
    font-weight: 600;
  }
}

.required {
  color: #e74c3c;
  margin-left: 0.25rem;
  font-size: 10px;
}

/* ワイン会申込：必須は赤で表示 */

.inquiry-input,
.inquiry-textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  background-color: var(--bg-color);
  border: 1px solid #6B5E56;
  border-radius: 8px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  font-family: "Noto Serif JP", serif;
}

/* お名前・メールアドレス・参加希望日など、四角の囲みの高さを統一（textareaは除く） */
input.inquiry-input,
select.inquiry-input {
  min-height: 3rem;
}

/* PCのみ：参加ご希望日のselectの枠の高さを他入力と完全に統一（ブラウザデフォルトを上書き） */
@media (min-width: 768px) {
  select.inquiry-input,
  .inquiry-select {
    height: 3rem;
    min-height: 3rem;
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
    line-height: 1.25;
    display: block;
  }
}

@media (max-width: 767px) {
  .inquiry-form-group {
    min-width: 0;
    overflow: hidden;
  }
  .inquiry-input,
  .inquiry-textarea {
    min-width: 0;
  }
  input[type="date"].inquiry-input {
    max-width: 100%;
  }
  select.inquiry-input,
  .inquiry-select {
    appearance: auto;
    cursor: pointer;
    padding-right: 2rem;
  }
}

.inquiry-input:focus,
.inquiry-textarea:focus {
  outline: none;
  border-color: #6B5E56;
  box-shadow: 0 0 0 3px rgba(107, 94, 86, 0.2);
}

.inquiry-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.inquiry-input::placeholder,
.inquiry-textarea::placeholder {
  color: #999;
  opacity: 1;
}

.inquiry-submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #6B5E56;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
  font-family: "Noto Serif JP", serif;
}

.inquiry-submit-btn:hover {
  background-color: #5a5049;
  transform: translateY(-1px);
}

.inquiry-submit-btn:active {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .inquiry-submit-btn {
    font-size: 1.0625rem;
    padding: 1.125rem 2rem;
  }
}

.inquiry-radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.25rem;
}

.inquiry-radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Noto Serif JP", serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  cursor: pointer;
}

.inquiry-radio {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #6B5E56;
}

.inquiry-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Noto Serif JP", serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  cursor: pointer;
}

.inquiry-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #6B5E56;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .inquiry-radio-label {
    font-size: 1.0625rem;
    font-weight: 600;
  }
}

.inquiry-error-message {
  display: none;
  font-family: "Noto Serif JP", serif;
  color: #e74c3c;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-top: 0.25rem;
  text-align: left;
}

/* モバイル（お問い合わせフォーム・確認画面）の文字とボタン */
@media (max-width: 767px) {
  .inquiry-label {
    font-size: 0.875rem;
  }

  .inquiry-input,
  .inquiry-textarea {
    font-size: 0.875rem;
    padding: 0.7rem 0.8rem;
  }

  .inquiry-radio-label {
    font-size: 0.8125rem;
  }

  .inquiry-error-message {
    font-size: 0.8125rem;
  }

  .inquiry-confirm-label {
    font-size: 0.875rem;
  }

  .inquiry-confirm-value {
    font-size: 0.875rem;
  }

  /* 戻る・送信する：高さと文字サイズを完全に統一（同じheightで固定） */
  .inquiry-confirm-buttons .inquiry-back-btn,
  .inquiry-confirm-buttons .inquiry-submit-btn {
    font-size: 0.875rem;
    padding: 0 1.25rem;
    height: 2.75rem;
    min-height: 2.75rem;
    line-height: 1.2;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
  }

  /* お問い合わせ内容を確認するボタンは少し大きく（モバイル用） */
  .inquiry-confirm-btn {
    font-size: 1rem;
    padding: 0.85rem 1.25rem;
  }

  /* ワイン会申込：20歳以上チェックの文言を小さく（改行はHTMLで対応） */
  .inquiry-wine-section .inquiry-checkbox-label-age {
    font-size: 0.8125rem;
    text-align: left;
    align-items: flex-start;
  }
  .inquiry-wine-section .inquiry-age-note {
    display: block;
    margin-top: 0.15em;
  }
}

/* ワイン会申込：イベント名のプレースホルダー（薄いグレー） */
.inquiry-wine-section #event_name::placeholder {
  color: #999;
  font-weight: 500;
}

/* ワイン会申込：注意事項ブロック（左右中央寄りにならないよう左揃え） */
.inquiry-notice-block {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  text-align: left;
}
.inquiry-notice-block .inquiry-label {
  margin-bottom: 0.75rem;
  text-align: left;
}
.inquiry-notice-text {
  margin: 0.5rem 0 0.25rem 0;
  font-size: 0.9375rem;
  color: var(--text-color);
  line-height: 1.6;
  text-align: left;
}
.inquiry-notice-block .inquiry-checkbox-label {
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
  text-align: left;
}

/* ワイン会申込：親の中央寄せを上書きして注意事項を左揃え */
.inquiry-wine-section .inquiry-notice-block,
.inquiry-wine-section .inquiry-notice-block .inquiry-label,
.inquiry-wine-section .inquiry-notice-text,
.inquiry-wine-section .inquiry-notice-block .inquiry-checkbox-label {
  text-align: left !important;
}

/* モバイル：ワイン会申込の注意事項ブロックの文字を小さく統一 */
@media (max-width: 767px) {
  .inquiry-wine-section .inquiry-notice-block .inquiry-label,
  .inquiry-wine-section .inquiry-notice-text,
  .inquiry-wine-section .inquiry-notice-block .inquiry-checkbox-label {
    font-size: 0.8125rem;
  }
}

/* モバイル：申し込み内容の確認の文字を小さく・左右に広がるように */
@media (max-width: 767px) {
  .inquiry-confirm-title {
    font-size: 0.9375rem;
  }
  .inquiry-confirm-content {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .inquiry-confirm-label,
  .inquiry-confirm-value,
  .inquiry-confirm-content-text {
    font-size: 0.8125rem;
  }
  /* 「今後のイベント情報を受け取る」など確認項目の文字を統一して小さく */
  .inquiry-section .inquiry-confirm-content .inquiry-confirm-label,
  .inquiry-section .inquiry-confirm-content .inquiry-confirm-value {
    font-size: 0.8125rem;
  }
  /* 確認画面表示時、カードの左右余白も狭めて内容を左右に広げる */
  body.inquiry-confirm-visible .inquiry-section .inquiry-form-card,
  body.inquiry-confirm-visible .inquiry-section .contact-card {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* モバイル：フォーム内「今後のイベント情報を受け取る」チェックの文字を小さく */
@media (max-width: 767px) {
  .inquiry-wine-section .inquiry-form-group .inquiry-checkbox-label:not(.inquiry-checkbox-label-age) {
    font-size: 0.8125rem;
  }
}

/* モバイル：お問い合わせ内容の確認画面表示時、タイトルと説明文を非表示 */
@media (max-width: 767px) {
  body.inquiry-confirm-visible .inquiry-section .company-title,
  body.inquiry-confirm-visible .inquiry-section .inquiry-instruction {
    display: none !important;
  }
}

.inquiry-confirm-btn {
  width: 100%;
  padding: 1.125rem 2.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #F8EFE5;
  background-color: #6B5E56;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  letter-spacing: 0.08em;
  margin-top: 1.5rem;
  font-family: "Noto Serif JP", serif;
}

@media (max-width: 767px) {
  .inquiry-confirm-btn {
    font-size: 0.75rem;
    padding: 1rem 0.5rem;
    white-space: nowrap;
  }
}

.inquiry-confirm-btn:hover {
  background-color: #5a5049;
  color: #F8EFE5;
}

.inquiry-confirm-btn:active {
  background-color: #4d443e;
  color: #F8EFE5;
}

.inquiry-confirm-btn:disabled {
  background-color: #f0f0f0;
  color: #999999;
  cursor: not-allowed;
}

@media (min-width: 768px) {
  .inquiry-confirm-btn {
    font-size: 1.0625rem;
    padding: 1.25rem 3rem;
    border-radius: 14px;
  }
}

.inquiry-confirm-section {
  margin-top: 2rem;
}

.inquiry-confirm-title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 1.5rem 0;
  text-align: center;
  letter-spacing: 0.02em;
  width: 100%;
}

@media (min-width: 768px) {
  .inquiry-confirm-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 2rem;
  }
}

.inquiry-confirm-content {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .inquiry-confirm-content {
    padding: 2rem;
  }
}

.inquiry-confirm-item {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(93, 118, 140, 0.2);
}

.inquiry-confirm-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.inquiry-confirm-label {
  font-family: "Noto Serif JP", serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
  text-align: left;
}

@media (min-width: 768px) {
  .inquiry-confirm-label {
    font-size: 1rem;
    font-weight: 600;
  }
}

.inquiry-confirm-value {
  font-family: "Noto Serif JP", serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  line-height: 1.6;
  word-break: break-word;
  text-align: left;
}

.inquiry-confirm-content-text {
  white-space: pre-wrap;
}

@media (min-width: 768px) {
  .inquiry-confirm-value {
    font-size: 1.0625rem;
    font-weight: 600;
  }
}

.inquiry-confirm-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: stretch;
}

/* 戻る・送信する：PC/モバイル共通で高さを完全に統一（marginをリセットして縦ずれ防止） */
.inquiry-confirm-buttons .inquiry-back-btn,
.inquiry-confirm-buttons .inquiry-submit-btn {
  box-sizing: border-box;
  min-height: 2.75rem;
  height: 2.75rem;
  padding: 0 1.5rem;
  margin: 0;
  font-size: 1.0625rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  flex: 1;
  vertical-align: middle;
}

.inquiry-back-btn {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-color);
  background-color: #f5f5f5;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  letter-spacing: 0.05em;
  font-family: "Noto Serif JP", serif;
}

.inquiry-back-btn:hover {
  background-color: #e8e8e8;
  transform: translateY(-1px);
}

.inquiry-back-btn:active {
  transform: translateY(0);
}

.inquiry-confirm-buttons .inquiry-submit-btn {
  flex: 1;
  margin-top: 0 !important;
}

.inquiry-message {
  font-family: "Noto Serif JP", serif;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.inquiry-message-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.inquiry-message-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* お問い合わせ・ワイン会申込フォーム内：背景・項目を白に（#F8EFE5 ではなく） */
.inquiry-section .inquiry-form-card,
.inquiry-section .contact-card {
  background-color: #fff !important;
}

.inquiry-section .inquiry-input,
.inquiry-section .inquiry-textarea {
  background-color: #fff !important;
}

.inquiry-section .inquiry-confirm-content {
  background-color: #fff !important;
}

/* フッター（Kadence風）（インスタグラムセクションとの間隔を狭く） */
.site-footer {
  background-color: var(--bg-color);
  border-top: none;
  padding: 1rem 0 0 0;
  margin-top: 0;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .site-footer {
    padding-top: 0.15rem;
    margin-top: 0;
  }
  .footer-main {
    margin-top: 0;
    padding-top: 0;
  }
}

.footer-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .footer-content {
    padding: 0 2rem;
  }
}

/* フッターメインコンテンツ（©との間隔を広く） */
.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .footer-main {
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    gap: 3rem;
    margin-bottom: 4rem;
    justify-content: space-between;
  }
}

@media (max-width: 767px) {
  .footer-main {
    flex-direction: row;
    gap: 2rem;
    align-items: flex-start;
    justify-content: space-between;
  }
}

/* フッターロゴ */
.footer-logo {
  flex: 0 0 auto;
}

@media (max-width: 767px) {
  .footer-logo {
    display: none;
  }
}

.footer-logo-image {
  max-width: 80px;
  height: auto;
}

@media (min-width: 768px) {
  .footer-logo-image {
    display: none;
  }
  .footer-logo:has(.footer-logo-image) {
    display: none;
  }
}

.footer-logo-text {
  font-family: "Noto Serif JP", serif;
  font-size: 1.0625rem;
  color: #6B5E56;
  font-weight: 600;
}

/* フッターナビゲーションカラム */
.footer-nav-column {
  flex: 0 0 auto;
}

@media (max-width: 767px) {
  .footer-nav-column {
    flex: 0 0 auto;
  }
}

.footer-nav-column .footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav-link {
  display: inline-block;
  font-size: 0.9375rem;
  color: #6B5E56;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-nav-link:hover,
.footer-nav-link:focus {
  color: #6B5E56;
  opacity: 0.85;
  transform: translateY(-4px); /* 上に跳ねる */
}

/* フッター情報カラム */
.footer-info-column {
  flex: 0 0 auto;
}

@media (max-width: 767px) {
  .footer-info-column {
    flex: 0 0 auto;
    margin-left: auto;
    text-align: left;
  }
}

.footer-info-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (max-width: 767px) {
  .footer-info-links {
    align-items: flex-start;
  }
  
  .footer-info-links li {
    text-align: left;
  }
}

.footer-info-link {
  display: inline-block;
  font-size: 0.9375rem;
  color: #6B5E56;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-info-link:hover,
.footer-info-link:focus {
  color: #6B5E56;
  opacity: 0.85;
  transform: translateY(-4px); /* 上に跳ねる */
}

/* フォント設定（フッター・固定メニュー含め全体で Noto Serif JP に統一） */
.footer-link-en {
  font-family: "Noto Serif JP", serif;
  /* フッター項目（HOME/COMPANY/SERVICE/CONTACT/PRIVACY POLICY）を少し太く */
  font-weight: 700;
}

.footer-text-ja {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
}

.footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.footer-nav-list li {
  margin: 0;
}

.footer-nav-list a {
  display: block;
  font-size: 0.9375rem;
  color: #6B5E56;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 0;
}

@media (max-width: 767px) {
  .footer-nav-list a {
    font-size: 0.9375rem;
  }
}

.footer-nav-list a:hover,
.footer-nav-list a:focus {
  color: #6B5E56;
  opacity: 0.85;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  margin-top: 1rem;
  margin-bottom: 0;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  background-color: #6B5E56;
  position: relative;
}

@media (max-width: 767px) {
  /* モバイル時：© ミュナヴァン株式会社. 行の上下を少し高めに */
  .footer-bottom {
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
  }
}

.footer-copyright {
  font-family: "Noto Serif JP", serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #F8EFE5;
  margin: 0;
  text-align: center;
  padding-top: 0;
  border-top: none;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .footer-bottom {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }
  .footer-copyright {
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
  }
}

/* スライドショーセクション */
.slideshow-section {
  padding: 3rem 0;
}

.slideshow-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.slideshow-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slideshow-track {
  display: flex;
  gap: 1rem;
  will-change: transform;
  /* JS で1枚ずつスライドさせる前提のトランジション */
  transition: transform 0.4s ease-in-out;
}

.slideshow-slide {
  /* PCでは3枚並べて表示（1枚ずつスライド） */
  flex: 0 0 calc(33.333% - 0.67rem);
  min-width: 0;
  height: auto;
}

.slideshow-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 2 / 3;
  opacity: 0.9;
  transition: transform 0.6s ease, box-shadow 0.6s ease, opacity 0.6s ease;
}

/* スライド画像の拡大表示用ライトボックス */
.slideshow-lightbox-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1.5rem;
}

.slideshow-lightbox-content {
  position: relative;
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
}

.slideshow-lightbox-image {
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  display: block;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
}

.slideshow-lightbox-close {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background-color: #F8EFE5;
  color: #6B5E56;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

@media (max-width: 767px) {
  .slideshow-lightbox-overlay {
    padding: 1rem;
  }

  .slideshow-lightbox-close {
    top: -0.5rem;
    right: -0.5rem;
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }
}

/* 表示中のスライドを少し大きく＆ふわっと見せる（JS側でクラス付与予定） */
.slideshow-slide.is-active img {
  opacity: 1;
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

.slideshow-controls {
  display: none;
}

.slideshow-prev,
.slideshow-next {
  display: none;
}

.slideshow-indicators {
  display: none;
}

.slideshow-indicator {
  display: none;
}

@media (min-width: 768px) {
  .slideshow-section {
    padding: 4rem 0;
  }
  
  .slideshow-slide {
    flex: 0 0 calc(33.333% - 0.67rem);
  }
  
  .slideshow-slide img {
    max-height: 500px;
  }
}

@media (max-width: 767px) {
  .slideshow-section {
    padding: 3rem 0;
  }
  
  .slideshow-slide {
    flex: 0 0 calc(50% - 0.5rem);
  }
  
  .slideshow-slide img {
    max-height: 350px;
  }
  
  .slideshow-track {
    gap: 0.75rem;
  }
}

/* すべてのセクション要素を常に表示（アニメーションなし） */
#wine-event .concept-image,
#wine-event .concept-content,
#wine-event .concept-wrapper,
.diary-section .diary-header,
.diary-section .diary-items,
.diary-section .diary-wrapper,
.concept-section .concept-image,
.concept-section .concept-content,
.concept-section .concept-wrapper,
.concept-section-2 .concept-image,
.concept-section-2 .concept-content,
.concept-section-2 .concept-wrapper,
.concept-wrapper,
.concept-wrapper .concept-image,
.concept-wrapper .concept-content,
.content-section {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  visibility: visible !important;
  transition: none !important;
}

/* トップ3セクションのタイトル跳ねアニメ（animation:none のあとで強制適用・PCのみ） */
#thais .wine-event-header,
#wine-event .wine-event-header,
#pisami .wine-event-header {
  animation: titleBounce 0.55s ease-out 1 forwards !important;
  animation-fill-mode: both !important;
}
#thais .wine-event-header { animation-delay: 0.1s !important; }
#wine-event .wine-event-header { animation-delay: 0.25s !important; }
#pisami .wine-event-header { animation-delay: 0.4s !important; }

/* モバイルのみ：タイトルは表示位置に来たら下からスライドイン（上記 titleBounce を上書き） */
@media (max-width: 767px) {
  #thais .wine-event-header,
  #wine-event .wine-event-header,
  #pisami .wine-event-header {
    animation: none !important;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease-out, transform 0.55s ease-out;
  }
  #thais .wine-event-header.slide-in-view,
  #wine-event .wine-event-header.slide-in-view,
  #pisami .wine-event-header.slide-in-view {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 飲食店運営・ワインコミュニティ・ワインダイアリー：ホバー/タップで右に跳ねる（PC・モバイル） */
#thais .wine-event-category,
#wine-event .wine-event-category,
#pisami .wine-event-category {
  display: inline-block;
  transition: transform 0.25s ease !important;
  cursor: default;
}
#thais .wine-event-category:hover,
#wine-event .wine-event-category:hover,
#pisami .wine-event-category:hover,
#thais .wine-event-category:active,
#wine-event .wine-event-category:active,
#pisami .wine-event-category:active {
  transform: translateX(6px);
}

/* 会員制ワインバーThais・ミュナヴァンワインクラブ・ぴさみ：ホバー/タップで右に跳ねる（PC・モバイル） */
#thais .wine-event-title,
#wine-event .wine-event-title,
#pisami .wine-event-title {
  transition: transform 0.25s ease !important;
  cursor: default;
}
#thais .wine-event-title:hover,
#wine-event .wine-event-title:hover,
#pisami .wine-event-title:hover,
#thais .wine-event-title:active,
#wine-event .wine-event-title:active,
#pisami .wine-event-title:active {
  transform: translateX(6px);
}

/* トップ画面全体：セクションのフェードインアップ（PC・モバイル） */
@keyframes sectionFadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.home #thais .concept-detail-section,
body.home #wine-event .concept-detail-section,
body.home #pisami .concept-detail-section {
  opacity: 0;
  animation: sectionFadeInUp 0.7s ease-out forwards !important;
}
body.home #thais .concept-detail-section { animation-delay: 0.15s !important; }
body.home #wine-event .concept-detail-section { animation-delay: 0.35s !important; }
body.home #pisami .concept-detail-section { animation-delay: 0.55s !important; }

body.home #thais .section-blog-wrapper,
body.home #wine-event .section-blog-wrapper {
  opacity: 0;
  animation: sectionFadeInUp 0.6s ease-out forwards !important;
}
body.home #thais .section-blog-wrapper { animation-delay: 0.5s !important; }
body.home #wine-event .section-blog-wrapper { animation-delay: 0.75s !important; }

/* レスポンシブ調整 */
@media (max-width: 767px) {
  .section-title {
    font-size: 1.375rem;
  }
  
  .content-section {
    padding: 3rem 0;
  }
  
  .company-info-card,
  .contact-card {
    padding: 2rem 1.5rem;
  }
}

/* PC：画像なしレイアウトの右カラムを確実に揃える（飲食店運営・会員制ワインバーThais・コンセプト詳細／ワインコミュニティ・ミュナヴァンワインクラブ・コンセプト詳細／ぴさみ） */
@media (min-width: 768px) {
  #thais.concept-section-no-image .concept-content-header,
  #thais.concept-section-no-image .concept-content-text,
  #wine-event.concept-section-no-image .concept-content-header,
  #wine-event.concept-section-no-image .concept-content-text,
  #pisami.concept-section-no-image .concept-content-header,
  #pisami.concept-section-no-image .concept-content-text {
    padding-left: 0;
    padding-right: 0;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
  /* ヘッダーをカラム幅いっぱいに（白いカード用の max-width:600px を適用しない） */
  #thais.concept-section-no-image .concept-content-header,
  #wine-event.concept-section-no-image .concept-content-header,
  #pisami.concept-section-no-image .concept-content-header {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  #thais.concept-section-no-image .wine-event-header,
  #wine-event.concept-section-no-image .wine-event-header,
  #pisami.concept-section-no-image .wine-event-header {
    padding-left: 0;
    padding-right: 0;
  }
  /* カテゴリ・タイトル・詳細文をすべて左揃えで同じ縦の線に */
  #thais.concept-section-no-image .wine-event-category,
  #wine-event.concept-section-no-image .wine-event-category,
  #pisami.concept-section-no-image .wine-event-category,
  #thais.concept-section-no-image .wine-event-title,
  #wine-event.concept-section-no-image .wine-event-title,
  #pisami.concept-section-no-image .wine-event-title {
    text-align: left;
  }
  #thais.concept-section-no-image .concept-content-text .concept-text,
  #wine-event.concept-section-no-image .concept-content-text .concept-text,
  #pisami.concept-section-no-image .concept-content-text .concept-text {
    padding-left: 0;
    padding-right: 0;
    text-align: left;
  }
}

/* ========================================
 * ブログ編集画面：本番と同じ改行・空白行の感覚に（1回Enter＝改行、2回Enter＝空白1行）
 * ======================================== */
.editor-styles-wrapper .wp-block-paragraph {
  margin: 0 0 0.2em 0;
}
.editor-styles-wrapper .wp-block-paragraph:empty {
  margin: 0 0 1em 0;
  line-height: 0;
  min-height: 0;
}