@charset "utf-8";
/* CSS Document */
/* ===== Variables ===== */
:root {
  --main: #00a37a;
  --main-dark: #007a5c;
  --main-light: #e6f7f2;
  --text: #333;
  --gray: #f5f5f5;
  --border: #e0e0e0;
}
/* =====================
	Header
========================================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  display: flex;
  align-items: stretch;
}
/* Left: logo block (green) */
.header-logo {
  background: var(--main);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  width:clamp(18.125rem, -14.821rem + 51.43vw, 23.75rem);
  flex-shrink: 0;
  text-decoration: none;
}
.header-logo img {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}
/* Right: utility + nav stacked */
.header-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
  min-width: 0;
}
/* Top utility bar */
.header-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  padding: 6px 24px;
  border-bottom: 1px solid var(--border);
}
.header-top a {
  color: #555;
  font-size: 18px;
  letter-spacing: .05em;
  transition: color .3s;
	font-weight: 600;
}
.header-top a:hover {
  color: var(--main);
}
.header-top .sep {
  color: #ccc;
  font-size: 12px;
}
.header-top .btn-contact {
  background: #fff;
  color: var(--main);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--main);
  transition: background .3s, color .3s;
}
.header-top .btn-contact:hover {
  background: var(--main);
  color: #fff;
}
.header-top .btn-contact i {
  font-size: 20px;
}
/* Main navigation */
.header-nav {
  display: flex;
  align-items: stretch;
  padding: 0 8px;
  justify-content: flex-end;
  height: 100%;
}
.gnav {
  display: flex;
  align-items: center;
  gap: 0;
}
.gnav li a {
  display: block;
  padding: 16px 18px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--text);
  position: relative;
  transition: color .3s;
  white-space: nowrap;
}
.gnav li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--main);
  transition: width .3s;
}
.gnav li a:hover, .gnav li.active a {
  color: var(--main);
}
.gnav li a:hover::after, .gnav li.active a::after {
  width: 80%;
}
/* Hamburger (SP) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  gap: 6px;
  margin-left: auto;
  padding: 0 12px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  transition: .3s;
}
.sp-nav {
  display: none;
}
/* ==========================
	Footer
============================================================ */
#footer {
  background: var(--main);
  color: #fff;
  padding: 50px 0 0;
}
.footer-main {
  display: flex;
  gap: 60px;
  padding-bottom: 40px;
}
.footer-info {
  width: 330px;
  flex-shrink: 0;
}
.footer-logo {
  display: block;
  width: 280px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.footer-logo img {
  width: 100%;
}
.footer-addr {
  font-size: 14px;
  line-height: 1.9;
  opacity: .85;
  margin-bottom: 14px;
}
.footer-tel {
  font-size: 12px;
  opacity: .85;
  margin-bottom: 4px;
}
.footer-tel strong {
  font-size: 22px;
  letter-spacing: .05em;
}
.footer-hours {
  font-size: 11px;
  opacity: .7;
}
.btn-contact-footer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.2);
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 22px;
  font-weight: 600;
  margin-top: 16px;
  transition: background .3s;
  border: 1px solid #fff;
  width: 100%;
  max-width: 280px;
}
.btn-contact-footer:hover {
  background: rgba(255,255,255,.35);
  color: #fff;
}
.footer-nav-wrap {
  flex: 1;
  display: flex;
  gap: 30px;
}
.footer-nav-col {
  flex: 1;
}
.footer-nav-col h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.3);
}
.footer-nav-col ul li {
  margin-bottom: 6px;
}
.footer-nav-col ul li a {
  color: rgba(255,255,255,.8);
  font-size: 12px;
  transition: color .3s, padding-left .3s;
}
.footer-nav-col ul li a:hover {
  color: #fff;
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.2);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  opacity: .7;
}
.footer-policy {
  display: flex;
  gap: 20px;
}
.footer-policy a {
  color: rgba(255,255,255,.8);
  font-size: 11px;
}
.footer-policy a:hover {
  color: #fff;
}
/* Page top button */
.pagetop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: var(--main);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  z-index: 900;
  cursor: pointer;
}
.pagetop.show {
  opacity: 1;
  pointer-events: auto;
}
.pagetop:hover {
  background: var(--main-dark);
}
/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .gnav li a {
    padding: 16px 12px;
    font-size: 13px;
  }
  .footer-nav-wrap {
    flex-wrap: wrap;
    gap: 20px;
  }
  .header-logo {
    width: clamp(180px, 30vw,220px);
  }
}
@media (max-width: 767px) {
  /* SP header: logo left + hamburger right, stacked layout off */
  body {
    padding: 0;
  }
  #header {
    flex-direction: row;
    align-items: stretch;
    height: 55px;
  }
  .header-logo {
    width: 180px;
    padding: 0 16px;
  }
  .header-top {
    display: none;
  }
  .header-nav {
    align-items: center;
    padding: 0;
  }
  .hamburger {
    display: flex;
  }
  /* PC gnav は非表示 */
  .gnav {
    display: none;
  }
  /*---- SP ドロワー ---------------------*/
  .sp-nav {
    position: fixed;
    top: 55px;
    right: 0;
    width: min(320px, 90vw);
    height: calc(100vh - 55px);
    background: #fff;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    z-index: 999;
    box-shadow: -4px 0 20px rgba(0,0,0,.12);
  }
  .sp-nav.open {
    transform: translateX(0);
  }
  .sp-nav-inner {
    padding: 8px 0 40px;
  }
  /* カテゴリ見出し */
  .sp-nav-head {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    color: #fff;
    background: var(--main);
    padding: 8px 20px;
    margin: 0;
  }
  .sp-nav-group + .sp-nav-group {
    margin-top: 4px;
  }
  /* サブリンク */
  .sp-nav-group ul {
    padding: 4px 0;
  }
  .sp-nav-group ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px 12px 28px;
    font-size: 14px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: background .2s, color .2s;
  }
  .sp-nav-group ul li a::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 2px solid var(--main);
    border-bottom: 2px solid var(--main);
    transform: rotate(-45deg);
    flex-shrink: 0;
  }
  .sp-nav-group ul li a:hover {
    background: var(--main-light);
    color: var(--main);
  }
  .sp-nav-group ul li:last-child a {
    border-bottom: none;
  }
  /*---- SP ドロワー.end ---------------------*/
  .footer-main {
    flex-direction: column;
    gap: 30px;
  }
  .footer-info {
    width: 100%;
    text-align: center
  }
  .footer-logo {
    margin: 0 auto 16px;
  }
  .btn-contact-footer {
    justify-content: center;
  }
  .footer-nav-wrap {
    flex-wrap: wrap;
  }
  .footer-nav-col {
    width: calc(50% - 15px);
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .pagetop {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}
@media (max-width: 480px) {
  .footer-nav-wrap {
    display: none;
  }
}
/*===========================================
	下層共通
========================================================================*/
/*=========================================
PAGE HERO
=========================================*/
.page-hero {
  --hero-color:rgba(0,163,122,.88);
  --hero-color2:rgba(0,163,122,.45);
  position:relative;
  height:320px;
  display:flex;
  align-items:center;
  overflow:hidden;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}
.page-hero::before {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, var(--hero-color) 0%, var(--hero-color2) 45%, rgba(0,0,0,.15) 100% );
}
.page-hero-inner {
  position:relative;
  z-index:2;
  color:#fff;
}
.page-hero-en {
  display:block;
  font-size:14px;
  font-weight:600;
  letter-spacing:.35em;
  margin-bottom:12px;
  opacity:.9;
}
.page-hero-title {
  font-size:clamp(32px,3vw,46px);
  font-weight:700;
  line-height:1.4;
  margin-bottom:18px;
}
.page-hero-title::after {
  content:"";
  display:block;
  width:70px;
  height:3px;
  background:#fff;
  margin-top:18px;
}
.page-hero-desc {
  font-size:16px;
  line-height:1.9;
  opacity:.95;
  max-width:620px;
}
/*ページごと背景*/
.page-hero.about {
  /*協会について*/
  background-image:url("../../img/page/about.jpg");
  background-position: bottom;
}
.page-hero.race {
  /*鳩レースとは*/
  background-image:url("../../img/page/race.jpg");
  background-position: left 30%;
  --hero-color:rgba(0,115,84,.88);
  --hero-color2:rgba(0,163,122,.40);
}
.page-hero.tsukuba {
  /*つくば　3ページ共通*/
  background-image:url("../../img/page/tsukuba.jpg");
  background-position: right 60%;
}
.page-hero.result {
  /*全国レース結果*/
  background-image:url("../../img/page/result.jpg");
  --hero-color:rgba(0,74,120,.88);
  --hero-color2:rgba(35,124,189,.40);
}
.page-hero.government {
  /*官公庁*/
  background-image:url("../../img/page/common.jpg");
  background-position: right 10%;
  --hero-color:rgba(73,85,99,.88);
  --hero-color2:rgba(110,120,135,.40);
}
.page-hero.stray {
  /*迷い鳩*/
  background-image:url("../../img/page/common.jpg");
  background-position: right 10%;
  --hero-color:rgba(0,90,120,.88);
}
.page-hero.rules {
  /*お知らせ一覧・規程集*/
  background-image:url("../../img/page/common.jpg");
  background-position: right 10%;
  --hero-color:rgba(0,120,90,.88);
}
/*=========================================
BREADCRUMB
=========================================*/
.breadcrumb {
  background:#f8f8f8;
  border-bottom:1px solid #e5e5e5;
  font-size:14px;
}
.breadcrumb ol {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  padding:15px 0;
}
.breadcrumb li {
  display:flex;
  align-items:center;
}
.breadcrumb li+li::before {
  content:"";
  width:6px;
  height:6px;
  margin-right:10px;
  border-top:2px solid var(--main);
  border-right:2px solid var(--main);
  transform:rotate(45deg);
}
.breadcrumb a {
  color:#666;
  transition:.3s;
}
.breadcrumb a:hover {
  color:var(--main);
}
.breadcrumb span {
  color:var(--main);
  font-weight:600;
}
