@charset "UTF-8";

/*
 Theme Name: Samezukan Child
 Description: Samezukan Child Theme
 Author: Self
 Template: samezukan
 Version: 1.0.0
*/

/* 基本レイアウト */
.aq-hero {
  position: relative;
  overflow: hidden;
  background: #000;
  color: #fff;
  /* 親要素に高さを指定（例：500px） */
  height: 500px;
}

.aq-hero__img {
  /* 絶対配置にして親要素いっぱいに広げる */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: .85;
  /* z-indexを指定して、テキストより後ろに配置 */
  z-index: 1;
}

.aq-hero__inner {
  position: relative;
  /* marginのマイナス指定は削除 */
  /* margin:-8rem auto 0; */
  margin: 0 auto;
  padding: 1.25rem 1rem 2rem;
  max-width: 1100px;
  /* テキストが画像の上に来るようにz-indexを指定 */
  z-index: 2;
  /* コンテンツを中央寄せにするためのFlexbox設定（任意） */
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.aq-title {
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  margin: .5rem 0 0;
  font-weight: 700;
  color: #fff; /* H1テキストの色を白に設定 */
}

.aq-official a { color:#fff; text-decoration: underline; }

.aq-container { max-width:1100px; margin:0 auto; padding:1.5rem 1rem 3rem; }
.aq-section { margin:2rem 0 2.25rem; }
.aq-h2 { font-size:1.25rem; border-left:4px solid #1a6; padding-left:.6rem; margin-bottom:1rem; }

.aq-dl { display:grid; grid-template-columns: 7rem 1fr; gap:.5rem 1rem; }
.aq-dl dt { color:#666; }
.aq-dl dd { margin:0; }

.aq-map { width:100%; height:420px; border-radius:14px; overflow:hidden; box-shadow:0 6px 16px rgba(0,0,0,.08); }

.aq-taxwrap { display:grid; gap:1rem; }
.aq-taxblock__hd { font-weight:700; margin-bottom:.25rem; }
.aq-chips { display:flex; flex-wrap:wrap; gap:.5rem; padding:0; margin:0; list-style:none; }
.chip { display:inline-block; padding:.25rem .6rem; border-radius:999px; background:#f3f7f5; border:1px solid #d7ece3; color:#0a3; font-size:.9rem; }
.chip--species { background:#f5f6ff; border-color:#dfe2ff; color:#3a45d6; }
.chip--feat { background:#fff7ef; border-color:#ffe1c5; color:#d36c17; }

.aq-content img { max-width:100%; height:auto; border-radius:12px; box-shadow:0 4px 12px rgba(0,0,0,.06); }

.aq-gallery { display:grid; grid-template-columns:repeat(3, 1fr); gap:12px; }
.aq-gitem { background:#fff; border-radius:12px; overflow:hidden; box-shadow:0 4px 12px rgba(0,0,0,.06); }
.aq-gitem img { width:100%; height:100%; object-fit:cover; display:block; }
.aq-credit { font-size:.8rem; color:#666; padding:.4rem .6rem .6rem; }
.aq-credit a { color:inherit; text-decoration:underline; }
.aq-credit-note { color:#777; font-size:.85rem; margin-top:.75rem; }

.aq-cards { display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; }
.aq-card { background:#fff; border-radius:14px; overflow:hidden; box-shadow:0 4px 12px rgba(0,0,0,.06); transition: transform .12s ease; }
.aq-card:hover { transform: translateY(-2px); }
.aq-card__thumb img { width:100%; height:160px; object-fit:cover; display:block; }
.aq-card__title { font-size:1rem; padding:.6rem .8rem 0; line-height:1.4; }
.aq-card__meta { padding:0 .8rem .8rem; color:#666; }

.aq-back { margin-top:2rem; }
.btn-outline { display:inline-block; padding:.6rem 1rem; border:1px solid #ccc; border-radius:8px; color:#333; background:#fff; }

@media (max-width: 900px){
  .aq-gallery{ grid-template-columns:repeat(2, 1fr); }
  .aq-cards { grid-template-columns:repeat(2, 1fr); }
  /* .aq-hero__img{ height:48vw; } これは不要になるのでコメントアウトまたは削除 */
}
@media (max-width: 600px){
  .aq-dl{ grid-template-columns: 1fr; }
  .aq-gallery{ grid-template-columns:1fr; }
  .aq-cards { grid-template-columns:1fr; }
}

/* ===== TOPページ専用 ===== */
.aq-archive-hero {
  text-align:center;
  padding:3rem 1rem 2rem;
  background:#f6fdfb;
}
.aq-archive-hero h1 {
  font-size:clamp(1.8rem,3vw,2.4rem);
  margin-bottom:.5rem;
  font-weight:700;
}
.aq-archive-hero .aq-lead { color:#555; font-size:1rem; }

.aq-regions {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:1.5rem;
}
.aq-region { background:#fff; border-radius:12px; padding:1rem 1.25rem; box-shadow:0 4px 10px rgba(0,0,0,.05); }
.aq-region__title { font-size:1.1rem; font-weight:700; margin-bottom:.5rem; border-bottom:2px solid #1a6; display:inline-block; }
.aq-pref-list { display:flex; flex-wrap:wrap; gap:.6rem 1rem; padding:0; margin:0; list-style:none; }
.aq-pref-list a { text-decoration:none; color:#00744b; border-bottom:1px dotted transparent; }
.aq-pref-list a:hover { border-color:#00744b; }

.aq-latest-list { list-style:none; margin:0; padding:0; }
.aq-latest-list li {
  display:flex; flex-wrap:wrap; gap:.5rem; border-bottom:1px solid #eee;
  padding:.4rem 0; line-height:1.3;
}
.aq-latest-list time { color:#888; font-size:.9rem; flex:0 0 6rem; }
.aq-latest-list a { color:#222; text-decoration:none; flex:1; }
.aq-latest-list a:hover { text-decoration:underline; }

@media(max-width:700px){
  .aq-latest-list time{ flex:0 0 5rem; font-size:.85rem; }
}

/* 鳥羽水族館・みどころセクション */
.aq-feature {
  background:#f9fdfc;
  padding:2rem 1rem 3rem;
  border-radius:14px;
}
.aq-feature h2 {
  font-size:1.8rem;
  color:#007d5b;
  text-align:center;
  margin-bottom:1.2rem;
}
.aq-feature .lead {
  text-align:center;
  color:#555;
  max-width:720px;
  margin:0 auto 1.5rem;
  line-height:1.6;
}
.aq-highlights {
  list-style:none;
  padding:0;
  margin:0;
}
.aq-highlights li {
  margin-bottom:1.4rem;
  padding-bottom:1.2rem;
  border-bottom:1px solid #e2e8e6;
}
.aq-highlights h3 {
  font-size:1.2rem;
  margin-bottom:.4rem;
  color:#00543b;
}
.aq-highlights p {
  margin:0;
  color:#333;
  line-height:1.6;
}
.aq-feature .summary {
  text-align:center;
  margin-top:2rem;
  color:#444;
  font-weight:500;
}