/*
    Theme Name: CASA-地球環境市民会議-　テーマ
    Theme URI: テーマのURLを記入します
    Author: 関西共同印刷所 Web開発室
    Author URI: テーマの作者のURLを記入します
    Description: ここにテーマの説明文を記入します
    Version: 1.2

    ☆　テーマ独自のスタイルはこちらで設定してください　☆
*/

* {
    font-family: 'Zen Kaku Gothic New', 'Noto Sans JP';
    cursor: default;
    word-break: break-all;
}

a {
    cursor: pointer;
}

a * {
    cursor: pointer;
}

:root {
    --gray : #b9b9ba;
    --red : #a64d5b;
    --orange : #f49746;
    --brown : #ac7f55;
    --blue : #2c70b8;
    --lightblue : #ddf1f8;
    --darkgreen : #2d575f;
}

.fs_s1 {
    font-size: var(--s1);
}

.fs_2rem {
    font-size: 2rem;
}

.fs_3rem {
    font-size: 3rem;
}

.fs_4ten5rem {
    font-size: 4.5rem;
}

.fs_s5 {
    font-size: var(--s5);
}

.spOnly {
    display: none;
    text-align: center;
}

tr {
    background-color: var(--blue);
    color: white;
}

tr > td:first-child {
    background-color: var(--lightblue);
    color: black;
}

td {
    text-align: center;
    background-color: white;
    color: black;
    padding: 0.5rem 1rem !important;
}

header {
    height: 10vh;
    max-height: 100px;
    padding: 1vh 1rem;
    background-color: var(--lightblue);
    display: flex;
    justify-content:space-between;
    position: sticky;
    top: 0;
    z-index: 9999;
}

header > div {
    width: 100%;
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
}

.logo {
    height: 100%;
    object-fit: contain;
    margin-right: auto;
}

.header_nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 30vw;
    justify-content: center;
    gap: 10%;
}

.header_nav nav {
    display: flex;
    width: 100%;
    justify-content: center;
}

.header_nav nav * {
    font-size: var(--s-2);
    font-weight: bold;
    color: black;
    text-decoration: none;
    white-space: nowrap;
}

.header_nav li {
    padding: 0 1vw;
}

.header_nav li a:hover {
    color: var(--blue);
    transition: color 1s cubic-bezier(0.18, 0.89, 0.32, 1.28) 0s;
}

.header_nav nav > * + *{
    border-left: 1px solid black;
}

.header_nav nav li {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header_search {
    width: 100%;
}

.header_search label {
    width: 100%;
}

.header_search input {
    font-size: var(--s-3);
    width: 100%;
}

.search-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.search-form {
    display: flex;
    align-items: center;
}

.search-field {
    padding: 8px 16px;
    background-color: white;
    border: none;
    outline: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    width: 100%;
}

.search-field:focus {
    border-radius: 5px;
}

.nav-content .search-field {
    border: 1px solid var(--blue);
}

.search-submit {
    background-color: white;
    border: none;
    outline: none;
    cursor: pointer;
    position: absolute;
    right: 15px;
    border-radius: 68%;
    z-index: 2;
    line-height: 0rem;
}

.search-submit i {
    font-size: 1em;
}

#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    opacity: 0.7;
    display: none;
    z-index: 999;
    transition: ease 1s;
    border: none;
    background-size: cover;
    aspect-ratio: 1/1;
    max-width: 100px;
    font-weight: bolder;
    text-align: center;
}

.eyecatch_box {
    width: 100%;
    height: 90vh;
    overflow: hidden;
    position: relative;
}

.eyecatch > imposter-l:last-child {
    width: 100vw;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.eyecatch_box imposter-l img {
    object-fit: contain;
    vertical-align: inherit;
    margin-left: auto;
    margin-right: auto;
}

.eyecatch_box h1 {
    color: var(--blue);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    letter-spacing: 0.25rem;
    font-size: 3.5rem;
    -webkit-text-stroke: 0.5px white;
    text-stroke: 0.5px white;
    word-break: keep-all;
    flex-wrap: wrap;
}

.eyecatch_box h1 * {
    display: flex;
    flex-wrap: nowrap;
    word-break: keep-all;
}

.eyecatch {
    width: 150vw;
    height: 90vh;
    object-fit: cover;
    max-width: 200vw;
    margin-left: -25vw;
    margin-right: auto;
    border-radius: 0 0 50% 50%;
    overflow: hidden;
    position: relative;
}

.eyecatch_bg, .eyecatch_bg * {
    width: 100vw;
    height: 100%;
    object-fit: cover !important;
}

.eyecatch_box nav {
    position: absolute;
    display: flex;
    justify-content: space-evenly;
    inset-block-start: 80%;
    inset-inline-start: 50%;
    transform: translate(-50%, -50%);
    height: fit-content;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

.eyecatch_box nav > li {
    position: relative;
    min-width: 10em;
    min-height: 10em;
}

.eyecatch_box nav>li:nth-child(2n)>a {
    transform: rotate(180deg);
}

.eyecatch_box nav > li:nth-last-child(2),.eyecatch_box nav>li:nth-last-child(3) {
    margin-top: 3rem;
}

.eyecatch_box nav > li > a {
    display: flex;
    width: 100%;
    height: 100%;
    animation-name: eyecatchNavAanimation;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease;
}

@keyframes eyecatchNavAanimation {
    0% {
        transform: scale(100%);
    }

    100% {
        transform: scale(95%);
    }
}

.eyecatch_box nav>li>a:hover img {
    transform: scale(105%);
}

.eyecatch_box nav>li>a>img {
    animation-name: eyecatchNavAanimation2;
    animation-duration: 9s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes eyecatchNavAanimation2 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.eyecatch_box nav > li > imposter-l {
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eyecatch_box nav > li > imposter-l > a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    width: 100%;
    height: 100%;
    font-size: var(--s1);
}

.eyecatch_box nav > li > imposter-l > a > span {
    font-size: var(--s2);
}

#image-container {
    position: relative;
}

#image-container img {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    transition: opacity 1s ease-in-out;
    object-fit: cover;
}

#image-container img.show {
    opacity: 1;
}

#image-container02 {
    position: relative;
}

#image-container02 img {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    transition: opacity 1s ease-in-out;
    object-fit: cover;
}

#image-container02 img.show {
    opacity: 1;
}

.top_aboutus {
    display: flex;
    justify-content: center;
}

.top_aboutus box-l {
    width: 900px;
    margin-bottom: 2.5em;
}

.top_topic_head {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-end;
}

.top_topic_head h2 {
    font-weight: bold;
    margin-bottom: 0;
    white-space: nowrap;
    color: var(--blue);
}

.top_topic_head img {
    width: 4em;
    object-fit: contain;
}

.archive_category_list a {
    width: fit-content;
    background-color: white;
    color: var(--blue);
    list-style: none;
    padding: 0.5rem 1.5em;
    border-radius: 5px;
    text-decoration: none;
}

.archive_category_list a:hover {
    background-color: var(--blue);
    color: white;
}

.category_description p {
    background-color: white;
    padding: 3rem 1.5rem;
    border-radius: 5px;
    margin-bottom: 0;
}

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

.top_aboutus_button {
    display: flex;
    background-color: var(--red);
    color: white;
    font-size: var(--s1);
    font-weight: 500;
    text-decoration: none;
    justify-content: center;
    border-radius: 5px;
    padding: 0.5em 0;
    width: 17.5em;
    box-shadow: 5px 5px 0px #8d414d;
}

.top_aboutus_button:hover {
    color: white;
    background: linear-gradient(145deg, #7f3b45, #974652);
    transition: 1s ease 0s;
}

.top_aboutus_button:nth-child(2n) {
    background: var(--orange);
    box-shadow: 5px 5px 0px #cf803c;
}

.top_aboutus_button:nth-child(2n):hover {
    background: linear-gradient(145deg, #dc883f, #ffa24b);
}

.top_aboutus_taglist {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-top: 2em;
    flex-wrap: wrap;
}

.top_aboutus_taglist a {
    font-size: var(--s-1) !important;
    font-weight: 500;
    background-color: #a7decc;
    color: black;
    text-decoration: none;
    padding: 0.5em 0.75em;
    border-radius: 50px;
}

.top_aboutus_taglist a:hover {
    background-color: #3d8b88;
    transition: 1s cubic-bezier(0.18, 0.89, 0.32, 1.28) 0s;
}

.top_news {
    display: flex;
    justify-content: center;
}

.top_news * {
    max-width: 1024px;
}

.top_news h2 {
    color: #aa8971;
}

.top_news > box-l {
    width: 1024px;
}

.top_news_fixed {
    width: 100%;
    background-color: white;
}

.top_news_fixed a {
    padding: 0 1.5rem;
    line-height: 3rem;
}

.top_news_covid:hover {
    background-color: #eeeeee;
    transition: 1s cubic-bezier(0.18, 0.89, 0.32, 1.28) 0s;
}

.top_news_article {
    max-width: 300px;
    min-width: 300px;
    background-color: white;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    flex-grow: 1;
}

.top_news_article:hover {
    background-color: #eeeeee;
    transition: 1s cubic-bezier(0.18, 0.89, 0.32, 1.28) 0s;
}

.top_news_article * {
    cursor: pointer;
}

.top_news_article box-l{
    display: flex;
    flex-direction: column;
    gap: 0.25em;
    flex-grow: 1;
}

.top_news_article box-l * {
    margin: 0;
    cursor: pointer;
}

.top_news_article h3 a{
    color: #aa8971;
    text-decoration: none;
}

.top_news_article h3 * {
    font-size: var(--s2) !important;
}

.article_thumbnail {
    position: relative;
}

.post-thumbnail img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.post-categories {
    position: absolute;
    font-size: var(--s-1);
    font-weight: 500;
    list-style: none;
    top: 10px;
    left: -10px;
    padding-left: 0;
}

.post-categories li {
    background-color: #a7decc;
    padding: 0.5em 0.75em;
    border-radius: 50px;
    margin-bottom: 0.5rem;
    width: fit-content;
}

.post-categories li * {
    color: black;
    text-decoration: none;
    width: 100%;
    height: 100%;
}

.post-categories li:hover {
    background-color: #3d8b88;
    transition: 1s cubic-bezier(0.18, 0.89, 0.32, 1.28) 0s;
}

.top_news .listbutton {
    border: 1px solid #aa8971;
    color: #aa8971;
}

.top_news .listbutton:hover {
    border: 1px solid white;
    background-color: #aa8971;
    color: white;
}

.top_event .listbutton {
    border: 1px solid #3d8b88;
    color: #3d8b88;
}

.top_event .listbutton:hover {
    border: 1px solid white;
    background-color: #3d8b88;
    color: white;
}

.top_event {
    display: flex;
    justify-content: center;
}

.top_event box-l {
    max-width: 1024px;
}

.top_event h2 {
    color: white;
}

.top_event .top_news_article h3 {
    color: #3d8b88;
}

.top_event_date {
    position: absolute;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    bottom: 0;
    width: 100%;
    padding: 7.5px;
}


.content_body {
    padding: 1.25rem 0;
    display: flex;
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
}

.article_contents article {
    background: white;
    border-radius: 10px;
    margin: 0 auto;
    width: 42rem;
}

.article_contents article * {
    max-width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    line-height: 1.8;
    letter-spacing: 0.12em;
    object-fit: cover;
}

.wp-post-image {
    margin-bottom: 1rem;
}

.article_contents article h1 {
    color: var(--blue);
    border-bottom: 1px solid var(--blue);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    line-height: 3rem;
    font-size: 2rem !important;
}

.article_contents article h1 * {
    font-size: 2rem !important;
    line-height: 3rem;
}

.article_contents article h2 {
    border-bottom: var(--blue) 2.5px dashed;
    padding-bottom: 0.5rem;
}

.article_contents article h3 {
    color: var(--blue);
}

.article_contents article h3::before {
    content: "■ ";
}

.content_samune img {
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    max-width: 100%;
    aspect-ratio: 4/3;
}


/* ～～～～～～～～～～　汎用　～～～～～～～～～～ */
.page-load-status * {
    text-align: center;
    max-width: 80%;
    width: 20em;
    background-color: white;
    border-radius: 50px;
    justify-content: center;
    padding: 0.5em 0;
    font-weight: 500;
    text-decoration: none;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
}

/*　記事一覧リンクボタン　*/

.listbutton {
    display: flex;
    max-width: 80%;
    width: 20em;
    background-color: white;
    border-radius: 50px;
    justify-content: center;
    padding: 0.5em 0;
    font-weight: 500;
    text-decoration: none;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
    transition: background-color 1s cubic-bezier(0.18, 0.89, 0.32, 1.28) 0s;
}

.top_news .listbutton {
    border: 1px solid #aa8971;
    color: #aa8971;
}

.top_news .listbutton:hover {
    border: 1px solid white;
    background-color: #aa8971;
    color: white;
}

.top_event .listbutton {
    border: 1px solid #3d8b88;
    color: #3d8b88;
}

.top_event .listbutton:hover {
    border: 1px solid white;
    background-color: #3d8b88;
    color: white;
}

.top_event .top_news_article:hover .listbutton {
    border: 1px solid white;
    background-color: #3d8b88;
    color: white;
}

.top_event switcher-l .listbutton {
    width: fit-content;
    padding: 0.5em 2rem;
}

.page_sidebar ul {
    margin-top: 0.5rem;
}

.page_sidebar ul li {
    margin-bottom: 0.75rem;
}

.page_sidebar ul li:last-child {
    margin-bottom: 0;
}

.page_sidebar a * {
    font-size: 1rem !important;
}

.menu-wrap {
    position: relative;
    height: 100%;
    aspect-ratio: 1/1;
}

.hamburger {
    position: absolute;
    cursor: pointer;
    z-index: 1000;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
}

.hamburger span {
    width: 60%;
    height: 1.5px;
    background: var(--blue);
    position: absolute;
    transition: all 0.7s;
    cursor: pointer;
}

.hamburger span:nth-child(1) {
    top: 30%;
}

.hamburger span:nth-child(2) {
    top: 50%;
}

.hamburger span:nth-child(3) {
    top: 70%;
}

.hamburger.open span:nth-child(1) {
    top: 50%;
    transform: rotate(135deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    top: 50%;
    transform: rotate(-135deg);
}

#nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    min-height: 100vh;
    background: #fff;
    z-index: 500;
    transition: right 0.7s;
    overflow: scroll;
}

.nav-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    padding-top: 75px;
    overflow: scroll;
}

.nav-content a {
    display: block;
    padding: 10px 0;
    text-decoration: none;
    color: black;
    font-size: 1.5em;
    transition: color 0.3s;
}

.page_sidebar {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.page_sidebar > div {
    background-color: white;
    height: fit-content;
    border-radius: 10px;
    padding: 2.5rem;
    max-width: 50rem;
    margin-left: auto;
    margin-right: auto;
}

.page_sidebar>div>h2 {
    color: var(--blue);
    border-bottom: 1px solid var(--blue);
    padding-bottom: 1rem;
}

.page_sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.page_sidebar ul {
    padding-left: 0;
}

.nav-links {
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    gap: 0.5rem;
}

.nav-links > span {
    text-decoration: none;
    background-color: var(--blue);
    color: white;
    text-align: center;
    border-radius: 5px;
    padding: 0.25rem;
    min-width: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    background-color: white;
    color: var(--blue);
    text-align: center;
    border-radius: 5px;
    padding: 0.25rem;
    min-width: 1.5rem;
}

.contents_wrapper {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}


.fb_iframe_widget , .fb_iframe_widget *, .uiScaledImageContainer , ._2zfr {
    /*width: 100% !important;*/
    object-fit: cover !important;
    left: 0 !important;
}

._2p3a {
    width: 100% !important;
}