/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
    /* Colors */
    --primary-color: #1e3a8a;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #dc2626;
    --secondary-dark: #b91c1c;
    --accent-color: #f59e0b;

    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-white: #ffffff;

    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-dark: #111827;
    --bg-section: #f3f4f6;

    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-primary: 'Noto Sans JP', sans-serif;
    --font-secondary: 'Noto Serif JP', serif;

    /* Spacing */
    --container-max: 1200px;
    --section-padding: 80px;
    --section-padding-mobile: 60px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding) 0;
}

.section-dark {
    background-color: var(--bg-section);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 968px) {
  .section-lead span {
    white-space: nowrap;
  }
  .section-description span {
    white-space: nowrap;
  }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 1.05rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all var(--transition-normal);
    text-transform: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 900;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.nav-name {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 8px 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    overflow: hidden;
    padding-top: 80px;
}

/*.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}*/

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.0) 50%, rgba(0, 0, 0, 0.0));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--text-white);
    padding: 40px 20px;
}

.hero-sub-title {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title {
    margin-bottom: 30px;
}

.hero-name {
    display: block;
    font-size: 5rem;
    font-weight: 800;
    font-feature-settings: "palt";
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-name rt {
  font-size: 1.8rem;
  font-weight: 500;
  font-family: var(--font-secondary);
}

.hero-name-kanji {
  text-align: center;
    display: block;
    font-size: 2rem;
    font-weight: 500;
    opacity: 0.95;
}

.hero-main-copy {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-sub-copy {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-white);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ============================================
   Policy Section
   ============================================ */

.policy {
  overflow: hidden;
}

.policy-list {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 48px;
}

.policy-item {
  display: flex;
  align-items: flex-start;
}

.policy-index {
  font-size: 2rem;
  font-weight: 700;
  color: #ccc;
  line-height: 1;
  margin-right: 20px;
  flex-shrink: 0;
}

.policy-body {
  flex: 1;
}

.policy-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.policy-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555;
}

.policy-photos {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.policy-photo {
    text-align: center;
}

.policy-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.policy-photo figcaption {
  width: 100%;
    margin-top: 12px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    text-align: center;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 968px) {
  .policy-list {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .policy-index {
    font-size: 1.6rem;
    margin-right: 16px;
  }

  .policy-photos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .policy-photos {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ============================================
   Policy Section
   ============================================ */
.policy {
  background-color: #bae8ff;
  overflow: hidden;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.policy-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.policy-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0px;
  margin-bottom: 12px;
}

.policy-index {
  font-size: 2rem;
  font-weight: 700;
  color: #1f4fb2; /* プロフィールのアクセントカラーに合わせて調整可 */
  line-height: 1.2;
  flex-shrink: 0;
}

.policy-card-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
}

.policy-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 968px) {
  .policy-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Profile Section
   ============================================ */

.profile {
  overflow: hidden;
}

.profile-basic {
    margin-bottom: 50px;
}

.profile-basic-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.profile-name {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.profile-reading {
  display: inline-block;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-light);
    margin-left: 15px;
    white-space: nowrap;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.profile-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
}

.profile-info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.profile-info-item > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.info-value {
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 500;
}

.profile-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.profile-card:has(.profile-list--roles) {
    grid-column: 1 / 3;
}

.profile-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.profile-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.profile-card-header i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.profile-card-header h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.profile-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-list li {
    padding-left: 25px;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
}

.profile-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.8rem;
}

.profile-list--roles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 32px;
    row-gap: 8px;
}

/* 役職カードを全幅にする */
.profile-card:has(.profile-list--roles) {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .profile-list--roles {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .profile-details {
        grid-template-columns: 1fr;
    }

    .profile-card--roles,
    .profile-card:has(.profile-list--roles) {
        grid-column: auto;
    }

    .profile-list--roles {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Achievements Section
   ============================================ */

.achievements {
  overflow: hidden;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* カード本体 */
.achievement-card {
    background: var(--bg-white);
    padding: 35px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    text-align: center;

    display: flex;
    flex-direction: column;
}

.achievement-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

/* アイコン */
.achievement-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

/* タイトル */
.achievement-title {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* 実績リスト */
.achievement-list {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.achievement-list li {
    padding-left: 25px;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

.achievement-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* 写真エリア（カード下部固定） */
.achievement-photo {
    margin-top: auto;
}

.achievement-photo figure {
    margin: 0;
}

.achievement-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.achievement-photo figcaption {
    margin-top: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
    text-align: center;
}

/* ============================================
   Projects Section
   ============================================ */

.projects {
  background-color: #fffddf;
  overflow: hidden;
}

.projects-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.project-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
    transition: all var(--transition-normal);
}

.project-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--secondary-color);
}

.project-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.project-item span {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* ============================================
   Activities Section
   ============================================ */

.activities {
  overflow: hidden;
}

.activities .activities-description {
        text-align: center;
        font-family: var(--font-secondary);
        font-size: 2rem;
        font-weight: 700;
       margin: -20px auto 50px;
   }

  .activities .activities-description span {
    color: #9f0810;
  }

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.activity-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-normal);

    display: flex;
    flex-direction: column;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.activity-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--text-white);
    box-shadow: var(--shadow-lg);
}

.activity-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.activity-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 25px;
}

/* ===== 写真エリア（Achievements と同仕様） ===== */

.activity-photo {
    margin-top: auto;
}

.activity-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.activity-photo figcaption {
    margin-top: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
    text-align: center;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 576px) {
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .activity-card {
        padding: 32px 24px;
    }

    .activities .activities-description {
            text-align: center;
            font-family: var(--font-secondary);
            font-size: 1.4rem;
            font-weight: 700;
           margin: -20px auto 40px;
       }

}


/* ============================================
   Contact Section
   ============================================ */

.contact {
  overflow: hidden;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-normal);
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.contact-link {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: color var(--transition-fast);
}

.contact-link:hover {
    color: var(--primary-light);
}

.contact-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
}

.contact-social {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.contact-social h3 {
  text-align: center;
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.social-description {
  text-align: center;
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 30px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.social-btn.facebook {
    background: #1877f2;
    color: var(--text-white);
}

.social-btn.facebook:hover {
    background: #0c63d4;
    transform: translateX(5px);
}

.social-btn.website {
    background: var(--primary-color);
    color: var(--text-white);
}

.social-btn.website:hover {
    background: var(--primary-dark);
    transform: translateX(5px);
}

.qr-codes {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.qr-code {
    text-align: center;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    background: var(--bg-section);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.qr-placeholder i {
    font-size: 3rem;
    color: var(--text-light);
}

.qr-code p {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* ============================================
   Supporters Section
   ============================================ */

.supporters {
    background: var(--bg-light);
}

.supporters-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.supporters-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 40px;
}

/* CTA Button */

.supporters-cta {
    margin-bottom: 30px;
}

.supporters-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--accent-color), #f97316);
    color: var(--text-white);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.supporters-btn i {
    font-size: 1.4rem;
}

.supporters-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* FAX Highlight */

.supporters-fax {
    margin: 40px auto 20px;
    padding: 24px 20px;
    max-width: 480px;
    background: #fff7ed;
    border: 2px solid #fdba74;
    border-radius: 16px;
    text-align: center;
}

.supporters-fax .fax-label {
    font-size: 1rem;
    font-weight: 600;
    color: #9a3412;
    margin-bottom: 8px;
}

.supporters-fax .fax-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: #c2410c;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.supporters-fax .fax-note {
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* Note */

.supporters-note {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-top: 10px;
}

/* Responsive */

@media (max-width: 768px) {
    .supporters-text {
        font-size: 1rem;
    }
}

/* ============================================
   Responsive Enhancement (Supporters CTA)
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .supporters-btn {
        padding: 18px 32px;
        font-size: 1.1rem;
    }
}

/* Smartphone */
@media (max-width: 768px) {
    .supporters-cta {
        margin-bottom: 24px;
    }

    .supporters-btn {
        width: 100%;
        max-width: 100%;
        padding: 20px 16px;
        font-size: 1.05rem;
        border-radius: 14px;
        justify-content: center;
        text-align: center;
        line-height: 1.4;
    }

    .supporters-btn span {
        display: block;
    }

    .supporters-btn i {
        font-size: 1.3rem;
    }
}

/* Small Smartphone */
@media (max-width: 480px) {
    .supporters-btn {
        font-size: 1rem;
        padding: 18px 14px;
    }

    .supporters-fax {
        padding: 20px 14px;
    }

    .supporters-fax .fax-number {
        font-size: 1.4rem;
        letter-spacing: 0.03em;
    }
}


/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 50px 0 30px;
    overflow: hidden;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-white);
    font-size: 1.8rem;
    font-weight: 900;
    border-radius: 50%;
}

.footer-name {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-slogan {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-copyright {
    font-size: 0.95rem;
    opacity: 0.7;
}

/* ============================================
   Scroll to Top Button
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   AOS Animations
   ============================================ */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 968px) {
    :root {
        --section-padding: 60px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 76px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 76px);
        background: var(--bg-white);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        transition: right var(--transition-normal);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 12px 0;
    }

    .hero-name {
        font-size: 4rem;
    }

    .hero-name-kanji {
        font-size: 1.5rem;
    }

    .hero-main-copy {
        font-size: 2rem;
    }

    .hero-sub-copy {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .projects-list,
    .activities-grid,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .profile-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 50px;
    }

    .hero-sub-title {
        display: block;
        text-align: left;
        font-size: 1.4rem;
        font-weight: 700;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        margin-top: 20px;
        margin-bottom: -20px;
    }

    .hero-title {
        margin-bottom: 0px;
    }

    .hero-name {
        display: block;
        font-size: 3.5rem;
        line-height: 1;
        font-weight: 800;
        font-feature-settings: "palt";
        margin-bottom: 0px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .hero-name rt {
      font-size: 1.2rem;
      font-weight: 500;
      font-family: var(--font-secondary);
      transform: translateY(3px);
    }

    /*.hero-name {
        font-size: 2.5rem;
    }

    .hero-name-kanji {
        font-size: 1.3rem;
    }*/

    .hero-main-copy {
        font-size: 1.6rem;
    }

    .hero-sub-copy {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .badge-number {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .profile-basic-card,
    .profile-card,
    .achievement-card,
    .activity-card,
    .contact-card,
    .contact-social {
        padding: 25px;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .qr-codes {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   Hero Section – Adjusted
============================================ */

/* ---------- PC（969px以上） ---------- */

.hero {
    position: relative;
    height: 100vh;
    background-image: url("../images/top_img.jpg");
    background-size: cover;
    background-position: center top; /* 上寄せで頭切れ防止 */
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

/* 左 → 右へ自然に消えるグラデーション（50vwまで）
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: calc(100% - 80px);
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.45) 30%,
        rgba(0, 0, 0, 0.15) 45%,
        rgba(0, 0, 0, 0) 50vw
    );
    z-index: 1;
    opacity: 0.3;
}*/

/* コンテンツ：左端配置・中央寄せ・50vw */
.hero-content {
    position: relative;
    z-index: 2;
    width: 50vw;
    height: calc(100% - 80px);
    margin-left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 縦中央 */
    padding: 0 20px 0 5%;
    text-align: left;
    color: var(--text-white);
}

/* CTA */
.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
}

/* スクロール表示 */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

/* ---------- Tablet / Mobile（968px以下） ---------- */

@media (max-width: 968px) {

    .hero {
        height: 90vh;
        background-image: url("../images/top_img_sp.jpg");
        background-size: cover;
        background-position: center top; /* 上寄せ */
        background-repeat: no-repeat;
        background-attachment: scroll;
    }

    /* 下半分グラデーション */
    .hero-overlay {
        top: 50%;
        left: 0;
        width: 100%;
        height: 50%;
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0),
            rgba(0, 0, 0, 0.85)
        );
    }

    /* 下寄せ配置 */
    .hero-content {
        width: 100%;
        height: auto;
        justify-content: flex-end;
        padding: 20px;
        text-align: center;
        margin-top: auto;
    }

    /* Hero内CTAは表示しない */
    .hero-cta,
    .hero-scroll {
        display: none;
    }
}
