/*
Theme Name: Oishi Gohan Idomu
Description: オリジナルWordPressテーマ
Version: 1.0.0
Text Domain: oishi-gohan-idomu
*/

/* ============================================
   リセット・ベース
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Serif JP', 'YuMincho', 'Yu Mincho', serif;
  color: #333;
  background-color: #fff;
  line-height: 1.8;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ============================================
   ヘッダー
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #fff;
  transition: box-shadow 0.4s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: block;
  line-height: 0;
}

.logo-img {
  height: 36px;
  width: auto;
}

.header-nav-pc {
  display: flex;
  align-items: center;
}

.header-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-menu li a {
  font-family: 'Noto Serif JP', 'YuMincho', 'Yu Mincho', serif;
  font-size: 16px;
  font-weight: 400;
  color: #333;
  letter-spacing: 0.1em;
  transition: opacity 0.3s;
}

.header-menu li a:hover {
  opacity: 0.6;
}

/* ============================================
   ドロワーメニュー（モバイル）
   ============================================ */
.drawer-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.drawer-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #333;
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.drawer-toggle.is-open .drawer-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.drawer-toggle.is-open .drawer-toggle-bar:nth-child(2) {
  opacity: 0;
}

.drawer-toggle.is-open .drawer-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.drawer-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background-color: #fff;
  z-index: 201;
  transition: right 0.3s ease;
  padding: 80px 40px 40px;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
}

.drawer-nav.is-open {
  right: 0;
}

.drawer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer-menu li {
  border-bottom: 1px solid #eee;
}

.drawer-menu li a {
  font-family: 'Noto Serif JP', 'YuMincho', 'Yu Mincho', serif;
  font-size: 15px;
  font-weight: 400;
  color: #333;
  letter-spacing: 0.1em;
  display: block;
  padding: 16px 0;
  transition: opacity 0.3s;
}

.drawer-menu li a:hover {
  opacity: 0.6;
}

.drawer-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 200;
}

.drawer-overlay.is-open {
  display: block;
}

/* ============================================
   キービジュアルセクション
   ============================================ */
.kv {
  width: 100%;
  background-image: url('assets/images/home/hero-back.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.kv-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.kv-image {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   Newsセクション
   ============================================ */
.news {
  padding: 40px 40px 20px;
  background-color: #fff;
}

.news-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.news-heading {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: #333;
  margin-bottom: 16px;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-item {
  padding: 0;
  font-size: 16px;
  color: #555;
}

.news-link {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 6px 0;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s;
}

.news-link:hover {
  opacity: 0.6;
}

.news-date {
  font-family: 'Noto Sans JP', sans-serif;
  color: #888;
  white-space: nowrap;
}

.news-title {
  color: #333;
}

.news-empty {
  font-size: 15px;
  color: #999;
}

/* ============================================
   紹介文セクション
   ============================================ */
.intro-text {
  padding: 60px 40px 80px;
  background-color: #fff;
}

.intro-text-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.intro-heading {
  font-family: 'Noto Serif JP', serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.1em;
  color: #333;
  margin-bottom: 30px;
}

.intro-video {
  max-width: 768px;
  margin: 0 auto 30px;
  aspect-ratio: 16 / 9;
}

.intro-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.intro-body {
  text-align: center;
}

.intro-body p {
  font-size: 16px;
  line-height: 2.2;
  color: #555;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

/* ============================================
   画像ギャラリー上段（2カラム）
   ============================================ */
.gallery-top {
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.gallery-top-left {
  flex: 1;
  padding-top: 40px;
  margin-right: -3%;
  position: relative;
  z-index: 1;
}

.gallery-top-right {
  flex: 1;
}

.gallery-top img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   画像ギャラリーグリッド
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* ============================================
   セクション共通タイトル
   ============================================ */
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-align: center;
  margin-bottom: 16px;
  color: #333;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background-color: #999;
  margin: 16px auto 0;
}

/* ============================================
   上映スケジュールセクション
   ============================================ */
.schedule {
  padding: 80px 40px;
  background-color: #fff;
}

.schedule-inner {
  max-width: 800px;
  margin: 0 auto;
}

.schedule-sub {
  text-align: center;
  font-size: 15px;
  color: #888;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.schedule-stats {
  text-align: center;
  margin-bottom: 40px;
}

.schedule-stats p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 20px;
  /* color: #555; */
  color: #c0392b;
  letter-spacing: 0.05em;
  line-height: 2;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  table-layout: fixed;
}

.schedule-table thead th {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #888;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid #ddd;
  letter-spacing: 0.05em;
}

.schedule-table thead th:nth-child(1) {
  width: 180px;
  white-space: nowrap;
}

.schedule-table thead th:nth-child(2) {
  width: 100px;
}

.schedule-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  color: #444;
  vertical-align: top;
}

.schedule-table tbody tr:nth-child(even) {
  background-color: #fafaf8;
}

.schedule-row {
  cursor: pointer;
  transition: background-color 0.2s;
}

.schedule-table tbody tr.schedule-row:hover {
  background-color: #f5f3ef;
}

.badge-chiko-lecture {
  display: inline-block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: #c0392b;
  border: 1px solid #c0392b;
  border-radius: 4px;
  padding: 0px 6px;
  margin-left: 4px;
  white-space: nowrap;
}

.schedule-empty {
  text-align: center;
  font-size: 16px;
  color: #999;
  padding: 40px 0;
}

.schedule-archive-link {
  text-align: center;
  margin-top: 32px;
}

.schedule-archive-link a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #888;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.schedule-archive-link a:hover {
  color: #333;
}

/* ============================================
   自主上映セクション
   ============================================ */
.self-screening {
  padding: 80px 40px;
  background-color: #faf9f7;
}

.self-screening-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.self-screening-lead {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 500;
  color: #333;
  letter-spacing: 0.12em;
  line-height: 1.8;
  margin-top: 32px;
}

.self-screening-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #888;
  letter-spacing: 0.05em;
  line-height: 2;
  margin-top: 12px;
}

.home-steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  margin: 48px 0 0;
}

.home-step {
  flex: 1;
  max-width: 200px;
  padding: 0 12px;
  text-align: center;
}

.home-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border: 1px solid #c0392b;
  border-radius: 50%;
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 600;
  color: #c0392b;
  letter-spacing: 0.05em;
  line-height: 1;
}

.home-step-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.home-step-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: #888;
  letter-spacing: 0.04em;
  line-height: 1.9;
}

.home-step-connector {
  display: flex;
  align-items: center;
  padding: 0 12px;
}

.home-step-connector::before {
  content: '›';
  font-size: 28px;
  color: #bbb;
  line-height: 1;
}

.screening-cta {
  margin-top: 48px;
}

.cta-button {
  display: inline-block;
  background-color: #c0392b;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 18px 52px;
  border: 2px solid #c0392b;
  transition: background-color 0.3s, color 0.3s;
}

.cta-button:hover {
  background-color: #a93226;
  color: #fff;
}

/* ============================================
   Instagramセクション
   ============================================ */
.instagram-section {
  padding: 80px 0;
  background-color: #fff;
}

.instagram-inner {
  text-align: center;
  max-width: 768px;
  margin: 0 auto;
}

.instagram-heading {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #333;
  margin-bottom: 30px;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.instagram-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* ============================================
   上映スケジュール アーカイブページ
   ============================================ */
.schedule-archive-header {
  background-color: #faf9f7;
  border-bottom: 1px solid #eee;
  padding: 56px 40px 48px;
  position: relative;
}

.schedule-archive-header.has-background {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 40px 64px;
}

.schedule-archive-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.60);
  z-index: 1;
}

.schedule-archive-header-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.schedule-archive-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 26px;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.3em;
  position: relative;
  padding-bottom: 24px;
}

.schedule-archive-title::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background-color: #ccc;
  margin: 20px auto 0;
}

.schedule-archive-section {
  padding: 56px 40px 64px;
  background-color: #fff;
}

.schedule-archive-inner {
  max-width: 800px;
  margin: 0 auto;
}

.schedule-archive-section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
  padding-left: 16px;
  border-left: 3px solid #c0392b;
}

.schedule-archive-past {
  background-color: #faf9f7;
}

.schedule-table-past {
  opacity: 0.7;
}

/* ============================================
   上映スケジュール詳細ページ
   ============================================ */

/* ヘッダー帯 */
.screening-detail-header {
  background-color: #faf9f7;
  border-bottom: 1px solid #eee;
  padding: 56px 40px 48px;
}

.screening-detail-header-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.screening-detail-date {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #999;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.screening-detail-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 26px;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.08em;
  line-height: 1.6;
  position: relative;
  padding-bottom: 24px;
}

.screening-detail-title::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background-color: #ccc;
  margin: 20px auto 0;
}

.screening-detail-venue {
  display: block;
  font-size: 18px;
  font-weight: 400;
  color: #666;
  margin-top: 8px;
  letter-spacing: 0.04em;
}

/* 本文エリア */
.screening-detail-body {
  padding: 56px 40px 64px;
  background-color: #fff;
}

.screening-detail-inner {
  max-width: 700px;
  margin: 0 auto;
}

.screening-detail-ended {
  color: #c0392b;
  background-color: #fdf2f1;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  text-align: center;
  padding: 14px 20px;
  margin-bottom: 40px;
  letter-spacing: 0.08em;
  border-radius: 4px;
}

.screening-detail-chiko-lecture {
  color: #c0392b;
  border: 1px solid #c0392b;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  text-align: center;
  padding: 12px 20px;
  margin-bottom: 40px;
  letter-spacing: 0.08em;
}

.screening-detail-content > p:first-child:empty,
.screening-detail-content > p:first-child br:only-child {
  display: none;
}

.screening-detail-content table {
  width: 100%;
  border-collapse: collapse;
  border: none;
}

.screening-detail-content table[border] {
  border: none;
}

.screening-detail-content th,
.screening-detail-content td {
  border-left: none;
  border-right: none;
  border-top: none;
}

.screening-detail-content th {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: #999;
  text-align: left;
  padding: 20px 20px 20px 0;
  border-bottom: 1px solid #eee;
  vertical-align: top;
  white-space: nowrap;
  width: 72px;
  letter-spacing: 0.08em;
}

.screening-detail-content td {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  color: #444;
  padding: 20px 0 20px 20px;
  border-bottom: 1px solid #eee;
  line-height: 1.9;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.screening-detail-content td a {
  color: #c0392b;
  text-decoration: none;
  transition: opacity 0.3s;
}

.screening-detail-content td a:hover {
  opacity: 0.7;
}

.screening-detail-content iframe {
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  margin-top: 16px;
  border: 1px solid #eee;
}

/* フッター（戻るリンク） */
.screening-detail-footer {
  padding: 0 40px 80px;
  background-color: #fff;
  text-align: center;
}

.screening-detail-footer::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background-color: #ddd;
  margin: 0 auto 40px;
}

.screening-detail-back-link {
  display: inline-block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #888;
  letter-spacing: 0.05em;
  padding: 14px 40px;
  border: 1px solid #ddd;
  transition: background-color 0.3s, color 0.3s;
}

.screening-detail-back-link:hover {
  background-color: #f5f3ef;
  color: #333;
}

/* ============================================
   固定ページ共通ヘッダー
   ============================================ */
.page-header {
  background-color: #faf9f7;
  border-bottom: 1px solid #eee;
  padding: 56px 40px 48px;
  position: relative;
}

.page-header.has-thumbnail {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 40px 64px;
}

.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.60);
  z-index: 1;
}

.page-header-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.page-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 26px;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.3em;
  position: relative;
  padding-bottom: 24px;
}

.page-title::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background-color: #ccc;
  margin: 20px auto 0;
}

/* ============================================
   ニュース詳細ページ
   ============================================ */
.news-detail-header {
  background-color: #faf9f7;
  border-bottom: 1px solid #eee;
  padding: 56px 40px 48px;
}

.news-detail-header-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.news-detail-date {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #999;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.news-detail-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 26px;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.08em;
  line-height: 1.6;
  position: relative;
  padding-bottom: 24px;
}

.news-detail-title::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background-color: #ccc;
  margin: 20px auto 0;
}

.news-detail-body {
  padding: 56px 40px 64px;
  background-color: #fff;
}

.news-detail-inner {
  max-width: 700px;
  margin: 0 auto;
}

.news-detail-content {
  font-size: 16px;
  line-height: 2;
  color: #444;
}

.news-detail-content a {
  color: #c0392b;
  transition: opacity 0.3s;
}

.news-detail-content a:hover {
  opacity: 0.7;
}

.news-detail-footer {
  padding: 0 40px 80px;
  background-color: #fff;
  text-align: center;
}

.news-detail-footer::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background-color: #ddd;
  margin: 0 auto 40px;
}

.news-detail-back-link {
  display: inline-block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #888;
  letter-spacing: 0.05em;
  padding: 14px 40px;
  border: 1px solid #ddd;
  transition: background-color 0.3s, color 0.3s;
}

.news-detail-back-link:hover {
  background-color: #f5f3ef;
  color: #333;
}

/* ============================================
   固定ページ本文
   ============================================ */
.page-section {
  padding: 56px 40px 64px;
  background-color: #fff;
}

.page-inner {
  max-width: 800px;
  margin: 0 auto;
}

/* ============================================
   フッター
   ============================================ */
.site-footer {
  background-color: #c0392b;
  color: #fff;
}

.footer-inner {
  padding: 20px 40px;
  text-align: center;
}

.footer-copy {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #fff;
  letter-spacing: 0.05em;
}

/* ============================================
   Contact Form 7 フォーム
   ============================================ */
.page-inner .wpcf7 {
  max-width: 600px;
  margin: 0 auto;
}

/* --- 各項目ブロック --- */
.wpcf7-form .form-field {
  display: block;
  margin-bottom: 32px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  color: #555;
  letter-spacing: 0.04em;
  line-height: 1.8;
}

/* --- 見出しラベル --- */
.wpcf7-form .form-field > label {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

/* --- 必須バッジ --- */
.wpcf7-form .form-field > label span.required {
  display: inline-block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  background-color: #c0392b;
  padding: 2px 8px;
  margin-left: 8px;
  letter-spacing: 0.06em;
  vertical-align: middle;
  line-height: 1.4;
}

/* --- 補助テキスト (.cm) --- */
.wpcf7-form span.cm {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: #999;
  letter-spacing: 0.04em;
  line-height: 1.8;
  margin-bottom: 8px;
}

/* --- テキスト入力・テキストエリア・セレクト --- */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="date"],
.wpcf7-form input[type="number"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  color: #333;
  background-color: #faf9f7;
  border: 1px solid #ddd;
  padding: 14px 16px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form input[type="date"]:focus,
.wpcf7-form input[type="number"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  outline: none;
  border-color: #999;
  background-color: #fff;
}

.wpcf7-form textarea {
  min-height: 180px;
  resize: vertical;
}

.wpcf7-form select {
  cursor: pointer;
}

/* --- ラジオボタン・チェックボックス共通 --- */
.wpcf7-form input[type="checkbox"],
.wpcf7-form input[type="radio"] {
  margin-right: 6px;
  accent-color: #c0392b;
  flex-shrink: 0;
}

.wpcf7-form .wpcf7-radio label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #555;
}

.wpcf7-form .wpcf7-list-item {
  display: inline-block;
  margin: 0 16px 4px 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  color: #555;
}

/* --- 承諾確認：チェックボックスとテキスト横並び --- */
.wpcf7-form .acceptance-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 12px;
}

.wpcf7-form .acceptance-row .wpcf7-form-control-wrap {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
  margin-top: 2px;
}

.wpcf7-form .acceptance-row .wpcf7-acceptance {
  display: inline;
}

.wpcf7-form .acceptance-row .wpcf7-acceptance .wpcf7-list-item {
  display: inline;
  margin: 0;
}

/* --- 注釈テキスト (.form-note) --- */
.wpcf7-form .form-note {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #c0392b;
  line-height: 1.9;
  margin-bottom: 24px;
}

/* --- 送信ボタン --- */
.wpcf7-form input[type="submit"] {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 48px auto 0;
  background-color: #c0392b;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 18px 52px;
  border: 2px solid #c0392b;
  cursor: pointer;
  transition: background-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: #a93226;
}

.wpcf7-form input[type="submit"]:disabled {
  background-color: #ccc;
  border-color: #ccc;
  cursor: not-allowed;
}

/* --- バリデーション --- */
span.wpcf7-not-valid-tip {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: #c0392b;
  margin-top: 6px;
}

.wpcf7-form .wpcf7-not-valid {
  border-color: #c0392b;
}

/* --- レスポンスメッセージ --- */
div.wpcf7-response-output {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  text-align: center;
  padding: 16px 20px;
  margin: 32px 0 0;
  letter-spacing: 0.04em;
}

div.wpcf7-mail-sent-ok {
  border-color: #398f14;
  color: #398f14;
  background-color: #f6faf3;
}

div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing {
  border-color: #c0392b;
  color: #c0392b;
  background-color: #fdf5f4;
}

div.wpcf7-mail-sent-ng,
div.wpcf7-aborted,
div.wpcf7-spam-blocked {
  border-color: #c0392b;
  color: #c0392b;
  background-color: #fdf5f4;
}

/* ============================================
   レスポンシブ
   ============================================ */
@media screen and (max-width: 1023px) {
  .header-inner {
    padding: 26px 60px 26px 20px;
  }

  .logo-img {
    height: 22px;
  }

  .header-nav-pc {
    display: none;
  }

  .drawer-toggle {
    display: block;
    position: fixed;
    top: 16px;
    right: 20px;
    z-index: 202;
  }

  .drawer-nav {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  /* News */
  .news {
    padding: 30px 20px 15px;
  }

  .news-item {
    flex-direction: column;
    gap: 2px;
    text-align: left;
    font-size: 14px;
  }

  .news-link {
    flex-direction: column;
    gap: 2px;
  }

  /* 紹介文 */
  .intro-text {
    padding: 40px 24px 60px;
  }

  .intro-heading {
    font-size: 20px;
  }

  /* 画像ギャラリー */
  /* .gallery-top {
    flex-direction: column;
  }

  .gallery-top-left {
    padding-top: 0;
  } */

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

  /* 上映スケジュール */
  .schedule {
    padding: 60px 20px;
  }

  .schedule-table {
    font-size: 12px;
  }

  .schedule-table thead th:nth-child(1) {
    width: 120px;
  }

  .schedule-table thead th:nth-child(2) {
    width: 60px;
  }

  .schedule-table thead th,
  .schedule-table tbody td {
    padding: 8px 0px;
  }

  /* 自主上映 */
  .self-screening {
    padding: 60px 24px;
  }

  .self-screening-lead {
    font-size: 18px;
  }

  .home-steps {
    flex-direction: column;
    align-items: center;
  }

  .home-step {
    max-width: 280px;
    padding: 0;
    margin-bottom: 8px;
  }

  .home-step-number {
    width: 48px;
    height: 48px;
    font-size: 20px;
    margin-bottom: 10px;
  }

  .home-step-title {
    font-size: 16px;
  }

  .home-step-connector {
    height: auto;
    padding: 4px 0;
    justify-content: center;
  }

  .home-step-connector::before {
    display: block;
    transform: rotate(90deg);
    margin-left: 0.3em;
  }

  /* Instagram */
  .instagram-section {
    padding: 60px 0;
  }

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

  /* フッター */
  .footer-inner {
    padding: 16px 20px;
  }

  /* 上映スケジュール アーカイブページ */
  .schedule-archive-header {
    padding: 40px 20px 32px;
  }

  .schedule-archive-header.has-background {
    padding: 60px 20px 48px;
  }

  .schedule-archive-title {
    font-size: 20px;
    padding-bottom: 20px;
  }

  .schedule-archive-title::after {
    margin-top: 16px;
  }

  .schedule-archive-section {
    padding: 40px 20px 48px;
  }

  .schedule-archive-section-title {
    font-size: 16px;
  }

  /* 上映スケジュール詳細ページ */
  .screening-detail-header {
    padding: 40px 20px 32px;
  }

  .screening-detail-title {
    font-size: 20px;
    padding-bottom: 20px;
  }

  .screening-detail-title::after {
    margin-top: 16px;
  }

  .screening-detail-venue {
    font-size: 14px;
  }

  .screening-detail-body {
    padding: 40px 20px 48px;
  }

  .screening-detail-content th {
    display: block;
    padding: 16px 0 4px;
    border-bottom: none;
    width: auto;
  }

  .screening-detail-content td {
    display: block;
    padding: 4px 0 16px;
    border-bottom: 1px solid #eee;
  }

  .screening-detail-footer {
    padding: 32px 20px 60px;
  }

  .screening-detail-back-link {
    font-size: 13px;
    padding: 12px 32px;
  }

  /* ニュース詳細ページ */
  .news-detail-header {
    padding: 40px 20px 32px;
  }

  .news-detail-title {
    font-size: 20px;
    padding-bottom: 20px;
  }

  .news-detail-title::after {
    margin-top: 16px;
  }

  .news-detail-body {
    padding: 40px 20px 48px;
  }

  .news-detail-footer {
    padding: 32px 20px 60px;
  }

  .news-detail-back-link {
    font-size: 13px;
    padding: 12px 32px;
  }

  /* 固定ページ共通ヘッダー */
  .page-header {
    padding: 40px 20px 32px;
  }

  .page-header.has-thumbnail {
    padding: 60px 20px 48px;
  }

  .page-title {
    font-size: 20px;
    padding-bottom: 20px;
  }

  .page-title::after {
    margin-top: 16px;
  }

  /* 固定ページ本文 */
  .page-section {
    padding: 40px 20px 48px;
  }

  /* Contact Form 7 フォーム */
  .wpcf7-form .form-field {
    margin-bottom: 24px;
  }

  .wpcf7-form .form-field > label {
    font-size: 17px;
  }

  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form input[type="url"],
  .wpcf7-form input[type="date"],
  .wpcf7-form input[type="number"],
  .wpcf7-form textarea,
  .wpcf7-form select {
    font-size: 16px;
    padding: 12px 14px;
  }

  .wpcf7-form .acceptance-row {
    font-size: 14px;
  }

  .wpcf7-form input[type="submit"] {
    font-size: 16px;
    padding: 16px 40px;
    max-width: 100%;
  }
}

/* GoogleのreCAPTCHA対応 */
.grecaptcha-badge { visibility: hidden; }
