/* 基本設定 */
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP');

* {
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    margin: 0;
    color: #333;
    background-color: #FFFFFF;
}

a {
    text-decoration: none !important;
}

button {
    cursor: pointer;
}

.sp-only {
    display: none;
}

.container {
    width: 90%;
    max-width: 1500px;
    margin: auto;
}

section {
    padding: 80px 0;
    max-width: 1100px;
    margin: 0 auto;
    width: 80%;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
    color: #FFFFFF;
}

h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1rem;
}

.title-border {
    display: inline-block;
    border-left: 6px solid #1e88e5;
    padding-left: 15px;
}

/*  ヘッダー */
header {
    background: #004986;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(5px);
}

.header_container {
    width: 90%;
    max-width: 1500px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.header_logo {
    margin: 10px;
    display: flex;
    align-items: center;
}

.header_logo img {
    width: 60px;
}

header h1 {
    margin: 10px;
    font-size: 1.5rem;
    color: #fff;
}

/* ナビゲーション */
nav ul {
    list-style: none;
    padding: 10px;
    display: flex;
    margin: 0;
}

nav li {
    margin-right: 30px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s ease-in-out;
}

nav a:hover:not(.req_button) {
    opacity: 0.5;
}

.req_button {
    background-color: red;
    padding: 12px;
    border-radius: 48px;
    border: 2px solid red;
    transition: all 0.3s;
}

.req_button:hover {
    background: #FFFFFF;
    color: red;
}

/* ハンバーガーメニュー */
.menu-toggle {
    display: none;
}

/* ヒーローエリア  */
.hero {
    height: 60vh;
    position: relative;
    overflow: hidden;
}

.hero_container {
    color: #fff;
    animation: fadeUp 1.4s ease forwards;
}


@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: sliderAnime 21s infinite;
}

.slide:nth-child(2) {
    animation-delay: 7s;
}

.slide:nth-child(3) {
    animation-delay: 14s;
}

@keyframes sliderAnime {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    5% {
        opacity: 1;
    }
    30% {
        opacity: 1;
    }
    35% {
        opacity: 0;
        transform: scale(1.15);
    }
    100% {
        opacity: 0;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    background: rgba(0, 0, 0, .35);
}


.hero_container h2 {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
    font-size: clamp(48px, 7vw, 96px);
    letter-spacing: .2em;
    margin-bottom: 14px;
}

.hero_container p {
    font-weight: 300;
    font-size: 12px;
    letter-spacing: .4em;
    opacity: .7;
}

/* 概要セクション  */
.section-lead {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
    color: #555;
    font-size: 1.1rem;
}

.about-cards {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.about-card {
    flex: 1;
    text-align: center;
    padding: 25px;
    background: #f5f7fa;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

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

.about-card.active {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.about-icon {
    width: 80px;
}

.about-detail-wide {
    margin-top: 30px;
    background: #f7f9fc;
    border-radius: 12px;
    max-height: 0;
    overflow: hidden;
    padding: 0 40px;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.about-detail-wide.open {
    max-height: 1000px;
    padding: 40px;
}

.detail {
    display: none;
}

.detail.active {
    display: block;
}

.detail-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-photos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.detail-photos img {
    width: 100%;
    border-radius: 12px;
}

.detail-text {
    text-align: left;
}

.detail-text h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #004986;
}

.detail-text p {
    line-height: 1.8;
    color: #555;
}

/* ブログセクション */
.blog-section {
    background: #f7f9fc;
    padding: 60px 0;
    margin-top: 60px;
    border-radius: 16px;
}

.blog-section h2 {
    margin: 0;
}

.blog-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    padding: 0 30px;
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-body {
    padding: 20px;
}

.blog-date {
    font-size: 0.8rem;
    color: #666;
}

.blog-category {
    margin-bottom: 10px;
}

.blog-category .category {
    display: inline-block;
    padding: 2px 6px;
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
    margin-right: 4px;
}

.category-volunteer {
    background-color: #bebc1c;
}

.category-event {
    background-color: #e67e22;
}

.category-outdoor {
    background-color: #922ecc;
}

.category-camp {
    background-color: #3dd351;
}

.category-uncategorized {
    background-color: #666;
}

.blog-title {
    font-size: 1.1rem;
    margin: 10px 0;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
}

/* アイキャッチ */
.post-eyecatch img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 40px;
}

/* FAQセクション  */
.faq-section {
    background-color: #f7f9fc;
    padding: 60px 20px;
    border-radius: 16px;
    margin-top: 120px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #ddd;
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 15px 10px;
    font-size: 1.1em;
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: "▼";
    position: absolute;
    right: 10px;
}

.faq-question.active::after {
    content: "▲";
}

.faq-answer {
    display: none;
    padding: 0 10px 15px 10px;
    font-size: 1em;
    color: #555;
}

/*  お問い合わせセクション（トップページ）  */
.contact-section {
    background: #f7f9fc;
    padding: 60px 0;
    margin-top: 120px;
    border-radius: 16px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /* アイコンと文字の間隔 */
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.contact-link i {
    font-size: 1.2em;
    /* アイコンのサイズ */
    color: #007BFF;
    /* アイコンの色 */
}

.top-contact-wrap {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.contact-label {
    letter-spacing: .3em;
    font-size: 12px;
    color: #4a7ca5;
}

.top-contact-wrap h2 {
    font-size: 34px;
    margin: 15px 0 20px;
    color: #0b3c5d;
}

.top-contact-wrap p {
    line-height: 1.9;
    color: #555;
    margin-bottom: 40px;
}

.contact-link {
    display: inline-block;
    padding: 14px 50px;
    border: 1px solid #0b3c5d;
    color: #0b3c5d;
    text-decoration: none;
    border-radius: 40px;
    transition: .3s;
}

.contact-link:hover {
    background: #0b3c5d;
    color: white;
}

/* ボタン */
.normal-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 260px;
    margin: 0 auto;
    padding: .9em 2em;
    border: 1px solid #004986;
    border-radius: 32px;
    background-color: #fff;
    color: #004986;
    font-size: 1em;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.normal-button:hover {
    background-color: #004986;
    color: #fff;
}

/* フッター */
footer {
    background-color: #003366;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info {
    flex: 1;
    min-width: 250px;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #ccc;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.footer-logo span {
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 30px;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.85rem;
    color: #888;
}

/* ブログ一覧ページ */
.blog-archive {
    padding: 60px 20px;
}

.blog-filter {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    align-items: center;
}

.blog-filter select {
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    cursor: pointer;
    background-color: #fff;
    transition: border-color 0.2s;
}

.blog-filter select:hover,
.blog-filter select:focus {
    border-color: #004986;
    outline: none;
}

.blog-filter .filter-button {
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    background-color: #004986;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.blog-filter .filter-button:hover {
    background-color: #003666;
}

.no-post-message {
    text-align: center;
    font-size: 16px;
    color: #555;
    padding: 60px 20px;
}

/* ページネーション */
.pagination-3 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style-type: none;
    padding: 0;
    margin: 40px 0;
}

.pagination-3 li {
    margin: 0;
}

.pagination-3 a,
.pagination-3 span {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 2em;
    height: 2em;
    padding: 0 8px;
    color: #333;
    border-bottom: 2px solid #f2f2f2;
    transition: all 0.2s;
}

.pagination-3 a:hover {
    border-bottom-color: #2589d0;
}

.pagination-3 .current a {
    border-bottom-color: #2589d0;
    pointer-events: none;
    font-weight: bold;
}

.pagination-3 span {
    color: #ccc;
}

/* 個別記事ページ  */
.single-post.section {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.mini-back {
    display: inline-block;
    color: #004986;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.mini-back:hover {
    text-decoration: underline !important;
}

.post {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.post-header {
    margin-bottom: 30px;
}

.post-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 10px;
}

.post-date {
    margin-right: 12px;
}

.post-tags {
    color: #004986;
    font-weight: 500;
}

.post-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
    line-height: 1.3;
    border-bottom: 2px solid #004986;
    padding-bottom: 5px;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 40px;
}

.post-content h2 {
    font-size: 1.4rem;
    margin: 25px 0 12px 0;
    border-left: 4px solid #004986;
    padding-left: 10px;
    color: #333;
    text-align: left;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.post-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.post-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 140px;
    height: 30px;
    padding: 0 0.5em;
    border: 1px solid #004986;
    border-radius: 16px;
    color: #004986;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.post-button:hover {
    background-color: #004986;
    color: #fff;
    border-color: #004986;
}

/* お問い合わせページ */
.contact-page {
    padding: 80px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-text {
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
    color: #555;
}

.contact-wrap {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background: #fdfdfd;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-wrap label {
    display: block;
    margin-bottom: 20px;
    font-weight: bold;
    color: #333;
    font-size: 1rem;
}

.contact-wrap input[type="text"],
.contact-wrap input[type="email"],
.contact-wrap textarea {
    width: 100%;
    padding: 12px 15px;
    margin-top: 8px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
}

.contact-wrap input:focus,
.contact-wrap textarea:focus {
    outline: none;
    border-color: #004986;
    box-shadow: 0 0 0 4px rgba(0, 73, 134, 0.1);
}

.wpcf7-not-valid-tip {
    color: #d9534f;
    font-size: 0.85rem;
    margin-top: 5px;
}

.wpcf7-response-output {
    border-radius: 8px !important;
    margin-top: 20px !important;
}

/* 404ページ */

.error-content h2 {
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    line-height: 1;
}

/* ========================================
   レスポンシブデザイン
======================================== */

/* タブレット */
@media (max-width: 1120px) and (min-width: 769px) {
    .header_container {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    nav ul {
        margin: 0;
    }

    .hero {
        height: 400px;
    }

    .hero_container h2 {
        font-size: 2.8rem;
    }

    .hero_container p {
        font-size: 1rem;
    }

    .blog-cards {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px;
    }

    .blog-card {
        display: flex !important;
        flex-direction: row !important;
        height: 180px;
    }

    .blog-card-image {
        width: 40%;
        height: 100%;
        flex-shrink: 0;
    }

    .blog-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .blog-card-body {
        width: 60%;
        padding: 15px 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* スマートフォン */
@media (max-width: 768px) {

    /* 基本設定 */
    body {
        font-size: 15px;
        line-height: 1.7;
    }

    .sp-only {
        display: inline;
    }

    section {
        padding: 50px 0;
        width: 90%;
    }

    h2 {
        font-size: 1.5rem !important;
        margin-bottom: 25px;
    }

    h3 {
        font-size: 1.15rem;
    }

    /* ヘッダー */
    header {
        padding: 5px 0;
    }

    .header_container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
        min-height: 40px;
    }

    .header_logo {
        margin: 0;
    }

    .header_logo img {
        width: 30px;
    }

    header h1 {
        font-size: 12px;
        margin: 0 0 0 8px;
        line-height: 1.2;
        white-space: nowrap;
    }

    /* ハンバーガーメニュー */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 25px;
        height: 18px;
        cursor: pointer;
        z-index: 1001;
    }

    .menu-toggle .bar {
        width: 100%;
        height: 2px;
        background-color: #fff;
        transition: all 0.3s ease;
    }

    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .header_word {
        position: fixed;
        left: -100%;
        top: 50px;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 73, 134, 0.95);
        transition: left 0.3s;
        z-index: 999;
    }

    .header_word.active {
        left: 0;
    }

    .header_word ul {
        flex-direction: column;
        padding: 50px 0 0;
    }

    .header_word li {
        margin: 15px 0;
        text-align: center;
    }

    .header_word a {
        font-size: 1.1rem;
    }

    /* ヒーロー */
    .hero_container {
        padding: 0;
    }

    .hero_container h2 {
        font-size: 56px;
        letter-spacing: .18em;
        line-height: 1.05;
        font-weight: 600;
    }

    .hero_container p {
        margin-top: 6px;
        font-size: 11px;
        letter-spacing: .35em;
    }


    /* 概要セクション */
    .section-lead {
        font-size: 1rem;
        margin-bottom: 30px;
        text-align: left;
    }

    .about-cards {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .about-card {
        width: 100%;
        display: flex;
        align-items: center;
        padding: 15px 20px;
        text-align: left;
        cursor: pointer;
        transition: background 0.3s;
    }

    .about-card img {
        width: 50px;
        height: auto;
        margin-bottom: 0;
        margin-right: 15px;
    }

    .about-card h3 {
        font-size: 1.1rem;
        margin: 0;
    }

    .about-detail-wide {
        margin-top: 20px;
        padding: 0 20px;
    }

    .about-detail-wide.open {
        padding: 20px 15px;
    }

    .detail-grid {
        display: flex;
        flex-direction: column-reverse;
        gap: 20px;
    }

    .detail-photos {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .detail-photos img {
        width: 100%;
        border-radius: 8px;
        max-height: 300px;
        object-fit: cover;
    }

    .detail-text h4 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    /* ブログカード */
    .blog-cards {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px;
        padding: 0 10px;
    }

    .blog-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        display: flex;
        flex-direction: column;
        padding: 0 10px;
    }

    /* 各ブログカード */
    .blog-card {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        text-decoration: none;
    }

    /* 画像エリア */
    .blog-card-image {
        width: 100%;
        max-height: 360px;
        height: auto;
    }

    .blog-card-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        max-height: 360px;
    }

    /* テキストエリア */
    .blog-card-body {
        padding: 15px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .blog-date {
        font-size: 0.8rem;
        color: #666;
        margin: 0;
    }

    .blog-category {
        margin: 0;
    }

    .category {
        font-size: 0.75rem;
        padding: 3px 8px;
        border-radius: 4px;
    }

    .blog-title {
        font-size: 1.1rem;
        line-height: 1.4;
        font-weight: bold;
        color: #333;
        margin: 5px 0;
    }

    .blog-excerpt {
        font-size: 0.9rem;
        color: #555;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* FAQ */
    .faq-question {
        font-size: 0.95rem;
        padding: 15px;
    }

    .faq-answer {
        padding: 15px;
    }

    /* フッター */
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    /* ブログ一覧ページ */

    .blog-filter {
        flex-direction: column;
        gap: 10px;
    }

    .blog-filter select,
    .blog-filter .filter-button {
        width: 100%;
        height: 45px;
        font-size: 1rem;
    }

    .blog-archive {
        padding: 50px 0;
    }

    .pagination-3 {
        flex-wrap: wrap;
        gap: 5px;
    }

    .pagination-3 a,
    .pagination-3 span {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    /* 個別記事 */
    .single-post.section {
        width: 92%;
        margin: 20px auto;
        padding: 0;
    }

    .post {
        padding: 25px 20px;
        border-radius: 10px;
    }

    .mini-back {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    .post-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
        word-break: break-word;
    }

    .post-meta {
        flex-wrap: wrap;
    }

    .post-content {
        font-size: 1rem;
    }

    .post-content h2 {
        font-size: 1.3rem;
        margin: 30px 0 15px;
    }

    .post-nav {
        justify-content: space-between;
        display: flex;
    }

    .post-button {
        width: 100%;
        padding: 12px;
    }

    .normal-button {
        box-sizing: border-box;
        width: 90%;
    }

    /* お問い合わせ */
    .contact-page {
        padding: 50px 15px;
    }

    .contact-wrap {
        padding: 25px 20px;
    }

    /* 404 ページ */
    .error-content h2 {
        font-size: 3.5rem;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }
}