/*
Theme Name: komabagakuen
Description: 駒場学園同窓会
*/

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
  /* カラーパレット */
  --color-primary: #76274A;
  --color-secondary: #FDF5F7;
  --color-accent: #FFE670;
  --color-white: #FFFFFF;
  --color-black: #1E1E1E;
  --color-gray: #D9D9D9;
  --color-light-gray: #F5F5F5;
  --color-border: #E8E8E8;
  --color-text: #333333;

  /* フォント */
  --font-primary: 'Noto Sans JP', sans-serif;
  --font-en: 'Roboto', sans-serif;
  --font-decorative: 'Zen Maru Gothic', sans-serif;

  /* ブレイクポイント */
  --bp-mobile: 480px;
  --bp-tablet: 768px;
  --bp-desktop: 1024px;

  /* スペーシング */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-xxl: 64px;

  /* アニメーション */
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.3s;
  --duration-slow: 0.6s;
}

/* ==========================================================================
  Base
========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: auto;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-secondary);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--duration-normal) var(--ease-in-out);
}

a:hover {
  opacity: 0.8;
}

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

/* ==========================================================================
  Layout - Common
========================================================================== */

/* 共通内部コンテナ */
.l-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ==========================================================================
  Layout - Header
========================================================================== */
.l-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: var(--color-white);
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
  box-sizing: border-box;
}

.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 0 0 var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
}

.l-header__logo {
  display: flex;
  align-items: center;
}

.l-header__logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.l-header__logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
}

.l-header__logo-text {
  font-weight: 500;
  font-size: 16px;
  color: var(--color-black);
  line-height: 1.4;
}

.l-header__nav {
  display: flex;
  align-items: center;
  /* gap: var(--space-sm); */
}

.l-header__register-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--color-white);
  border-left: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  color: var(--color-primary);
  font-size: 10px;
  font-weight: 600;
  transition: all var(--duration-normal) var(--ease-in-out);
  box-sizing: border-box;
}

.l-header__register-btn i {
  font-size: 24px;
  margin-bottom: 4px;
}

.l-header__register-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  opacity: 1;
}

.l-header__hamburger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--color-primary);
  color: var(--color-white);
  position: relative;
  transition: all var(--duration-normal) var(--ease-in-out);
  border-bottom: 1px solid var(--color-border);
  box-sizing: border-box;
}

.l-header__hamburger-line {
  display: block;
  width: 25px;
  height: 1px;
  background-color: var(--color-white);
  transition: all var(--duration-normal) var(--ease-in-out);
  margin: 3px 0;
}

.l-header__hamburger-text {
  font-size: 10px;
  font-weight: 500;
  margin-top: 4px;
}

.l-header__hamburger.is-active .l-header__hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.l-header__hamburger.is-active .l-header__hamburger-line:nth-child(2) {
  opacity: 0;
}

.l-header__hamburger.is-active .l-header__hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* モバイルメニュー */
.l-header__mobile-menu {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  height: calc(100vh - 60px);
  background-color: var(--color-white);
  transform: translateX(-100%);
  transition: transform var(--duration-normal) var(--ease-in-out);
  z-index: 999;
}

.l-header__mobile-menu.is-open {
  transform: translateX(0);
}

.l-header__mobile-nav {
  padding: var(--space-lg) var(--space-md);
}

.l-header__mobile-list {
  list-style: none;
}

/* WordPressメニューアイテム対応 */
.l-header__mobile-list .menu-item,
.l-header__mobile-item {
  border-bottom: 1px solid var(--color-border);
}

.l-header__mobile-list .menu-item:last-child,
.l-header__mobile-item:last-child {
  border-bottom: none;
}

.l-header__mobile-list .menu-item a,
.l-header__mobile-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  font-weight: 500;
  font-size: 18px;
  color: var(--color-black);
  text-decoration: none;
  transition: color var(--duration-normal) var(--ease-in-out);
}

.l-header__mobile-list .menu-item a:hover,
.l-header__mobile-link:hover {
  color: var(--color-primary);
  opacity: 1;
}

/* アクティブメニューアイテム */
.l-header__mobile-list .current-menu-item a,
.l-header__mobile-list .current_page_item a {
  color: var(--color-primary);
  font-weight: 700;
}

/* ナビゲーション矢印アイコン */
.l-header__mobile-list .menu-item a .fa-chevron-right,
.l-header__mobile-link .fa-chevron-right {
  font-size: 14px;
  color: var(--color-gray);
  transition: color var(--duration-normal) var(--ease-in-out);
}

.l-header__mobile-list .menu-item a:hover .fa-chevron-right,
.l-header__mobile-link:hover .fa-chevron-right,
.l-header__mobile-list .current-menu-item a .fa-chevron-right,
.l-header__mobile-list .current_page_item a .fa-chevron-right {
  color: var(--color-primary);
}

/* モバイルメニュー - SNSセクション */
.l-header__mobile-sns {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  padding-top: var(--space-md);
  border-top: 2px solid var(--color-border);
}

.l-header__mobile-sns-title {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 1px;
}

.l-header__mobile-sns-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.l-header__mobile-sns-item {
  border-bottom: none;
}

.l-header__mobile-sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
  color: var(--color-white);
  border-radius: 50%;
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease-in-out);
  box-shadow: 0 4px 15px rgba(131, 58, 180, 0.3);
}

.l-header__mobile-sns-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(131, 58, 180, 0.4);
  opacity: 1;
  color: var(--color-white);
}

.l-header__mobile-sns-link i {
  font-size: 22px;
}

/* ==========================================================================
   Layout - Main
   ========================================================================== */
.l-main {
  margin-top: 60px;
}

/* ==========================================================================
   Project - Site Navigation
   ========================================================================== */
.p-sitenav {
  padding: var(--space-lg) var(--space-md);
  background-color: var(--color-secondary);
}

.p-sitenav__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

.p-sitenav__card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform var(--duration-normal) var(--ease-in-out);
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.p-sitenav__card:hover {
  transform: translateY(-4px);
}

.p-sitenav__card:hover .p-sitenav__card-bg {
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 192, 203, 0.5) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 182, 193, 0.6) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 240, 245, 0.8) 0%, transparent 50%),
    linear-gradient(135deg, #ffe4e9 0%, #ffd9e0 50%, #ffccd5 100%);
  box-shadow: 0 8px 30px rgba(255, 182, 193, 0.25);
  border-color: rgba(255, 182, 193, 0.7);
}

.p-sitenav__card-bg {
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 192, 203, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 182, 193, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 240, 245, 0.6) 0%, transparent 50%),
    linear-gradient(135deg, #ffeef2 0%, #ffe4e9 50%, #ffd9e0 100%);
  border: 1px solid var(--color-primary);
  border-radius: 16px;
  padding: var(--space-md);
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 20px rgba(255, 182, 193, 0.15);
  transition: all var(--duration-normal) var(--ease-in-out);
}

.p-sitenav__card-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 300px;
}

.p-sitenav__card-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-black);
  margin: 0;
}

.p-sitenav__card:visited .p-sitenav__card-title {
  color: var(--color-black);
}

.p-sitenav__card:hover .p-sitenav__card-title {
  color: var(--color-black);
}

.p-sitenav__card-btn {
  width: 25px;
  height: 25px;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: all var(--duration-normal) var(--ease-in-out);
}

.p-sitenav__card-btn.is-hover {
  transform: scale(1.1) rotate(45deg);
}

.p-sitenav__card-btn i {
  font-size: 12px;
}

/* ==========================================================================
   Project - Main Visual
   ========================================================================== */
.p-mv {
  position: relative;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-mv__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.p-mv__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-mv__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 var(--space-md);
}

.p-mv__content p,
.p-mv__content h1 {
  text-align: center;
  text-shadow: 2px 4px 4px rgba(0, 0, 0, 0.25);
}

.p-mv__catchphrase {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s var(--ease-in-out) 0.5s forwards;
}

.p-mv__catchphrase-sub,
.p-mv__catchphrase-main {
  color: var(--color-white);
  text-shadow: 2px 4px 4px rgba(0, 0, 0, 0.25);
  font-family: var(--font-decorative);
  font-weight: 500;
  margin: 0;
}

.p-mv__catchphrase-sub {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: var(--space-xs);
}

.p-mv__catchphrase-main {
  font-size: 20px;
  line-height: 1.4;
}

.p-mv__decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.p-mv__circle {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background-color: var(--color-gray);
  border-radius: 50%;
  opacity: 0.8;
}

.p-mv__shapes {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 100px;
  height: 80px;
}

.p-mv__shape {
  position: absolute;
  border: 1px solid var(--color-black);
}

.p-mv__shape--triangle {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 20px solid #759EC1;
  top: 20px;
  left: 10px;
}

.p-mv__shape--circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #759EC1;
  top: 0;
  right: 0;
}

/* ==========================================================================
  Project - News
========================================================================== */
.p-news {
  padding: var(--space-xxl) var(--space-md);
}

.p-news__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.p-news__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: var(--space-md);
}



.p-news__content {
  background-color: transparent;
  padding: 0;
}

.p-news__list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.p-news__item {
  position: relative;
  background-color: var(--color-white);
  border: 1px solid #e5e7eb;
  padding: var(--space-md) var(--space-xl) var(--space-md) var(--space-md);
  /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
  transition: all var(--duration-normal) var(--ease-in-out);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp var(--duration-slow) var(--ease-in-out) forwards;
}

.p-news__item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.p-news__item:nth-child(1) { animation-delay: 0.1s; }
.p-news__item:nth-child(2) { animation-delay: 0.2s; }
.p-news__item:nth-child(3) { animation-delay: 0.3s; }

.p-news__item-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  flex-wrap: wrap;
}

.p-news__item-date {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  background-color: #f9fafb;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
}

.p-news__item-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

/* カテゴリー別の背景色 */
.p-news__item-category--news {
  background-color: #dbeafe;
  color: #1e40af;
  border: 1px solid #93c5fd;
}

.p-news__item-category--community {
  background-color: #d1fae5;
  color: #047857;
  border: 1px solid #6ee7b7;
}

.p-news__item-category--event {
  background-color: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

.p-news__item-category--club {
  background-color: #ede9fe;
  color: #6d28d9;
  border: 1px solid #c4b5fd;
}

.p-news__item-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.5;
  margin: 0;
}

.p-news__item:hover .p-news__item-title {
  color: var(--color-primary);
}

/* ニュースアイテムリンクのスタイル */
.p-news__item-link {
  display: block;
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease-in-out);
}

.p-news__item-link:hover {
  opacity: 1;
}

/* アイテムボックス内の矢印 */
.p-news__item::after {
  content: '\f178';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  right: var(--space-sm);
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--color-primary);
  transition: all var(--duration-normal) var(--ease-in-out);
  opacity: 0.6;
}

.p-news__item:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(4px);
}

.p-news__no-posts {
  text-align: center;
  padding: var(--space-xxl) var(--space-md);
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.p-news__no-posts p {
  font-size: 16px;
  color: #6b7280;
  color: var(--color-text-light);
  margin: 0;
}

/* ==========================================================================
   Project - Instagram
   ========================================================================== */
.p-instagram {
  padding: var(--space-xxl) var(--space-md);
  background-color: var(--color-white);
  border-top: 1px solid var(--color-gray);
  border-bottom: 1px solid var(--color-gray);
}

.p-instagram__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.p-instagram__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.p-instagram__content {
  width: 100%;
}

#sb_instagram #sbi_images {
  padding: 0 !important;
}



/* ==========================================================================
   Component - Section Title
   ========================================================================== */
.c-section-title {
  text-align: left;
}

.c-section-title__sub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-primary);
}

.c-section-title__main {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 600;
  color: var(--color-black);
  line-height: 1.2;
  margin: 0;
}

/* ==========================================================================
   Component - More Button
   ========================================================================== */
.c-more-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-black);
  transition: all var(--duration-normal) var(--ease-in-out);
}

.c-more-btn:hover {
  color: var(--color-primary);
  opacity: 1;
}

.c-more-btn:hover .c-more-btn__icon {
  transform: translateX(4px);
}

.c-more-btn__text {
  font-size: 16px;
  font-weight: 500;
}

.c-more-btn__icon {
  width: 25px;
  height: 25px;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: transform var(--duration-normal) var(--ease-in-out);
}

.c-more-btn__icon i {
  font-size: 12px;
}

/* ==========================================================================
   Layout - Footer
   ========================================================================== */
.l-footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  position: relative;
}

.l-footer__inner {
    max-width: 1200px;
  margin: 0 auto;
}

.l-footer__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.l-footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.l-footer__logo-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.l-footer__logo-text {
  font-weight: 500;
  font-size: 16px;
  color: var(--color-white);
}

.l-footer__info {
  line-height: 1.6;
}

.l-footer__address,
.l-footer__tel,
.l-footer__fax {
  margin: 0;
  font-size: 14px;
  margin-bottom: var(--space-xs);
  text-align: center;
}

.l-footer__address:last-child,
.l-footer__tel:last-child,
.l-footer__fax:last-child {
  margin-bottom: 0;
}

.l-footer__privacy {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--space-lg);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.l-footer__privacy-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-white);
}

.l-footer__copyright {
  text-align: center;
}

.l-footer__copyright-text {
  font-size: 10px;
  color: var(--color-white);
  margin: 0;
  line-height: 1.2;
  text-align: center;
}

.l-footer__page-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-md);
  width: 50px;
  height: 50px;
  background-color: var(--color-white);
  color: var(--color-primary);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all var(--duration-normal) var(--ease-in-out);
  z-index: 1000;
}

.l-footer__page-top:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.l-footer__page-top i {
  font-size: 16px;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp var(--duration-slow) var(--ease-in-out) forwards;
}

.fade-in-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--duration-slow) var(--ease-in-out);
}

.fade-in-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (min-width: 768px) {
  /* Common Layout */
  .l-inner {
    max-width: 1080px;
    padding: 0 40px;
  }

  /* Header */
  /* ヘッダーは全画面サイズで統一表示 */
  .l-header__inner {
    padding: 0 0 0 var(--space-md);
    max-width: none;
  }

  .l-header__nav {
    margin-right: 0;
    padding-right: 0;
  }

  /* Site Navigation */
  .p-sitenav {
    padding: var(--space-xxl) var(--space-xl);
  }

  .p-sitenav__inner {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }

  .p-sitenav__card-bg {
    padding: var(--space-lg);
    min-height: 140px;
    border-radius: 16px;
  }

  .p-sitenav__card-title {
    font-size: 20px;
  }

  /* Main Visual */
  .p-mv {
    height: 500px;
  }

  .p-mv__catchphrase-sub {
    font-size: 24px;
  }

  .p-mv__catchphrase-main {
    font-size: 32px;
  }

  .p-mv__circle {
    width: 127px;
    height: 127px;
    bottom: 100px;
  }

  .p-mv__shapes {
    width: 150px;
    height: 120px;
    top: 40px;
    right: 40px;
  }

  /* News */
  .p-news {
    padding: var(--space-xxl) var(--space-xl);
  }

  .p-news__item-title {
    font-size: 18px;
  }

  /* Footer */
  .l-footer__main {
    justify-content: center;
    text-align: left;
  }

  .l-footer__page-top {
    width: 60px;
    height: 60px;
    bottom: var(--space-lg);
    right: var(--space-lg);
  }

  .l-footer__page-top i {
    font-size: 20px;
  }
}

@media (min-width: 1024px) {
  /* Common Layout */
  .l-inner {
    max-width: 1440px;
    padding: 0 60px;
  }

  /* Header */
  /* ハンバーガーメニューは全画面サイズで表示 */

  /* Main Visual */
  .p-mv {
    height: 600px;
  }

  .p-mv__content {
    padding: 0 var(--space-xl);
  }

  /* Section spacing */
  .p-news {
    padding: 100px var(--space-xl);
  }

  .p-sitenav {
    padding: 80px var(--space-xl);
  }
}

/* ==========================================================================
   Page Components (固定ページ共通)
   ========================================================================== */

/* 固定ページ共通 メインビジュアル */
.p-page-mv {
  position: relative;
  height: 200px;
  overflow: hidden;
  padding: 0 22px;
  margin-top: 80px;
}

.p-page-mv__bg {
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.p-page-mv__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-page-mv__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(118, 39, 74, 0.6);
  border-radius: 10px;
}

.p-page-mv__content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  z-index: 2;
}

.p-page-mv__title {
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
  text-align: center;
  margin: 0;
}

/* パンくずナビ（Breadcrumb NavXT） */
.breadcrumb {
  background: var(--color-secondary);
  padding: 20px 0;
}

.breadcrumb .l-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.breadcrumb span {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-black);
  display: inline-block;
}

.breadcrumb i {
  margin: 0 5px;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--color-black);
  text-decoration: none;
  transition: color var(--duration-normal) var(--ease-in-out);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}


/* 最後の要素（現在のページ）のスタイル */
.breadcrumb .breadcrumb_last {
  color: var(--color-black);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .breadcrumb {
    padding: 15px 0;
  }
  
  .breadcrumb span {
    font-size: 11px;
  }
  
  .breadcrumb > span + span:before {
    font-size: 7px;
    margin: 0 6px;
  }

}


/* アンカーリンク */
.p-greeting-anchor {
  background: var(--color-secondary);
  padding: 20px 0;
}



.p-greeting-anchor__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.p-greeting-anchor__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px 15px 10px;
  background: var(--color-white);
  border: 1px solid var(--color-primary);
  border-radius: 5px;
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease-in-out);
  position: relative;
}

.p-greeting-anchor__item:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.p-greeting-anchor__item:hover .p-greeting-anchor__text {
  color: var(--color-white);
}

.p-greeting-anchor__item:hover .p-greeting-anchor__icon {
  color: var(--color-white);
}

.p-greeting-anchor__text {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-black);
  transition: color var(--duration-normal) var(--ease-in-out);
}

.p-greeting-anchor__icon {
  position: absolute;
  right: 15px;
  font-size: 12px;
  color: var(--color-primary);
  transition: color var(--duration-normal) var(--ease-in-out);
}

/* 共通セクションスタイル */
.p-greeting-section {
  background: var(--color-secondary);
  padding: 60px 0;
}



/* 共通セクションヘッダー */
.p-greeting-section__lines {
  position: relative;
  margin-bottom: 40px;
}

.p-greeting-section__title {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-black);
  /* margin: 0 0 0 10px; */
  padding: var(--space-sm) 0 var(--space-sm) 10px;
  border-top: 1px solid var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
}

/* .p-greeting-section__line {
  width: 100%;
  height: 1px;
  background: var(--color-primary);
  margin-bottom: 59px;
}

.p-greeting-section__line:last-child {
  margin-bottom: 0;
} */

/* 会長挨拶 */
.p-greeting-president__paragraph {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-black);
  margin: 0 0 16px 0;
}

.p-greeting-president__signature {
  text-align: center;
  margin-top: 40px;
}

.p-greeting-president__name {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-black);
  margin: 0;
}

/* 役員構成 */
.p-greeting-officers__subtitle {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-black);
  text-align: center;
  margin: 0 0 40px 0;
}

.p-greeting-officers__table-wrapper {
  background: var(--color-white);
  border: 1px solid var(--color-gray);
  border-radius: 0;
}

.p-greeting-officers__table {
  width: 100%;
}

.p-greeting-officers__row {
  display: flex;
  border-bottom: 1px dashed var(--color-primary);
  flex-direction: column;
  align-items: stretch;
}

.p-greeting-officers__row:last-child {
  border-bottom: none;
}

 /* 役員構成テーブル - スマホ用縦並びレイアウト */
 /* 

.p-greeting-officers__position {
  max-width: none;
  width: 100%;
  border-right: none;
  border-bottom: 1px dashed var(--color-primary);
  background: var(--color-light);
  font-weight: 700;
  text-align: center;
}

.p-greeting-officers__names {
  padding: 15px 11px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.p-greeting-officers__name {
  font-size: 14px;
  line-height: 1.5;
} */

.p-greeting-officers__position {
  width: 100%;
  padding: 11px;
  background: #F9EAF0;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-black);
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.p-greeting-officers__names {
  flex: 1;
  padding: 11px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
}

.p-greeting-officers__name {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-black);
}

/* コンセプト */
.p-greeting-concept__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.p-greeting-concept__text {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-black);
  margin: 0;
}

/* 同窓会会則・部活動支援情報ボタン */
.p-greeting-regulations__content,
.p-greeting-club-support__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-greeting-regulations__btn,
.p-greeting-club-support__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 396px;
  padding: 14px 20px;
  background: var(--color-primary);
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-in-out);
  position: relative;
}

.p-greeting-regulations__btn:hover,
.p-greeting-club-support__btn:hover {
  background: #8a2e57;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(118, 39, 74, 0.3);
}

.p-greeting-regulations__btn.is-open,
.p-greeting-club-support__btn.is-open {
  border-radius: 10px 10px 0 0;
}

.p-greeting-regulations__btn-text,
.p-greeting-club-support__btn-text {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-white);
  margin: 0;
}

.p-greeting-regulations__btn-icon,
.p-greeting-club-support__btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--color-white);
  border-radius: 50%;
  transition: transform var(--duration-normal) var(--ease-in-out);
}

.p-greeting-regulations__btn.is-open .p-greeting-regulations__btn-icon,
.p-greeting-club-support__btn.is-open .p-greeting-club-support__btn-icon {
  transform: rotate(180deg);
}

.p-greeting-regulations__btn-icon i,
.p-greeting-club-support__btn-icon i {
  font-size: 12px;
  color: var(--color-primary);
}

/* アコーディオンコンテンツ */
.p-greeting-accordion__content {
  width: 100%;
  max-width: 396px;
  max-height: 0;
  overflow: hidden;
  background: var(--color-white);
  /* border: 1px solid var(--color-primary); */
  border-top: none;
  border-radius: 0 0 10px 10px;
  transition: max-height var(--duration-slow) var(--ease-in-out);
}

.p-greeting-accordion__content.is-open {
  max-height: fit-content;
  border-top: 1px solid var(--color-primary);
}

.p-greeting-accordion__inner {
  padding: 20px;
}

.p-greeting-accordion__title {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 20px 0;
  text-align: center;
}

.p-greeting-accordion__section {
  margin-bottom: 20px;
}

.p-greeting-accordion__section:last-child {
  margin-bottom: 0;
}

.p-greeting-accordion__section h4 {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-black);
  margin: 50px 0 8px 0;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--color-primary);
}


/* シンプルな条番号スタイル（h5） */
.p-greeting-accordion__section h5 {
  display: inline-block;
  background: var(--color-light);
  color: var(--color-primary);
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 15px 0;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid var(--color-primary);
}

.p-greeting-accordion__section p {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black);
  margin: 0 0 8px 0;
}

.p-greeting-accordion__section p:last-child {
  margin-bottom: 0;
}

/* 部活動支援テーブル */
.p-greeting-support-table-wrapper {
  margin: 20px 0 0 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.p-greeting-support-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-primary);
  font-size: 13px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

.p-greeting-support-table thead th {
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  text-align: center;
  padding: 12px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.p-greeting-support-table thead th:last-child {
  border-right: none;
}

.p-greeting-support-table tbody td {
  padding: 12px 8px;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  vertical-align: top;
  line-height: 1.4;
}

.p-greeting-support-table tbody td:last-child {
  text-align: left;
  border-right: 1px solid var(--color-border);
}

.p-greeting-support-table tbody tr:last-child td {
  border-bottom: 1px solid var(--color-border);
}

.p-greeting-support-table tbody tr:nth-child(even) {
  background: var(--color-light);
}

/* 月列のスタイル */
.p-greeting-support-table tbody td:first-child {
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(118, 39, 74, 0.05);
  border-left: 1px solid var(--color-border);
}

/* 部活動列のスタイル */
.p-greeting-support-table tbody td:nth-child(2) {
  font-weight: 600;
  min-width: 80px;
}

.p-greeting-accordion__section ul {
  margin: 8px 0 0 0;
  padding-left: 5px;
}

.p-greeting-accordion__section li {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black);
  margin-bottom: 4px;
}

.p-greeting-accordion__section li:last-child {
  margin-bottom: 0;
}

/* タブレット以上のレスポンシブ対応 */
@media (min-width: 768px) {
  .p-page-mv {
    height: 300px;
    padding: 0 40px;
  }

  .p-page-mv__bg {
    left: 40px;
    right: 40px;
    border-radius: 15px;
  }

  .p-page-mv__overlay {
    border-radius: 15px;
  }

  .p-page-mv__title {
    font-size: 24px;
  }



  .p-greeting-anchor__list {
    grid-template-columns: repeat(3, 1fr);
  }

  .p-greeting-section {
    padding: 80px 0;
  }

  .p-greeting-section__title {
    font-size: 24px;
  }

  .p-greeting-officers__names {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .p-greeting-officers__row {
    flex-direction: row;
  }

  .p-greeting-officers__position {
    max-width: 144px;
    border-right: 1px dashed var(--color-primary);
  }



  /* アコーディオン レスポンシブ */
  .p-greeting-regulations__btn,
  .p-greeting-club-support__btn,
  .p-greeting-accordion__content {
    max-width: 600px;
  }

  .p-greeting-accordion__inner {
    padding: 30px;
  }

  .p-greeting-accordion__title {
    font-size: 20px;
  }

  .p-greeting-accordion__section h4 {
    font-size: 18px;
  }

  .p-greeting-accordion__section h4:not(:first-of-type) {
    margin-top: 25px;
  }

  .p-greeting-accordion__section h5 {
    font-size: 14px;
    margin: 0 0 18px 0;
    padding: 8px 14px;
  }

  .p-greeting-accordion__section p,
  .p-greeting-accordion__section li {
    font-size: 16px;
  }

  /* 部活動支援テーブル - タブレット */
  .p-greeting-support-table {
    font-size: 14px;
  }

  .p-greeting-support-table thead th {
    padding: 15px 12px;
  }

  .p-greeting-support-table tbody td {
    padding: 15px 12px;
  }

  .p-greeting-support-table tbody td:nth-child(2) {
    min-width: 100px;
  }
}

/* デスクトップ以上のレスポンシブ対応 */
@media (min-width: 1024px) {
  .p-page-mv {
    height: 400px;
    padding: 0 60px;
  }

  .p-page-mv__bg {
    left: 60px;
    right: 60px;
    border-radius: 20px;
  }

  .p-page-mv__overlay {
    border-radius: 20px;
  }

  .p-page-mv__title {
    font-size: 32px;
  }



  .p-greeting-section {
    padding: 100px 0;
  }

  /* アコーディオン デスクトップ */
  .p-greeting-regulations__btn,
  .p-greeting-club-support__btn,
  .p-greeting-accordion__content {
    max-width: 800px;
  }

  .p-greeting-accordion__inner {
    padding: 40px;
  }

  .p-greeting-accordion__title {
    font-size: 22px;
  }

  .p-greeting-accordion__section h4 {
    font-size: 20px;
  }

  .p-greeting-accordion__section h4:not(:first-of-type) {
    margin-top: 30px;
  }

  .p-greeting-accordion__section h5 {
    font-size: 15px;
    margin: 0 0 20px 0;
    padding: 10px 16px;
  }

  .p-greeting-accordion__section p,
  .p-greeting-accordion__section li {
    font-size: 16px;
  }

  /* 部活動支援テーブル - デスクトップ */
  .p-greeting-support-table {
    font-size: 15px;
  }

  .p-greeting-support-table thead th {
    padding: 18px 16px;
  }

  .p-greeting-support-table tbody td {
    padding: 18px 16px;
  }

  .p-greeting-support-table tbody td:nth-child(2) {
    min-width: 120px;
  }
}

/* アニメーション用スタイル */
.fade-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* .p-page-mv__title,
.p-greeting-anchor,
.p-greeting-president__paragraph,
.p-greeting-officers__row,
.p-greeting-concept__text,
.p-greeting-accordion__section {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s var(--ease-in-out);
} */

/* .p-greeting-officers__row {
  transition-delay: 0.1s;
}

.p-greeting-concept__text:nth-child(2) {
  transition-delay: 0.2s;
} */

/* アンカーリンクのアクティブ状態 */
.p-greeting-anchor__item.active {
  background: var(--color-primary);
  color: var(--color-white);
}

.p-greeting-anchor__item.active .p-greeting-anchor__text {
  color: var(--color-white);
}

.p-greeting-anchor__item.active .p-greeting-anchor__icon {
  color: var(--color-white);
}

/* ボタンアイコンのバウンスアニメーション */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-3px);
  }
  60% {
    transform: translateY(-2px);
  }
}

.bounce {
  animation: bounce 0.6s ease-in-out;
}

/* スクロールアニメーション */
.fade-in-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-in-out);
}

.fade-in-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Archive Pages (Community & Event)
   ========================================================================== */

/* アーカイブ共通 */
.p-archive {
  background: var(--color-secondary);
  padding: 60px 0;
}



/* アーカイブグリッド */
.p-archive__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 60px;
}

/* アーカイブカード */
.p-archive-card {
  background: var(--color-white);
  border: 1px solid var(--color-black);
  border-radius: 5px;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-in-out);
  position: relative;
}

.p-archive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.p-archive-card__inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* 写真エリア */
.p-archive-card__image {
  position: relative;
  width: 100%;
  height: 110px;
  background: var(--color-gray);
  overflow: hidden;
}

.p-archive-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-normal) var(--ease-in-out);
}

.p-archive-card:hover .p-archive-card__img {
  transform: scale(1.05);
}

/* コンテンツエリア */
.p-archive-card__content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
}

/* バッジエリア */
.p-archive-card__badges {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.p-archive-card__badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 100px;
  font-family: var(--font-primary);
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  color: var(--color-black);
  width: fit-content;
  border: 1px solid var(--color-black);
}

/* コミュニティ用バッジ */
.p-archive-card__badge--year {
  background: #E8E8E8;
}

.p-archive-card__badge--department {
  background: #75C193;
}

/* イベント用バッジ */
.p-archive-card__badge--date {
  background: #FFE4E1;
  color: var(--color-primary);
  border-color: var(--color-primary);
}



.p-archive-card__badge--location {
  background: #E3F2FD;
  color: #1976D2;
  border-color: #1976D2;
}

/* タイトル */
.p-archive-card__title {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-black);
  margin: 0 0 8px 0;
  line-height: 1.4;
}



/* 説明文 */
.p-archive-card__description {
  flex: 1;
  margin-bottom: 12px;
}

.p-archive-card__description p {
  font-family: var(--font-primary);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-black);
  margin: 0;
}

/* 詳細ボタン */
.p-archive-card__btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 13px;
  height: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform var(--duration-normal) var(--ease-in-out);
}

.p-archive-card__btn:hover {
  transform: translateX(3px);
}

.p-archive-card__btn i {
  font-size: 11px;
  color: var(--color-primary);
}

/* ページネーション */
.p-archive__pagination {
  margin-top: 40px;
  text-align: center;
}

.p-archive__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 4px;
  background: var(--color-white);
  border: 1px solid var(--color-primary);
  border-radius: 5px;
  color: var(--color-primary);
  text-decoration: none;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--duration-normal) var(--ease-in-out);
}

.p-archive__pagination .page-numbers:hover,
.p-archive__pagination .page-numbers.current {
  background: var(--color-primary);
  color: var(--color-white);
}

.p-archive__pagination .page-numbers.prev,
.p-archive__pagination .page-numbers.next {
  width: 50px;
}

/* 投稿がない場合 */
.p-archive__no-posts {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  text-align: center;
}

.p-archive__no-posts-content {
  max-width: 300px;
  text-align: center;
}

.p-archive__no-posts-title {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-black);
  margin: 0 0 16px 0;
  text-align: center;
}

.p-archive__no-posts-text {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 400;
  color: var(--color-black);
  line-height: 1.5;
  margin: 0 0 24px 0;
  text-align: center;
}

.p-archive__no-posts-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 5px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--duration-normal) var(--ease-in-out);
}

.p-archive__no-posts-btn:hover {
  background: #8a2e57;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(118, 39, 74, 0.3);
}

/* タブレット以上のレスポンシブ対応 */
@media (min-width: 768px) {


  .p-archive__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .p-archive-card__image {
    height: 140px;
  }

  .p-archive-card__content {
    padding: 16px;
  }

  .p-archive-card__badges {
    flex-direction: row;
    gap: 8px;
  }

  .p-archive-card__badge {
    font-size: 12px;
    padding: 4px 12px;
  }

  .p-archive-card__title {
    font-size: 14px;
  }



  .p-archive-card__description p {
    font-size: 12px;
  }

  .p-archive-card__btn {
    width: 16px;
    height: 14px;
    bottom: 16px;
    right: 16px;
  }

  .p-archive-card__btn i {
    font-size: 14px;
  }
}

/* デスクトップ以上のレスポンシブ対応 */
@media (min-width: 1024px) {
  .p-archive {
    padding: 100px 0;
  }



  .p-archive__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }

  .p-archive-card__image {
    height: 160px;
  }

  .p-archive-card__content {
    padding: 20px;
  }

  .p-archive-card__title {
    font-size: 16px;
  }

  .p-archive-card__description p {
    font-size: 14px;
  }

  .p-archive-card__btn {
    bottom: 20px;
    right: 20px;
  }
}

/* ==========================================================================
   Register Banner (同窓会登録バナー)
   ========================================================================== */

.p-register-banner {
  padding: 60px 0;
}

.p-register-banner__inner {
  max-width: 440px;
  margin: 0 auto;
  padding: 0 22px;
}

.p-register-banner__content {
  background: var(--color-white);
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-primary);
}

.p-register-banner__title {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-black);
  margin: 0 0 20px 0;
  line-height: 1.4;
  text-align: center;
}

.p-register-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  background: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 100px;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  transition: all var(--duration-normal) var(--ease-in-out);
  border: 2px solid var(--color-primary);
}

.p-register-banner__btn:hover {
  background: transparent;
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(118, 39, 74, 0.3);
}

.p-register-banner__btn i {
  font-size: 18px;
  transition: transform var(--duration-normal) var(--ease-in-out);
}

.p-register-banner__btn:hover i {
  transform: scale(1.1);
}

/* タブレット以上のレスポンシブ対応 */
@media (min-width: 768px) {
  .p-register-banner {
    padding: 60px 0;
  }

  .p-register-banner__inner {
    max-width: 800px;
    padding: 0 40px;
  }

  .p-register-banner__content {
    padding: 50px 40px;
  }

  .p-register-banner__title {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .p-register-banner__btn {
    padding: 18px 40px;
    font-size: 18px;
  }
}

/* デスクトップ以上のレスポンシブ対応 */
@media (min-width: 1024px) {
  .p-register-banner {
    padding: 80px 0;
  }

  .p-register-banner__inner {
    max-width: 1200px;
    padding: 0 60px;
  }

  .p-register-banner__title {
    font-size: 24px;
  }
}

/* ==========================================================================
   Community Single Page
   ========================================================================== */

/* コミュニティ個別ページ */
.p-community-single {
  background: var(--color-secondary);
  padding: 40px 0;
}



/* メタ情報 */
.p-community-single__meta {
  background: var(--color-white);
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.p-community-single__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.p-community-single__job-title {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0;
  line-height: 1.4;
}

.p-community-single__name {
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-black);
  margin: 0 0 20px 0;
}

.p-community-single__basic-info {
  margin-top: 15px;
}

.p-community-single__basic-info p {
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--color-black);
  margin: 0 0 8px 0;
  line-height: 1.6;
}

.p-community-single__basic-info strong {
  color: var(--color-primary);
  font-weight: 600;
}

/* セクション */
.p-community-single__section {
  background: var(--color-white);
  border-radius: 10px;
  padding: 30px 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.p-community-single__section-title {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
}

.p-community-single__shop-name {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-black);
  margin: 0 0 15px 0;
}

.p-community-single__info-table {
  width: 100%;
  font-family: var(--font-primary);
  margin-top: 10px;
  border-collapse: separate;
  border-spacing: 0;
}

.p-community-single__info-table tr {
  display: block;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 15px;
  background: var(--color-white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.p-community-single__info-table th {
  display: block;
  background: var(--color-secondary);
  color: var(--color-black);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 15px;
  text-align: center;
  border: none;
  width: 100%;
}

.p-community-single__info-table td {
  display: block;
  background: var(--color-white);
  font-size: 14px;
  color: var(--color-black);
  padding: 10px;
  text-align: left;
  border: none;
  line-height: 1.6;
}

.p-community-single__info-table td a {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color var(--duration-normal) var(--ease-in-out);
}

.p-community-single__info-table td a:hover {
  opacity: 0.7;
}

.p-community-single__publication-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.p-community-single__publication-list li {
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--color-black);
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  line-height: 1.6;
  position: relative;
  padding-left: 12px;
}

.p-community-single__publication-list li:before {
  content: "•";
  color: var(--color-primary);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 12px;
}

.p-community-single__publication-list li:last-child {
  border-bottom: none;
}

.p-community-single__content-text {
  font-family: var(--font-primary);
  line-height: 1.8;
  white-space: pre-wrap; /* 改行と空白を保持 */
  word-wrap: break-word; /* 長い単語の改行を許可 */
}

.p-community-single__content-text p {
  font-size: 14px;
  color: var(--color-black);
  margin: 0 0 16px 0;
  line-height: 1.8;
}

.p-community-single__content-text p:last-child {
  margin-bottom: 0;
}

/* 記事本文 */
.p-community-single__content {
  background: var(--color-white);
  border-radius: 10px;
  padding: 30px 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  line-height: 1.8;
  white-space: pre-wrap; /* 改行と空白を保持 */
  word-wrap: break-word; /* 長い単語の改行を許可 */
}

.p-community-single__content h2,
.p-community-single__content h3,
.p-community-single__content h4 {
  font-family: var(--font-primary);
  color: var(--color-black);
  margin: 2em 0 1em 0;
  line-height: 1.4;
}

.p-community-single__content h2 {
  font-size: 22px;
  font-weight: 600;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 8px;
}

.p-community-single__content h3 {
  font-size: 18px;
  font-weight: 600;
}

.p-community-single__content h4 {
  font-size: 16px;
  font-weight: 500;
}

.p-community-single__content p {
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--color-black);
  margin: 0 0 1.5em 0;
}

.p-community-single__content img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin: 1.5em 0;
}

/* 投稿日時 */
.p-community-single__date {
  text-align: center;
  margin-bottom: 40px;
}

.p-community-single__date time {
  font-family: var(--font-primary);
  font-size: 12px;
  color: var(--color-gray-text);
  background: var(--color-white);
  padding: 8px 16px;
  border-radius: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 戻るボタン */
.p-community-single__back {
  text-align: center;
}

.p-community-single__back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--color-white);
  color: var(--color-primary);
  text-decoration: none;
  border: 2px solid var(--color-primary);
  border-radius: 25px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--duration-normal) var(--ease-in-out);
}

.p-community-single__back-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(118, 39, 74, 0.3);
}

.p-community-single__back-btn i {
  font-size: 12px;
  transition: transform var(--duration-normal) var(--ease-in-out);
}

.p-community-single__back-btn:hover i {
  transform: translateX(-3px);
}

/* タブレット以上のレスポンシブ対応 */
@media (min-width: 768px) {
  .p-community-single {
    padding: 80px 0;
  }



  .p-community-single__meta {
    padding: 30px;
    margin-bottom: 40px;
  }

  .p-community-single__job-title {
    font-size: 18px;
  }

  .p-community-single__name {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .p-community-single__basic-info p {
    font-size: 16px;
  }

  .p-community-single__section {
    padding: 40px 30px;
    margin-bottom: 40px;
  }

  .p-community-single__section-title {
    font-size: 22px;
    margin-bottom: 25px;
  }

  .p-community-single__shop-name {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .p-community-single__info-table {
    border-collapse: collapse;
  }

  .p-community-single__info-table tr {
    display: table-row;
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .p-community-single__info-table th {
    display: table-cell;
    background: var(--color-secondary);
    color: var(--color-black);
    font-size: 16px;
    font-weight: 600;
    padding: 15px 18px;
    text-align: left;
    vertical-align: top;
    width: 120px;
    border: 1px solid var(--color-border);
  }

  .p-community-single__info-table td {
    display: table-cell;
    background: transparent;
    font-size: 16px;
    padding: 15px 18px;
    text-align: left;
    border: 1px solid var(--color-border);
  }

  .p-community-single__publication-list li {
    font-size: 16px;
    padding: 15px 0 15px 25px;
  }

  .p-community-single__content-text p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .p-community-single__content {
    padding: 40px 30px;
    margin-bottom: 40px;
  }

  .p-community-single__content h2 {
    font-size: 24px;
  }

  .p-community-single__content h3 {
    font-size: 20px;
  }

  .p-community-single__content h4 {
    font-size: 18px;
  }

  .p-community-single__content p {
    font-size: 16px;
  }

  .p-community-single__date time {
    font-size: 14px;
  }

  .p-community-single__back-btn {
    padding: 15px 30px;
    font-size: 16px;
  }
}

/* デスクトップ以上のレスポンシブ対応 */
@media (min-width: 1024px) {
  .p-community-single {
    padding: 100px 0;
  }

  .p-community-single__name {
    font-size: 32px;
  }

  .p-community-single__section {
    padding: 50px 40px;
  }

  .p-community-single__section-title {
    font-size: 24px;
  }

  .p-community-single__shop-name {
    font-size: 22px;
  }

  .p-community-single__content {
    padding: 50px 40px;
  }

  .p-community-single__content-text p {
    font-size: 18px;
    margin-bottom: 24px;
  }
}

/* ==========================================================================
   Registration Form Page (Community & Event)
   ========================================================================== */

/* 登録フォーム（共通） */
.p-form {
  background: var(--color-secondary);
  padding: 60px 0;
}

.p-form__intro {
  background: var(--color-white);
  border-radius: 10px;
  padding: 30px 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.p-form__intro-title {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 15px 0;
}

.p-form__intro-text {
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--color-black);
  margin: 0;
  line-height: 1.6;
}

/* メッセージ */
.p-form__success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 30px;
  color: #155724;
  text-align: center;
}

.p-form__pending {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 30px;
  color: #856404;
  text-align: center;
}

.p-form__errors {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 30px;
}

.p-form__errors ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-form__errors li {
  color: #721c24;
  font-size: 14px;
  margin-bottom: 5px;
}

.p-form__errors li:last-child {
  margin-bottom: 0;
}

/* フォーム */
.p-form__form {
  background: var(--color-white);
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.p-form__section {
  margin-bottom: 40px;
}

.p-form__section:last-of-type {
  margin-bottom: 0;
}

.p-form__section-title {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
}

.p-form__field-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.p-form__field-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.p-form__field {
  display: flex;
  flex-direction: column;
}

.p-form__label {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 8px;
  position: relative;
}

.p-form__label.required::after {
  content: '*';
  color: #dc3545;
  margin-left: 4px;
}

.p-form__input,
.p-form__select {
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--color-black);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 5px;
  padding: 12px 15px;
  transition: border-color var(--duration-normal) var(--ease-in-out);
}

.p-form__input:focus,
.p-form__select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(118, 39, 74, 0.1);
}

.p-form__textarea {
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--color-black);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 5px;
  padding: 12px 15px;
  min-height: 80px;
  resize: vertical;
  transition: border-color var(--duration-normal) var(--ease-in-out);
}

.p-form__textarea--large {
  min-height: 120px;
}

.p-form__textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(118, 39, 74, 0.1);
}

/* 送信セクション */
.p-form__submit {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--color-border);
  margin-top: 40px;
}

.p-form__submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 50px;
  padding: 15px 30px;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-in-out);
  box-shadow: 0 2px 10px rgba(118, 39, 74, 0.2);
}

.p-form__submit-btn:hover {
  opacity: 0.8;
}

.p-form__submit-btn i {
  font-size: 14px;
}

.p-form__submit-note {
  font-family: var(--font-primary);
  font-size: 12px;
  color: var(--color-gray-text);
  margin: 15px 0 0 0;
}

/* タブレット以上のレスポンシブ対応 */
@media (min-width: 768px) {
  .p-form {
    padding: 80px 0;
  }

  .p-form__intro {
    padding: 40px 30px;
    margin-bottom: 40px;
  }

  .p-form__intro-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .p-form__intro-text {
    font-size: 16px;
  }

  .p-form__form {
    padding: 40px 30px;
  }

  .p-form__section-title {
    font-size: 20px;
    margin-bottom: 25px;
  }

  .p-form__field-row {
    flex-direction: row;
    gap: 20px;
  }

  .p-form__field-row .p-form__field {
    flex: 1;
  }

  .p-form__label {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .p-form__input,
  .p-form__select,
  .p-form__textarea {
    font-size: 16px;
    padding: 15px 18px;
  }

  .p-form__textarea {
    min-height: 100px;
  }

  .p-form__textarea--large {
    min-height: 150px;
  }

  .p-form__submit-btn {
    font-size: 18px;
    padding: 18px 40px;
  }

  .p-form__submit-note {
    font-size: 14px;
  }
}

/* デスクトップ以上のレスポンシブ対応 */
@media (min-width: 1024px) {
  .p-form {
    padding: 100px 0;
  }

  .p-form__intro {
    padding: 50px 40px;
  }

  .p-form__intro-title {
    font-size: 28px;
  }

  .p-form__intro-text {
    font-size: 18px;
  }

  .p-form__form {
    padding: 50px 40px;
  }

  .p-form__section-title {
    font-size: 22px;
  }
}

/* ==========================================================================
   News Single Page
   ========================================================================== */

/* ニュース個別ページ */
.p-news-single {
  background: var(--color-secondary);
  padding: 60px 0;
}

/* メタ情報 */
.p-news-single__meta {
  background: var(--color-white);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.p-news-single__info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.p-news-single__date {
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--color-gray-text);
  font-weight: 500;
}

.p-news-single__category {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 4px 12px;
  border-radius: 12px;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 500;
}

/* 記事本文 */
.p-news-single__content {
  background: var(--color-white);
  border-radius: 10px;
  padding: 30px 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  line-height: 1.8;
  white-space: pre-wrap; /* 改行と空白を保持 */
  word-wrap: break-word; /* 長い単語の改行を許可 */
}

.p-news-single__content h2,
.p-news-single__content h3,
.p-news-single__content h4 {
  font-family: var(--font-primary);
  color: var(--color-black);
  margin: 2em 0 1em 0;
  line-height: 1.4;
}

.p-news-single__content h2 {
  font-size: 22px;
  font-weight: 600;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 8px;
}

.p-news-single__content h3 {
  font-size: 18px;
  font-weight: 600;
}

.p-news-single__content h4 {
  font-size: 16px;
  font-weight: 500;
}

.p-news-single__content p {
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--color-black);
  margin: 0 0 1.5em 0;
}

.p-news-single__content img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin: 1.5em 0;
}

/* 前後記事ナビゲーション */
.p-news-single__navigation {
  background: var(--color-white);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.p-news-single__nav-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.p-news-single__nav-item {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
}

.p-news-single__nav-label {
  display: block;
  background: var(--color-gray-light);
  padding: 8px 16px;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-gray-text);
}

.p-news-single__nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  color: var(--color-black);
  text-decoration: none;
  transition: background-color var(--duration-normal) var(--ease-in-out);
}

.p-news-single__nav-link:hover {
  background: var(--color-secondary);
}

.p-news-single__nav-title {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  flex: 1;
}

.p-news-single__nav-item--prev .p-news-single__nav-link {
  flex-direction: row-reverse;
}

.p-news-single__nav-item--prev .p-news-single__nav-title {
  text-align: right;
}

.p-news-single__nav-link i {
  font-size: 12px;
  color: var(--color-primary);
  margin: 0 8px;
  transition: transform var(--duration-normal) var(--ease-in-out);
}

.p-news-single__nav-item--next .p-news-single__nav-link:hover i {
  transform: translateX(3px);
}

.p-news-single__nav-item--prev .p-news-single__nav-link:hover i {
  transform: translateX(-3px);
}

/* 戻るボタン */
.p-news-single__back {
  text-align: center;
}

.p-news-single__back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--color-white);
  color: var(--color-black);
  text-decoration: none;
  border-radius: 25px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all var(--duration-normal) var(--ease-in-out);
}

.p-news-single__back-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(118, 39, 74, 0.3);
}

.p-news-single__back-btn i {
  font-size: 12px;
  transition: transform var(--duration-normal) var(--ease-in-out);
}

.p-news-single__back-btn:hover i {
  transform: translateX(-3px);
}

/* タブレット以上のレスポンシブ対応 */
@media (min-width: 768px) {
  .p-news-single {
    padding: 80px 0;
  }

  .p-news-single__meta {
    padding: 30px;
    margin-bottom: 40px;
  }

  .p-news-single__info {
    gap: 20px;
  }

  .p-news-single__date {
    font-size: 16px;
  }

  .p-news-single__category {
    font-size: 14px;
    padding: 6px 16px;
  }

  .p-news-single__content {
    padding: 40px 30px;
    margin-bottom: 40px;
  }

  .p-news-single__content h2 {
    font-size: 24px;
  }

  .p-news-single__content h3 {
    font-size: 20px;
  }

  .p-news-single__content h4 {
    font-size: 18px;
  }

  .p-news-single__content p {
    font-size: 16px;
  }

  .p-news-single__navigation {
    padding: 30px;
  }

  .p-news-single__nav-inner {
    flex-direction: row;
    gap: 30px;
  }

  .p-news-single__nav-item {
    flex: 1;
  }

  .p-news-single__nav-label {
    font-size: 14px;
    padding: 10px 20px;
  }

  .p-news-single__nav-link {
    padding: 16px 20px;
  }

  .p-news-single__nav-title {
    font-size: 16px;
  }

  .p-news-single__back-btn {
    padding: 15px 30px;
    font-size: 16px;
  }
}

/* デスクトップ以上のレスポンシブ対応 */
@media (min-width: 1024px) {
  .p-news-single {
    padding: 100px 0;
  }

  .p-news-single__content {
    padding: 50px 40px;
  }

  .p-news-single__navigation {
    padding: 40px;
  }
}

/* ==========================================================================
   Event Single Page
   ========================================================================== */

/* イベント個別ページ */
.p-event-single {
  background: var(--color-secondary);
  padding: 60px 0;
}



/* イベント情報 */
.p-event-single__meta {
  background: var(--color-white);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.p-event-single__info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.p-event-single__info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.p-event-single__info-item:last-child {
  border-bottom: none;
}

.p-event-single__info-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-black);
}

.p-event-single__info-label i {
  font-size: 14px;
  color: var(--color-primary);
  width: 16px;
  text-align: center;
}

.p-event-single__info-value {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 400;
  color: var(--color-black);
  text-align: right;
}

/* 記事本文 */
.p-event-single__content {
  background: var(--color-white);
  border-radius: 10px;
  padding: 30px 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  line-height: 1.8;
  white-space: pre-wrap; /* 改行と空白を保持 */
  word-wrap: break-word; /* 長い単語の改行を許可 */
}

.p-event-single__content h2,
.p-event-single__content h3,
.p-event-single__content h4 {
  font-family: var(--font-primary);
  color: var(--color-black);
  margin: 2em 0 1em 0;
  line-height: 1.4;
}

.p-event-single__content h2 {
  font-size: 22px;
  font-weight: 600;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 8px;
}

.p-event-single__content h3 {
  font-size: 18px;
  font-weight: 600;
}

.p-event-single__content h4 {
  font-size: 16px;
  font-weight: 500;
}

.p-event-single__content p {
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--color-black);
  margin: 0 0 1.5em 0;
}

.p-event-single__content img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin: 1.5em 0;
}

/* 投稿日時 */
.p-event-single__date {
  text-align: center;
  margin-bottom: 40px;
}

.p-event-single__date time {
  font-family: var(--font-primary);
  font-size: 12px;
  color: var(--color-gray-text);
  background: var(--color-white);
  padding: 8px 16px;
  border-radius: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 戻るボタン */
.p-event-single__back {
  text-align: center;
}

.p-event-single__back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--color-white);
  color: var(--color-primary);
  text-decoration: none;
  border: 2px solid var(--color-primary);
  border-radius: 25px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--duration-normal) var(--ease-in-out);
}

.p-event-single__back-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(118, 39, 74, 0.3);
}

.p-event-single__back-btn i {
  font-size: 12px;
  transition: transform var(--duration-normal) var(--ease-in-out);
}

.p-event-single__back-btn:hover i {
  transform: translateX(-3px);
}

/* タブレット以上のレスポンシブ対応 */
@media (min-width: 768px) {
  .p-event-single {
    padding: 80px 0;
  }



  .p-event-single__meta {
    padding: 30px;
    margin-bottom: 40px;
  }

  .p-event-single__info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .p-event-single__info-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 8px;
    border: none;
  }

  .p-event-single__info-label {
    margin-bottom: 8px;
    font-size: 12px;
  }

  .p-event-single__info-value {
    font-size: 16px;
    font-weight: 600;
    text-align: left;
  }

  .p-event-single__content {
    padding: 40px 30px;
    margin-bottom: 40px;
  }

  .p-event-single__content h2 {
    font-size: 24px;
  }

  .p-event-single__content h3 {
    font-size: 20px;
  }

  .p-event-single__content h4 {
    font-size: 18px;
  }

  .p-event-single__content p {
    font-size: 16px;
  }

  .p-event-single__date time {
    font-size: 14px;
  }

  .p-event-single__back-btn {
    padding: 15px 30px;
    font-size: 16px;
  }
}

/* デスクトップ以上のレスポンシブ対応 */
@media (min-width: 1024px) {
  .p-event-single {
    padding: 100px 0;
  }



  .p-event-single__info-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .p-event-single__content {
    padding: 50px 40px;
  }
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

/* お問い合わせページ */
.p-contact {
  background: var(--color-secondary);
  padding: 60px 0;
}



/* フォーム */
.p-contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* フィールド */
.p-contact__field {
  width: 100%;
}

.p-contact__field-bg {
  background: transparent;
  padding: 0;
  transition: all var(--duration-normal) var(--ease-in-out);
  border: 1px solid #e0e0e0;
}

.p-contact__field-bg.is-focused {
  background: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--color-primary);
}

.p-contact__field-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  background: #f5f5f5;
  padding: 16px;
}

.p-contact__label {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.4;
}

.p-contact__required {
  display: inline-block;
  background: #FF0000;
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 3px;
  line-height: 1;
}

.p-contact__field-input {
  width: 100%;
  background: #fff;
  padding: 16px;
}

.p-contact__input,
.p-contact__textarea {
  width: 100%;
  background: var(--color-white);
  border: 1px solid #C4C4C4;
  border-radius: 5px;
  padding: 12px 16px;
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--color-black);
  transition: border-color var(--duration-normal) var(--ease-in-out);
  box-sizing: border-box;
}

.p-contact__input:focus,
.p-contact__textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(118, 39, 74, 0.1);
}

.p-contact__textarea {
  resize: vertical;
  min-height: 147px;
  line-height: 1.6;
}

/* 送信ボタン */
.p-contact__submit {
  text-align: center;
  margin-top: 40px;
}

.p-contact__submit-btn {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: YuGothic, var(--font-primary);
  font-size: 22px;
  font-weight: 700;
  padding: 10px 100px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-in-out);
  line-height: 1.5;
}

.p-contact__submit-btn:hover {
  background: #8a2e57;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(118, 39, 74, 0.3);
}

.p-contact__submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(118, 39, 74, 0.3);
}

/* フォーム送信中・完了状態 */
.p-contact__form.is-submitting .p-contact__submit-btn {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.p-contact__form.is-submitting .p-contact__submit-btn:hover {
  background: #ccc;
  transform: none;
  box-shadow: none;
}

/* バリデーションエラー */
.p-contact__input.is-error,
.p-contact__textarea.is-error {
  border-color: #FF0000;
  box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.1);
}

/* 成功メッセージ */
.p-contact__success {
  background: #4CAF50;
  color: var(--color-white);
  padding: 16px 20px;
  border-radius: 5px;
  text-align: center;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 30px;
  display: none;
}

.p-contact__success.is-visible {
  display: block;
}

/* エラーメッセージ */
.p-contact__error {
  background: #FF0000;
  color: var(--color-white);
  padding: 16px 20px;
  border-radius: 5px;
  text-align: center;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 30px;
  display: none;
}

.p-contact__error.is-visible {
  display: block;
}

.wpcf7-spinner {
  display: none !important;
}

/* タブレット以上のレスポンシブ対応 */
@media (min-width: 768px) {
  .p-contact {
    padding: 80px 0;
  }



  .p-contact__form {
    gap: 30px;
  }

  .p-contact__field-bg {
    padding: 0;
  }

  .p-contact__field-header {
    margin-bottom: 0;
    padding: 20px;
  }

  .p-contact__field-input {
    padding: 20px;
  }

  .p-contact__label {
    font-size: 20px;
  }

  .p-contact__input,
  .p-contact__textarea {
    padding: 16px 20px;
    font-size: 16px;
  }

  .p-contact__submit {
    margin-top: 60px;
  }

  .p-contact__submit-btn {
    font-size: 24px;
    padding: 12px 120px;
  }
}

/* デスクトップ以上のレスポンシブ対応 */
@media (min-width: 1024px) {
  .p-contact {
    padding: 100px 0;
  }



  .p-contact__field-bg {
    padding: 0;
  }

  .p-contact__field-header {
    padding: 24px;
  }

  .p-contact__field-input {
    padding: 24px;
  }

  .p-contact__label {
    font-size: 22px;
  }

  .p-contact__input,
  .p-contact__textarea {
    padding: 18px 24px;
    font-size: 18px;
  }

  .p-contact__submit-btn {
    font-size: 26px;
    padding: 14px 140px;
  }
}

/* ==========================================================================
   Page - Policy (個人情報保護方針)
   ========================================================================== */

.p-policy {
  padding: 60px 0;
}

.p-policy__content {
  max-width: 800px;
  margin: 0 auto;
}

.p-policy__intro {
  margin-bottom: 50px;
  text-align: center;
}

.p-policy__intro-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-light);
  padding: 30px;
  /* border-radius: 8px; */
  border-left: 4px solid var(--color-primary);
}

.p-policy__sections {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.p-policy__section {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 30px;
}

.p-policy__section:last-child {
  border-bottom: none;
}

.p-policy__section-title {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.p-policy__section-number {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 16px;
  min-width: 50px;
  text-align: center;
}


.p-policy__section-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 15px;
}

.p-policy__section-content p:last-child {
  margin-bottom: 0;
}

.p-policy__list {
  margin: 20px 0;
  padding-left: 20px;
}

.p-policy__list li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.p-policy__list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

.p-policy__contact {
  background: var(--color-light);
  padding: 25px;
  /* border-radius: 8px; */
  margin: 20px 0;
  border-left: 4px solid var(--color-primary);
}

.p-policy__contact-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.p-policy__contact-address,
.p-policy__contact-tel {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 8px;
}

.p-policy__contact-tel {
  margin-bottom: 0;
}

.p-policy__contact-note {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
}

.p-policy__link {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 600;
  transition: color var(--duration-normal) var(--ease-in-out);
}

.p-policy__link:hover {
  opacity: 0.7;
}

/* タブレット以上のレスポンシブ対応 */
@media (min-width: 768px) {
  .p-policy {
    padding: 80px 0;
  }

  .p-policy__intro-text {
    font-size: 18px;
    padding: 40px;
  }

  .p-policy__sections {
    gap: 50px;
  }

  .p-policy__section-title {
    font-size: 22px;
    margin-bottom: 25px;
  }

  .p-policy__section-content p {
    font-size: 18px;
  }

  .p-policy__list li {
    font-size: 18px;
  }

  .p-policy__contact {
    padding: 35px;
  }

  .p-policy__contact-title {
    font-size: 20px;
  }

  .p-policy__contact-address,
  .p-policy__contact-tel {
    font-size: 18px;
  }

  .p-policy__contact-note {
    font-size: 18px;
  }
}

/* デスクトップ以上のレスポンシブ対応 */
@media (min-width: 1024px) {
  .p-policy {
    padding: 100px 0;
  }

  .p-policy__content {
    max-width: 900px;
  }

  .p-policy__intro-text {
    font-size: 20px;
    padding: 50px;
  }

  .p-policy__sections {
    gap: 60px;
  }

  .p-policy__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
}

/* 画像表示スタイル */
.p-community-single__profile-image {
  text-align: center;
  margin-bottom: 20px;
}

.p-community-single__profile-image img {
  border-radius: 50%;
  max-width: 120px;
  height: 120px;
  object-fit: cover;
  border: 3px solid var(--border);
}

.p-community-single__shop-image {
  margin-bottom: 20px;
}

.p-community-single__shop-image img {
  border-radius: 8px;
  width: 100%;
  height: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.p-community-single__event-image {
  margin-bottom: 20px;
}

.p-community-single__event-image img {
  border-radius: 8px;
  width: 100%;
  height: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 学科別バッジの色設定 */
.p-archive-card__badge--tokushin {
  background: #6366f1;
  color: white;
  border: none;
  border: 1px solid var(--color-black);
}

.p-archive-card__badge--kokusai {
  background: #ec4899;
  color: white;
  border: none;
  border: 1px solid var(--color-black);
}

.p-archive-card__badge--shingaku {
  background: #3b82f6;
  color: white;
  border: none;
  border: 1px solid var(--color-black);
}

.p-archive-card__badge--shokumotsu {
  background: #10b981;
  color: white;
  border: none;
  border: 1px solid var(--color-black);
}

.p-archive-card__badge--default {
  background: #6b7280;
  color: white;
  border: none;
  border: 1px solid var(--color-black);
}

/* 登録ボタンセクション（共通） */
.p-register-section {
  background: var(--color-white);
  /* border: 2px solid var(--color-primary); */
  padding: 60px 0;
  text-align: center;
  position: relative;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.p-register-section__content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.p-register-section__title {
  color: var(--color-primary);
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 16px;
  text-align: center;
}

.p-register-section__desc {
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
  text-align: center;
}

.p-register-section__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 18px 36px;
  border-radius: 100px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(118, 39, 74, 0.2);
  transition: all 0.3s ease;
  border: 2px solid var(--color-primary);
}

.p-register-section__link:hover {
  background: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(118, 39, 74, 0.3);
  border-color: var(--color-primary);
}

.p-register-section__link i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.p-register-section__link:hover i {
  transform: translateX(4px);
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
  .p-register-section {
    padding: 40px 0;
  }

  .p-register-section__title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .p-register-section__desc {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .p-register-section__link {
    padding: 16px 28px;
    font-size: 16px;
  }
}

/* フォーム内リンクセクション */
.p-form__link-section {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.p-form__archive-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 0;
}

.p-form__archive-link:hover {
  color: var(--color-primary);
  opacity: 0.8;
}

.p-form__archive-link i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.p-form__archive-link:hover i {
  transform: translateX(4px);
}
