/*
Theme Name: テンプレート
Author: アルファージール
Version: 1
*/

/*==============================================*/
/*  PC  */
/*==============================================*/
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.mb20 {
    margin-bottom: 20px;
}

.mb30 {
    margin-bottom: 30px;
}

.mb40 {
    margin-bottom: 40px;
}

.mb50 {
    margin-bottom: 50px;
}
.mb2em {
    margin-bottom: 2em;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

body {
    font-size: 17px;
    line-height: 2;
    font-feature-settings: 'palt' 1;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.1em;
    min-height: 100vh;
    display: grid;
    align-items: flex-start;
    /*    font-family: 'Noto Sans JP', sans-serif;*/
    font-family: Times New Roman, Calibri, sans-serif;
}

body.fixed {
    position: fixed;
    left: 0;
    width: 100%;
}

@media (min-width: 960px) {
    .pc_hide {
        display: none !important;
    }
}

@media (min-width: 560px) and (max-width: 959px) {
    .tb_hide {
        display: none !important;
    }
}

@media (max-width: 559px) {
    .sp_hide {
        display: none !important;
    }
}

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

main {
    align-self: stretch;
    container-type: inline-size;
}

a:hover {
    transition: 0.3s;
    opacity: 0.7;
}

.disIB {
    display: inline-block;
}

main p {
    margin-bottom: 1em;
}

main p:last-child {
    margin-bottom: 0em;
}

main ul:not([class]) {
    padding-left: 20px;
}
main ul:not([class])>li {
    list-style: disc;
    margin-left: 1em;
    margin-bottom: 0.5em;
}
main ol:not([class]) {
    padding-left: 20px;
}
main ol:not([class])>li {
    list-style:decimal;
    margin-left: 1.5em;
    margin-bottom: 0.5em;
}

strong {
    font-weight: bold;
}

/*==========================================================================*/
/*==header==*/
/*==========================================================================*/
.header {
    display: grid;
    grid-template-columns: auto auto;
    /*	background: #f3f3f3;*/
    background: #fff;
    padding: 0 0 0 0;
    justify-content: space-between;
    position: sticky;
    top: 0 !important;
    z-index: 100;
    padding: 5px 60px 5px 40px;
}

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

@media (max-width: 959px) {
    .header {
        grid-template-columns: 1fr auto;
        grid-gap: 20px;
        padding: 10px 20px;
    }

    .header__logo {
        height: 60px;
    }
}

@media (min-width: 960px) {
    .header {
        /*
        height: 225px;
        grid-template-rows: 1fr 90px;
        align-items: center;
*/
    }

    .header__logo {
        height: 100px;
    }

}


.header__right {
    display: grid;
    grid-template-rows: auto auto;
    line-height: 1.2;
    align-items: center;
}

/*ヘッダーメニュー*/

.header__menu {
    display: grid;
    cursor: pointer;
    width: 50px;
    height: 100%;
    align-items: center;
}

.header__menu:hover {
    opacity: 0.7;
}

.header__menu__box {
    display: grid;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.header__menu__border {
    height: 22px;
    width: 100%;
    width: 42px;
    display: grid;
    align-items: center;
    position: relative;
    justify-content: center;
    grid-row: 2 / 3;
}

.header__menu__border__text {
    grid-row: 3 / 4;
    margin-top: 5px;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    font-size: 80%;
    color: #e24e00;
}

.header__menu__border span:nth-of-type(1) {
    top: 0;
}

.header__menu__border span:nth-of-type(2) {
    /*   top: 20px; */
    top: 50%;
    transform: translate(0%, -50%);
}

.header__menu__border span:nth-of-type(3) {
    bottom: -1px;
}

.header__menu__border span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e24e00;
    border-radius: 4px;
    display: inline-block;
    transition: all .5s;
    box-sizing: border-box;
}

.header__menu__border_text {
    font-weight: bold;
    font-size: 16px;
    width: 100%;
    -webkit-transition-duration: .4s;
    -o-transition-duration: .4s;
    -moz-transition-duration: .4s;
    transition-duration: .4s;
    white-space: nowrap;
    display: inline-block;
    padding-top: 36px;
    letter-spacing: 0;
    color: #e24e00;
}

#sidebar_flag:checked .header__menu {
    /*  right: calc(21.5vw + 40px);
  right: calc(24.8vw + 40px); */
    /*  margin-right: 20px;*/
    -webkit-transition-duration: .4s;
    -o-transition-duration: .4s;
    -moz-transition-duration: .4s;
    transition-duration: .4s;
    /* top: 120px; */
}

#sidebar_flag:checked .header__menu .header__menu__border span {
    background-color: #fff;
}

#sidebar_flag:checked~.header__menu .header__menu__border span:nth-of-type(1) {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: calc(3vw * 0.35)
}

#sidebar_flag:checked .header__menu .header__menu__border span:nth-of-type(2) {
    opacity: 0;
}

#sidebar_flag:checked .header__menu .header__menu__border span:nth-of-type(3) {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: calc(3vw * 0.35)
}

#sidebar_flag:checked .header__menu .header__menu__text {
    color: #fff;
}
@media (max-width: 959px){
    .header__right {
        grid-template-columns: auto auto;
        direction: rtl;

    }
    .header__right > * {
        direction: ltr;
    }
    .header__right .gtranslate_wrapper  {
        margin-right: 10px;
        margin-left: 10px;
    }
    .header__right .gtranslate_wrapper {
        color: initial;
    }
}
@media (max-width: 559px){
    .gtranslate_wrapper a {
        display: block;
        margin: 5px;
    }
}

/*==========================================================================*/
/*==header   ここまで==*/
/*==========================================================================*/
/*==========================================================================*/
/*==header nav==*/
/*==========================================================================*/
.header__nav {
    /*
    background: #fff;
    height: 90px;
    filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, 0.1));
	grid-column: 1 / 3;
*/
}

.header__nav>ul {
    display: flex;
    gap: 0 30px;
    padding: 0;
    list-style: none;
    margin: 0;
}
.header__nav>ul>li>a,
.header__nav>ul>li>span {
    padding: 10px 0;
    display: block;
    text-decoration: none;
    position: relative;
}

.header__nav>ul>li>a {
    overflow: hidden;
    color: #000;
}

.header__nav>ul>li>a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    translate: -101% 0;
    border-bottom: 1px solid #000;
    transition: translate 0.3s ease 0s;
}

.header__nav>ul>li>a:hover::after {
    translate: 0 0;
}

.header__nav>ul>li>a:hover {
    opacity: 1;
}

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

.header__nav li:hover .header__nav__sub {
    display: block;
    position: absolute;
    background: #f9f9f9;
    padding: 20px;
}

.header__nav li:hover .header__nav__sub a {
    padding: 10px 0px 10px 20px;
    display: block;
    text-decoration: none;
    position: relative;
    color: #000;
    overflow: hidden;
    max-width: fit-content;
}

.header__nav li:hover .header__nav__sub a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    translate: 0 -50%;
    rotate: -45deg;
    width: 5px;
    height: 5px;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
}

.header__nav>ul>li>.header__nav__sub a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    translate: -101% 0;
    border-bottom: 1px solid #000;
    transition: translate 0.3s ease 0s;
}

.header__nav>ul>li .header__nav__sub a:hover::after {
    translate: 0 0;
}

.header__nav>ul>li .header__nav__sub a:hover {
    opacity: 1;
}

@media (max-width: 959px) {
    .header__nav {
        display: none;
    }
}

/*==========================================================================*/
/*==header nav    ここまで==*/
/*==========================================================================*/
/*==========================================================================*/
/*==footer loop==*/
/*==========================================================================*/

.footerloop {
    display: flex;
    padding: 50px 0;
    overflow: hidden;
    max-width: 100vw;
}

.footerloop_box {
    display: flex;
    animation: footerloop_anime 95s infinite linear 0.5s both;
    align-items: center;
}

.footerloop .slide {
    width: calc(100vw / 1.5);
}

@keyframes footerloop_anime {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

@media (min-width: 560px) and (max-width: 959px) {
    .footerloop .slide {
        width: calc(100vw / 2.5);
    }
}

@media (min-width: 960px) {
    .footerloop .slide {
        width: calc(100vw / 4.5);
    }
}

/*==========================================================================*/
/*==footer loop   ここまで==*/
/*==========================================================================*/
/*==========================================================================*/
/*==footer info==*/
/*==========================================================================*/

.footer_info_inner {
    padding: 50px;
    max-width: fit-content;
    margin: auto;
}

.footer_info_title {
    font-size: 38.8px;
    color: #e5e5e5;
    margin-bottom: 20px;
}

.footer_info_subtitle {
    font-size: 22px;
    color: #c1c1c1;
    margin-bottom: 20px;
}

.footer_info_contents {
    margin-bottom: 40px;
}

@media (min-width: 960px) {
    .footer_info_inner {
        display: grid;
        align-items: center;
        justify-content: center;
        padding: 50px;
        gap: 0 20px;
        grid-template-columns: 1fr 1fr;
        max-width: fit-content;
        margin: auto;
    }

    .footer_info_title,
    .footer_info_subtitle {
        grid-column: 1 / 3;
        text-align: center;
    }

    .footer_info_contents {
        margin-bottom: 0;
    }
}

@media (max-width: 559px) {
    .footer_info_inner {
        padding: 50px 3.75%;
    }
}

.footer_info_contents table {
    margin: 20px 0 10px;
}

.footer_info_contents thead th,
.footer_info_contents thead td {
    background-color: #3c4348;
    background-color: #947f70;
    color: #fff;
    font-weight: 700;
    vertical-align: middle;
    text-align: center;
    padding: 0.2em 0.5em;
}

.footer_info_contents tbody th,
.footer_info_contents tbody td {
    border: none;
    padding: 0.5em;
    text-align: center;
    vertical-align: top;
    background: #fff;
}

.footer_info_contents thead th,
.footer_info_contents tbody th {
    width: 15em;
}


.footer_map {
    position: relative;
    width: 100%;
    height: 640px;
}

.footer_map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (min-width: 960px) {
    .footer_map {
        filter: grayscale(100%);
        transition: filter 0.7s ease;
    }

    .footer_map:hover {
        filter: grayscale(0%);
    }
}

.page__top {
    right: 15px;
    bottom: 130px;
    position: fixed;
    z-index: 1000;
    background: #000;
    width: 60px;
    height: 60px;
    border-radius: 100%;
}

.page__top a {
    text-decoration: none;
    display: grid;
    width: 100%;
    height: 100%;
    justify-content: center;
    border-radius: 100%;
    background: #000;
    color: #fff;
    letter-spacing: 0;
    font-size: 12px;
    line-height: 1.2;
    padding: 10px 0 0;
    text-align: center;
}

.page__top .page__top__inner {
    position: relative;
}

.page__top .page__top__inner::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    background: #fff;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
}

@media (min-width: 960px) {
    .page__top {
        width: 100px;
        height: 100px;
        right: 2%;
        bottom: 3%;
    }

    .page__top a {
        font-size: 19px;
        padding-top: 20px;
    }

    .page__top .page__top__inner::after {
        width: 20px;
        height: 17px;
        bottom: 15px;
    }
}

/*==========================================================================*/
/*==footer info   ここまで==*/
/*==========================================================================*/
/*==========================================================================*/
/*==footer==*/
/*==========================================================================*/

.copyright {
    background: #e24e00;
    color: #fff;
    padding: 5px;
    text-align: center;
    display: block;
}


/*==========================================================================*/
/*==footer   ここまで==*/
/*==========================================================================*/
/*==========================================================================*/
/*==サイドバー　ハンバーガー ==*/
/*==========================================================================*/

#sidebar__flag~.sidebar_contents .sidebar_contents_box {
    -webkit-transform: translateX(101vw);
    -ms-transform: translateX(101vw);
    -moz-transform: translateX(101vw);
    -o-transform: translateX(101vw);
    transform: translateX(101vw);
    -webkit-transition-duration: .4s;
    -o-transition-duration: .4s;
    -moz-transition-duration: .4s;
    transition-duration: .4s;
}

#sidebar__flag:checked~.sidebar_contents .sidebar_contents_box {
    -webkit-transform: translateX(0vw);
    -ms-transform: translateX(0vw);
    -moz-transform: translateX(0vw);
    -o-transform: translateX(0vw);
    transform: translateX(0vw);
}

.sidebar_contents {
    position: fixed;
    left: 0;
    top: 0;
    height: 0;
    width: 100%;
    z-index: 110;
}

.sidebar_contents_box {
    position: relative;
}

.sidebar_contents_box_inner {
    height: 100vh;
    width: 100%;
    z-index: 10;
    background: rgba(226,78,0,0.95);
    padding: 90px 20px 20px;
    overflow-y: auto;
    gap: 0 2vw;
    color: #fff;
}

.sidebar_menu_close {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 100px;
    right: 20px;
    cursor: pointer;
    z-index: 100;
}

@media (max-width: 559px) {
    .sidebar_menu_close {
        top: 20px;
    }
}

.sidebar_menu_close:hover {
    opacity: 0.7;
}

.sidebar_menu_close>span {
    border-top: 3px solid #fff;
    width: 100%;
    height: 0;
    position: absolute;
    top: 50%;
    left: 50%;
}

.sidebar_menu_close>span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.sidebar_menu_close>span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}
.sidebar_contents_header_nav > ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.sidebar_contents_header_nav li {
    margin-bottom: 20px;
}
.sidebar_contents_header_nav a {
    text-decoration: none;
    color: #fff;
    padding: 5px 20px 5px 20px;
    position: relative;
    display: inline-block;
}
.sidebar_contents_header_nav a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    width: 8px;
    height: 8px;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    rotate: -135deg;
}
.sidebar_contents_header_nav_sub {
    padding-left: 20px;
    margin-top: 20px;
    list-style: none;
}

/*==========================================================================*/
/*==サイドバー　ハンバーガー   ここまで==*/
/*==========================================================================*/
/*==========================================================================*/
/*==サイドバー ==*/
/*==========================================================================*/

.sidebar__content {}

.sidebar__content__menu+.sidebar__content__menu {
    margin-top: 40px;
}

.sidebar__content__menu__title {
    background: #3a4247;
    color: #fff;
    padding-top: 11px;
    padding-bottom: 12px;
    text-align: center;
}

.sidebar__content ul>li a {
    position: relative;
    text-decoration: none;
    display: block;
    padding: 10px .5em 8px 40px;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    color: #464646;
}

.sidebar__content ul>li a::before {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 18px;
    color: #d1d1d1;
    transform: translateY(-50%);
    text-align: center;
    font-size: 15px;
    line-height: 1;
    font-family: "メイリオ", Meiryo, sans-serif;
    content: "+";
}

/*==========================================================================*/
/*==サイドバー   ここまで==*/
/*==========================================================================*/

/*==========================================================================*/
/*==固定ページ　1カラム設定==*/
/*==========================================================================*/

.post_box_bg>.inner {
    max-width: 1000px;
    margin: auto;
    padding: 0 40px;
}

@media (max-width: 959px) {
    .post_box_bg>.inner {
        padding-left: 3.75%;
        padding-right: 3.75%;
    }
}

/*==========================================================================*/
/*==固定ページ  1カラム設定 ここまで==*/
/*==========================================================================*/

/*==========================================================================*/
/*==固定ページ　2カラム設定==*/
/*==========================================================================*/


.page>.inner,
.single__page>.inner,
.category>.inner {
    max-width: 1320px;
    margin: auto;
    padding: 0 40px;
}

.page__2column .main__content .post_box_bg>.inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (max-width: 959px) {
    .page__2column {
        margin-bottom: 40px;
    }

    .sidebar__content {
        margin-top: 50px;
    }

    .page>.inner,
    .single__page>.inner,
    .category>.inner {
        padding-left: 3.75%;
        padding-right: 3.75%;
    }
}

@media (min-width: 960px) {
    .page__2column {
        max-width: 1320px;
        padding: 0 40px;
        margin: 0 auto 60px;
        display: grid;
        grid-template-columns: 67.19% 23.86%;
        justify-content: space-between;
    }

}

/*==========================================================================*/
/*==固定ページ  2カラム設定 ここまで==*/
/*==========================================================================*/

/*==========================================================================*/
/*==固定ページ　hタグ==*/
/*==========================================================================*/

.front h2,
.page h2,
.single__page h2,
.category h2 {
    position: relative;
    padding: 0.2em 1em 0.4em;
    background: #ed6e2b;
    color: #fff;
    font-size: 25px;
    text-align: left;
    margin: 0 0 1.2em;
    line-height: 1.4;
}

.front h2::before,
.page h2::before,
.single__page h2::before,
.category h2::before {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    border: none;
    border-bottom: solid 15px transparent;
    border-right: solid 20px #9f5731;
}

.front h2::after,
.page h2::after,
.single__page h2::after,
.category h2::after {
    position: absolute;
    content: "";
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border: 2px dashed #fff;
    pointer-events: none;
}

.front h3,
.page h3,
.single__page h3,
.category h3 {
    font-weight: bold;
    color: #333;
    font-size: 21px;
    margin: 2em 0 0.8em;
    line-height: 1.4;
}
.front h2 > h3:first-child,
.page h2 > h3:first-child,
.single__page h2 > h3:first-child,
.category h2 > h3:first-child {
    margin-top: 0;
}

.front h3.h3_border,
.page h3.h3_border,
.single__page h3.h3_border,
.category h3.h3_border {
    text-decoration: underline;
    text-underline-offset: 6px;
}

.front h4,
.page h4,
.single__page h4,
.category h4 {
    font-size: 19px;
    font-weight: bold;
    margin-bottom: 10px;
}

/*==========================================================================*/
/*==固定ページ  hタグ ここまで==*/
/*==========================================================================*/

/*==========================================================================*/
/*==固定ページ　キービジュアル==*/
/*==========================================================================*/

.keyvisual {
    position: relative;
    margin-bottom: 40px;
}
.keyvisual_img {
    max-width: 768px;
    margin: 0 auto 40px;
    border-radius: 10px;
    overflow: hidden;
}
@media (min-width: 960px){
    .keyvisual_sp {
        display: none;
    }
}
@media (max-width: 959px){
    .keyvisual_img:has(.keyvisual_sp) .keyvisual_pc {
        display: none;
    }
}
@media (max-width: 767px){
    .keyvisual_img {
        padding-left: 3.75%;
        padding-right: 3.75%;
    }
}

/*==========================================================================*/
/*==固定ページ  キービジュアル ここまで==*/
/*==========================================================================*/
/*==========================================================================*/
/*==固定ページ　ページスライド==*/
/*==========================================================================*/

.page-swiper-wrap {
    position: relative;
    padding-bottom: 40px;
    overflow: hidden;
}
.page-swiper {
    display: none;
}
.page-swiper.swiper-initialized {
    display: block;
}

.swiper-slide_inner {
    position: relative;
}
.swiper-slide_text {
    position: absolute;
    bottom: 0;
    padding: 10px;
    text-align: center;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
}

@media (min-width: 560px){
    .page-swiper-wrap {
        padding-left: 40px;
        padding-right: 40px;
    }
}
@media (min-width: 960px){
    .page-swiper-wrap {
        padding-left: 60px;
        padding-right: 60px;
    }
}

/*==========================================================================*/
/*==固定ページ  ページスライド ここまで==*/
/*==========================================================================*/
/*==========================================================================*/
/*==カテゴリー==*/
/*==========================================================================*/

.category {
    padding-bottom: 60px
}

.category__list li,
.top_blog_list li {
    padding: 5px 0;
    border-bottom: 1px solid #000;
}

.category__list li a,
.top_blog_list li a {
    display: block;
    text-decoration: none;
    color: #000;
}

.post_date {
    padding-right: 0.5em;
    display: inline-block;
}

.pagination {
    margin-top: 20px;
    display: flex;
    gap: 0 20px;
    justify-content: center;
}

.pagination>a {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 15px;
    border: 1px solid #000;
    text-decoration: none;
}

.pagination>span {
    background: #fff;
    color: #000;
    padding: 15px;
    border: 1px solid #000;
}

@media (max-width: 959px) {
    .pagination {
        position: relative;
        padding-bottom: 70px;
    }

    .pagination .prev,
    .pagination .next {
        position: absolute;
        bottom: 0;
    }

    .pagination .prev {
        left: 0;
    }

    .pagination .next {
        right: 0;
    }
}

/*==========================================================================*/
/*==カテゴリー  ここまで==*/
/*==========================================================================*/


/*===================================================
ポップアップ
===================================================*/

.modalArea {
    display: none;
    position: fixed;
    z-index: 5000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modalBg {
    width: 100%;
    height: 100%;
    background-color: rgba(30, 30, 30, 0.9);
}

.modalWrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    max-width: 500px;
    padding: 10px 30px;
    background-color: #fff;
    max-height: 100vh;
}

.modalWrapper.large {
    max-width: unset;
}

.modalWrapper h1 {
    font-size: 120%;
    font-weight: bold;
}

.closeModal {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    cursor: pointer;
}

@media (max-width: 959px) {
    .modalWrapper {
        overflow: scroll;
    }
}

/* contact */
.contact_form {
    max-width: 520px;
    width: 100%;
    margin: auto;
    background: #6CA132;
    padding: 20px;
    color: #fff;
}
.contact_form input[type="text"],
.contact_form input[type="email"],
.contact_form input[type="tel"],
.contact_form textarea {
    font-size: 17px;
    width: 100%;
    padding: 5px 10px;
}
.contact_form select {
    font-size: 17px;
    padding: 5px 5px;
    box-sizing: border-box;
    width: 100%;
}
.contact_form .wpcf7-checkbox input[type=checkbox],
.contact_form .wpcf7-acceptance input[type=checkbox] {
    display: none;
}
.wpcf7-checkbox .wpcf7-list-item,
.wpcf7-acceptance .wpcf7-list-item {
    margin: 0 1em 0 0;
}
.contact_form .wpcf7-checkbox input[type=checkbox] + .wpcf7-list-item-label,
.contact_form .wpcf7-acceptance input[type=checkbox] + .wpcf7-list-item-label {
    padding-left: 1.6em;
    position: relative;
    display: inline-block;
    line-height: 1.4;
}
.contact_form .wpcf7-checkbox input[type=checkbox] + .wpcf7-list-item-label::before,
.contact_form .wpcf7-acceptance input[type=checkbox] + .wpcf7-list-item-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 1.1em;
    height: 1.1em;
    border: 1px solid #000;
    background: #fff;
}
.contact_form .wpcf7-checkbox input[type=checkbox]:checked + .wpcf7-list-item-label::after,
.contact_form .wpcf7-acceptance input[type=checkbox]:checked + .wpcf7-list-item-label::after {
    content: "";
    position: absolute;
    left: 0.4em;
    top: 0.3em;
    width: 0.3em;
    height: 0.6em;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    rotate: 45deg;
}
.contact_form input[type="submit"]{
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
    background: #20337A;
    color: #fff;
    text-align: center;
    padding: 10px;
    width: 100%;
    max-width: 300px;
    font-weight: bold;
    border: 0;
    margin: auto;
}
.submit_btn_wrap {
    text-align: center;
}
@media (min-width: 768px){
    .submit_btn_wrap {
        margin: auto;
        max-width: 460px;
        padding-left: 82px; 
    }
}
@media (max-width: 767px){
    .contact_form input[type="submit"] {
        max-width: 200px;
        display: block;
        margin-bottom: 5px;
    }
}


/* national_flag box*/
.box__kenya {
    position: relative;
    min-height: 200px;
    display: grid;
    align-items: center;
    padding-bottom: 2em;
}
.box__kenya::before {
    content: "";
    position: absolute;
    z-index: -1;
    opacity: 0.4;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("https://alphazeal.xsrv.jp/caregate_africa/wp-content/uploads/2025/06/img_national_flag_kenya.png") 50% 50% / auto 200px no-repeat;
}

.box__rwanda {
    position: relative;
    min-height: 200px;
    display: grid;
    align-items: center;
    padding-bottom: 2em;
}
.box__rwanda::before {
    content: "";
    position: absolute;
    z-index: -1;
    opacity: 0.4;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("https://alphazeal.xsrv.jp/caregate_africa/wp-content/uploads/2025/06/mg_national_flag_rwanda.png") 50% 50% / auto 200px no-repeat;
}

.box__half__width {
    max-width: 50%;
    margin: 1em auto;
}

/*==========================================================================*/
/*==固定ページ　言語切り替えボタン設置==*/
/*==========================================================================*/

.glink {
    border: 1px solid #000;
    padding: 2px 25px 5px 5px;
    position: relative;
    color: #000;
    background: #fff;
}
.glink::before{
    content: "";
    position: absolute;
    top: 50%;
    right: 5px;
    width: 15px;
    height: 15px;
    transform: translateY(-50%);
    background: #ccc;
    border-radius: 50%;
}
.gt-current-lang::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 9px;
    width: 7px;
    height: 7px;
    background: #000;
    border-radius: 50%;
    transform: translateY(-50%);
}
/*==========================================================================*/
/*==固定ページ  言語切り替えボタン設置 ここまで==*/
/*==========================================================================*/

/* ---------------------------------------------------- */
/* 全体のアコーディオン（親） */
/* ---------------------------------------------------- */
#main-accordion-container {
    width: 100%;
    max-width: 960px; /* 必要に応じて調整 */
    margin: 20px auto;
}

.main-accordion-item {
    border: 1px solid #ddd;
    margin-bottom: 15px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.page .main-accordion-title {
    background-color: #f9f9f9;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    user-select: none; /* テキスト選択を無効化 */
    margin: 0;
}

.page .main-accordion-title:hover {
    background-color: #f0f0f0;
}

.page .main-accordion-title.active {
    background-color: #e8e8e8;
    color: #222;
}

/* 開閉インジケーター */
.page .main-accordion-title::after {
    content: '+';
    font-size: 1.5em;
    font-weight: normal;
    transition: transform 0.3s ease;
}
.page .main-accordion-title.active::after {
    content: '-';
    transform: rotate(0deg);
}
.page .main-accordion-content {
    padding: 20px 25px;
    border-top: 1px solid #eee;
    background-color: #ffffff;
    line-height: 1.7;
    color: #555;
}

/* ---------------------------------------------------- */
/* 小見出しのアコーディオン（子） */
/* ---------------------------------------------------- */
.page .sub-accordion-container {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px dashed #eee; /* 親と子の区切り */
}

.page .sub-accordion-item {
    margin-bottom: 10px;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.page .sub-accordion-title {
    background-color: #fafafa;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 1.05em;
    font-weight: bold;
    color: #444;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.page .sub-accordion-title:hover {
    background-color: #f2f2f2;
}

.page .sub-accordion-title.active-sub {
    background-color: #e6e6e6;
    color: #333;
}

/* 開閉インジケーター */
.sub-accordion-title::after {
    content: '+';
    font-size: 1.2em;
    font-weight: normal;
    transition: transform 0.3s ease;
}

.sub-accordion-title.active-sub::after {
    content: '-';
    transform: rotate(0deg);
}

.sub-accordion-content {
    padding: 15px 20px;
    border-top: 1px solid #f5f5f5;
    background-color: #ffffff;
    line-height: 1.6;
    color: #666;
}

/* 投稿本文内の小見出しスタイルのリセット（必要であれば） */
.main-accordion-content h2,
.main-accordion-content h3,
.main-accordion-content h4,
.main-accordion-content h5,
.main-accordion-content h6 {
    /* 投稿本文内の見出しを通常通り表示したい場合は、上記の小見出しアコーディオンのCSSと競合しないように調整 */
    cursor: default; /* クリック可能に見せない */
    position: static;
}
.main-accordion-content h2::after,
.main-accordion-content h3::after,
.main-accordion-content h4::after,
.main-accordion-content h5::after,
.main-accordion-content h6::after {
    content: none;
}
