/* 同窓会-TIMESページ専用スタイル */
.times-header-brand {
  height: 100px;
  background: #212A3F;
  display: flex;
  align-items: center;
  padding-left: 24px;
}

.times-logo {
  display: block;
  width: auto;
  height: 85px;
  margin: 5px;
}

.times-mobile-logo {
  display: block;
  width: auto;
  height: 40px;
  margin: 5px;
}

.times-main {
  width: min(1100px, 92%);
  margin: 42px auto 70px;
}

.times-intro {
  margin-bottom: 34px;
}

.times-intro .heading07,
.times-archive .heading07 {
  margin-bottom: 22px;
}

.tie-info {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.9;
  text-align: left;
}

.times-archive {
  margin-top: 36px;
}

.times-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px 24px;
  align-items: start;
}

.times-card {
  min-width: 0;
  text-align: center;
  padding: 0 8px;
}

.times-cover-link {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0 auto 16px;
}

.times-cover {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 0 5px #333;
  transition: opacity 0.2s ease;
}

.times-cover-link:hover .times-cover {
  opacity: 0.82;
}

.times-hidden-images {
  display: none;
}

.times-number {
  margin: 8px 0 4px;
  font-weight: bold;
  line-height: 1.6;
}

.times-pdf {
  display: inline-block;
  margin: 2px 0;
  text-decoration: underline;
}

.times-date {
  margin: 4px 0 0;
  font-size: 0.95em;
}

.times-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 0;
  margin: 40px auto;
  list-style: none;
}

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

.times-footer-heading {
  font-weight: bold;
  color: #ff0;
}

.times-copyright {
  position: relative;
  padding: 12px 24px;
  text-align: center;
  font-size: 12px;
}

.times-copyright p {
  margin: 0;
}

#back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  margin: 0;
}

#back-top a,
#back-top img {
  display: block;
}

@media (max-width: 767px) {
  .times-main {
    width: 92%;
    /* モバイル用の固定ヘッダーに本文が隠れないよう、上部に余白を確保 */
    margin: 88px auto 48px;
  }

  .times-intro {
    margin-bottom: 28px;
  }

  .times-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .times-card {
    padding: 0;
  }

  .times-cover-link {
    width: 80%;
    max-width: 360px;
    margin-bottom: 14px;
  }

  .times-number,
  .times-date {
    text-align: center;
  }

  .times-social {
    gap: 8px;
    margin: 28px auto;
  }

  .times-social img {
    width: 72px;
  }

  .times-copyright {
    padding: 12px 16px;
  }
}


/* モバイル用ハンバーガーメニュー */
.times-mobile-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

#mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.times-menu-toggle {
  display: none;
}

.times-mobile-nav[hidden] {
  display: none !important;
}

@media (max-width: 767px) {
  .times-menu-toggle {
    display: flex;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 10px 8px;
    margin: 5px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 1px solid #d6d9df;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    position: relative;
    z-index: 1002;
  }

  .times-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #212A3F;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .times-menu-toggle.is-open span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .times-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .times-menu-toggle.is-open span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .times-mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1001;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    background: #212A3F;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
  }

  .times-mobile-nav ul {
    margin: 0;
    padding: 8px 0;
    list-style: none;
  }

  .times-mobile-nav li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .times-mobile-nav li:last-child {
    border-bottom: 0;
  }

  .times-mobile-nav a {
    display: block;
    padding: 12px 22px;
    color: #fff;
    text-decoration: none;
    line-height: 1.5;
  }

  .times-mobile-nav a:hover,
  .times-mobile-nav a:focus {
    background: rgba(255, 255, 255, 0.12);
  }

  #top-head {
    position: relative;
  }

  #top-head.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
  }
}

/* 準備中ページ専用スタイル
   ヘッダー・ナビ・フッターは既存の共通CSSとdosokaitimes.cssを使用 */

.preparing-main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(1100px, 92%);
  min-height: 430px;
  margin: 42px auto 70px;
  padding: 24px 0;
}

.preparing-panel {
  width: 100%;
  padding: clamp(36px, 7vw, 76px) 24px;
  border: 1px solid #e2e6eb;
  background: #f8fafc;
  text-align: center;
}

.preparing-eyebrow {
  margin: 0 0 14px;
  color: #6d849b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.preparing-panel h1 {
  margin: 0;
  color: #212a3f;
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.5;
}

.preparing-message {
  margin: 22px 0 30px;
  color: #5f6670;
  line-height: 2;
}

.preparing-home {
  display: inline-block;
  min-width: 220px;
  padding: 12px 24px;
  border: 1px solid #212a3f;
  background: #212a3f;
  color: #fff !important;
  text-align: center;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease;
}

.preparing-home:hover,
.preparing-home:focus-visible {
  background: #fff;
  color: #212a3f !important;
}

@media (max-width: 767px) {
  .preparing-main {
    min-height: 360px;
    margin: 88px auto 48px;
  }

  .preparing-panel {
    padding: 42px 18px;
  }

  .preparing-message {
    font-size: 0.95rem;
  }

  .preparing-home {
    width: 100%;
    max-width: 280px;
  }
}
