/*
Theme Name: Satake Official
Author: ChatGPT
Description: 佐武晃幸さん向けの1ページ公式ホームページ用WordPressテーマ
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: satake-official
*/

:root {
  --navy: #12345a;
  --blue: #1976b9;
  --sky: #eaf6ff;
  --ink: #1d2733;
  --muted: #64748b;
  --line: #dce7f1;
  --white: #ffffff;
  --gold: #c89b3c;
  --shadow: 0 24px 70px rgba(18, 52, 90, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Yu Gothic Medium", "Noto Sans JP", sans-serif;
  color: var(--ink);
  line-height: 1.8;
  background: #f8fbff;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color:  var(--navy)
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-mark img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.brand strong { display: block; font-size: 1.05rem; letter-spacing: .05em; }
.brand small { display: block; color: var(--muted); font-size: .72rem; margin-top: -4px; }

.site-nav {
  display: flex;
  gap: 22px;
  font-weight: 700;
  color: var(--navy);
  font-size: .95rem;
}
.site-nav a { position: relative; }
.site-nav .nav-cta {
	padding: 8px 14px;
	border-radius: 999px;
	color: #ffffff;
	background: linear-gradient(135deg, #12345a, #1976b9);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .2s ease;
}
.site-nav a:hover::after { width: 100%; }
.nav-toggle { display: none; }

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, .82fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(44px, 7vw, 96px) clamp(20px, 5vw, 86px);
  background:
    radial-gradient(circle at 82% 18%, rgba(25, 118, 185, .14), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #eef8ff 62%, #dff2ff 100%);
}
.eyebrow, .section-label {
  color: var(--blue);
  font-weight: 800;
  letter-spacing: .14em;
  font-size: .84rem;
  text-transform: uppercase;
}
.hero h1 {
  margin: .25em 0 .4em;
  color: var(--navy);
  font-size: clamp(2.4rem, 6.4vw, 5.35rem);
  line-height: 1.15;
  letter-spacing: .03em;
}
.lead {
  max-width: 690px;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  color: #334155;
}
.hero-actions, .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 164px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 14px 30px rgba(25, 118, 185, .22);
}
.button.secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
}
.hero-image {
  align-self: end;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}
.hero-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.section {
  padding: clamp(58px, 8vw, 112px) clamp(20px, 5vw, 86px);
}
.section h2 {
  margin: .2em 0 .55em;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.25;
}
.section-lead {
  max-width: 760px;
  margin: -8px 0 34px;
  color: var(--muted);
  font-size: 1.08rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}
.intro {
  background: var(--white);
}
.photo-card {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}
.photo-card img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
}

.policy {
  background: linear-gradient(180deg, #f8fbff, #eef7ff);
}
.policy-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 18px;
}
.policy-card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 14px 42px rgba(18, 52, 90, .08);
}
.policy-card span {
  color: var(--gold);
  font-weight: 900;
  letter-spacing: .12em;
}
.policy-card h3 {
  margin: 10px 0 12px;
  color: var(--navy);
  line-height: 1.45;
  font-size: 1.18rem;
}
.policy-card p {
  margin: 0;
  color: #465568;
  font-size: .96rem;
}

.scene {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .8fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: var(--white);
}
.scene-image {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.scene-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.scene-text p {
  font-size: 1.1rem;
  color: #334155;
}

.profile {
  background: #f8fbff;
}
.profile-card {
  display: grid;
  grid-template-columns: minmax(240px, .38fr) minmax(0, 1fr);
  gap: 36px;
  padding: clamp(24px, 4vw, 46px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.profile-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
}
.profile-card h3 small {
  display: block;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 700;
}
dl {
  margin: 0;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px 20px;
}
dt {
  color: var(--blue);
  font-weight: 900;
}
dd {
  margin: 0;
  color: #334155;
}

.contact {
  background: linear-gradient(135deg, var(--navy), #145f98);
  color: var(--white);
}
.contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 32px;
  background: rgba(255,255,255,.08);
}
.contact h2 { color: var(--white); }
.contact .section-label { color: #aee1ff; }
.note { color: rgba(255,255,255,.78); font-size: .92rem; }
.contact .button.secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}

.site-footer {
  padding: 24px;
  text-align: center;
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

@media (max-width: 1180px) {
  .policy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    color: var(--navy);
    font-size: 1.4rem;
  }
  .site-nav {
    position: absolute;
    inset: 72px 16px auto 16px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .hero, .two-column, .scene, .profile-card {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
    padding-top: 44px;
  }
  .hero-image {
    max-width: 520px;
    justify-self: center;
  }
  .policy-grid { grid-template-columns: 1fr; }
  .contact-box { flex-direction: column; align-items: flex-start; }
  dl { grid-template-columns: 1fr; gap: 2px 0; }
  dd { margin-bottom: 14px; }
}
/* 活動報告 */
.activity-latest { background: #ffffff; }
.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 22px;
}
.activity-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 14px 42px rgba(18, 52, 90, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 54px rgba(18, 52, 90, .13);
}
.activity-card-link { display: block; height: 100%; }
.activity-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #eaf6ff, #dff2ff);
  overflow: hidden;
}
.activity-thumb img { width: 100%; height: 100%; object-fit: cover; }
.activity-no-image {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: .12em;
}
.activity-body { padding: 22px 22px 24px; }
.activity-body time,
.single-activity-header time {
  display: inline-block;
  color: var(--gold);
  font-weight: 800;
  font-size: .9rem;
  margin-bottom: 8px;
}
.activity-body h2,
.activity-body h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.45;
}
.activity-body p { margin: 0; color: #465568; font-size: .96rem; }
.activity-more { margin-top: 34px; text-align: center; }
.activity-archive-hero {
  padding: clamp(64px, 9vw, 126px) clamp(20px, 5vw, 86px);
  background:
    radial-gradient(circle at 80% 20%, rgba(25, 118, 185, .16), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #eef8ff 62%, #dff2ff 100%);
}
.activity-archive-inner { max-width: 980px; }
.activity-archive-hero h1 {
  margin: .25em 0 .4em;
  color: var(--navy);
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.15;
  letter-spacing: .03em;
}
.activity-list-section { background: #f8fbff; }
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 38px;
}
.pagination .page-numbers {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy);
  font-weight: 800;
}
.pagination .page-numbers.current {
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}
.single-activity-page { background: #f8fbff; }
.single-activity {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) 20px;
}
.single-activity-header { margin-bottom: 28px; }
.single-activity-header h1 {
  margin: .2em 0 .25em;
  color: var(--navy);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.25;
}
.single-activity-image {
  margin: 0 0 34px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.single-activity-image img { width: 100%; height: auto; }
.single-activity-content {
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 14px 42px rgba(18, 52, 90, .08);
}
.single-activity-content p { margin-top: 0; color: #334155; font-size: 1.06rem; }
.single-activity-back { margin-top: 30px; text-align: center; }
@media (max-width: 900px) { .activity-grid { grid-template-columns: 1fr; } }
