@charset "UTF-8";

/* ==========================================
   Google Fonts の読み込み
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;700&display=swap');

/* ==========================================
   CSS変数 (カラーシステム・フォント設定)
   ========================================== */
:root {
  --primary-color: #d28c84; /* 温かみのあるくすみローズ */
  --primary-hover: #c17b73;
  --primary-light: #fbf5f4;
  --accent-color: #8c5b52;
  --text-color: #4a3e3d; /* 少し温かみのあるダークグレー */
  --text-dark: #2c2221;
  --text-muted: #7d706e;
  --bg-color: #fbf9f6; /* 優しいオフホワイト */
  --card-bg: #ffffff;
  --border-color: #e8ded4;
  --shadow-color: rgba(140, 91, 82, 0.08);
  
  --font-serif: 'Noto Serif JP', 'Yu Mincho', 'MS Mincho', serif;
  --font-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
}

/* ==========================================
   ベース・リセットスタイル
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s, opacity 0.3s;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* ==========================================
   レイアウトコンテナ
   ========================================== */
.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

/* ==========================================
   ヘッダー (ビジュアル・ロゴ)
   ========================================== */
.header {
  text-align: center;
  margin-bottom: 24px;
}

.logo-area {
  background-color: #ffffff;
  border: 3px double #adc3df; /* 上品なブルーグレーのダブルボーダー */
  border-radius: 8px;
  padding: 12px 16px; /* 縦の余白を抑えてコンパクトに */
  margin: 0 auto 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 500px; /* 別の長めの映画タイトルでも対応できる汎用サイズ */
  box-shadow: 0 4px 12px rgba(173, 195, 223, 0.12);
}

.main-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px; /* 行間を程よく詰めてスマートに */
  margin: 0;
  width: 100%;
  text-align: center;
}

.title-brand {
  font-family: var(--font-sans);
  font-size: 0.95rem; /* コンパクトに */
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  line-height: 1.2;
}

.title-movie {
  font-family: var(--font-serif);
  font-size: 1.1rem; /* 映画タイトルを元の1.3remから1.1remへコンパクトにし、流用しやすく */
  font-weight: 700;
  color: #2b5c8f; /* 上品で深いブルー */
  letter-spacing: 0.05em;
  line-height: 1.4;
  margin: 2px 0;
  word-break: break-all; /* 長いタイトルでも折り返して崩れないように */
}

.title-event {
  font-family: var(--font-serif);
  font-size: 0.95rem; /* 元の1.15remから0.95remへコンパクトに */
  font-weight: 700;
  color: #a84239; /* 深みのあるえんじ色 */
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.main-visual {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--shadow-color);
  margin-bottom: 16px;
}

.release-date {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================
   メインコンテンツ・セクション
   ========================================== */
.main-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* カード共通スタイル */
.intro-section,
.details-section,
.notes-section,
.action-section {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 10px var(--shadow-color);
}

/* イントロダクション */
.intro-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cast-staff {
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 0.9rem;
}

.cast-staff strong {
  color: var(--text-dark);
}

.story h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--accent-color);
  margin-bottom: 8px;
  text-align: center;
}

.story p {
  font-size: 0.9rem;
  text-align: justify;
}

/* 招待メッセージ */
.invitation-box {
  background-color: var(--primary-light);
  border: 1px solid rgba(210, 140, 132, 0.2);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.invitation-text {
  font-size: 1rem;
  color: var(--text-dark);
}

.invitation-text strong {
  display: inline-block;
  margin-top: 4px;
  font-size: 1.15rem;
}

.invitation-text .highlight {
  color: var(--accent-color);
  font-size: 1.4rem;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 2px;
}

/* 試写会詳細 */
.details-section h2 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--accent-color);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 8px;
  margin-bottom: 16px;
  text-align: center;
}

.details-list dt {
  font-weight: 700;
  color: var(--accent-color);
  margin-top: 16px;
  border-left: 3px solid var(--primary-color);
  padding-left: 8px;
  line-height: 1.2;
}

.details-list dt:first-of-type {
  margin-top: 0;
}

.details-list dd {
  margin-left: 0;
  padding-top: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bg-color);
}

.details-list dd:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.details-list .time,
.details-list .address,
.details-list .note-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.link-theater {
  font-weight: 700;
  text-decoration: underline;
}

.link-tel {
  display: inline-block;
  margin-top: 4px;
  font-weight: 500;
}

/* 注意事項 */
.notes-section {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
}

.notes-section h3 {
  font-size: 1rem;
  color: var(--accent-color);
  margin-bottom: 12px;
}

.notes-list {
  list-style-type: none;
}

.notes-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.notes-list li:last-child {
  margin-bottom: 0;
}

.notes-list li::before {
  content: "※";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.btn-sub-container {
  margin-top: 8px;
}

.btn-sub {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: var(--accent-color);
  border: 1px solid var(--primary-color);
  border-radius: 20px;
  background-color: #ffffff;
  transition: all 0.3s;
}

.btn-sub:hover {
  background-color: var(--primary-light);
  text-decoration: none;
}

/* 応募アクション */
.action-section {
  text-align: center;
  border: 2px solid var(--primary-color);
}

.action-instruction {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.btn-main-container {
  display: flex;
  justify-content: center;
}

.btn-main {
  display: inline-block;
  width: 100%;
  max-width: 320px;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #df9991 100%);
  color: #ffffff !important;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(210, 140, 132, 0.4);
  transition: all 0.3s;
}

.btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(210, 140, 132, 0.5);
  text-decoration: none;
  opacity: 0.95;
}

/* ==========================================
   フッター
   ========================================== */
.footer {
  text-align: center;
  margin-top: 24px;
}

.footer-line {
  border: none;
  border-top: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.btn-back {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s;
}

.btn-back:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.btn-back .arrow {
  display: inline-block;
  transition: transform 0.3s;
}

.btn-back:hover .arrow {
  transform: translateX(-4px);
}

/* ==========================================
   レスポンシブ対応
   ========================================== */
@media (max-width: 480px) {
  .container {
    padding: 16px 12px 30px;
  }
  
  .intro-section,
  .details-section,
  .notes-section,
  .action-section {
    padding: 16px;
  }
  
  .cast-staff {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
