/*
Theme Name: hare_p_tm
Author: Crossroad Co., Ltd.
*/
:root {
    --color-primary: #2C2C2C;
    --color-accent: #8E7E70;
    --color-accent-green: #009944;
    --color-bg: #F9F7F2;
    --color-text: #2E2E2E;
    --color-white: #FFFFFF;
    --color-border: #E0DDD8;
    --color-gray-light: #F2F0EC;

    --font-head: "Noto Sans JP", sans-serif;
    --font-body: "Noto Sans JP", "Josefin Sans", sans-serif;
    --font-en: "Josefin Sans", sans-serif;

    --container-max: 1100px;
    --section-padding: 80px;
    --transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* === Reset & Base === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.8;
    font-feature-settings: "palt";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.5;
}

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

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

/* === ユーティリティ === */
.sp-only {
    display: none;
}

@media (max-width: 767px) {
    .sp-only {
        display: block;
    }
}

/* マーカー装飾（蛍光ペン風アンダーライン） */
.marker {
    background: linear-gradient(transparent 60%, rgba(255, 255, 0, 0.4) 60%); /* 蛍光イエロー */
    padding: 0 0.15em;
}

/* ============================================
   Header
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 153, 68, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 0.8rem 0;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.logo a {
    display: inline-block;
    object-fit: contain;
    width: 160px;
    transition: opacity var(--transition);
}

.logo a:hover {
    opacity: 0.8;
}

.logo img {
    display: block;
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}
@media(min-width:992px){
    .logo a{
        width: 80px;
    }
}
/* ナビゲーション */
.site-nav .nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    align-items: center;
}

.nav-list a {
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    position: relative;
    color: var(--color-white);
}

.nav-list a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-white);
    transition: width 0.3s ease;
}

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

.nav-cta a {
    background-color: var(--color-white);
    color: var(--color-accent-green) !important;
    padding: 0.7rem 1.6rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.06em;
}

.nav-cta a::after {
    display: none;
}

.nav-cta a:hover {
    background-color: var(--color-bg);
    color: var(--color-accent-green) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.menu-toggle {
    display: none;
}

/* 共通ボタン（フォーム・全体用） */
.btn-primary-large {
    display: inline-block;
    padding: 1.2rem 4rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    background-color: var(--color-primary);
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 250px;
    text-align: center;
}
.btn-primary-large:hover:not(:disabled) {
    background-color: var(--color-accent-green);
    color: #fff;
}
.btn-secondary-large {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-primary);
    background-color: #fff;
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 200px;
}
.btn-secondary-large:hover {
    background-color: var(--color-bg);
}
.btn-to-top {
    text-decoration: none;
}
@media(min-width:768px){
    .btn-primary-large{
        font-size: 1.3rem;
    }
    .btn-secondary-large{
        font-size: 1.1rem;
    }
}
/* ============================================
   1. ヒーロースライダー
   ============================================ */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 600px;
    overflow: hidden;
    background-color: var(--color-primary);
    padding-top: 53.56px;
    padding-bottom: 0;
}

/* --- テキスト出現アニメーション (Mask effect) --- */
.anim-line-wrap {
    display: block;
    overflow: hidden;
    margin-bottom: 0.1em;
}
.anim-line {
    display: inline-block;
    clip-path: inset(0 100% 0 0); /* 初期状態：右側100%カット */
    transition: clip-path 1.1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: clip-path;
}
.hero-slide.active .anim-line {
    clip-path: inset(0 0 0 0); /* 出現状態：カットなし */
}

/* 順次表示のディレイ設定 */
.hero-slide.active .anim-line-wrap:nth-child(1) .anim-line { transition-delay: 0.4s; }
.hero-slide.active .anim-line-wrap:nth-child(2) .anim-line { transition-delay: 0.55s; }
.hero-slide.active .anim-line-wrap:nth-child(3) .anim-line { transition-delay: 0.7s; }
.hero-slide.active .anim-line-wrap:nth-child(4) .anim-line { transition-delay: 0.85s; }
.hero-slide.active .anim-btn-wrap .anim-line { transition-delay: 1.1s; }


.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease, visibility 1.2s ease;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 画像の上にオーバーレイ（文字の可読性向上） */
.hero-slide__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.35) 0%,
            rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.hero-slide__content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 1.5rem;
}
.hero-slide__content .btn-primary-large{
    background: var(--color-accent-green);
}
.hero-slide__copy {
    font-family: var(--font-head);
    font-weight: 900;
    color: var(--color-white);
    font-size: 1.3rem;
    line-height: 2;
    letter-spacing: 0.06em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
@media(max-width:499px){
    .hero-slide__content .btn-primary-large{
        padding: 1.2rem 1.4rem;
    }
}
@media(min-width:550px){
    .hero-slide__content{
        text-align: center;
    }
}
@media(min-width:768px){
    .hero-slide__copy{
        font-size: 1.5rem;
    }
}
@media(min-width:992px){
    .hero-slider {
        padding-top: 85.87px;
    }
}
/* スライダーインジケーター */
.hero-slider__indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.indicator {
    width: 40px;
    height: 4px;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
    padding: 0;
}

.indicator.active {
    background: var(--color-accent-green);
    width: 56px;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* PC用 */
@media (min-width: 768px) {
    .hero-slide__copy {
        font-size: 2.6rem;
        line-height: 1.9;
        letter-spacing: 0.08em;
    }
}

/* ============================================
   共通セクションスタイル
   ============================================ */
section {
    padding: var(--section-padding) 0;
}

.section-heading {
    margin-bottom: 3rem;
}

.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-family: var(--font-en);
    color: var(--color-accent-green);
    letter-spacing: 0.25em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    font-weight: 600;
}

/* ペンアイコン（共通装飾） */
.section-subtitle::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 28px;
    background: url('img/pen.png') no-repeat center / contain;
    flex-shrink: 0;
    opacity: 0.7;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    position: relative;
}

@media (min-width: 768px) {
    section {
        padding: 120px 0;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }
    .section-subtitle::before{
        width: 33px;
        height: 33px;
    }
}
@media(min-width:992px){
    .section-title {
        font-size: 2.2rem;
    }
}

/* ============================================
   2. メッセージセクション
   ============================================ */
.section-message {
    background-image: url('img/top/genko.jpg');
    background-size: contain;
    background-repeat: repeat;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.section-message::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6); /* 原稿画像をうっすら見せる白のオーバーレイ */
    z-index: 0;
}

.section-message .container {
    position: relative;
    z-index: 2;
}

/* 気球イラスト（装飾用） */
.message-balloon {
    position: absolute;
    top: 0;
    left: 10px;
    width: 140px;
    height: auto;
    opacity: 0.6;
    pointer-events: none;
    z-index: 1; /* relative to container overlay */
}

@media (min-width: 768px) {
    .message-balloon {
        width: 260px;
        left: 2%;
    }
}

@media (min-width: 1200px) {
    .message-balloon {
        width: 320px;
        left: 5%;
    }
}

.message-body {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 2.2;
    letter-spacing: 0.04em;
}

.message-body p {
    margin-bottom: 2rem;
}

.message-highlight {
    background: linear-gradient(135deg, rgba(0, 153, 68, 0.06), rgba(0, 153, 68, 0.02));
    border-left: 4px solid var(--color-accent-green);
    padding: 2rem 1.5rem;
    margin: 3rem 0;
    text-align: left;
    border-radius: 0 8px 8px 0;
    font-weight: 500;
}

@media (min-width: 768px) {
    .message-body {
        font-size: 1.1rem;
    }
}

/* ============================================
   3. 選ばれる理由セクション（グリーン背景＋白文字）
   ============================================ */
.section-reason {
    background-color: var(--color-accent-green);
    color: var(--color-white);
}

.section-reason .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.section-reason .section-subtitle::before {
    filter: brightness(0) invert(1);
    opacity: 0.5;
}

.section-reason .section-title {
    color: var(--color-white);
}

.reason-icon {
    margin: 1rem auto;
    color: var(--color-white);
}

.reason-icon svg {
    width: 56px;
    height: 56px;
}

.reason-item {
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.reason-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.reason-img {
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1 / 1;
}

.reason-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.reason-item:hover .reason-img img {
    transform: scale(1.03);
}

.reason-number {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-accent-green);
    background:var(--color-white);
    margin-bottom: 1rem;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0.3rem 1rem 0.1rem;
    border-radius: 50px;
}

.reason-text h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.7;
    color: var(--color-white);
}

.reason-text p {
    line-height: 2;
    color: rgba(255, 255, 255, 0.85);
}

.section-reason .btn-primary {
    background-color: var(--color-white);
    color: var(--color-accent-green);
}

.section-reason .btn-primary:hover {
    background-color: var(--color-bg);
    color: var(--color-accent-green);
}

@media (min-width: 768px) {
    .reason-number{
        font-size: 1.2rem;
    }
    .reason-text h3 {
        font-size: 1.4rem;
    }

    .reason-text {
        padding-left: 1.5rem;
    }
    .reason-text p{
        font-size: 1.1rem;
    }

    .reason-item--reverse .reason-text {
        padding-left: 0;
        padding-right: 1.5rem;
    }
}

/* ============================================
   4. サービス概要セクション
   ============================================ */
.section-service {
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
}

/* グラフイラスト（装飾用） */
.service-illust {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 140px;
    height: auto;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

@media (min-width: 768px) {
    .service-illust {
        width: 200px;
        right: 5%;
        top: 20px;
        opacity: 0.8;
    }
}

@media (min-width: 1200px) {
    .service-illust {
        width: 320px;
    }
}

.service-worry {
    margin-bottom: 3rem;
}

.worry-heading {
    font-size: 1.3rem;
    text-align: center;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.worry-heading::before {
    content: "\\";
    margin-right: 0.5rem;
    color: var(--color-accent-green);
}

.worry-heading::after {
    content: "/";
    margin-left: 0.5rem;
    color: var(--color-accent-green);
}

.worry-card {
    background: var(--color-accent-green);
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    height: 100%;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid transparent;
    color: var(--color-white); /* テキストを白に */
}

.worry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 153, 68, 0.25);
    background: #00a84a; /* 少しだけ明るく */
}

.worry-icon {
    color: rgba(255, 255, 255, 0.7); /* アイコンは少しだけ薄い白 */
    margin-bottom: 1.5rem;
}

.worry-card p {
    font-weight: 500;
    line-height: 1.8;
    color: var(--color-white);
}

.service-solution {
    margin-top: 3rem;
}

.solution-text {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--color-accent-green);
    margin-bottom: 2rem;
    letter-spacing: 0.06em;
}

.solution-text strong {
    font-size: 1.8rem;
    position: relative;
}

.solution-text strong::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(0, 153, 68, 0.15);
    z-index: -1;
}

@media (min-width: 768px) {
    .worry-heading {
        font-size: 1.5rem;
    }
    .solution-text {
        font-size: 1.8rem;
    }

    .solution-text strong {
        font-size: 2.2rem;
    }
}

/* ============================================
   5. 「本を贈る会」セクション
   全幅背景画像 + オーバーレイの没入型デザイン
   ============================================ */
.gift_img{
    margin: 0 auto;
    width:700px;
    height:auto;
    aspect-ratio:3/2;
    object-fit:cover;
    border-radius:12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.section-gifts {
    position: relative;
    background-image: url('img/top/book-as-gift.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
    padding: 100px 0;
    overflow: hidden;
}

/* オーバーレイ（可読性担保） */
.gifts-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 44, 44, 0.6);
    z-index: 1;
}

/* コンテンツはオーバーレイの上に配置 */
.gifts-inner {
    position: relative;
    z-index: 2;
}

/* 見出し反転（白） */
.section-subtitle--light {
    color: rgba(255, 255, 255, 0.6);
}

.section-subtitle--light::before {
    filter: brightness(0) invert(1);
    opacity: 0.4;
}

.section-title--light {
    color: var(--color-bg);
}

/* キャッチコピー */
.gifts-catch {
    margin-bottom: 3rem;
}

.gifts-catch__main {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 2;
    letter-spacing: 0.06em;
}

/* 本文 */
.section-gifts .gifts-body {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    line-height: 2.2;
}

.section-gifts .gifts-body p {
    margin-bottom: 1.8rem;
}

/* 社会的意義 / 注釈 */
.gifts-note {
    max-width: 720px;
    margin: 2.5rem auto 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
}

.gifts-note p {
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* 専用ボタン（白枠＋透過） */
.btn-gifts {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 2px solid var(--color-white);
    color: var(--color-white);
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: 0.08em;
    border-radius: 50px;
    transition: all var(--transition);
    background: transparent;
}

.btn-gifts:hover {
    background: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* PC用 */
@media (min-width: 768px) {
    .section-gifts {
        padding: 140px 0;
        background-attachment: fixed;
        /* パララックス効果 */
    }

    .gifts-catch__main {
        font-size: 1.5rem;
    }

    .section-gifts .gifts-body,.gifts-note p,.btn-gifts {
        font-size: 1.15rem;
    }
}

/* ============================================
   共通ボタンスタイル
   ============================================ */
.btn-primary {
    display: inline-block;
    background-color: var(--color-accent-green);
    color: var(--color-white);
    padding: 1rem 3rem;
    font-size: 1.15rem;
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: 0.08em;
    border-radius: 50px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    min-width: 300px;
    max-width: 100%;
}

.btn-primary:hover {
    background-color: #ff8000;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ============================================
   6. フッターCTA & Footer
   ============================================ */
.site-footer {
    color: var(--color-white);
    padding: 0;
}

.footer-cta-area {
    background-image: url('img/galaxy_railway.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 可読性を保つための暗いオーバーレイ */
.footer-cta-area::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(16, 16, 48, 0.7);
    z-index: 1;
}

.footer-cta-area > .container {
    position: relative;
    z-index: 2;
}

/* 背景装飾 */
.footer-cta-area::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 153, 68, 0.15), transparent 70%);
    pointer-events: none;
    z-index: 2;
}

.footer-cta__catch {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--color-white);
    line-height: 2;
    letter-spacing: 0.06em;
    margin-bottom: 2rem;
}

.footer-cta__catch span {
    display: block; /* 1行ずつスタッガー表示にするため */
}

.footer-cta__body {
    font-size: 1.05rem;
    line-height: 2.2;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.footer-cta__phone {
    margin-bottom: 2rem;
}

.phone-number {
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.05em;
    display: inline-block;
    border-bottom: 2px solid var(--color-accent-green);
    padding-bottom: 4px;
}

.phone-number:hover {
    color: var(--color-accent-green);
}

.phone-hours {
    display: block;
    margin-top: 0.5rem;
    opacity: 0.7;
}

.btn-cta-primary {
    display: inline-block;
    background-color: var(--color-accent-green);
    color: var(--color-white);
    padding: 1.2rem 4rem;
    font-size: 1.1rem;
    font-family: var(--font-head);
    font-weight: 900;
    letter-spacing: 0.1em;
    border-radius: 50px;
    transition: all var(--transition);
    box-shadow: 0 4px 16px rgba(0, 153, 68, 0.3);
}

.btn-cta-primary:hover {
    background-color: #00b350;
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 153, 68, 0.45);
}

.footer-bottom {
    /*background-color: #005928;*/
    background-color:#039441;
    text-align: center;
    padding: 2rem 1rem;
}

.footer-logo {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    color: #ececec;
    margin-bottom: 0.5rem;
}

.footer-info {
    margin-bottom: 0.5rem;
}

.copyright {
    font-family: var(--font-en);
    font-size: 0.95rem;
    color: #ccc;
}

@media (min-width: 768px) {
    .footer-cta__body{
        font-size: 1.15rem;
    }
    .footer-cta-area {
        padding: 100px 2rem;
    }

    .footer-cta__catch {
        font-size: 2.4rem;
    }

    .phone-number {
        font-size: 2.8rem;
    }
}

/* ============================================
   モバイルレスポンシブ（ハンバーガーメニュー等）
   ============================================ */
@media (max-width: 991px) {
    .menu-toggle {
        display: block;
        border: none;
        background: none;
        width: 28px;
        height: 20px;
        position: relative;
        z-index: 2000;
        padding: 0;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--color-white);
        position: absolute;
        transition: all 0.3s ease;
        border-radius: 1px;
    }

    .menu-toggle span:nth-child(1) {
        top: 0;
    }

    .menu-toggle span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }

    .menu-toggle span:nth-child(3) {
        bottom: 0;
    }

    .menu-toggle.active span:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

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

    .menu-toggle.active span:nth-child(3) {
        top: 50%;
        transform: translateY(-50%) rotate(-45deg);
    }

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--color-accent-green);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        transition: right 0.4s ease;
        z-index: 1500;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }

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

    .nav-list a::after {
        display: none;
    }
}

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

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

/* js-scroll-fadeアニメーション（ふわっとフェードイン） */
.js-scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

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

.js-scroll-flip {
    opacity: 0;
    transform: perspective(1000px) rotateY(-90deg);
    transform-origin: center;
    /* 揺れる原因だった跳ね返りのcubic-bezierを削除し、スムーズに減速するease-outベースの曲線に変更 */
    transition: transform 0.9s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.8s ease-out;
}
.js-scroll-flip.is-active {
    opacity: 1;
    transform: perspective(1000px) rotateY(0deg);
}

/* js-scroll-stagger（子要素を順番にフェードイン） */
.js-scroll-stagger > p,
.js-scroll-stagger > div,
.js-scroll-stagger > span {
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
    will-change: opacity;
}

.js-scroll-stagger > p.is-active,
.js-scroll-stagger > div.is-active,
.js-scroll-stagger > span.is-active {
    opacity: 1;
}
/* 順番にめくれるディレイ効果 */
.row > div:nth-child(1) .js-scroll-flip { transition-delay: 0s; }
.row > div:nth-child(2) .js-scroll-flip { transition-delay: 0.2s; }
.row > div:nth-child(3) .js-scroll-flip { transition-delay: 0.4s; }

/* ============================================
   Opening Animation（そのまま引き継ぎ）
   ============================================ */
.opening-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #f0f0f0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 2000px;
    transition: opacity 0.5s ease, visibility 0s 0.5s;
}

.opening-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.book-container {
    padding-left: 0;
    will-change: transform;
    transition: transform 1.5s ease;
}

.opening-overlay.active .book-container {
    transform: translateX(150px);
}

@media (max-width: 768px) {
    .opening-overlay.active .book-container {
        transform: translateX(0);
    }
}

.book {
    position: relative;
    width: 320px;
    height: 460px;
    transform-style: preserve-3d;
    perspective: 1500px;
}

.right-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);
    border-radius: 4px 8px 8px 4px;
    box-shadow: inset 12px 0 20px rgba(0, 0, 0, 0.1), 1px 1px 3px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.08); /* 輪郭をはっきり */
    z-index: 1;
}

.flip-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    transform-style: preserve-3d;
    transform-origin: left center;
    will-change: transform;
    transition: transform 1.5s cubic-bezier(0.645, 0.045, 0.355, 1) 0.3s;
}

.opening-overlay.active .flip-cover {
    transform: rotateY(-180deg);
}

.cover-front,
.cover-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 4px 8px 8px 4px;
    border: 1px solid rgba(0,0,0,0.12); /* 輪郭をはっきり */
}

.cover-front {
    background-color: #1a2942; /* シックな紺色に変更 */
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 4px 100%;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2); /* 影も少し強く */
}

.cover-back {
    background-color: var(--color-bg);
    transform: rotateY(180deg);
    z-index: 1;
    box-shadow: inset -10px 0 15px rgba(0, 0, 0, 0.1); /* 内側の影をはっきり */
}

.cover-design {
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 2rem;
    width: 85%;
    height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cover-logo {
    width: 85%;
    height: auto;
    filter: brightness(0) invert(1); /* 白文字として表示 */
}

.cover-title {
    font-family: var(--font-head);
    color: var(--color-white);
    font-size: 1.4rem;
    letter-spacing: 0.15em;
    font-weight: 700;
}

.cover-title small {
    display: block;
    font-size: 0.95rem;
    margin-top: 0.8rem;
    font-family: var(--font-en);
    opacity: 0.6;
    letter-spacing: 0.12em;
    font-weight: 400;
}

.book-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transform: none;
    will-change: opacity;
    transition: opacity 1s ease 1.5s;
}

.opening-overlay.active .book-content {
    opacity: 1;
}

.op-sub {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    font-family: var(--font-body);
    text-align: center;
}

.op-main {
    font-size: 1.8rem;
    color: var(--color-primary);
    line-height: 1.8;
    font-family: var(--font-head);
    font-weight: 900;
    white-space: nowrap;
    text-align: center;
}

@media (max-width: 600px) {
    .book-content {
        width: 100%;
        padding: 0 20px;
    }

    .op-main {
        font-size: 1.1rem;
        white-space: normal;
        margin-bottom: 0;
    }

    .op-sub {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 400px) {
    .book {
        width: 280px;
        height: 400px;
    }
}

/* ============================================
   下層ページ共通
   ============================================ */

/* --- ページヘッダー --- */
.page-header {
    position: relative;
    padding-top: 120px;
    padding-bottom: 60px;
    text-align: center;
    background-color: #3b3024; /* フォールバック（濃い茶色） */
    background-size: cover;
    background-position: center center;
    color: var(--color-white);
    overflow: hidden;
}

/* 少し茶系の暗めオーバーレイ（画像の上の透過レイヤー） */
.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(34, 19, 3, 0.7);
    z-index: 1;
}

/* 文字などがオーバーレイに隠れないように z-index を上げる */
.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header-service {
    background-image: url('img/head/service.jpg');
    background-position-y:10%;
}
.page-header-reason{
    background-image: url('img/head/reason.jpg');
}

.page-slug {
    font-family: var(--font-en);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    opacity: 0.7;
    margin-bottom: 0.8rem;
}

.page-title {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--color-white);
    letter-spacing: 0.06em;
}

@media (min-width: 768px) {
    .page-header {
        padding-top: 140px;
        padding-bottom: 80px;
    }

    .page-title {
        font-size: 2.4rem;
    }
}
@media(min-width:992px){
    .page-header {
        padding-top: 180px;
    }
}

/* --- パンくずリスト --- */
.breadcrumb-container {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 0.8rem 0;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.breadcrumb-item a {
    color: var(--color-accent-green);
    font-weight: 500;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "＞";
    margin-right: 0.5rem;
    color: var(--color-accent);
    font-size: 0.95rem;
}

.breadcrumb-item.active {
    color: var(--color-text);
    font-weight: 400;
}

/* ============================================
   service.html - セクション1：メッセージ
   ============================================ */

.bgfixed {
  position: relative;
  overflow: hidden;
}
.bgfixed>.fixed-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0);
  z-index: -1;
}
.bgfixed>.fixed-img::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.sv-message-section>.fixed-img::before{
    background: url('img/service/sv-message-bg.jpg')no-repeat center center/cover;
}

.sv-message-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.85); /* 視認性を担保する白オーバーレイ */
    z-index: 0;
}

.sv-message-section > .container {
    position: relative;
    z-index: 2; /* 文字を上に */
}


/* メッセージ用追加見出し */
.sv-message-heading {
    margin-bottom: 2.5rem;
}
.sv-message-subtitle {
    display: block;
    color: var(--color-accent-green);
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 0.8rem;
}
.sv-message-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1.5;
    letter-spacing: 0.08em;
}

.sv-message-lead {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 2;
    margin-bottom: 2.5rem;
    color: var(--color-primary);
}

.sv-message-text p {
    line-height: 2.2;
    margin-bottom: 1.8rem;
}

@media (min-width: 768px) {
    .sv-message-title {
        font-size: 2.6rem;
    }
    .sv-message-lead {
        font-size: 1.4rem;
    }
    .sv-message-subtitle{
        font-size: 1.1rem;
    }
}

@media (max-width: 991px) {
    .sv-message-section {
        background-attachment: scroll; /* SP時のパララックス不具合防止 */
    }
}

/* ============================================
   service.html - セクション2：SOLUTION
   ============================================ */
.sv-solution-section {
    position: relative;
    background-color: var(--color-bg);
}

/* 遊び心・イラスト絶対配置（SOLUTION枠用） */
.service-illust-solution {
    position: absolute;
    top: -30px;
    right: 2%;
    width: 120px; /* スマホではさらに小さく */
    height: auto;
    z-index: 0;
    opacity: 0.6 !important;
    pointer-events: none;
}

@media (min-width: 768px) {
    .service-illust-solution {
        width: 180px;
        right: 5%;
        top: -50px;
    }
}

@media (min-width: 1200px) {
    .service-illust-solution {
        right: 7%;
        top: -70px;
    }
}

.sv-solution-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('img/washi.jpg');
    background-size: 300px;
    background-repeat: repeat;
    opacity: 0.15;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 0;
}

.sv-solution-section > .container {
    position: relative;
    z-index: 1;
}

.problem-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 2rem 1.8rem;
    height: 100%;
    border: 1px solid var(--color-border);
    transition: transform var(--transition), box-shadow var(--transition);
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.problem-card__header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-accent-green);
}
.problem-card__header .reason-number{
    border: 1px solid var(--color-accent-green);
}
.problem-number {
    font-family: var(--font-en);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--color-accent-green);
    display: block;
    margin-bottom: 0.5rem;
}

.problem-title {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1.5;
}

.problem-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.problem-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.6rem;
    line-height: 1.8;
    font-size: 16px;
}

.problem-list li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: var(--color-accent-green);
    font-weight: 700;
}

.problem-solution {
    background: #e6faed;
    border-radius: 8px;
    padding: 1.2rem 1rem;
}

.problem-solution__label {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-accent-green);
    margin-bottom: 0.5rem;
}

.problem-solution p {
    font-size: 16px;
    line-height: 1.9;
    margin: 0;
}

/* ============================================
   service.html - セクション3：Publishing
   ============================================ */
.sv-publishing-section {
    background-color: var(--color-white);
}

.sv-publishing-lead {
    max-width: 760px;
    margin: 0 auto;
    line-height: 2.2;
    color: var(--color-text);
}

.pub-card {
    background: var(--color-bg);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    height: 100%;
    border: 1px solid var(--color-border);
    transition: transform var(--transition), box-shadow var(--transition);
}

.pub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.pub-card__title {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--color-accent-green);
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--color-accent-green);
    text-align: center;
}

.pub-card__desc {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.pub-card__merit,
.pub-card__caution {
    margin-bottom: 1rem;
}

.pub-card__merit h4,
.pub-card__caution h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    display: inline-block;
}

.pub-card__merit h4 {
    background: rgba(0, 153, 68, 0.1);
    color: var(--color-accent-green);
}

.pub-card__caution h4 {
    background: rgba(200, 100, 50, 0.1);
    color: #b35c22;
}

.pub-card__merit ul,
.pub-card__caution ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pub-card__merit li,
.pub-card__caution li {
    font-size: 1rem;
    line-height: 1.8;
    padding-left: 1.8rem;
    position: relative;
}

.pub-card__merit li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent-green);
    font-weight: 700;
}

.pub-card__caution li::before {
    content: "△";
    position: absolute;
    left: 0;
    color: #b35c22;
}
@media(min-width:768px){
    .sv-publishing-lead{
        font-size: 1.15rem;
    }
}
/* ============================================
   service.html - セクション4：比較表
   ============================================ */
.sv-compare-section {
    background-color: var(--color-bg);
}

.compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    background: var(--color-white);
}

.compare-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    font-size: 1rem;
}

.compare-table thead {
    background: var(--color-accent-green);
    color: var(--color-white);
}

.compare-table th {
    padding: 1rem 1.2rem;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    font-size: 1.1rem;
}

.compare-table td {
    padding: 1rem 1.2rem;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
    line-height: 1.6;
}

.compare-table__label {
    font-weight: 700;
    background: var(--color-gray-light);
    text-align: left !important;
    white-space: nowrap;
}

.compare-table tbody tr:last-child td {
    border-bottom: none;
}

.compare-table tbody tr:hover {
    background-color: rgba(0, 153, 68, 0.03);
}

/*================================
 service.html - 提供サービス例
=================================*/
.sv-service-section {
    background-color: var(--color-bg);
}
/* ============================================
   service.html - セクション5：Q&Aアコーディオン
   ============================================ */
.sv-faq-section {
    background-color: var(--color-white);
}

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

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
    border-top: 1px solid var(--color-border);
}

.accordion-trigger {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1.5rem 1rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 0.8rem;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    transition: background-color 0.3s ease;
}

.accordion-trigger:hover {
    background-color: rgba(0, 153, 68, 0.03);
}

.accordion-trigger:focus-visible {
    outline: 2px solid var(--color-accent-green);
    outline-offset: -2px;
    border-radius: 4px;
}

.faq-q-label {
    font-family: var(--font-en);
    font-weight: 700;
    color: var(--color-accent-green);
    flex-shrink: 0;
    font-size: 1.2rem;
}

.faq-q-text {
    flex: 1;
}

/* アコーディオンの開閉アイコン */
.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background: var(--color-accent-green);
    transition: transform 0.3s ease;
}

.faq-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.faq-icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

/* 開いた時にプラスをマイナスに変化 */
.accordion-trigger[aria-expanded="true"] .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
}

.faq-panel {
    padding: 0 1rem 1.5rem 3.5rem;
}

.faq-panel p {
    font-size: 0.95rem;
    line-height: 2;
    color: var(--color-text);
    margin: 0;
}
@media(min-width:992px){
    .accordion-trigger{
        font-size: 1.2rem;
    }
    .faq-panel p{
        font-size: 1.15rem;
    }
}
/* ============================================
   reason.html - セクション2：お客様の声（VOICE）
   ============================================ */
.rs-voice-section {
    background-color: rgba(247, 249, 248, 0.7); /* 淡いグレー・生成り色 */
    padding: 80px 0;
}
.rs-voice-section>.fixed-img::before{
    background: url(./img/top/genko.jpg)no-repeat center center/cover;
}
.voice-card {
    position: relative;
    background: var(--color-white);
    border-radius: 12px;
    padding: 4.5rem 2rem 2.5rem; /* 上は写真用に空ける */
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--color-border);
}

.voice-card__img {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--color-white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.voice-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.voice-card__catch {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-accent-green);
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.voice-card__text {
    font-size: 0.95rem;
    line-height: 2;
    color: var(--color-text);
}

.voice-card__name {
    margin-top: 1.5rem;
    font-weight: 700;
    text-align: right;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .voice-card {
        padding: 3rem 3rem 3rem 90px;
        margin-left: 40px;
        margin-bottom: 40px;
    }
    .voice-card__img {
        top: 50%;
        left: -40px;
        transform: translateY(-50%);
        width: 120px;
        height: 120px;
    }
    .voice-card__catch{
        font-size: 1.25rem;
    }
}

/* ============================================
   reason.html - セクション3：FLOW
   ============================================ */
.rs-flow-section {
    background-color: var(--color-white);
}
.rs-flow-section .reason-number{
    border: 2px solid var(--color-accent-green);
}
.flow-step {
    position: relative;
    padding-left: 3rem;
    padding-bottom: 3rem;
    border-left: 3px solid var(--color-accent-green);
}

.flow-step:last-child {
    border-left-color: transparent;
    padding-bottom: 0;
}

.flow-step::before {
    content: "";
    position: absolute;
    left: -11.5px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--color-accent-green);
    border: 3px solid var(--color-white);
    box-shadow: 0 0 0 2px var(--color-accent-green);
}

.flow-step__number {
    font-family: var(--font-en);
    font-weight: 900;
    color: var(--color-accent-green);
    font-size: 1.4rem;
    display: block;
    margin-bottom: 0.3rem;
    line-height: 1;
}

.flow-step__title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.flow-step__desc {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--color-text);
}
@media(min-width:768px){
    .flow-step__title{
        font-size: 1.3rem;
    }
}

/* ============================================
   reason.html - セクション4：MISSION
   ============================================ */
.rs-mission-section {
    color: var(--color-white);
    position: relative;
    background: url(./img/service/mission_image.jpg)no-repeat center center/cover;
}
.rs-mission-section::before{
    content: '';
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(16, 16, 48, 0.8) 0%, rgba(26, 26, 69, 0.6) 100%);
}
.rs-mission-section .container{
    position: relative;
}
.rs-mission-section .section-title,
.rs-mission-section .section-subtitle {
    color: var(--color-white);
}

.mission-lead {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.mission-text {
    line-height: 2.2;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

@media (min-width: 768px) {
    .mission-lead {
        font-size: 1.6rem;
    }
}
@media(min-width:992px){
    .mission-lead{
        font-size: 1.8rem;
    }
    .mission-text{
        font-size: 1.1rem;
    }
}

/* ============================================
   reason.html - セクション5：PROFILE
   ============================================ */
.rs-profile-section {
    background-color: var(--color-white);
}
.rs-profile-img-name img{
    width: 90%;
    max-width: 400px;
    object-fit: contain;

}
.profile-img-wrap {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-img-wrap img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.profile-name {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.profile-title {
    font-size: 1.1rem;
    color: var(--color-accent-green);
    font-weight: 700;
    margin-bottom: 2rem;
    display: inline-block;
}

.profile-history-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 0.5rem;
}

.profile-history-title:first-child {
    margin-top: 0;
}

.profile-text {
    font-size: 0.95rem;
    line-height: 2;
    margin-bottom: 1.5rem;
}

.profile-books {
    background: #f7f1e3;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.profile-books__title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.profile-books p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}
@media(min-width:768px){
    .profile-history-title{
        font-size: 1.3rem;
    }
    .rs-profile-img-name img{
        width: 100%;
    }
    .profile-books__title{
        font-size: 1.15rem;
    }
    .profile-text{
        font-size:1rem;
    }
}

/* 編集協力事例 */
.rs-works-section {
    background: var(--color-bg);
}
.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
}
.rs-works-section .container>p small{
    color: var(--color-accent);
    line-height: 1.4;
}
@media (min-width: 768px) {
    .works-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 30px;
    }
}
@media (min-width:992px){
    .works-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media(min-width:1200px){
    .works-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 40px;
    }
}
.work-item {
    display: flex;
    flex-direction: column;
}

.work-image-link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    margin-bottom: 15px;
}
.work-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1.4;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.work-hover-text {
    position: absolute;
    bottom: -45px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 153, 68, 0.9);
    color: #fff;
    text-align: center;
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: bold;
    transition: bottom 0.3s ease;
}
.work-image-link:hover {
    transform: translateY(-5px);
    box-shadow: 4px 10px 20px rgba(0, 0, 0, 0.15);
}

.work-image-link:hover .work-img {
    transform: scale(1.03);
}

.work-image-link:hover .work-hover-text {
    bottom: 0;
}
.work-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.work-badge {
    background-color: var(--color-accent-green);
    color: #fff;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 2px;
    margin-bottom: 8px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.work-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 5px 0;
    color: var(--color-text);
}

.work-meta {
    font-size: 0.75rem;
    color: var(--color-accent);
    margin: 0;
    line-height: 1.4;
}
.work-supplement {
    font-size: 0.75rem;
    color: var(--color-text);
    background-color: #e6faed;
    border-left: 3px solid var(--color-accent-green);
    padding: 8px 12px;
    margin: 12px 0 0 0;
    line-height: 1.5;
    border-radius: 0 2px 2px 0;
}
/* ============================================
   reason.html - セクション1：REASON 改修
   ============================================ */
.rs-reason-section {
    background-color: var(--color-accent-green);
    color: var(--color-white);
}

.rs-reason-section .section-subtitle--light {
    color: rgba(255, 255, 255, 0.8);
}

.rs-reason-section .section-subtitle--light::before {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.rs-reason-img-wrap {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 3/2;
}

.rs-reason-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.js-scroll-flip:hover img {
    transform: scale(1.03);
}

/* 実績バッジ（エネルギッシュなアピール） */
.rs-badge {
    position: absolute;
    top: -15px;
    left: -15px;
    background: #101030; /* 力強いダークネイビー */
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
    padding: 1.2rem;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    line-height: 1.2;
    z-index: 2;
    transform: rotate(-10deg);
    border: 3px solid #ffff00;
}

.rs-badge span {
    color: #ffff00;
    font-size: 1.5rem;
    display: block;
    margin-top: 0.2rem;
}

@media (min-width: 768px) {
    .rs-badge {
        font-size: 1.1rem;
        padding: 1.5rem;
        top: -20px;
        left: -20px;
    }
    .rs-badge span {
        font-size: 1.8rem;
    }
}
@media(min-width:768px) and (max-width:991px){
    .rs-reason-img-wrap{
        margin-left: auto;
        margin-right: auto;
        width: 500px;
    }
}

/* 蛍光イエローマーカー（グリーン背景で目立つ不透明黄色） */
.marker-yellow {
    background: linear-gradient(transparent 60%, rgba(255, 255, 0, 0.9) 60%);
    color: var(--color-white);
}

/* 本文内の蛍光イエローマーカーは文字色を少しダークにして視認性UP */
p .marker-yellow {
    color: #1a1a1a;
    background: linear-gradient(transparent 20%, #ffff00 20%, #ffff00 80%, transparent 80%);
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    font-weight: 800;
}
.marker-deepgr{
    background: linear-gradient(transparent 60%, #002c14 60%);
}
.marker-orange{
    background: linear-gradient(transparent 60%, #ff8000 60%);
}


/* ============================================
   お客様の声：続きを読む機能（Read More Accordion）
   ============================================ */
.js-readmore-wrap {
    position: relative;
    margin-bottom: 2rem;
}

/* 本文エリア（初期状態は高さ150pxで隠す） */
.js-readmore-content {
    position: relative;
    overflow: hidden;
    max-height: 150px;
    transition: max-height 0.6s ease;
}

/* フェード用のグラデーション（テキストコンテンツの直下に配置して重なるように） */
.js-readmore-fade {
    width: 100%;
    height: 80px;
    margin-top: -80px; /* 直前のコンテンツの末尾に重ねる */
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 90%);
    pointer-events: none;
    transition: opacity 0.4s ease;
    position: relative;
    z-index: 2;
}

/* 続きを読むボタン */
.js-readmore-btn {
    display: inline-block;
    width: 100%;
    background: transparent;
    border: none;
    color: var(--color-accent-green);
    font-weight: 800;
    text-align: center;
    padding: 10px 0 0 0;
    cursor: pointer;
    font-size: 1.05rem;
    transition: color 0.3s ease;
    text-decoration: underline;
    text-decoration-color: transparent;
    position: relative;
    z-index: 3;
}

.js-readmore-btn:hover {
    color: var(--color-primary);
    text-decoration-color: currentColor;
}



/* ============================================
   voice.html - ページャー / ページヘッダー関連
   ============================================ */
.page-header-voice {
    background-image: url('img/head/voice.jpg');
}

/* ページネーション（WordPress一覧想定） */
.pagination-wrap {
    margin-top: 50px;
    text-align: center;
}

.pagination {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-weight: 700;
    font-family: var(--font-en);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.pagination .page-link:hover {
    background-color: var(--color-accent-green);
    color: var(--color-white);
    border-color: var(--color-accent-green);
}

.pagination .page-link.current {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    pointer-events: none;
}

.pagination .prev-link,
.pagination .next-link {
    font-size: 0.9rem;
    font-family: var(--font-ja); /* 「前へ」「次へ」は日本語 */
}



/* お客様の声 Q&Aスタイル */
.voice-q {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 1.5rem 0 0.5rem;
    padding-left: 0.8rem;
    border-left: 4px solid var(--color-accent-green);
    line-height: 1.4;
}

.voice-q:first-child {
    margin-top: 0.5rem;
}

.voice-a {
    line-height: 1.9;
    color: var(--color-text);
    margin-bottom: 0;
}



/* ============================================
   gifts.html - “大切な人”に本を贈る会
   ============================================ */
.page-gifts {
    background-color: #fbfaf5; /* 優しい生成り色 */
    color: #444; /* テキストも少し柔らかいグレー寄りに */
}

/* ページヘッダー */
.page-header-gifts {
    background-image: url('img/head/book-as-gift.jpg');
}

.page-gifts .breadcrumb-container {
    background-color: transparent;
}

/* バナーエリア */
.gf-banner-section {
    position: relative;
    z-index: 2;
}
.gf-banner {
    background-color: #fff;
    border-radius: 12px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #eee;
}
.gf-banner__label {
    display: table;
    background-color: #e2dcd3;
    color: #555;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}
.gf-banner__title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}
.gf-banner__desc, .gf-banner__desc p{
    color: #666;
    line-height: 1.8;
    margin: 0;
    font-size: 0.95rem;
}
.gf-banner__desc .wp-block-heading{
    letter-spacing: 2px;
    color: #555;
    font-weight: 500;
}
.gf-banner__desc h3.wp-block-heading{
    color: #6b6660;
    font-weight: 600;
}
.gf-banner__desc h4.wp-block-heading{
    padding-left: 15px;
    font-weight: 500;
    border-left: 6px solid #e2dcd3;
}
.gf-title {
    color: #4a4a4a;
}

/* コンセプトエリア */
.gf-concept-content {
    max-width: 750px;
    margin: 3rem auto 0;
    font-family: inherit;
}
.gf-concept-content p {
    line-height: 2.2;
    margin-bottom: 2rem;
    font-size: 1.05rem;
    color: #444;
}
.gf-concept-summary {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border: 1px solid #f0eee8;
    text-align: center;
}
.gf-concept-summary__label {
    display: block;
    color: #8c8276;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.gf-concept-summary__text {
    font-size: 1.25rem;
    color: #333;
    font-weight: 600;
    margin: 0;
    line-height: 1.8;
}

/* 開催概要＆寄付（OVERVIEW & DONATION） */
.gf-overview-section {
    background-color: #fff;
}
.gf-overview-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    border-top: 1px solid #eaeaea;
}
.gf-overview-list li {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eaeaea;
}
@media (min-width: 768px) {
    .gf-banner__label{
        margin-left: auto;
        margin-right: auto;
    }
    .gf-banner__title {
        text-align: center;
    }
    .gf-overview-list li {
        flex-direction: row;
        align-items: flex-start;
    }
}
.gf-overview-list__dt {
    font-weight: 600;
    color: #666;
    min-width: 140px;
    margin-bottom: 0.5rem;
}
.gf-overview-list__dd {
    color: #444;
    line-height: 1.8;
    flex: 1;
}

/* 寄付カード */
.gf-donation-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.gf-donation-card {
    display: flex;
    flex-direction: column;
    background-color: #fbfaf5;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f0eee8;
    transition: transform 0.3s ease;
}
.gf-donation-card:hover {
    transform: translateY(-3px);
}
@media (min-width: 768px) {
    .gf-donation-card {
        flex-direction: row;
    }
}
.gf-donation-card__img {
    background-color: #eee;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}
@media (min-width: 768px) {
    .gf-donation-card__img {
        width: 200px;
        height: auto;
        min-height: 100%;
    }
}
.gf-donation-card__body {
    padding: 2rem;
    flex: 1;
}
.gf-donation-card__title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.5;
}
.gf-donation-card__text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}
.gf-link {
    color: var(--color-accent-green);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}
.gf-link:hover {
    border-color: currentColor;
}

/* 季節のテーマ（SEASONS） */
.gf-seasons-section {
    background-color: #fbfaf5;
}
.gf-season-card {
    height: 100%;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
}
.gf-season-card--spring { background-color: #fdebee; }
.gf-season-card--summer { background-color: #e7f4ff; }
.gf-season-card--autumn { background-color: #fcefd7; }
.gf-season-card--winter { background-color: #e8e8ee; }

.gf-season-card__label {
    display: block;
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: #999;
    margin-bottom: 0.5rem;
}
.gf-season-card__title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}
.gf-season-card__text {
    font-size: 0.95rem;
    color: #555;
    line-height: 2.0;
    margin: 0;
}

/* プログラム構成（PROGRAM） */
.gf-program-section {
    background-color: #fff;
}
.gf-timeline {
    max-width: 650px;
    position: relative;
    padding-left: 2rem;
    margin-bottom: 3rem;
}
.gf-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 4px;
    width: 2px;
    background-color: #bce7d3;
}
.gf-timeline-item {
    position: relative;
    padding-bottom: 3.5rem;
}
.gf-timeline-item:last-child {
    padding-bottom: 0;
}
.gf-timeline-item__dot {
    position: absolute;
    left: -2rem;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #d4c5b9; /* グレージュ */
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px #d4c5b9;
}
.gf-timeline-item__title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
}
.gf-timeline-item__title span {
    font-size: 0.9rem;
    color: #888;
    font-weight: 400;
}
.gf-timeline-item__desc {
    color: #555;
    line-height: 1.9;
    margin: 0;
    font-size: 1rem;
}



/* ============================================
   inquiry.html - お問い合わせ関連
   ============================================ */
.page-header-inquiry {
    background-image: url('img/head/inquiry.jpg');
}

/* リード文 */
.iq-lead {
    font-size: 1.1rem;
    line-height: 2.2;
}

/* 電話窓口ブロック */
.iq-phone-box {
    background-color: var(--color-bg);
    border: 2px solid var(--color-accent-green);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.iq-phone-box__title {
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}
.iq-phone-box__number {
    display: inline-block;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--color-accent-green);
    text-decoration: none;
    font-family: var(--font-en);
    margin: 0.2rem 0;
}
.iq-phone-box__hours {
    color: var(--color-text);
    font-size: 0.9rem;
    margin: 0;
}

/* フォーム関連 */
.iq-form-box {
    background-color: #fff;
    padding: 2rem 10px;
}
.iq-form-group {
    margin-bottom: 2rem;
}
.iq-form-group label {
    display: flex;
    align-items: center;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: var(--color-primary);
    font-size: 1.05rem;
}
.badge-req, .badge-opt {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 1rem;
    color: #fff;
    line-height: 1;
}
.badge-req {
    background-color: var(--color-accent-green);
}
.badge-opt {
    background-color: #b0bfb4;
}

.iq-input, .iq-textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1.05rem;
    background-color: #fafafa;
    transition: all 0.3s ease;
}
.iq-input:focus, .iq-textarea:focus {
    outline: none;
    border-color: var(--color-accent-green);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 153, 68, 0.15);
}

/* プライバシーポリシー */
.iq-privacy-scroll {
    height: 200px;
    overflow-y: scroll;
    border: 1px solid #ddd;
    padding: 1.5rem;
    background-color: #fcfcfc;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.8;
    border-radius: 4px;
}
.iq-privacy-scroll p {
    margin-bottom: 1rem;
}
.iq-checkbox-label {
    cursor: pointer;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    color: var(--color-primary);
}
.iq-checkbox-label input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
}

/* 確認画面テーブル */
.iq-dl {
    width: 100%;
    margin: 0;
    border-top: 1px solid #eee;
}
.iq-dl dt {
    padding: 1.2rem 1rem;
    background-color: var(--color-bg);
    font-weight: 800;
    color: var(--color-primary);
    border-bottom: 1px solid #eee;
}
.iq-dl dd {
    padding: 1.2rem 1rem;
    margin: 0;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    color: #333;
    line-height: 1.7;
    font-size: 1.05rem;
}
@media (min-width: 768px) {
    .iq-dl {
        display: flex;
        flex-wrap: wrap;
    }
    .iq-dl dt {
        width: 30%;
        border-right: 1px solid #eee;
    }
    .iq-dl dd {
        width: 70%;
    }
    .iq-form-box{
        padding: 2rem;
    }
}

/* ============================================
   gifts.html - ブラッシュアップ追記分
   ============================================ */

/* 2. タイムライン（アイコン化に伴う構造変更） */
.gf-timeline {
    padding-left: 3.5rem; /* 左の余白を多めに */
}
.gf-timeline::before {
    left: 17px; /* 線の位置調整 */
}
.gf-timeline-item {
    position: relative;
    padding-bottom: 4rem;
}
.gf-timeline-item:last-child {
    padding-bottom: 0;
}
/* 以前のドットを非表示にする（念のため） */
.gf-timeline-item__dot {
    display: none !important;
}

/* 新しいアイコン部分 */
.gf-timeline-item__icon {
    position: absolute;
    left: -3.5rem; /* タイムラインパディング分戻す */
    top: 0;
    width: 36px;
    height: 36px;
    background-color: #eefff1;
    border: 2px solid var(--color-accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color:var(--color-accent-green);
    z-index: 2;
    box-shadow: 0 0 0 5px #fff;
}

.gf-timeline-item__icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
}

/* コンテンツ側の調整 */
.gf-timeline-item__content {
    padding-top: 5px; /* アイコンの中心とテキストのバランス */
}

/* ============================================
   single-journal.html - ブログ記事・お知らせ詳細
   ============================================ */
.page-header-post,.page-header-404 {
    background-image: url('img/head/blog.jpg'); /* Blog fallback image */
}

/* 記事枠（カード） */
.journal-post {
    background-color: #fff;
    padding: 3.5rem 4rem;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.03);
}
@media (max-width: 767px) {
    .journal-post {
        padding: 2rem 1.5rem;
    }
}

/* ヘッダー情報 */
.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.post-category {
    background-color: var(--color-accent-green);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: 4px;
}
.post-date {
    color: #999;
    font-size: 0.95rem;
    font-family: var(--font-en);
}
.post-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 2rem;
    line-height: 1.4;
}

/* 記事本文（CMS出力用スタイル） */
.post-content {
    color: var(--color-text);
    font-size: 1.05rem;
    line-height: 2.1;
}
.post-content p {
    margin-bottom: 2.5rem;
}
.post-content h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 4rem 0 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-accent-green);
    line-height: 1.5;
}
.post-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin: 3rem 0 1.5rem;
    padding-left: 1rem;
    border-left: 5px solid var(--color-accent-green);
}
.post-content ul,
.post-content ol {
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
}
.post-content li {
    margin-bottom: 0.8rem;
}
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 2.5rem;
}
.post-content blockquote {
    background-color: #f9fbf9;
    border-left: 5px solid var(--color-accent-green);
    padding: 2rem 2.5rem;
    margin: 3.5rem 0;
    color: #555;
    font-weight: 500;
    border-radius: 0 8px 8px 0;
    position: relative;
}
.post-content blockquote p {
    margin-bottom: 0;
    line-height: 2.3;
}
.post-content blockquote p + p {
    margin-top: 1.2rem;
}

/* シェアボタン群 */
.post-footer {
    border-top: 1px solid #eaeaea;
}
.share-label {
    display: block;
    font-family: var(--font-en);
    font-weight: 800;
    font-size: 0.9rem;
    color: #b3b3b3;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}
.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.btn-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s, opacity 0.3s;
}
.btn-share:hover {
    transform: translateY(-4px);
    opacity: 0.85;
    color: #fff;
}
.btn-x { background-color: #000; }
.btn-fb { background-color: #1877f2; font-size: 1.2rem; }
.btn-line { background-color: #06c755; font-size: 0.8rem; letter-spacing:-0.5px;}

/* 前後記事ナビゲーション */
.post-nav a {
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
    padding: 0.5rem;
}
.post-nav a:hover {
    color: var(--color-accent-green);
}
@media(min-width:768px){
    .post-title {
        font-size: 1.8rem;
    }
}
@media(min-width:992px){
    .post-title {
        font-size: 2rem;
    }
}
/* ============================================
   サイドバー（Sidebar Widgets）
   ============================================ */
.sidebar-widget {
    background-color: #fff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.03);
    margin-bottom: 2rem;
}
.widget-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
    font-family: var(--font-en);
    letter-spacing: 0.05em;
}
.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: var(--color-accent-green);
}

/* プロフィールウィジェット */
.widget-profile-img {
    margin: 0 auto 1.5rem;
    text-align: center;
}
.widget-profile-img img{
    margin:0 auto;
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;
}
.widget-profile-name {
    text-align: center;
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}
.widget-profile-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
}

/* カテゴリー・人気記事リンク共通アクション */
.widget-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.widget-cat-list li {
    border-bottom: 1px dashed #eaeaea;
}
.widget-cat-list li:last-child {
    border-bottom: none;
}
.widget-cat-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    color: #444;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
    font-weight: 500;
}
.widget-cat-list a:hover {
    color: var(--color-accent-green);
}
.cat-count {
    color: #a0a0a0;
    font-size: 0.85rem;
}

/* 人気記事ウィジェット */
.widget-pop-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.widget-pop-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    text-decoration: none;
}
.widget-pop-img {
    width: 85px;
    height: 65px;
    background-color: #eee;
    border-radius: 6px;
    flex-shrink: 0;
    object-fit: cover;
}
.widget-pop-title {
    font-size: 0.9rem;
    color: #333;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    transition: color 0.3s;
}
.widget-pop-item:hover .widget-pop-title {
    color: var(--color-accent-green);
}



/* ============================================
   blog.html - 記事一覧リストとページネーション
   ============================================ */

/* 記事リストコンテナ */
.journal-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* 記事カード */
.journal-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: box-shadow 0.3s, transform 0.3s;
    height: 100%;
}
.journal-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
.journal-card__link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
@media (min-width: 768px) {
    .journal-card__link {
        flex-direction: row;
    }
}

/* 画像部分 */
.journal-card__img {
    width: 100%;
    overflow: hidden;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .journal-card__img {
        width: 40%; /* サムネイル幅割合 */
        border-radius: 8px 0 0 8px;
    }
}
@media (max-width: 767px) {
    .journal-card__img {
        border-radius: 8px 8px 0 0;
        aspect-ratio: 16/9;
    }
}
.journal-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-out; /* ホバーズームエフェクト */
}
.journal-card:hover .journal-card__img img {
    transform: scale(1.05);
}

/* コンテンツ（テキスト）部分 */
.journal-card__content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    flex-grow: 1;
}
@media (min-width: 768px) {
    .journal-card__content {
        padding: 2rem 2.5rem;
        width: 60%;
    }
}

/* メタ情報（カテゴリ・日付） */
.journal-card__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.journal-card__cat {
    background-color: var(--color-accent-green);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.8rem;
    border-radius: 4px;
}
.journal-card__date {
    color: #888;
    font-size: 0.85rem;
    font-family: var(--font-en);
}

/* タイトル */
.journal-card__title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.5;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}
.journal-card:hover .journal-card__title {
    color: var(--color-accent-green);
}
@media(min-width:992px) and (max-width:1199px){
    .journal-card__title{
        font-size: 1.15rem;
    }
}
/* 抜粋文 */
.journal-card__desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (min-width: 992px) {
    .journal-card__desc {
        -webkit-line-clamp: 2; /* PC時は2行 */
        line-clamp: 2;
    }
}

.pagination-area .screen-reader-text {
    display: none;
}
.pagination-area .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}
.pagination-area .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 1rem;
    background-color: #fff;
    color: var(--color-text);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    border: 1px solid #eaeaea;
}
.pagination-area a.page-numbers:hover {
    background-color: #f7f9f8;
    color: var(--color-accent-green);
    border-color: var(--color-accent-green);
}
.pagination-area .page-numbers.current {
    background-color: var(--color-accent-green);
    color: #fff;
    border-color: var(--color-accent-green);
    pointer-events: none; /* クリック不可に */
}
.pagination-area .page-numbers.dots {
    border: none;
    box-shadow: none;
    background-color: transparent;
    color: #bbb;
}
/* 2026/5/11 */
.dir-prof-2,.dir-prof-3{
    margin-top: 60px;
}