/* Off Lineページ専用CSS */

/* ロゴをリンク化 */
.logo {
  text-decoration: none;
  color: white;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}

/* コンテンツセクション - 幅を制限 */
.content-section .container {
  max-width: 900px;
}

/* ページヘッダー - 高さを抑える */
.page-header {
  height: 45vh;
  min-height: 380px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
}

.page-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background: linear-gradient(135deg, #2c5f7d 0%, #4a7c9e 30%, #6b9ab8 60%, #5a8aa8 100%);
  z-index: 1;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  transition: transform 0.1s ease-out;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent);
  top: 10%;
  right: 15%;
  animation: float1 20s infinite ease-in-out;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
  bottom: 20%;
  left: 10%;
  animation: float2 15s infinite ease-in-out;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent);
  top: 50%;
  left: 50%;
  animation: float3 18s infinite ease-in-out;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.1); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.15); }
}

@keyframes float3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(calc(-50% + 20px), calc(-50% - 20px)) scale(1.08); }
}

.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 3;
}

.page-header-content {
  position: relative;
  z-index: 4;
  text-align: center;
}

.title-wrapper {
  animation: fadeInUp 1.2s ease;
}

.page-title {
  font-size: 3.5rem;
  font-weight: 200;
  letter-spacing: 0.3em;
  margin-bottom: 20px;
  color: white;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.title-line {
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, white, transparent);
  margin: 0 auto 20px;
  animation: expandLine 1.5s ease;
}

@keyframes expandLine {
  from { width: 0; opacity: 0; }
  to { width: 100px; opacity: 1; }
}

.page-subtitle {
  font-size: 1.05rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  line-height: 1.6;
}

/* サークル情報 */
.circle-info {
  text-align: center;
  padding: 50px 20px 40px;
}

.circle-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 18px 35px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  animation: fadeIn 1s ease;
}

.badge-icon {
  font-size: 2.2rem;
}

.badge-content {
  text-align: left;
}

.circle-name {
  font-size: 1.5rem;
  font-weight: 400;
  color: white;
  margin-bottom: 4px;
  letter-spacing: 0.12em;
}

.circle-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.06em;
}

/* セクションヘッダー */
.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 1.6rem;
  font-weight: 400;
  color: white;
  margin-bottom: 35px;
  letter-spacing: 0.15em;
}

.header-icon {
  font-size: 1.8rem;
}

/* イベントセクション */
.events-section {
  margin-bottom: 60px;
}

.events-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.event-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 25px 30px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
}

.event-card.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.event-card:nth-child(1) { transition-delay: 0.1s; }
.event-card:nth-child(2) { transition-delay: 0.2s; }

.event-card.future {
  border-color: rgba(107, 154, 184, 0.4);
}

.event-card.future::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #6b9ab8, #4a7c9e);
}

.event-card.past {
  opacity: 0.7;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 45px rgba(74, 124, 158, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.event-status {
  position: absolute;
  top: 16px;
  right: 20px;
  background: linear-gradient(135deg, #6b9ab8, #4a7c9e);
  color: white;
  padding: 6px 16px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  box-shadow: 0 3px 12px rgba(107, 154, 184, 0.4);
}

.past-status {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  box-shadow: none;
}

.event-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 16px;
  border-radius: 14px;
  min-width: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.date-year {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
  letter-spacing: 0.08em;
}

.date-md {
  font-size: 1.6rem;
  font-weight: 300;
  color: white;
  letter-spacing: 0.04em;
}

.date-day {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.event-info {
  flex: 1;
}

.event-name {
  font-size: 1.4rem;
  font-weight: 400;
  color: white;
  margin-bottom: 6px;
  letter-spacing: 0.08em;
}

.event-space {
  font-size: 0.95rem;
  color: #6b9ab8;
  letter-spacing: 0.06em;
}

.event-note {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.event-note p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* 頒布物セクション */
.books-section {
  margin-bottom: 60px;
}

/* 2カラムレイアウト */
.publications-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.publications-column {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 30px 26px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
}

.publications-column:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(74, 124, 158, 0.3);
}

.column-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.column-icon {
  font-size: 1.8rem;
}

.column-title {
  font-size: 1.3rem;
  font-weight: 400;
  color: white;
  letter-spacing: 0.1em;
}

.books-category-inline {
  margin-bottom: 28px;
}

.books-category-inline:last-child {
  margin-bottom: 0;
}

.category-label-small {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 6px 16px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: white;
  letter-spacing: 0.1em;
}

.new-label {
  background: linear-gradient(135deg, rgba(107, 154, 184, 0.3), rgba(74, 124, 158, 0.3));
  border-color: rgba(107, 154, 184, 0.4);
  box-shadow: 0 3px 15px rgba(107, 154, 184, 0.3);
}

.label-icon {
  font-size: 1.2rem;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.book-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(20px);
}

.book-card.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.new-book {
  border-color: rgba(107, 154, 184, 0.3);
  background: rgba(107, 154, 184, 0.08);
}

.book-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px rgba(74, 124, 158, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.book-icon {
  font-size: 2.4rem;
  flex-shrink: 0;
}

.book-content {
  flex: 1;
}

.book-title {
  font-size: 1.2rem;
  font-weight: 400;
  color: white;
  margin-bottom: 4px;
  letter-spacing: 0.06em;
}

.book-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.book-details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-value {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.04em;
}

.price {
  font-weight: 500;
  color: #6b9ab8;
  font-size: 1.1rem;
}

.book-note {
  margin-top: 8px;
}

.note-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 10px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.06em;
}

/* その他の頒布物 */
.other-items {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
}

.other-items.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.other-items:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.other-icon {
  font-size: 2.4rem;
  flex-shrink: 0;
}

.other-content {
  flex: 1;
}

.other-title {
  font-size: 1.1rem;
  font-weight: 400;
  color: white;
  margin-bottom: 6px;
  letter-spacing: 0.06em;
}

.other-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* 完売セクション */
.soldout-section {
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
}

.soldout-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.08em;
}

.soldout-icon {
  font-size: 1.1rem;
  color: #6b9ab8;
}

.soldout-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}

/* HOMEリンク */
.back-link {
  text-align: center;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  padding: 13px 32px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 40px;
  transition: all 0.4s ease;
  font-weight: 300;
  background: rgba(255, 255, 255, 0.05);
}

.back-button:hover {
  background: rgba(107, 154, 184, 0.25);
  border-color: rgba(107, 154, 184, 0.6);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(107, 154, 184, 0.35);
}

.back-arrow {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.back-button:hover .back-arrow {
  transform: translateX(-4px);
}

/* アニメーション */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* レスポンシブ */
@media (max-width: 768px) {
  .page-title {
    font-size: 3rem;
    letter-spacing: 0.3em;
  }
  
  .page-subtitle {
    font-size: 1rem;
  }
  
  .circle-badge {
    flex-direction: column;
    text-align: center;
    padding: 25px 30px;
  }
  
  .badge-content {
    text-align: center;
  }
  
  .circle-name {
    font-size: 1.6rem;
  }
  
  .event-card {
    padding: 25px 20px;
  }
  
  .event-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .event-status {
    position: relative;
    top: auto;
    right: auto;
    align-self: flex-start;
    margin-bottom: 10px;
  }
  
  .book-grid {
    grid-template-columns: 1fr;
  }
  
  .book-card {
    flex-direction: column;
    text-align: center;
  }
  
  .other-items {
    flex-direction: column;
    text-align: center;
  }
}