/*
Theme Name: _maintpl-child
Version: 1
Template: _maintpl
*/

/* common */
body {
    font-family: "poppins",
        sans-serif;
    font-style: normal;
    color: #545454;
}

nav {
    background-color: #F5F5EF;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    transition: transform 0.3s ease;
}

body {
    padding-top: 95px;
}

/* ja */

body#ja h2 {
    font-size: 3rem;
    font-weight: 600;
    line-height: 4rem;
}

body#ja p {
    line-height: 1.8rem;
    font-size: 1.1rem;
    overflow-wrap: break-word;
}

body#ja p.aoharu-text {
    line-height: 2.5rem;
    font-size: 3rem;
}

body#ja .together h3 {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 5rem;
}


/* english */

h2 {
    font-size: 3.3rem;
    font-weight: 600;
    line-height: 4.5rem;
}

p {
    line-height: 2rem;
    font-size: 1.2rem;
    overflow-wrap: break-word;
}

.row_link,
.row_link:visited,
.row_link:hover,
.row_link:active,
.row_link:focus {
    color: inherit !important;
}

a:hover {
    text-underline-offset: 5px;
}

.f-view,
.about,
.youtube,
.together,
.guide,
.action,
.movies {
    padding-bottom: 6rem;
}

.header,
.f-view,
.about,
.slick-track {
    background-color: #F5F5EF;
}

.nav .nav-item a {
    color: #545454;
}

.dropdown-item:focus,
.dropdown-item:active {
    background-color: transparent !important;
    color: inherit !important;
    outline: none !important;
    box-shadow: none !important;
}

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

.f-view {
    padding-right: 0 !important;
}

.f-view .container-fluid {
    padding: 0;
    margin: 0;
}

.slick-outer {
    position: relative;
}

.slick-content {
    position: absolute;
    top: 50%;
    left: 70%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 150;
    color: #fff;

}

.slick-content img {
    max-width: 90%;
}

.slick-content p {
    text-align: center;
    text-shadow: 1px 1px #777;
}

.f-view img {
    width: 100%;
    max-height: 800px;
    object-fit: cover;
}



.f-view img.slide02 {
    object-position: 50% 100%;
}

.about {
    position: relative;
}

.about .bg_color {
    position: absolute;
    background-color: #fff;
    right: 0;
    width: 60%;
    height: 720px;
    z-index: 10;
}

.about .container {
    position: relative;
    z-index: 11;
    ;
}

.about h2 {
    margin: 4rem 0;
}

.about p {
    padding-right: 3rem;
}

.about img {
    max-width: 80%;
    margin: 4rem 0;
}

.youtube {
    position: relative;
}

.youtube .bg_color {
    position: absolute;
    right: 0;
    width: 40%;
    height: 500px;
    z-index: 10;
    background: repeat-x url(/resources/library/images/bg_youtube.png);
}

.youtube .container {
    position: relative;
    z-index: 11;
    ;
}

.youtube iframe {
    margin-top: 6rem;
    max-width: 100%;
}

.together img {
    max-width: 100%;
    margin-bottom: 2rem;
}

.together h2 {
    text-align: center;
    margin-bottom: 5rem;
}

.together h3 {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 5rem;
}

.together p {
    margin-left: 1rem;
}

.together a {
    color: #545454;
    text-decoration: none;
}

.together a:hover {
    text-decoration: underline;
}

.together a:hover {
    opacity: 0.8;
    transition: all 0.3s;
}

.guide {
    background-color: #f5f5ef;
}

.guide .container-fluid {
    background: no-repeat url(/resources/library/images/bg_guide.jpg);
    background-size: cover;
    height: 800px;
    background-position: center;
    display: grid;
    place-items: center;
    color: #fff;
    text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
    margin-bottom: 6rem;
}

.guide table {
    border-collapse: separate;
    border-spacing: 0 20px;
    border-top: 4px solid #547171;
    height: 100%;
}

.guide table th {
    border-right: 4px solid #547171;
}

.guide table th.leftbx {
    border-left: 4px solid #547171;
}

.guide table.btmbx {
    border-bottom: 4px solid #547171;
}

.guide .col-lg-4 {
    padding: 0;
}

.guide .col-lg-4 h3 {
    text-align: center;
    font-weight: 600;
    font-size: 1.7rem;
}

.guide .col-lg-4 img {
    display: block;
    margin: 0 auto;
    width: 40%;
}

.guide .col-lg-4 p {
    margin: 0 2rem 3rem;
    font-size: 1rem;
    line-height: 1.6rem;
}

.cp_arrows {
    text-align: center;
}

.cp_arrows span {
    display: inline-block;
    background: #fff;
    border-radius: 100%;
    margin-bottom: 10px;
    width: 30px;
    height: 30px;
}

.cp_arrows [class*='cp_arrow'] {
    position: relative;
    display: inline-block;
}

.cp_arrows [class*='cp_arrow']:after,
.cp_arrows [class*='cp_arrow']:before {
    content: '';
}

.cp_arrows [class*='cp_arrow'] {
    /*三角形の設定*/
    top: 1px;
    left: 0;
    border-width: 0 12px 12px 0;
    border-style: solid;
    border-color: transparent #545454 transparent transparent;
}

.cp_arrows [class*='cp_arrow']:before {
    /*矢印の棒の設定*/
    position: absolute;
    top: 6px;
    left: -2px;
    width: 12px;
    height: 4px;
    background: #545454;
    transform: rotate(-45deg);
}

/*それぞれの角度*/
.cp_arrows .cp_arrow_right {
    transform: rotate(45deg);
}

.guide a {
    display: block;
    text-decoration: none;
    color: #545454;
}

.guide a:hover {
    opacity: 0.8;
    transition: all 0.3s;

}

.guide a:hover .cp_arrows {
    text-decoration: underline;
}


.action .bg_color {
    position: absolute;
    left: 0;
    width: 75%;
    height: 900px;
    z-index: 10;
    background: repeat-x url(/resources/library/images/bg_action.png);
}

.action .container {
    position: relative;
    z-index: 11;
}

.action iframe {
    margin-top: 6rem;
    max-width: 100%;
}

.action h2 {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 8rem;
}

.action .col-lg-4 {
    margin-top: 4rem;
}

.action .col-lg-4 img {
    width: 100%;
    max-height: clamp(150px, 25vw, 200px);
    object-fit: cover;
    display: block;
    background-color: #ffffff;
}

.action .col-lg-4 .noimage {
    object-fit: contain;
}

.action .cp_arrows,
.movies .cp_arrows {
    text-align: center;
    font-size: 3rem;
    margin-top: 4rem;
}

.action .cp_arrows span {
    display: inline-block;
    background: #f5f5ef;
    border-radius: 100%;
    margin-bottom: 10px;
    width: 50px;
    height: 50px;
    vertical-align: middle;

}

.movies .cp_arrows span {
    display: inline-block;
    background: #ffffff;
    border-radius: 100%;
    margin-bottom: 10px;
    width: 50px;
    height: 50px;
    vertical-align: middle;

}

.action .cp_arrows [class*='cp_arrow'],
.movies .cp_arrows [class*='cp_arrow'] {
    position: relative;
    display: inline-block;
}

.action .cp_arrows [class*='cp_arrow']:after,
.movies .cp_arrows [class*='cp_arrow']:after,
.action .cp_arrows [class*='cp_arrow']:before,
.movies .cp_arrows [class*='cp_arrow']:before {
    content: '';
}

.action .cp_arrows [class*='cp_arrow'],
.movies .cp_arrows [class*='cp_arrow'] {
    /*三角形の設定*/
    top: -22px;
    left: 0;
    border-width: 0 12px 12px 0;
    border-style: solid;
    border-color: transparent #545454 transparent transparent;
}

.action .cp_arrows [class*='cp_arrow']:before,
.movies .cp_arrows [class*='cp_arrow']:before {
    /*矢印の棒の設定*/
    position: absolute;
    top: 6px;
    left: -2px;
    width: 12px;
    height: 4px;
    background: #545454;
    transform: rotate(-45deg);
}

.action a,
.movies a {
    display: block;
    text-decoration: none;
    color: #545454;
}

.action a:hover,
.movies a:hover {
    opacity: 0.8;
    transition: all 0.3s;
    text-decoration: underline;
}

.movies {
    background-color: #f5f5f5;
}

.movies h2 {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 8rem;
}

.movies h3 {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 5rem;
}

.movies p {
    margin-left: 1rem;
}

.movies .movie_logo {
    text-align: center;
}

.movies .movie_logo img {
    max-height: 100%;
    width: auto;
}

.grid_1 {
    grid-row: span 6;
    background-color: #fff;
}

.grid_2 {
    grid-row: span 4;
    background-color: #fff;
}

.grid_3 {
    grid-row: span 4;
    background-color: #fff;
}

.grid_4 {
    grid-row: span 6;
    background-color: #fff;
}

.grid_5 {
    grid-row: span 4;
    background-color: #fff;
}

.youtube_list {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.youtube_list iframe {
    width: 100%;
    height: 100%;
}

.footer {
    background-color: #547171;
    text-align: center;
    padding: 4rem 0;
    color: #fff;
}

/* -----page-nature------ */


.section-nature {
    --photo-w: clamp(120px, 22vw, 320px);
    --photo-h: clamp(260px, 55vh, 520px);
    background-color: #f5f5ef;
    padding-bottom: 5rem;
}

@media (min-width: 768px) {
    .section-nature {
        --photo-w: clamp(160px, 18vw, 360px);
    }
}

@media (min-width: 1200px) {
    .section-nature {
        --photo-w: clamp(200px, 16vw, 420px);
    }
}

/* 3枚の縦長写真：画面が小さくなるほど“狭く”なる */
.section-nature .photo-rail-img {
    width: var(--photo-w);
    height: var(--photo-h);
    object-fit: cover;
    /* 中央トリミング */
    object-position: center;
    display: block;
}

/* はみ出し対策（極端に小さい画面での横スクロールを許可） */
.section-nature .photo-rail {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}


/* タイトルの字間（お好みで） */
.section-nature-title {
    letter-spacing: .2em;
}

.section-nature-text {
    letter-spacing: .1em;
}

.section-nature-title .section-nature-text {
    color: #545454;
}

.nature-img {
    aspect-ratio: 276 / 356;
    object-fit: cover;
    height: auto;
    /* aspect-ratio に合わせて高さ自動 */
    flex: 0 0 auto;
    /* 幅を明示的に指定して横並び維持 */
    display: block;
}

/* PC: 各画像=25vw → 3枚で 75vw（残り25vwが左カラム相当） */
@media (min-width: 992px) {
    .nature-img {
        width: 23vw;
    }
}

/* タブレット以下：画面に収まるよう縮小（上限/下限を設定） */
@media (max-width: 991.98px) {
    .nature-img {
        width: clamp(120px, 33.333vw, 260px);
    }

    .nature-rail {
        margin-top: 2em;
    }
}

/* 画像同士の余白をゼロに */
.section-nature .d-flex img+img {
    margin-left: 0;
}

/* 画像同士の余白をゼロに */
.section-nature .d-flex img+img {
    margin-left: 0;
}

/* ---- Quote section ---- */
.section-quote {
    --bg: #4f6e6f;
    /* 背景色 */
    --fg: #fff;
    /* 文字・引用符色 */
    --accent: #f8dd9a;
    /* 下線色（淡いイエロー） */

    background: var(--bg);
    padding: clamp(10px, 9vh, 96px) 0;
    margin: 0;
}

.quote {
    max-width: min(100vw, 1000px);
    margin: 0 auto;
    position: relative;
    text-align: center;
    color: var(--fg);
}

/* 引用符（左右の“ ”をCSSだけで） */
.quote::before,
.quote::after {
    content: "“";
    position: absolute;
    color: var(--fg);
    font-weight: 700;
    font-size: clamp(12px, 2.8vw, 32px);
    line-height: 1;
    content: "“";
    pointer-events: none;
}

.quote::after {
    content: "”";
}

.quote::before {
    top: -20px;
    left: clamp(16px, 8vw, 120px);
}

.quote::after {
    bottom: -20px;
    right: clamp(16px, 8vw, 120px);
}

/* 本文（全部テキスト） */
.qtext {
    margin: 0 auto;
    max-width: 750px;
    width: clamp(350px, 50vw, 750px);
    padding-left: 2%;
}

.qtext p {
    margin: .45em 0;
    font-size: clamp(15px, 2.5vw, 30px);
    /* 文字の大きさ */
    font-weight: 500;
    letter-spacing: .18em;
    /* ゆったり字間 */
}

.qtext_eng {
    margin: 0 auto;
    max-width: 700px;
    width: clamp(300px, 50vw, 700px);
    padding-left: 2%;
}

.qtext_eng p {
    margin: .45em 0;
    font-size: clamp(15px, 2.5vw, 30px);
    /* 文字の大きさ */
    font-weight: 500;
    letter-spacing: -0.18em;
    /* ゆったり字間 */
}

.quote-body {
    position: relative;
    width: min(92vw, 1000px);
    margin-left: clamp(20px, 8vw, 140px);
}


/* 手描き下線 */
.quote-underline {
    max-width: 600px;
    width: clamp(290px, 50vw, 600px);
    margin: clamp(12px, 3vh, 32px) auto 0;
}

.quote-underline-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---- section-nature-detail section ---- */

/* 左：自然の写真 */
.nature-hero1 {
    background-image: url("/resources/library/images/nature_image01.webp");
}

.nature-hero2 {
    background-image: url("/resources/library/images/nature_image03.webp");
}

.nature-hero3 {
    background-image: url("/resources/library/images/nature_image02.webp");
}

.nature-hero4 {
    background-image: url("/resources/library/images/nature_image04.webp");
}

/* 左：自然の写真 */
.culture-hero1 {
    background-image: url("/resources/library/images/culture_image01.webp");
}

.culture-hero2 {
    background-image: url("/resources/library/images/culture_image02.webp");
}

.culture-hero3 {
    background-image: url("/resources/library/images/culture_image03.webp");
}

.culture-hero4 {
    background-image: url("/resources/library/images/culture_image04.webp");
}

/* 左：自然の写真 */
.you-hero1 {
    background-image: url("/resources/library/images/you_image01.webp");
}

.you-hero2 {
    background-image: url("/resources/library/images/you_image02.webp");
}

.you-hero3 {
    background-image: url("/resources/library/images/slide02.jpg");
}

.you-hero4 {
    background-image: url("/resources/library/images/you_image04.webp");
}

.hero {
    height: clamp(320px, 65vh, 820px);
    background-size: cover;
    background-position: center;
}

.nature-copy-wrap {
    max-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 5vw, 48px);
}


.nature-bg-im1 {
    /* 背景ベース画像 */
    background-image:
        linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)),
        url("/resources/library/images/nature_background01.webp");
    background-repeat: no-repeat, no-repeat;
    background-position: 0 0, top left;
    /* フィルターは全面、画像は左上 */
    background-size: 100% 100%, 50% auto;
    /* フィルターは全面、画像は小さめに */
}

.nature-bg-im2 {
    /* 背景ベース画像 */
    background-image:
        linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)),
        url("/resources/library/images/nature_background02.webp");
    background-repeat: no-repeat, no-repeat;
    background-position: 0 0, top right;
    /* フィルターは全面、画像は左上 */
    background-size: 100% 100%, 50% auto;
    /* フィルターは全面、画像は小さめに */
}

.nature-bg-im3 {
    /* 背景ベース画像 */
    background-image:
        linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)),
        url("/resources/library/images/nature_background03.webp");
    background-repeat: no-repeat, no-repeat;
    background-position: 0 0, top left;
    /* フィルターは全面、画像は左上 */
    background-size: 100% 100%, 50% auto;
    /* フィルターは全面、画像は小さめに */
}

.nature-bg-im4 {
    /* 背景ベース画像 */
    background-image:
        linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)),
        url("/resources/library/images/nature_background04.webp");
    background-repeat: no-repeat, no-repeat;
    background-position: 0 0, top left;
    /* フィルターは全面、画像は左上 */
    background-size: 100% 100%, 50% auto;
    /* フィルターは全面、画像は小さめに */
}

/* 中のテキスト */
.nature-copy {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 100%;
    padding: clamp(16px, 2.2vw, 28px) clamp(18px, 2.6vw, 32px);
}

/* 引用符 */
.nature-copy::before {
    content: "“";
    position: absolute;
    top: -20px;
    left: -20px;
    color: #2a615f;
    font-size: clamp(20px, 3vw, 32px);
    font-weight: bold;
}

.nature-copy::after {
    content: "”";
    position: absolute;
    bottom: -20px;
    right: -20px;
    color: #2a615f;
    font-size: clamp(20px, 3vw, 32px);
    font-weight: bold;
}


/* テキスト体裁 */
.nature-copy h3 {
    font-size: clamp(18px, 2vw, 22px);
}

.nature-copy p {
    margin-bottom: 0.9rem;
    line-height: 1.9;
    font-size: clamp(14px, 1.35vw, 16px);
    color: #333;
}

.nature-copy-small-text p {
    font-size: clamp(12px, 1.35vw, 14px);
    line-height: 1.6;
}

.section-action-guide {
    background: #f5f5ef;
}

/* 画像：高さは画面に応じて可変 */
.ag-hero {
    height: clamp(220px, 42vh, 420px);
}

.object-fit-cover {
    object-fit: cover;
}


/* -------- your-action-guide --------- */


/* 固定ヘッダー分だけ、アンカー停止位置を少し手前に */
.accordion-collapse {
    scroll-margin-top: 120px;
    /* ←必要に応じて 60〜120px くらいで調整 */
}

/* 左テキストの体裁 */
.ag-copy {
    padding: clamp(16px, 4vw, 36px) clamp(18px, 3vw, 28px);
    padding-left: 80px;
}

.ag-kicker {
    font-size: clamp(14px, 1.4vw, 18px);
    color: #666;
    letter-spacing: .08em;
}

.ag-title {
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.15;
    color: #3a3a3a;
    font-size: clamp(28px, 6.2vw, 56px);
}

.ag-title span {
    display: block;
}

:root {
    --ag-text: #2f3432;
    /* 本文色 */
    --ag-muted: #7a8480;
    /* 番号など */
    --ag-line: #547171;
    /* 罫線色 */
    --ag-bg: #ffffff;
    /* 見出し背景 */
    --ag-bg-hv: #f7f8f6;
    /* 見出し hover */

}

/* 見出し（ページのH2） */
.action-head {
    letter-spacing: .2em;
    font-weight: 300;
    color: var(--ag-text);
}

.section-action-detail {
    max-width: 960px;
    margin: 0 auto;
}

/* アイテム罫線と間隔（フラット） */
.action-acc {
    color: var(--ag-text);
}

.action-acc .accordion-item {
    border: 0;
    border-top: 2px solid var(--ag-line);
    border-bottom: 2px solid var(--ag-line);
    background: transparent;
    margin-bottom: 28px;
}

/* 見出しボタン */
.action-btn {
    background: var(--ag-bg);
    color: var(--ag-text);
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 18px 56px 18px 20px;
    /* 右は＋/−の領域 */
}

.action-btn:hover {
    background: var(--ag-bg-hv);
}

/* 左アイコン（大きめ） */
.action-icon {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    object-fit: contain;
}

@media (min-width:768px) {
    .action-icon {
        width: 100px;
        height: 100px;
    }
}

.action-acc .accordion-item {
    margin: 0;
}


/* アコーディオン全体の角丸をなくす */
.accordion-item {
    border-radius: 0 !important;
    margin: 0;
    /* ボーダー間の余白を消す */
    border: none;
    /* Bootstrapデフォルトのborderを消す */
    border-bottom: 4px solid #547171;
    /* 下線を入れる */
}

/* 最初のアイテムの上にも線を入れる */
.accordion-item:first-of-type {
    border-top: 4px solid #547171;
}

.accordion-item:last-of-type {
    border-bottom: 4px solid #547171;
}

/* ボタン自体の角丸をリセット */
.accordion-button {
    border-radius: 0 !important;
    box-shadow: none !important;
    /* フォーカス時の影を消すなら */
}

.accordion-button:not(.collapsed) {
    background-color: #e5f3e2;
}

/* 見出しテキスト */
.action-title {
    font-size: 1.4rem;
    /* 少し大きめ */
    font-weight: 600;
    letter-spacing: .02em;
}

.action-title .num {
    color: var(--ag-muted);
    margin-right: .4em;
    font-size: 1.1em;
}

/* 右端の＋/−（既定の矢印を無効化） */
.action-btn::after {
    content: "＋";
    background-image: none !important;
    transform: none !important;
    margin-left: auto;
    color: var(--ag-text);
    font-size: 1.4rem;
    line-height: 1;
}

.action-btn:not(.collapsed)::after {
    content: "−";
}

/* 展開エリア */
.action-body {
    background: #fff;
    color: var(--ag-text);
    font-size: 1.0rem;
    line-height: 1.9;
    padding: 18px;
    /* 見出しアイコンに揃えて左インデント */
}

.action-body h3 {
    font-size: 1.35rem;
}

.action-body ul {
    margin: 0 0 1rem;
    padding-left: 1.2em;
}

.action-body li {
    margin-bottom: .35rem;
}

/* スマホ調整 */
@media (max-width:575.98px) {
    .action-btn {
        padding: 14px 50px 14px 14px;
        gap: 10px;
    }

    .action-icon {
        width: 40px;
        height: 40px;
    }

    .action-title {
        font-size: 1rem;
    }

    .action-body {
        font-size: 14px;
        line-height: 1.85;
    }
}

/* ==== Posts List ==== */
.section-posts {
    background: #fff;
}

.post-list {
    max-width: 900px;
    margin: 0 auto;
}

.posts-heading {
    font-weight: 700;
    letter-spacing: .18em;
    color: #3b3f3e;
    font-size: clamp(32px, 3.2vw, 50px);
    margin: 0 0 1.8rem;
}

/* 1行分のアイテム */
.post-item {
    padding: 1rem 0;
    margin: 1.5rem 0;
}

.post-title {
    font-size: clamp(1.45rem, 1.8vw, 1.7rem);
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.4rem;
}

.post-meta {
    font-size: 0.85rem;
    /* 日付用 */
    color: #666;
}

.post-item a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.post-excerpt {
    font-size: clamp(1.05rem, 1.2vw, 1.15rem);
    line-height: 1.7;
    color: #444;
}

.post-meta {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 0.3rem;
    letter-spacing: 0.05em;
}

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

.post-item a:hover .post-meta,
.post-item a:hover .post-title,
.post-item a:hover .post-excerpt {
    color: #404040;
}


/* サムネイルの正方形枠が崩れないよう ratio を強制（Boot5の .ratio を借用） */
.list-ratio {
    position: relative;
    width: 100%;
}

.list-ratio::before {
    content: "";
    display: block;
    padding-top: 100%;
}

.list-ratio>* {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ページネーション */
.posts-pagination {
    display: flex;
    justify-content: center;
    gap: .4rem;
    margin-top: 1.5rem;
}

.posts-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    color: #547171;
    /* ← 枠なし */
}

.posts-pagination .page-numbers:hover {
    background-color: #eef3f2;
    text-decoration: none;
}

.posts-pagination .page-numbers.current {
    background-color: #547171;
    color: #fff;
    border: 1px solid #547171;
}



/* ==== Posts Dtail ==== */

/* 投稿詳細ページ（single.php）用 */
.post-detail {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem;
}

.post-detail h1.post-title {
    font-weight: 600;
    color: #2f3432;
}

.post-detail .post-thumbnail img {
    border-radius: 6px;
    display: block;
    width: 100%;
    height: auto !important;
    border-radius: 6px;
}

.post-thumbnail img {
    object-fit: contain !important;
    height: auto !important;
}


.post-detail iframe {
    max-width: 100%;
    display: block;
    margin: 2rem auto;
    position: relative !important;
    z-index: 1;
}

.post-detail img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2rem auto;
}

/* single.php：本文の最大幅を制限し中央に寄せる */
.post-detail .post-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* スマホ最適化 */
@media (max-width: 575.98px) {
    .ag-copy {
        padding: 16px 14px 24px;
    }

    .posts-heading {
        margin-bottom: 1.2rem;
    }

    .post-divider {
        margin: .8rem 0;
    }
}


@font-face {
    font-family: 'AoharuMarker';
    src:
        url('fonts/aoharu-marker-mini.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.aoharu-text {
    font-family: 'AoharuMarker', sans-serif;
    text-align: left;
}

/* 超狭幅での微調整（必要なら） */
@media (max-width: 480px) {
    .section-quote .quote-wrap {
        gap: 12px;
    }
}


/* japanese　*/
@media (min-width: 992px) {
    .sp_only {
        display: none;
    }
}

@media (max-width: 991.98px) {

    /* ja */

    body#ja h2 {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    body#ja p {
        line-height: 1.8rem;
        font-size: 1.1rem;
        overflow-wrap: break-word;
    }

    body#ja p.aoharu-text {
        line-height: 2rem;
        font-size: 1.5rem;
    }

    body#ja .together h3 {
        text-align: center;
        font-size: 1rem;
        margin-bottom: 5rem;
    }

    body#ja .together h2 {
        text-align: center;
        margin-bottom: 1rem;
    }

    body#ja .action h2 {
        text-align: center;
        margin-bottom: 0;
        padding-top: 2rem;
    }

    body#ja .movies h2 {
        text-align: center;
        margin-bottom: 0;
        padding-top: 2rem;
    }

    body#ja .movies h3 {
        text-align: center;
        font-size: 1rem;
        margin-bottom: 5rem;
    }

    .pc_only {
        display: none;
    }

    .f-view,
    .about,
    .youtube,
    .together,
    .guide,
    .action,
    .movies {
        padding-bottom: 3rem;
    }

    .navbar-collapse {
        background-color: #e1e1e1;
    }

    .f-view {
        padding: 0;
    }

    .f-view .col {
        padding: 0;
    }

    .f-view .row {
        margin: 0;
    }

    .f-view .slick-next,
    .f-view .slick-prev {
        display: none !important;
    }

    .slick-content {
        left: 50%;
    }

    .slick-content p {
        text-wrap: nowrap;
    }

    .about_logo_sp {
        text-align: center;
        background-color: #fff;
    }

    .about_logo_sp img {
        max-width: 50%;
        margin: 1rem 0;
        width: auto;
    }

    .bg_color {
        display: none;
    }

    h2 {
        font-size: 2rem;
        font-weight: 600;
        line-height: 2.8rem;
    }

    .about h2 {
        margin: 3rem 0;
    }

    .about p {
        padding-right: 0;
    }

    .youtube iframe {
        margin-top: 3rem;
    }

    .guide .container-fluid {
        height: 400px;
    }

    .guide .col-lg-4 {
        padding: 0 1rem;
    }

    .guide table th {
        border-right: 4px solid #547171;
        border-left: 4px solid #547171;
        ;
    }

    .guide table.btmbx {
        border-top: 4px solid #547171;
        border-bottom: none;
    }

    .guide table.last_btmbx {
        border-bottom: 4px solid #547171;
    }

    .action h3 {
        margin-top: 1rem;
    }

    .grid_1 {
        grid-row: span 3;
        background-color: #fff;
    }

    .grid_2 {
        grid-row: span 3;
        background-color: #fff;
    }

    .grid_3 {
        grid-row: span 3;
        background-color: #fff;
    }

    .grid_4 {
        grid-row: span 3;
        background-color: #fff;
    }

    .grid_5 {
        grid-row: span 3;
        background-color: #fff;
    }

    .nature-copy {
        margin-top: 30px;
    }

    .ag-copy {
        padding-left: 16px;
        /* 左余白を小さく */
        padding-right: 16px;
        /* 右も調整可 */
    }

    .ag-kicker {
        margin-bottom: 1.2rem;
        /* 下余白を狭く */
    }

    .section-nature {
        padding-top: 1rem;
    }
}

@media (min-width: 576px) {
    .container {
        max-width: 540px !important;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px !important;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px !important;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px !important;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px !important;
    }
}

/* 固定ページ */

img .kotei_tpl {
    margin: 4rem 0;
    height: 500px;
}
