/*
Theme Name: Fukuyama YEG
Theme URI:
Author: Fukuyama YEG
Author URI:
Description: 福山商工会議所青年部（福山YEG）公式ウェブサイト テーマ
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fukuyama-yeg
*/

/* ==========================================================================
    Foundation (Base styles, Variables)
    ========================================================================== */
:root {
    --color-primary: #003366;
    --color-accent: #014f99;
    --color-bg-light: #d9edfa;
    --color-body-bg: #fcfdff;
    --header-height-mobile: 4.375rem;
    --transition-speed: 0.4s;
    --max-width-content: 1500px;
    --color-coral: #d66464;

    /* Fluid Typography Tokens (remベース) */
    --font-size-base: 1rem;
    --font-size-h2: clamp(2rem, 4vw, 2.8rem);
    --font-size-sub: clamp(1rem, 2vw, 1.25rem);

     /* Subpage */
    --color-bg: #f5f8fa;
    --color-white: #ffffff;
    --color-primary: #00469b;
    --color-text: #333333;
    --color-border: #e1e8ed;
    --shadow-subtle: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --radius-main: 16px;

}

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

html {
    font-size: var(--font-size-base);
    font-size: 100%;
}

@media (max-width: 1500px) {
  html {
    font-size: 1.2307vw; 
  }
}
@media screen and (max-width: 767px) {
  html {
    font-size: 16px;
  }
}

/* pcの電話番号発信対応 */
a[href^="tel:"] {
  pointer-events: none;
}
@media screen and (max-width: 767px) {
  a[href^="tel:"] {
    pointer-events: auto;
  }
}

body {
    font-family: "Poppins","Zen Kaku Gothic New","Noto Sans JP", Meiryo, sans-serif;
    background-color: var(--color-body-bg);
    color: var(--color-primary);
    line-height: 1.6;
    overflow-x: hidden;

}

body.is-drawer-open {
    overflow: hidden;
}

ul {
    list-style: none;
}
img {
    max-width: 100%;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}


/* ==========================================================================
    Layout (Structural blocks)
    ========================================================================== */
.l-header {
    width: 100%;
    margin: 2.5rem auto;
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
    padding: 0 1rem;
    z-index: 100;
    /* ↓ HEADER-SCROLL-MODE: fixed に戻す場合は下2行を「position: fixed; top: 0;」に変更 */
    position: relative;
    top: auto;
    /* ↑ HEADER-SCROLL-MODE */
}

@media (max-width: 767px) {
    .l-header {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: var(--header-height-mobile);
        margin: 0;
        padding: 0 0.9375rem;
        background-color: none;
        box-shadow: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }
}

.l-hero {
    margin: 0 auto;
    padding: 0 1.25rem 0;
    overflow: hidden;
}

@media (max-width: 767px) {
    .l-hero {
        padding: 2rem 1rem;
    }
}

.l-section {
    margin: 8rem auto ;
}
@media (max-width: 767px) {
    .l-section {
        margin: 4rem auto ;
    }
}
.l-innr {
    max-width: var(--max-width-content);
    padding: 0 1rem;
    margin: 0 auto;
}
.l-section.p-join {
    margin: -2rem auto 4rem auto;
}
.l-footer {
    margin: 0 auto;
    padding: 5rem 1rem 0;
}
@media (max-width: 767px) {
    .l-section.p-join {
        margin: -2rem auto 4rem auto;
    }

}

.l-container {
    max-width: 1300px;
    /* ↓ HEADER-SCROLL-MODE: fixed 時は「margin: 15rem auto 0」に戻す */
    margin: 3rem auto 0;
    /* ↑ HEADER-SCROLL-MODE */
    padding: 0 1rem;
}
.l-container.__l-wide {
    max-width: 100% !important;
}

@media (max-width: 767px) {
    .l-container {
        margin: 0 auto 0;
    }
}


/* ==========================================================================
    Project (Unique Page Elements)
    ========================================================================== */

/* --- Header UI --- */
.p-header__logo {
    background-color: var(--color-bg-light);
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 8.75rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    z-index: 101;
    color: #fff;
}
.p-header__logo_pic {
width: 6rem;
}


@media (max-width: 767px) {
    .p-header__logo {
        background-color: transparent;
        box-shadow: none;
        flex-direction: row;
        padding: 0;
        min-width: auto;
        height: 100%;
        gap: 0.625rem;
        color: var(--color-primary);
    }
    .p-header__logo_pic {
        width: 3.5rem;
    }
}

.p-header__logo-img {
    width: 3.75rem;
    height: auto;
    margin-bottom: 0.5rem;
}

@media (max-width: 767px) {
    .p-header__logo-img {
        width: 2.5rem;
        margin-bottom: 0;
    }
}

.p-header__logo-text {
    font-size: 0.875rem;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.p-header__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    justify-content: space-between;
}

@media (max-width: 767px) {
    .p-header__content {
        display: none;
    }
}

.p-header__row {
    display: flex;
    gap: 0.75rem;
}

.p-header__nav-main {
    flex: 1;
    display: flex;
    gap: 0.5rem;
}

.p-header__nav-sub {
    flex: 1;
    background-color: var(--color-bg-light);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    height: 3.125rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.p-sub-nav {
    gap: 3rem;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    font-weight: 550;
}

.p-sub-nav__item:not(:last-child)::after {
    content: "/";
    margin-left: clamp(0.625rem, 1.5vw, 1.25rem);
    color: #bcd4e6;
    font-weight: normal;
}

.p-header__aside {
    width: 10rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ↓ HEADER-SCROLL-MODE: スクロール後に aside を fixed 追従させる
   JS が .p-header__aside--sticky クラスを付与したときだけ適用
   元に戻す場合はこのブロックごと削除 */
.p-header__aside--sticky {
    position: fixed;
    top: 1.5rem;
    right: 1rem;
    z-index: 200;
    width: 10rem;
    height: 4.5rem; /* .c-drawer-btn の height:100% の基準を確保 */
    animation: aside-fade-in 0.2s ease forwards;
}
@keyframes aside-fade-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* ↑ HEADER-SCROLL-MODE */

@media (max-width: 767px) {
    .p-header__aside {
        display: none;
    }
}

.p-header__mobile-trigger {
    display: none;
    position: fixed;
    right: 0.8rem;
    z-index: 10;
}

@media (max-width: 767px) {
    .p-header__mobile-trigger {
        display: block;
        width: 7.5rem;
        height: 3.125rem;
    }
}

/* --- Hero & Background Animation --- */
:root {
            --color-primary: #003366;
            --color-bg-white: #fcfdff;
            /* 色を少し濃いめに調整 */
            --color-moya-red: rgba(214, 100, 100, 0.6);
            --color-moya-blue-alt: rgba(100, 200, 255, 0.5);
            --color-moya-blue-deep: rgba(40, 120, 210, 0.8); /* 濃度をアップ */
            --color-moya-light: rgba(60, 160, 255, 0.6);      /* 濃度をアップ */
}
.p-hero_main {
    position: relative;
    width: 100%;
    /*height: 100vh;*/
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
@media (max-width: 640px) {
    .p-hero_main {
        display: block;
    }
}

.p-hero__bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--color-bg-white);
    overflow: hidden;
}
.p-hero__blob {
    position: absolute;
    filter: blur(6.25rem);
    border-radius: 50%;
    will-change: transform, opacity;
}
/* 左上：赤 */
.p-hero__blob--top-left-red {
    top: -15%;
    left: -15%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--color-moya-red) 0%, transparent 75%);
    animation: moveSlowlyCorner 12s infinite alternate ease-in-out,
                fadeRed 7s infinite alternate ease-in-out;
}
/* 左上：青 */
.p-hero__blob--top-left-blue {
    top: -15%;
    left: -15%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--color-moya-blue-alt) 0%, transparent 75%);
    animation: moveSlowlyCorner 15s infinite alternate-reverse ease-in-out,
                fadeBlue 9s infinite alternate ease-in-out;
}
/* 右下：中心をさらに右下の角へ寄せ、サイズを微増させて調整 */
.p-hero__blob--bottom-right {
    bottom: -35%; /* -25%からさらに外側へ */
    right: -35%;  /* -25%からさらに外側へ */
    width: 70vw;  /* 位置を下げた分、少し大きくして色の広がりを確保 */
    height: 70vw;
    background: radial-gradient(circle, var(--color-moya-blue-deep) 0%, transparent 70%);
    animation: moveCircleRightCorner 14s infinite linear,
                fadeDeepBlue 10s infinite alternate ease-in-out;
}
/* 左下：フェードアニメーションを追加 */
.p-hero__blob--bottom-left {
    bottom: -15%;
    left: -10%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, var(--color-moya-light) 0%, transparent 70%);
    animation: moveCircleLeftCorner 10s infinite linear,
                fadeLightBlue 8s infinite alternate ease-in-out;
}
/* --------------------------------------------------------------------------
   Animations (Keyframes)
   -------------------------------------------------------------------------- */
@keyframes moveSlowlyCorner {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, 15%) scale(1.05); }
}
/* 左上のフェード */
@keyframes fadeRed {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.1; } /* 白（背景）に近づく */
}
@keyframes fadeBlue {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.6; }
}
/* 右下のフェード：周期をずらして個性を出す */
@keyframes fadeDeepBlue {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.15; }
}
/* 左下のフェード */
@keyframes fadeLightBlue {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.7; }
}
@keyframes moveCircleRightCorner {
    0% { transform: rotate(0deg) translateX(5%) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(5%) rotate(-360deg); }
}
@keyframes moveCircleLeftCorner {
    0% { transform: rotate(0deg) translateX(-5%) rotate(0deg); }
    100% { transform: rotate(-360deg) translateX(-5%) rotate(360deg); }
}

.p-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--color-primary);
}
.p-hero__title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.p-hero__lead {
    font-size: 1.125rem;
    margin-top: 1.5rem;
    opacity: 0.8;
    font-weight: 500;
}

.p-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    min-height: 31.25rem;
    margin: 0 auto 0;
    max-width: 1500px;
}

@media (max-width: 767px) {
    .p-hero {
        flex-direction: column-reverse;
        gap: 1.875rem;
        text-align: center;
    }
}
@media (max-width: 640px) {
    .p-hero {
        margin-top: 0;
    }
}

.p-hero__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    
}

@media (max-width: 767px) {
    .p-hero__body {
        align-items: center;
    }
}

.p-hero__logo-box {
    width: 90%;
    margin-bottom: 2rem;
}

.p-hero__main-logo {
    width: 100%;
    height: auto;
    display: block;
}

.p-hero__image-area {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.p-hero__image-bg {
    width: 98%;
    padding: 1.5rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.p-hero__person-info {
    position: absolute;
    right: 10%;
    top: 30%;
    text-align: right;
}

.p-hero__role {
    font-size: 1rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 0.3125rem;
}

.p-hero__name {
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    font-weight: bold;
    color: var(--color-primary);
    letter-spacing: 0.1em;
}

/* --- Activity --- */
.p-activity__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.p-activity__tabs {
    display: flex;
    gap: 0.625rem;
    padding: 0.5rem;
    border-radius: 0.75rem;
    min-width: 63rem;
    justify-content: space-between;
}

@media (max-width: 767px) {
    .p-activity__tabs {
        width: 100%;
        min-width: 100%;
        padding: 0;
    }
}
@media (max-width: 640px) {
    .p-activity__tabs {        
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.p-activity__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 2.5vw, 2rem);
}

@media (max-width: 1024px) {
    .p-activity__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .p-activity__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* --- Section Content Boxes --- */
.p-section-box {
    display: flex;
    align-items: center;
    gap: clamp(1.875rem, 5vw, 5rem);
    background-color: var(--color-bg-light);
    border-radius: 1.875rem;
    padding: 6rem;
    position: relative;
    margin-bottom: 2.5rem;
    /*background: url(assets/images/p_top_blue_bg.jpg) repeat;
    background-size:auto ;*/
    box-shadow: 0 1.5rem 2rem -2rem hsl(200 50% 20% / 40%);
}

@media (max-width: 1024px) {
    .p-section-box {
        padding: 4rem;
    }
}
@media (max-width: 767px) {
    .p-section-box {
        flex-direction: column;
        gap: 2.5rem;
        padding:4rem 2rem;
    }
}
@media (max-width: 640px) {
    .p-section-box {
        padding:4rem 1.5rem;
    }
}

.p-section-box__body {
    flex: 0 0 clamp(18.75rem, 35vw, 30.25rem);
    display: flex;
    flex-direction: column;
    gap: 1.875rem;
    z-index: 2;
}
.p-section-box__desc {
    font-size: 1.125rem;
    font-weight: 450;
}
.p-section-box__desc:last-child {

}
@media (max-width: 767px) {
    .p-section-box__desc {
        font-size: 1rem;
    }
}

.p-section-box__bg-text {
    position: absolute;
    top: -5rem;
    left: 0;
    right: 0;
    margin: auto;
    font-size: 6.8rem;
    font-weight: bold;
    color: #014f99;
    white-space: nowrap;
    z-index: 1;
    user-select: none;
    pointer-events: none;
    width: fit-content;
}
@media (max-width: 767px) {
    .p-section-box__bg-text {
        top: -7vw;
        font-size: 7vw;
    }
}

/* --- Interview Section --- */
.p-interview__slider-area {
    flex: 1;
    position: relative;
    min-width: 0;
    width: 100%;
    z-index: 2;
}

.p-interview__nav {
    position: absolute;
    top: 50%;
    width: calc(100% + 6.25rem);
    left: -3.125rem;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

@media (max-width: 1200px) {
    .p-interview__nav {
        width: 100%;
        left: 0;
        padding: 0 0.625rem;
    }
}

.p-interview__slider-area {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

.p-interview__slider-area .splide__arrow {
  background: #014f99;
  width: 3rem;
  height: 3rem;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}
@media (max-width: 767px) {
    .p-interview__slider-area .splide__arrow {
        width: 2.5rem;
        height: 2.5rem;
    }
}
.p-interview__slider-area .splide__arrow:hover {
    background: #014f99;
    color: #fff;
}
.p-interview__slider-area .splide__arrow--prev {
    left: 1.5rem;
}
.p-interview__slider-area .splide__arrow--next {
    right: 1.5rem;
}
@media (max-width: 767px) {
    .p-interview__slider-area .splide__arrow--prev {
        left: 0.9rem;
      }
      .p-interview__slider-area .splide__arrow--next {
        right: 0.9rem;
      }
}
.p-interview__slider-area .splide__pagination {
  bottom: 0;
}
.p-interview__slider-area .splide__pagination__page {
  background: #ccc;
  width: 8px;
  height: 8px;
  margin: 0 5px;
}

.p-interview__slider-area .splide__pagination__page.is-active {
  background: #333;
  transform: scale(1.4);
}
.p-interview__slider-area .splide__arrow svg,
.p-interview__slider-area .splide__arrow i {
  transform: none !important; 
}

/* --- About --- */
.p-about__image-area {
    flex: 1;
    width: 100%;
    z-index: 2;
}

.p-about__image-container {
    aspect-ratio: 1.618 / 1;
}

.p-about__building-svg {
    width: 70%;
    height: auto;
    color: var(--color-primary);
    opacity: 0.8;
}

/* --- Footer UI --- */
.p-footer {
    display: flex;
    flex-direction: column;
    gap: 3.75rem;
}

.p-footer__main {
    display: flex;
    justify-content: space-between;
    gap: clamp(1.875rem, 5vw, 3.75rem);
}

@media (max-width: 1024px) {
    .p-footer__main {
        flex-direction: column;
        gap: 2.5rem;
    }
}

.p-footer__left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5625rem;
    color: var(--color-accent);
    padding: 0 0 0 2.5rem;
}
@media (max-width: 767px) {
    .p-footer__left {
        padding: 0;
    }
}

.p-footer__logo-group {
    display: flex;
    align-items: center;
    gap: 0.9375rem;
    color: var(--color-primary);
    max-width: 20rem;
}

.p-footer__logo-text {
    font-size: 1.25rem;
    font-weight: bold;
}

.p-footer__address {
    font-size: 1rem;
    font-style: normal;
    color: var(--color-primary);
}

.p-footer__ext-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: bold;
    color: var(--color-primary);
    text-decoration: underline;
    margin-top: 0.625rem;
}
.p-footer__address_name {
font-size: 1rem;
font-weight: bold;
}

.p-footer__right {
    flex: 1.5;
}

.p-footer__nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem clamp(1.25rem, 3vw, 2.5rem);
}

.p-footer_join {
 margin: 0 auto;
 text-align: center;
}
.p-footer_join_btn {
 margin: 0 auto;
}

@media (max-width: 800px) {
    .p-footer__nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.p-footer__nav-item {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: color 0.3s;
}

.p-footer__bottom {
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid rgba(0, 51, 102, 0.1);
    padding-top: 1.25rem;
}

.p-footer__copyright {
    font-size: 0.8rem;
    color: var(--color-accent);
    font-family: 'poppins';
}

.p-footer__banner-text {
    font-family:"Poppins" ;
    padding: 4rem 0;
    font-size: 9vw;
    font-weight: bold;
    color: var(--color-accent);
    /* white-space: nowrap; */
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-align: center;
    display: block;
    text-align: left;
}

/* --- Footer Links (Banner Section) --- */
.p-footer-links {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 5rem;
}

@media (max-width: 767px) {
    .p-footer-links {
        flex-direction: column;
    }
}
.p-footer-links__column {
    flex: 1;
    background: url(images/blue_bg.jpg) no-repeat center center;
    background-color: var(--color-bg-light);
    border-radius: 1.875rem;
    padding: 3rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 13.75rem;
    box-shadow: 0 1.5rem 2rem -2rem hsl(200 50% 20% / 40%);
}
@media (max-width: 1024px) {
    .p-footer-links__column {
       padding: 3rem 3rem;
    }
}
@media (max-width: 640px) {
    .p-footer-links__column {
       padding: 2rem;
    }
}

.p-footer-links__join-title {
    font-size: 1.75rem;
}
.p-footer-links__join-desc {
    font-size: 1.125rem;
    margin: 1rem 0;
    font-weight: 500;
}
@media (max-width: 640px) {
    .p-footer-links__join-title {
        font-size: 1.5rem;
    }
    .p-footer-links__join-desc {
        font-size: 1rem;
    }
}

.p-footer-links__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1.25rem;
}

@media (max-width: 640px) {
    .p-footer-links__row {
        display: block;
    }
}

.p-footer-links__main-title {
    font-size: var(--font-size-h2);
    line-height: 1;
    color: var(--color-primary);
}

.p-footer-links__main-title span {
    color: var(--color-coral);
}

.p-footer-links__sns {
    display: flex;
    gap: 0.9375rem;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .p-footer-links__sns {
        margin: 1rem auto 0;
        text-align: center;
        justify-content: center;
    }
}

/* --- Drawer (Mobile Nav) --- */
.p-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    z-index: 200;
    transition: right var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    padding: 5rem 1.25rem 2.5rem;
    overflow-y: auto;
    
  display: flex;
  justify-content: center;
  align-items: center;
}

.is-drawer-open .p-drawer {
    right: 0;
}

.p-drawer__close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 3.125rem;
    height: 3.125rem;
    background-color: var(--color-bg-light);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.p-drawer__main-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:0.8rem;
}
@media (max-width: 640px) {
    .p-drawer__main-nav {
        grid-template-columns: 1fr 1fr;
    }
}
.p-drawer__main_link {
margin: 3rem auto 0;
    text-align: center;
    font-size: 0.97rem;
}

.p-drawer__sns {
margin-top: 2rem;
}
.p-drawer__sns_list {
    display: flex;
    justify-content: center;
    gap: 2rem;
}
.p-drawer__sns_list_item {
    color: #fff;
}
.p-drawer__sns_list_item_icn {
    width: 2rem;
        display: flex;
}
.p-drawer__sns_list_item_link {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
        background: #014f99;
}
.p-drawer__sns_ttl {
    text-align: center;
    margin: 1rem auto;
    font-size: 1rem;
}

.p-drawer__sub-nav_ttl {
    display: flex;
    align-items: center;
    margin: 2rem auto 1rem auto;
    justify-content: center;
    font-weight: bold;
    font-size: 1.125rem;
}
.p-drawer__sub-nav_list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    text-align: center;
    gap: 0.5rem;
    align-items: center;
    padding: 1rem 0;
    background-color: var(--color-bg-light);
    border-radius: 0.5rem;
    padding: 1rem;
}

.p-drawer__sub-nav_list_item a {
    display: inline-block;
    padding:0.3rem 0.1rem;
    font-size: 0.9rem;
}

.p-drawer__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    width: 90%;
    height: 100%;
    margin: auto;
}
.p-drawer__content_main {
    order: 2;
}
.p-drawer__content_img {
    width: 100%;
    height: 100%;
    order: 1;
}
.p-drawer__content_Wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    order: 2;
}

@media (max-width: 1023px) {
    .p-drawer {
        display: flex;
        justify-content: center;
        align-items: baseline;
    }
    .p-drawer__content {
        display: grid;
        grid-template-columns: 1fr;
        height: fit-content;
    }
    .p-drawer__content_main {
        order: 1;
    }
    .p-drawer__content_img {
        width: 50%;
        margin: auto;
    }

}
@media (max-width: 768px) {
    .p-drawer__content_img {
        width: 85%;
        margin: auto;
    }

}

/* --- Lower Page Header & Content --- */
.p-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}
.p-page-header__title {
    margin: 0;
}
.p-page-header__main-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-primary);
    display: block;
    margin-bottom: 5px;
}
.p-page-header__sub-title {
    font-size: 1.1rem;
    color: #778899;
    font-weight: normal;
}

.p-page-nav {
    background: #e9f2f9;
    padding: 15px 25px;
    border-radius: 8px;
    min-width: 280px;
}
.p-page-nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.p-page-nav__item:not(:last-child) {
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 8px;
}
.p-page-nav__link {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.p-page-nav__link::after {
    content: "→";
    font-size: 0.8rem;
}

.p-entry-content {
    background-color: var(--color-white);
    border-radius: var(--radius-main);
    box-shadow: var(--shadow-subtle);
    padding: 60px 50px;
}
.p-entry-content h3 {
    font-size: 1.3rem;
    margin: 40px 0 20px;
    color: #333;
}
.p-entry-content p {
    margin-bottom: 1.5rem;
    color: #444;
}
.p-entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.p-info-box {
    background: #f0f7ff;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
}

@media (max-width: 768px) {
    .p-page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .p-page-nav {
        width: 100%;
    }
    .p-entry-content {
        padding: 40px 20px;
    }
    .p-page-header__main-title {
        font-size: 1.8rem;
    }
}


/* ==========================================================================
    Component (Reusable UI parts)
    ========================================================================== */
.c-btn-hero {
    background-color:
    var(--color-accent);
    color:#fff;
    padding:15px 30px;
    border-radius:8px;
    display:inline-flex;
    align-items:center;
    gap:10px;
}
.c-sns-list {
    background-color: var(--color-bg-light);
    border-radius: 0.5rem;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9375rem;
    height: 3.125rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.c-section-title {
    margin-bottom: clamp(1.25rem, 4vw, 2.5rem);
}
@media (max-width: 767px) {
    .c-section-title {
        margin-bottom: 0;
    }
}
.c-section-title__main {
    font-family: 'Zen Kaku Gothic New';
    font-size: var(--font-size-h2);
    font-weight: 900;
    color: var(--color-primary);
    padding-bottom: 1rem;
    display: inline-block;
    line-height: 1.2;
    position: relative;
    border-bottom: 1px solid var(--color-primary);
}
.c-section-title__main_coral {
    color: #d66464;
}

.c-section-title__sub {
    font-size: var(--font-size-sub);
    font-weight: bold;
    color: var(--color-primary);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.c-section-title__sub::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    background-color: #4da6ff;
    border-radius: 50%;
}

@media (max-width: 767px) {
    .c-mobile_break {
        display: none;
    }
}

.c-category-tab {
    flex: 1;
    text-align: center;
    border: none;
    background: transparent;
    padding: 1.25rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-primary);
    cursor: pointer;
    transition: all 0.3s;
    background-color: var(--color-bg-light);
}
@media (max-width: 640px) {
    .c-category-tab {
        padding: 1rem 1rem;
    }
}

.c-category-tab.is-active {
    background-color: var(--color-accent);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.c-blog-card {
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}

.c-blog-card__image-box {
    width: 100%;
    aspect-ratio: 1.414 / 1;
    border-radius: 0.9375rem;
    overflow: hidden;
    background-color: #ddd;
    box-shadow: 0 2.5rem 2rem -4rem hsl(200 50% 20% / 40%);
}

.c-blog-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-blog-card__meta {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-top: 1rem;
}
.c-blog-card__date {
    font-size: 1rem;
}

.c-blog-card__category {
    padding: 0.15rem 1rem;
    border-radius: 1.25rem;
    color: #fff;
    font-size: 0.8rem;
}

.c-blog-card__title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-primary);
    line-height: 1.6;
    margin-top: 1rem;
}

.c-sns-circle_icn {
max-width: 2.2rem;
}

.c-interview-card {
  background: #fff;
  border-radius: 12px; 
  overflow: hidden;
  height: 100%;
      flex: 0 0 100%;
    background-color: #fff;
    border-radius: 0.9375rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.c-interview-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
  padding: 3rem;
  border-radius: 12px;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}
@media (max-width: 767px) {
    .c-interview-card__link {
        display: flex;
        flex-direction: column;
        height: 100%;
        padding: 1.5rem;
    }
    .c-interview-card__body {
        display: flex;
        flex: 1;
    }
}
.c-interview-card__image-box {
  width: 100%;
  aspect-ratio:4 / 3;
  overflow: hidden;
  border-radius: 10px;
}
.c-interview-card__title {
    margin-top: 1rem;
    font-size: 1.125rem;
}
@media (max-width: 767px) {
    .c-interview-card__title {
        font-size: 1rem;
        line-height: 1.5;
        min-height: 3em;
    }
}

.c-interview-card__link:hover .c-interview-card__image {
  transform: scale(1.05);
}
.c-interview-card__image {
    object-fit: cover;
    width: 2rem;
  object-fit: cover;
  display: block; 
  transition: transform 0.3s ease;
}
.splide__slide img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.c-btn-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--color-accent);
    color: #fff;
    padding: 1.5625rem;
    border-radius: 0.5rem;
    font-weight: bold;
    font-size: 1.125rem;
    width: 100%;
    transition: background-color 0.3s, opacity 0.3s;
    max-width: 25rem;
    cursor: pointer;
}

@media (max-width: 767px) {
    .c-btn-link_center {
        margin: 0 auto;
        width: 100%;
    }
    .c-btn-link {
    font-size: 1rem;
    padding: 1.25rem 1rem;
    }
}

.c-btn-link__icon {
    background-color: #fff;
    color: var(--color-accent);
    width: 2rem;
    height: 2rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.c-slider-arrow {
    width: 3.125rem;
    height: 3.125rem;
    background-color: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.c-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5625rem;
}

.c-slider-dot {
    width: 0.625rem;
    height: 0.625rem;
    background-color: #bcd4e6;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.c-slider-dot.is-active {
    background-color: var(--color-accent);
    transform: scale(1.2);
}

.c-nav-card {
    flex: 1;
    background-color: var(--color-bg-light);
    border-radius: 0.625rem;
    padding: clamp(1.1rem, 1vw, 0.75rem);
    display: flex;
    align-items: center;
    gap: clamp(0.375rem, 1vw, 0.75rem);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.c-nav-card__icon-box {
    background-color: #fff;
    width: clamp(2.25rem, 4vw, 2.75rem);
    height: clamp(2.25rem, 4vw, 2.75rem);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.c-nav-card__label {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.c-nav-card__main {
    font-size: 1rem;
    line-height: 1.2;
    white-space: nowrap;
    font-weight: 550;
    font-family: 'Zen Kaku Gothic New';
}

.c-nav-card__sub {
    font-size: 0.750rem;
    color: #0056b3;
    margin-top: 0.125rem;
}

.c-sns-circle {
    width: 5rem;
    height: 5rem;
    background-color: var(--color-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.c-drawer-btn {
    background-color: var(--color-bg-light);
    border: none;
    border-radius: 0.625rem;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.25rem;
    cursor: pointer;
    color: var(--color-primary);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.c-drawer-btn__bars {
    display: flex;
    flex-direction: column;
    gap: 0.3125rem;
    width: 3.5rem;
}

.c-drawer-btn__bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
}
@media (max-width: 767px) {
    .c-drawer-btn__bars {
        width: 2rem;
    }
}



/* ==========================================================================
    Utility (Helper classes) & Animations
    ========================================================================== */

/* --- Keyframes --- */
@keyframes moveSlowlyCorner {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(6vw, 4vh) scale(1.08);
    }
}
/* 色の入れ替わりをハッキリさせる */
@keyframes fadeRed {
    0%, 15% { opacity: 0.8; }
    85%, 100% { opacity: 0.1; }
}
@keyframes fadeBlue {
    0%, 15% { opacity: 0.1; }
    85%, 100% { opacity: 0.8; }
}
@keyframes moveCircleRightCorner {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-4vw, -4vh) rotate(180deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}
@keyframes moveCircleLeftCorner {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(4vw, -5vh);
    }
    100% {
        transform: translate(0, 0);
    }
}

@keyframes arrowFly {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    45% {
        opacity: 0;
        transform: translateX(1.25rem);
    }
    55% {
        opacity: 0;
        transform: translateX(-1.25rem);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.c-btn-link:hover .c-btn-link__icon i,
.c-btn-link:hover .c-btn-link__icon svg {
    animation: arrowFly 0.4s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

.splide__arrow svg {
    fill: none !important;
    height: auto !important;
    width: auto !important;
}

/* ==========================================================================
   Component: Breadcrumb (下層ページ専用)
   ========================================================================== */
.c-breadcrumb {
    padding: 20px 0 5rem;
    font-size: 0.85rem;
}
.c-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: right;
}
.c-breadcrumb__item:not(:last-child)::after {
    content: "-";
    margin: 0 10px;
    color: #999;
}
.c-breadcrumb__link {
    color: var(--color-primary);
    text-decoration: none;
}
.c-breadcrumb__link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Project: Subpage Common (下層ページ共通)
   ========================================================================== */

/* 下層ページ専用ヘッダーエリア */
.p-subpage-header.__p-member {
max-width: 1300px;
margin-left: auto;
margin-right: auto;
}
.p-subpage-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}
.p-subpage-header__title {
    margin: 0;
}
.p-subpage-header__main {
    font-size: 3rem;
    color: var(--color-primary);
    display: block;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-primary);
        padding-bottom: 1rem;
        font-family: "Zen Kaku Gothic New";
}

.p-subpage-header__main span.p-subpage-header__title-coral {
   color: var(--color-coral);
}
.p-subpage-header__sub {
    font-size: 1.5rem;
    color: var(--color-accent);
    font-weight: normal;
    font-family: 'poppins';
    font-weight: 600;
    position: relative;
    padding-left:1rem ;
    text-transform:capitalize;
}
.p-subpage--content__body p {
    margin: 1.5rem 0;
}
.p-subpage--content__body h3 {
    margin: 2.5rem 0 1rem;
    font-size: 1.5rem;
}
.p-subpage--content__body h4 {
    margin: 2.5rem 0 1rem;
    font-size: 1.215rem;
}
@media (max-width: 768px) {
    .p-subpage--content__body h3 {
        font-size: 1.25rem;
    }
    .p-subpage--content__body h4 {
        font-size: 1.125rem;
    }
}

.p-subpage-header__sub::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    background-color: #1292d4;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    display: block;    
}

/* ページ内ナビゲーション（1つの大きなブルー背景ボックス） */
.p-subpage-nav {
    background-color: #ddeefd;
    padding: 10px;
    border-radius: 12px;
    min-width: 340px;
}
.p-subpage-nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.p-subpage-nav__item:not(:last-child) {
    border-bottom: 1px solid rgba(0, 70, 155, 0.1); 
}
.p-subpage-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: bold;
    padding: 12px 15px;
    transition: opacity 0.3s ease;
}
.p-subpage-nav__link:hover {
    opacity: 0.7;
}
.p-subpage-nav__arrow-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden; 
    position: relative;
}
.p-subpage-nav__arrow-icon {
    display: inline-block;
    font-size: 1.1rem;
    line-height: 1;
}
.p-subpage-nav__link:hover .p-subpage-nav__arrow-icon {
    animation: arrowSlide 0.5s forwards;
}
@keyframes arrowSlide {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    40% {
        transform: translateX(25px);
        opacity: 0;
    }
    41% {
        transform: translateX(-25px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
/* 下層メインコンテンツカード */
.p-subpage-content {
    background-color: var(--color-white);
    border-radius: var(--radius-main);
    box-shadow: var(--shadow-subtle);
    padding: 5rem;
    font-weight: 400;
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", Meiryo, sans-serif;
}
.p-subpage-content.__p-member_content {
    background-color:unset !important;
    border-radius:unset !important;
    box-shadow: unset !important;
    padding:0 !important;
}
@media (max-width: 768px) {
    .p-subpage-content {
        padding: 4rem 2rem;
    }
}
.p-subpage-content h2{
    margin:3rem 0 1rem 0 ;
}
.p-subpage-content h3 {
    margin:3rem 0 1rem 0 ;
}
.p-subpage-content p {
margin:1rem 0 ;

}
/* ==========================================================================
   Other Styles
   ========================================================================== */
.c-section-subpage-title {
    position: relative;
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-primary);
    padding-bottom: 15px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--color-primary);
    display: flex;
    align-items: center;
    margin-top: 3rem;
}
.p-subpage--content__body h2 {
    position: relative;
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-primary);
    padding-bottom: 15px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--color-primary);
    display: flex;
    align-items: center;
    margin-top: 3rem;
}
.p-subpage--content__body h2:nth-child(1) {
    margin-top: 0;
}
.p-subpage--content__body h2::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #1292d4;
    margin-right: 12px;
}
.c-section-subpage-title:nth-child(1) {
    margin-top: 0;
}
.c-section-subpage-title::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #1292d4;
    margin-right: 12px;
}
.p-info-box {
    background: #f0f7ff;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
}
/* Mobile Adjustments */
@media (max-width: 768px) {
    .c-section-subpage-title {
    font-size: 1.5rem;
    }
    .p-subpage-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .p-subpage-nav {
        width: 100%;
    }
    .p-sub-content {
        padding: 40px 20px;
    }
    .p-subpage-header__main {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   Archive / Single / Pagination
   ========================================================================== */

/* --- アーカイブグリッド補正 --- */
.p-archive-grid {
    /* p-activity__grid を継承しつつ3カラム固定 */
    grid-template-columns: repeat(3, 1fr);
}
.p-archive-empty {
    padding: 3rem 0;
    text-align: center;
    color: #888;
}

/* --- 2カラムレイアウト --- */
.l-2col {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}
.l-2col__main {
    flex: 1;
    min-width: 0;
}
.l-2col__sidebar {
    width: 260px;
    flex-shrink: 0;
}

/* --- サイドバー（スティッキー） --- */
.p-sidebar {
    position: sticky;
    top: 6rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.p-sidebar__widget {
    background: var(--color-white);
    border-radius: var(--radius-main);
    padding: 1.5rem;
    box-shadow: var(--shadow-subtle);
}
.p-sidebar__title {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-bg-light);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}
.p-sidebar__cat-list {
    list-style: none;
}
.p-sidebar__cat-list li + li {
    border-top: 1px solid var(--color-bg-light);
}
.p-sidebar__cat-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-speed);
}
.p-sidebar__cat-list li a:hover {
    color: var(--color-primary);
}
.p-sidebar__cat-list .children {
    padding-left: 1rem;
}

/* --- 記事（single） --- */
.p-single {
    background: var(--color-white);
    border-radius: var(--radius-main);
    padding: 4rem;
    box-shadow: var(--shadow-subtle);
}
.p-single__header {

    padding-bottom: 1.25rem;
    margin-bottom: 2rem;
}
.p-single__title {
    font-size: clamp(2.3rem, 3vw, 1.75rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}
.p-single__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.p-single__date {
    font-size: 0.85rem;
    color: #999;
    font-family: 'Poppins', sans-serif;
}
.p-single__category {
    display: inline-block;
    font-size: 0.75rem;
    color: #fff;
    background: var(--color-primary);
    padding: 0.2em 0.8em;
    border-radius: 4px;
    text-decoration: none;
    transition: opacity var(--transition-speed);
}
.p-single__category:hover {
    opacity: 0.8;
}

/* --- 記事本文（wysiwyg） --- */
.p-single__content {
    line-height: 1.9;
    color: var(--color-text);
    font-size: 1rem;
}
.p-single__content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
    border-left: 4px solid var(--color-accent);
    padding-left: 0.75rem;
    margin: 2.5rem 0 1rem;
    line-height: 1.4;
}
.p-single__content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--color-bg-light);
    margin: 2rem 0 0.75rem;
}
.p-single__content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 1.5rem 0 0.5rem;
}
.p-single__content p {
    margin-bottom: 1.25rem;
}
.p-single__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.25rem 0;
    display: block;
}
.p-single__content a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.p-single__content ul,
.p-single__content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}
.p-single__content li {
    margin-bottom: 0.4rem;
}
.p-single__content blockquote {
    border-left: 4px solid var(--color-bg-light);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    color: #666;
    background: #f9fbfd;
    border-radius: 0 8px 8px 0;
}
.p-single__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}
.p-single__content th,
.p-single__content td {
    border: 1px solid var(--color-border);
    padding: 0.6rem 0.9rem;
    text-align: left;
}
.p-single__content th {
    background: var(--color-bg-light);
    font-weight: 700;
    color: var(--color-primary);
}

/* --- 前後記事ナビ --- */
.p-post-nav {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--color-bg-light);
}
.p-post-nav__item {
    flex: 1;
    display: flex;
}
.p-post-nav__item--prev { justify-content: flex-start; }
.p-post-nav__item--next { justify-content: flex-end; }
.p-post-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.65rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: all var(--transition-speed);
    max-width: 200px;
}
.p-post-nav__link:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}
.p-post-nav__label {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

/* --- ページネーション --- */
.p-pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}
.p-pagination .nav-links {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
}
.p-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 0.6rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-text);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    background: var(--color-white);
    transition: all var(--transition-speed);
}
.p-pagination .page-numbers:hover {
    background: var(--color-bg-light);
    border-color: var(--color-accent);
    color: var(--color-primary);
}
.p-pagination .page-numbers.current {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    font-weight: 700;
}
.p-pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
    cursor: default;
}
.p-pagination .page-numbers.prev,
.p-pagination .page-numbers.next {
    font-size: 1.1rem;
    font-weight: 700;
}

/* --- レスポンシブ --- */
@media (max-width: 960px) {
    .p-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 900px) {
    .l-2col {
        flex-direction: column;
    }
    .l-2col__sidebar {
        width: 100%;
    }
    .p-sidebar {
        position: static;
    }
}
@media (max-width: 640px) {
    .p-archive-grid {
        grid-template-columns: 1fr;
    }
    .p-single {
        padding: 1.5rem;
    }
    .p-post-nav {
        flex-direction: column;
    }
    .p-post-nav__link {
        max-width: 100%;
    }
}

/**　テーブルタグ　**/
.custom-table-container {
  overflow-x: auto;
  width: 100%;
}
.simple-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
}
.simple-table th, .simple-table td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
  white-space: nowrap;
}
.simple-table th {
  background: #f2f2f2;
}
