/*
Theme Name: 親和ジュニア
Theme URI: https://shinwajunior.comani.company
Description: 親和ジュニアバレーボールチーム専用テーマ
Author: Your Name
Version: 1.0
*/

:root {
    --main-color: #1E90FF;
    --sub-color: #FFD700;
    --bg-color: #f9f9f9;
    --text-color: #333;
    --white: #ffffff;
    --black: #000000;
    --gray: #f0f0f0;
    --transition: all 0.3s ease;
}

/* ベースのスタイル */
body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--main-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--sub-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 60px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--main-color);
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: var(--sub-color);
    transform: translateX(-50%);
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* ボタンスタイル */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    background-color: var(--main-color);
    color: var(--white);
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn:hover {
    background-color: var(--sub-color);
    color: var(--text-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--main-color);
    color: var(--main-color);
}

.btn-outline:hover {
    background-color: var(--main-color);
    color: var(--white);
}

/* アニメーション用クラス */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 1.9s ease, transform 1.9s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ヘッダー */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.site-header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.site-logo {
    max-width: 200px;
}

.site-logo img {
    max-height: 60px;
    width: auto;
}

/* ナビゲーション */
.main-navigation {
    display: flex;
    align-items: center;
}

.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.menu li {
    margin-left: 20px;
    position: relative;
}

.menu li a {
    color: var(--text-color);
    font-weight: bold;
    padding: 10px 15px;
    display: block;
    transition: var(--transition);
}

.menu li a:hover {
    color: var(--main-color);
}

/* モバイルメニュー */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

@media (max-width: 991px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation .menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        padding: 80px 20px 20px;
        z-index: 999;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
    }
    
    .main-navigation.active .menu {
        right: 0;
    }
    
    .menu li {
        margin: 10px 0;
    }
    
    .menu li a {
        padding: 15px 0;
        border-bottom: 1px solid var(--gray);
    }
    
    .menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 24px;
        cursor: pointer;
    }
}

/* レスポンシブ */
@media (max-width: 768px) {
    .section {
        padding: 40px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}



/* 投稿ページ */
.vb-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}

.vb-hero {
  background: #1E90FF;
  color: white;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  margin-bottom: 2rem;
}

.vb-hero-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

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

.vb-posts-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.vb-post-card {
  background: white;
  border: 2px solid #1E90FF;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.vb-post-card:hover {
  transform: translateY(-5px);
  border-color: #FFD700;
}
.vb-single-thumbnail{
display:flex;
justify-content:center;
}
.vb-post-thumbnail img {
  height: auto;
  display: block;
}
.vb-post-thumbnail {
  width: 100%;
  height: 200px; /* 固定の高さを設定 */
  overflow: hidden;
  position: relative;
}

.vb-post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 縦横比を保ちながら枠いっぱいに表示 */
  object-position: center; /* 画像を中央に配置 */
  position: absolute;
  top: 0;
  left: 0;
}
.vb-post-content {
  padding: 1rem;
}
.vb-post-navigation p{
color:#ffff;
}
.vb-post-title {
  font-size: 1.25rem;
  color: #1E90FF;
  margin: 0 0 0.5rem 0;
}

.vb-post-meta {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 0.75rem;
}

.vb-post-excerpt {
  font-size: 1rem;
  color: #333;
}

.vb-single-title {
  color: #1E90FF;
  font-size: 2rem;
}

.vb-single-thumbnail img {
  border-radius: 0.5rem;
  margin: 1rem 0;
}

.vb-single-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.vb-single-footer {
  margin-top: 2rem;
  border-top: 1px solid #ccc;
  padding-top: 1rem;
}

.vb-post-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

.vb-post-navigation .vb-prev,
.vb-post-navigation .vb-next {
  font-weight: bold;
  color: #1E90FF;
}

/* プライバシーポリシーページ用 */
.privacy-policy h1{
text-align:center;
}
.policy-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 2em 1em;
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.8;
  color: #333;
}

.policy-wrapper h1 {
  font-size: 2em;
  margin-bottom: 0.8em;
  text-align: center;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.5em;
}

.policy-wrapper h2 {
  font-size: 1.4em;
  margin-top: 2em;
  margin-bottom: 0.6em;
  color: #222;
  border-left: 5px solid #4caf50;
  padding-left: 0.5em;
}

.policy-wrapper p {
  margin-bottom: 1.2em;
}

.policy-wrapper ul {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}

.policy-wrapper li {
  margin-bottom: 0.5em;
  list-style-type: disc;
}

.policy-wrapper a {
  color: #0073aa;
  text-decoration: underline;
}

.policy-wrapper a:hover {
  color: #005177;
  text-decoration: none;
}
