/* ========================================
   甲府ライオンズクラブ メインスタイル
   ======================================== */

:root {
  --color-main:    #003087;
  --color-accent:  #F7B900;
  --color-bg:      #FFFFFF;
  --color-bg-sub:  #F5F5F5;
  --color-text:    #333333;
  --color-text-lt: #666666;
  --color-border:  #DDDDDD;
  --container:     1100px;
  --header-h:      80px;
}

/* ── Layout ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}
.section--gray {
  background: var(--color-bg-sub);
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head__en {
  display: block;
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-head__ja {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-main);
  position: relative;
  display: inline-block;
}
.section-head__ja::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-accent);
  margin: 12px auto 0;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.site-header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-header__logo-img {
  width: auto;
  height: 48px;
  object-fit: contain;
}
.site-header__logo-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-main);
  line-height: 1.3;
  white-space: nowrap;
}

/* グローバルナビ */
.global-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.global-nav__item {
  position: relative;
}
.global-nav a {
  padding: 6px 14px;
  font-size: 13px;
  color: var(--color-text);
  border-radius: 3px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 13px;
  font-family: inherit;
  color: var(--color-text);
  background: none;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav-dropdown-toggle i {
  font-size: 11px;
  transition: transform .2s;
}
.has-dropdown.is-open .nav-dropdown-toggle i {
  transform: rotate(180deg);
}
.global-nav a:hover,
.global-nav a.current,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.current,
.has-dropdown.is-open .nav-dropdown-toggle {
  background: var(--color-main);
  color: #fff;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  padding: 10px 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(0, 48, 135, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 1000;
}
.has-dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  border-radius: 0;
}
.dropdown-menu a:hover,
.dropdown-menu a.current {
  background: var(--color-bg-sub);
  color: var(--color-main);
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-main);
  transition: transform .3s, opacity .3s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* スマホドロワー */
.drawer-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid var(--color-border);
  z-index: 999;
  padding: 16px 0;
}
.drawer-nav.is-open { display: block; }
.drawer-nav__item {
  border-bottom: 1px solid var(--color-border);
}
.drawer-nav a {
  display: block;
  padding: 12px 24px;
  font-size: 15px;
  border-bottom: 1px solid var(--color-border);
}
.drawer-nav > a:last-child { border-bottom: none; }
.drawer-nav a.current,
.drawer-accordion__toggle.current {
  color: var(--color-main);
  font-weight: 700;
  background: var(--color-bg-sub);
}
.drawer-accordion__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  font-size: 15px;
  font-family: inherit;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.drawer-accordion__toggle i {
  font-size: 12px;
  transition: transform .2s;
}
.drawer-accordion.is-open .drawer-accordion__toggle i {
  transform: rotate(180deg);
}
.drawer-accordion__panel {
  display: none;
  background: var(--color-bg-sub);
}
.drawer-accordion.is-open .drawer-accordion__panel {
  display: block;
}
.drawer-accordion__panel a {
  padding-left: 40px;
  font-size: 14px;
}

/* ページ上マージン（固定ヘッダー分） */
.page-body {
  margin-top: var(--header-h);
}

/* ── Hero Slider ── */
.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
}
.swiper {
  width: 100%;
  height: 100%;
}
.swiper-slide {
  position: relative;
}
.hero-slide__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.65);
  transform: scale(1);
  /* linear＝一定速度。切替の瞬間も止まらず動き続け、フェードアウト中も動いたまま消える */
  transition: transform 8s linear;
}
.swiper-slide-active .hero-slide__bg {
  transform: scale(1.16);
}
.hero-slide__text {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  text-align: left;
  color: #fff;
  width: auto;
  max-width: 640px;
}
.hero-slide__catch {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.hero-slide__sub {
  font-size: 16px;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.swiper-pagination-bullet-active { background: var(--color-accent) !important; }

/* スクロール誘導の矢印（hero下部・バウンス） */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 5;
  width: 30px;
  height: 50px;
}
.hero-scroll__chevron {
  display: block;
  width: 14px;
  height: 14px;
  margin: 0 auto;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  animation: heroArrow 1.6s ease-in-out infinite;
}
@keyframes heroArrow {
  0%   { opacity: 0; transform: translateY(-8px) rotate(45deg); }
  50%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(8px) rotate(45deg); }
}

/* ── 共通ボタン（活動予定ボタン・戻るボタンで意匠統一） ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--color-main);
  color: #fff;
  border: 1px solid var(--color-main);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s;
}
.btn-primary:hover {
  background: #fff;
  color: var(--color-main);
}
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1px solid var(--color-main);
  border-radius: 6px;
  color: var(--color-main);
  font-size: 14px;
  font-weight: 500;
  transition: all .2s;
}
.back-button:hover {
  background: var(--color-main);
  color: #fff;
}

/* ── News （1カラム） ── */
.news-schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.news-block {
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}
.news-block__title,
.schedule-block__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-main);
  border-left: 4px solid var(--color-accent);
  padding-left: 12px;
  margin-bottom: 20px;
}
.news-list__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}
.news-list__date {
  font-size: 13px;
  color: var(--color-text-lt);
  white-space: nowrap;
  flex-shrink: 0;
}
.news-list__cat {
  font-size: 11px;
  background: var(--color-main);
  color: #fff;
  padding: 2px 8px;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}
.news-list__link {
  font-size: 14px;
  color: var(--color-text);
  transition: color .2s;
}
.news-list__link:hover { color: var(--color-main); }
.block-more {
  display: block;
  text-align: right;
  font-size: 13px;
  color: var(--color-main);
  margin-top: 12px;
  transition: opacity .2s;
}
.block-more:hover { opacity: .7; }

.schedule-table {
  font-size: 14px;
}
.schedule-table th {
  background: var(--color-main);
  color: #fff;
  padding: 8px 12px;
  font-weight: 500;
}
.schedule-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.schedule-table tr:hover td { background: var(--color-bg-sub); }

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-grid__text h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 16px;
}
.about-grid__text p {
  font-size: 15px;
  color: var(--color-text);
  margin-bottom: 12px;
}
.about-grid__img img {
  border-radius: 4px;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* ── Lions What ── */
.lions-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.lions-card {
  text-align: center;
  padding: 40px 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  border-top: 4px solid var(--color-accent);
}
.lions-card__icon {
  font-size: 48px;
  color: var(--color-main);
  margin-bottom: 16px;
}
.lions-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 12px;
}
.lions-card__text {
  font-size: 14px;
  color: var(--color-text-lt);
  line-height: 1.8;
}

/* ── Activities ── */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.activity-card {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform .2s, box-shadow .2s;
  color: inherit;
}
.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.activity-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #ddd;
}
.activity-card__body {
  padding: 16px;
}
.activity-card__date {
  font-size: 12px;
  color: var(--color-text-lt);
  margin-bottom: 6px;
}
.activity-card__title {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.5;
}

/* ── Banners ── */
.banners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.banner-item a {
  display: block;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  transition: opacity .2s;
}
.banner-item a:hover { opacity: .8; }
.banner-item img {
  width: 100%;
  height: 80px;
  object-fit: contain;
  padding: 8px;
  background: #fff;
}

/* ── Footer ── */
.site-footer {
  background: var(--color-main);
  color: rgba(255,255,255,.85);
  padding: 48px 0 24px;
}
.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.site-footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.site-footer__logo-img {
  width: auto;
  height: 40px;
  object-fit: contain;
}
.site-footer__info {
  font-size: 14px;
  line-height: 2;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-content: flex-start;
}
.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,.8);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--color-accent); }
.site-footer__copy {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 20px;
}

/* ── Page Hero ── */
.page-hero {
  background: var(--color-main);
  padding: 48px 0;
  text-align: center;
  color: #fff;
}
.page-hero__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}
.page-hero__sub {
  font-size: 12px;
  letter-spacing: .12em;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
}

/* ── Breadcrumb ── */
.breadcrumb {
  background: var(--color-bg-sub);
  padding: 10px 0;
}
.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-lt);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.breadcrumb__list li::after {
  content: '/';
  margin-left: 8px;
  color: var(--color-border);
}
.breadcrumb__list li:last-child::after { display: none; }
.breadcrumb__list a { color: var(--color-main); }

/* ── News List Page ── */
.news-archive {
  max-width: 800px;
  margin: 0 auto;
}
.news-archive__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}
.news-archive__date {
  font-size: 13px;
  color: var(--color-text-lt);
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 2px;
}
.news-archive__cat {
  font-size: 11px;
  background: var(--color-main);
  color: #fff;
  padding: 3px 10px;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}
.news-archive__title {
  font-size: 15px;
  color: var(--color-text);
  transition: color .2s;
}
.news-archive__title:hover { color: var(--color-main); }

/* News Detail */
.article-detail {
  max-width: 800px;
  margin: 0 auto;
}
.article-detail__head {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--color-border);
}
.article-detail__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.article-detail__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-main);
  line-height: 1.5;
}
.article-detail__body {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text);
}
.article-detail__body p { margin-bottom: 16px; }
.article-detail__body img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  border: 1px solid var(--color-border);
  margin: 16px 0;
}
.article-detail__body h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-main);
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-border);
}
.article-detail__gallery {
  display: grid;
  gap: 24px;
  margin-bottom: 32px;
}
.article-detail__gallery figure {
  margin: 0;
}
.article-detail__gallery img {
  width: 100%;
  display: block;
  border-radius: 6px;
  border: 1px solid var(--color-border);
}
.article-detail__gallery figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-text-lt);
}

/* ── Schedule Page ── */
.schedule-section {
  max-width: 900px;
  margin: 0 auto;
}
.schedule-month {
  margin-bottom: 48px;
}
.schedule-month__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-accent);
}
.schedule-full-table th {
  background: var(--color-main);
  color: #fff;
  padding: 10px 16px;
  font-weight: 500;
  text-align: left;
}
.schedule-full-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
  vertical-align: top;
}
.schedule-full-table tr:hover td { background: rgba(0, 48, 135, .06); }

/* ── Activities Page ── */
.activities-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.more-btn-wrap {
  margin-top: 36px;
  text-align: center;
}
.more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 12px 24px;
  border: 1px solid #003087;
  border-radius: 999px;
  background: #fff;
  color: #003087;
  font-size: 14px;
  font-weight: 700;
  transition: background-color .2s, color .2s, border-color .2s, opacity .2s;
}
.more-btn:hover {
  background: #003087;
  color: #F7B900;
  border-color: #003087;
}
.more-btn:disabled {
  opacity: .6;
  cursor: default;
}

/* ── Join ── */
.join-content {
  max-width: 800px;
  margin: 0 auto;
}
.join-step {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  align-items: flex-start;
}
.join-step__num {
  width: 48px;
  height: 48px;
  background: var(--color-main);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.join-step__body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 8px;
}
.join-step__body p {
  font-size: 14px;
  color: var(--color-text);
}

/* ── Links ── */
.links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.link-card {
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 20px;
  transition: transform .2s, box-shadow .2s;
}
.link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.link-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 6px;
}
.link-card__desc {
  font-size: 13px;
  color: var(--color-text-lt);
}

/* ── Contact ── */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}
.form-group label .req {
  color: #cc0000;
  margin-left: 4px;
  font-size: 12px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 15px;
  transition: border-color .2s;
  background: #fff;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-main);
}
.form-group textarea { height: 160px; resize: vertical; }
.btn-submit {
  display: block;
  width: 200px;
  margin: 0 auto;
  padding: 14px 0;
  background: var(--color-main);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
  text-align: center;
  transition: opacity .2s;
}
.btn-submit:hover { opacity: .85; }

/* ── About Lions ── */
.about-lions-content {
  max-width: 800px;
  margin: 0 auto;
}
.about-lions-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-main);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-border);
}
.about-lions-content p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 16px;
}

/* ── Placeholder image ── */
.img-placeholder {
  background: linear-gradient(135deg, rgba(0,48,135,.15) 0%, rgba(0,48,135,.30) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: 13px;
}
