/* 常に縦スクロールを発生させる */
html{
    overflow-y: scroll;
}
/* カスタムCSS */
:root {
    --sidebar-width: 300px;
    --content-width: 1200px;
    --content-inner-width: 1080px;
    --clearance-height: 65px;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

a,
a:hover,
a:visited {
    color: inherit;
}

/* a,
a:visited {
    color: #777777;
} */

a.button__link {
    color: #fff;
}

.header__li--link,
.header__li--link:visited {
    color: #777777;
}

.home_news--inner .category__li__link:hover .hover--underline {
    color: #0033cc;
    text-decoration: underline;
}


/* ボタンの装飾 */
.button__link {
    display: block;
    position: relative;
    width: 250px;
    margin: 0 auto;
    margin-top: 50px;
    padding: 10px;
    padding-right: 1em;
    text-align: center;
    border-radius: 50vw;
    background: #777;
    color: #fff;
    box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.15);
}

.button__link:hover {
    opacity: .8;
}

.button__link::before {
    content: "";
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 20px;
    width: 13px;
    height: 13px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}

/* フォント指定 */
body {
    font-family: 'Noto Sans JP', sans-serif;
}

/* 全体のレイアウト */
.layout_bl {
    display: flex;
}

/* フッターを最下部に固定するための実装(保留中) */
main {
    min-height: calc(100vh - 170px);
}

/* サイドメニュー */
.header {
    position: sticky;
    top: 0;
    width: var(--sidebar-width);
    height: 100%;
    max-height: 100vh;
    overflow-y: auto;
    border-right: 1px solid #f2f2f2;
    transition: transform .5s;
}

.logo_img_wrapper {
    text-align: center;
    /* width: var(--sidebar-width); */
}

.logo_img {
    width: 220px;
    height: 100%;
    padding: 25px 0;
    vertical-align: top;
}

.globalNav-list {
    padding: 0 25px;
    padding-top: 20px;
}

.categryList__titleLabel {
    display: block;
}

.categryList__subCategory {
    display: block;
}

.categryList__section {
    margin-bottom: 3em;
}

.categryList__titleLabel {
    font-size: 18px;
    font-weight: bold;
    color: #777777;
    padding: 1em;
}

.categryList__subCategory_wrapper .categryList__subCategory {
    border-bottom: 1px solid #cccccc;
    color: #777777;
    padding: 1em;
}

.categryList__subCategory_wrapper .categryList__subCategory:first-child {
    border-top: 1px solid #cccccc;
}


.categryList__titleLabel--office {
    font-weight: 400;
}

.address {
    font-size: 15px;
    font-style: normal;
    color: #777777;
}

.address_inner {
    padding: .8em;
    padding-top: 0;
}

.address_txt {
    line-height: 2;
}

.header__li--link {
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    color: #777777;
    transition: color 0.4s;
}

.header__li--link--out-bound:after {
    width: 17px;
    height: 17px;
    content: "";
    background-image: url(../image/yajirushi.svg);
    background-repeat: no-repeat;
    background-size: 17px auto;
    background-position: center 50%;
    display: inline-block;
}

/* TOPページ_メイン部分 */

.heroImage_wrapper {
    position: relative;
    width: calc(100vw - var(--sidebar-width));
    height: 100%;
}

.heroImage {
    width: 100%;
    object-fit: cover;
    vertical-align: top;
}

.heroImage_logo {
    display: flex;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    background: rgba(255, 255, 255, 0.5);
    /* background: linear-gradient(to right, rgba(255, 255, 255, 0) ,  rgba(255, 255, 255, 0.5) 20%,  rgba(255, 255, 255, 0.5) 80%,rgba(255, 255, 255, 0)  100%); */
    padding: 2% 6%;
    transform: translate(-50%, -50%);
}

.heroImage_logo_img {
    width: 50%;
    height: auto;
    flex: 8;
}

.heroImage_logo_img:first-child {

    margin-right: 5%;
}

.heroImage_logo_img--theme {
    padding-left: 5%;
    width: 30%;
    border-left: 1px solid #000;
    flex: 5;
}

/* 国際RI */


/* ナビゲーション部分(共通) */

.intro_txt {
    display: block;
    width: 100%;
}

.intro_nav {
    background: #f2f2f2;
}

.intro_nav,
.menu_nav {
    padding: var(--clearance-height) 0;
}

.menu_nav {
    padding-bottom: 30px;
}

.intro_ul,
.menu_ul {
    display: flex;
    justify-content: center;
    text-align: center;
}

.menu_li {
    background-color: #fff;
    border-radius: 20px;
    /* transition: 2s; */
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.15);
    transition: all .3s cubic-bezier(.25, .1, .25, 1);
}

.menu_li:hover {
    transform: scale(1.03);
}

.menu_link {
    background-image: url(../image/sample.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.menu_ul {
    flex-wrap: wrap;
    margin: 0 auto;
}

.menu_li {
    width: calc(96% / 3);
    max-width: 320px;
    margin-bottom: 2em;
    margin-left: 30px;
}

.menu_link {
    display: block;
    padding-top: 140px;
}


.menu_li:nth-child(3n+1) {
    margin-left: 0;
}

.menu_name {
    display: block;
    color:#777;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    padding: 0 5px;
}

.topics_link:hover .topics_dd {
    color: #0033cc;
    text-decoration: underline;
}

.topics_link {
    padding: 15px 20px;
}

.intro_li--topics,
.intro_li--message {
    width: 50%;
    margin-bottom: 0;
}

/* ロータリーの友 */
.menu_li--tomo {
    /* background: #005daa; */
}

.menu_li--tomo .menu_link {
    background-image: url(../image/tomo.svg);
    background-size: 80%
}

.menu_li--tomo .menu_name {
    /* color: #fff; */
}

.menu_link{
    background-position-y:40%;
}

/* 週報 */
.menu_li--report .menu_link {
    background-image: url(../image/report.svg);
    background-size: 28%;
}

/* 今時の必修R単語 */
.menu_link--dictionary {
    background-image: url(../image/flash_card.svg);
    background-size: 28%;
}

/* ロータリーの友を読もう */
.menu_link--tomo{
    background-image: url(../image/tomo.svg);
    background-size: 12%;
    background-position-y:50%;
}

/* Web卓話 */
.menu_link__table-talk{
    background-image: url(../image/table_talk.svg);
    background-size: 28%;
}

/* 多士彩才 */
.menu_li--talent .menu_link {
    background-image: url(../image/star.svg);
    background-size: 28%;
}

/* 西ロータリーの歌 */
.menu_li--clef .menu_link {
    background-image: url(../image/note.svg);
    background-size: 28%;
}

/* テーマ部分 */
.menu_link-theme {
    background-image: url(../image/2025-2026_theme-logo.png);
    background-size: 60%;
}

/* メッセージ部分 */
.intro_link--message {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    flex-direction: row-reverse;
}

.intro_img--message-img {
    width: 100%;
    height: 100%;
    /* background: pink; */
    border-radius: 0 20px 20px 0;
    background-image: url(../image/2025-06-Francesco-Arezzo.jpg);
    background-repeat: no-repeat;
    background-position: center 10%;
    background-size: 100%;
}


.home_section {
    width: var(--content-width);
    margin: 0 auto;
}

.home_section {
    width: 100%;
    margin-top: var(--clearance-height);
}

.home_section--inner {
    max-width: var(--content-width);
    width: 90%;
    margin: 0 auto;
}

/* 最下部のメニュー表示 */

.home_section--menu {
    padding-top: 40px;
    background: #ecf4f8;
}

.ttl-02 {
    font-size: 30px;
    position: relative;
}

.ttl-02::after {
    content: "";
    position: absolute;
    top: 1.6em;
    left: calc(var(--sidebar-width) / 2);
    width: calc(100vw - var(--sidebar-width));
    margin: 0 calc(50% - 50vw);
    height: 5px;
}

.ttl-02--jp {
    color: #777;
    font-size: 0.5em;
    vertical-align: middle;
    padding-left: 1em;
}


.ttl-02--menu:after {
    background: #042E7C;
    height: 3px;
}

.ttl-02--menu--color {
    color: #042E7C;
    opacity: .5;
}

.ttl-03--month,
.ttl-03--facebook {
    font-size: 24px;
    margin-bottom: 0.2em
}

.ttl-03--month {
    color: #042E7C;
    opacity: .5;
}

.ttl-03--facebook {
    color: #777777;
    opacity: .9;
}

/* .categryList__titleLabel--calendar {
    border:1px solid #cccccc;
    margin-top:2.5em;
    padding-top:0.5em;
    padding-bottom:0.5em;
    font-weight:400;
} */


/* テーブルについての実装 */
/* .ttl-03--month,.ttl-03--facebook {
    font-size: 24px;
    color: #042E7C;
    opacity: .5;
    margin-bottom: 0.2em
} */
/* 
.wp-block-table table {
    width: 100%;
    text-align: center;
    border-collapse: collapse;
    border-spacing: 0;
}

.wp-block-table th {
    padding: 15px;
    color: #fff;
    background: #042E7C;
    border: solid 1px #777777;
}

.wp-block-table td {
    padding: 15px;
    border: solid 1px #777777;
} */

/* ニュース部分(トピックス) */
/* 記事一覧に関する記述 */
.category__time {
    color: #777777;
}

.ttl-03-category__title {
    font-size: 16px;
    font-weight: 400;
    margin-left: 1em;
}

.category__li {
    /* padding: 1em 0; */
    border-top: 1px solid #777777;
}

.category__li:last-child {
    border-bottom: 1px solid #777777;
}

.category__li__link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1em .8em;
    position: relative;
}

/* タイトル部分の時間 */
.time__category {
    display: flex;
    align-items: center;
    margin-bottom: 1em;
}

/* カテゴリーに関する指定 */
.category__item {
    padding: .2em .5em;
    font-size: 14px;
    border: 1px solid #ccc;
    margin-left: 1em;
    white-space: nowrap;
}

.category__time {
    width: 8.6em;
    display: block;
}

.category__li__span {
    display: flex;
}

@media screen and (max-width:480px) {
    .category__item {
        margin-left: .5em;
    }
}

@media screen and (max-width:768px) {
    .category__li__link {
        align-items: start;
        flex-direction: column;
        padding-right: 3em;
    }

    .ttl-03-category__title {
        margin-left: 0;
        margin-top: .5em;
    }
}

.category .page__content a {
    color: #000;
    text-decoration: none;
}

.category .page__content a:visited {
    color: #000;
    text-decoration: none;
}


.category .page__content a:hover .hover--underline {
    color: #0033cc;
    text-decoration: underline;
}

.category .page__content .hover--underline:hover {
    color: #0033cc;
    text-decoration: underline;
}

/* .category .page__content .category__li__link:hover{
    color:#0033cc;
    text-decoration:underline;
} */

.page__content--archive {
    margin-top: 80px;
}

/* 
.category .page__content a:hover {
    color: #777777;
} */

/* .category__time {
    color: #777777;
} */

/* 矢印 */
.category__li__link::after {
    content: "";
    display: block;
    position: absolute;
    top: calc(50% - 5px);
    right: 20px;
    width: 20px;
    height: 5px;
    border: none;
    border-right: 1px solid #777;
    border-bottom: 1px solid #777;
    transform: skew(45deg);
    transition: .3s;
}

.category__li__link:hover::after {
    right: 10px;
    /* width: 25px; */
}


.ttl-02--topics--color {
    color: #f89500;
    opacity: .6;
}


.ttl-02--topics:after {
    background: #f89500;
}

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

.home_news--inner {
    /* width: var(--content-width); */
    width: 100%;
    max-width: 800px;
}

.home_news--topics {
    margin-top: var(--clearance-height);
}

.topics_dl {
    /* padding: 20px; */
    border-top: 1px solid #777;
}

.topics_dl:last-child {
    border-bottom: 1px solid #777;
}

.topics_link {
    display: flex;
}

.topics_dd--icon,
.topics_dd {
    margin-left: 2em;
}

.topics_dd--icon {
    width: 7em;
    padding: 2px 5px;
    font-size: 14px;
    text-align: center;
    border: 1px solid #ccc;
}

.topics_dd {
    color: #000;
}

.topics_schedule {
    display: flex;
    align-items: center;
}

.home_news--inner--topics {
    margin: auto;
    margin-top: 50px;
}

/* Facebook埋め込み */
.facebook {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.facebook__inner {
    width: 100%;
}

/* .facebook__iframe {
    position: relative;
    max-width: var(--content-width);
} */

/* .facebook__iframe::before {
    content: "";
    position: absolute;
    top: 0;
    left: calc(var(--sidebar-width) / 2);
    width: calc(100vw - var(--sidebar-width));
    margin: 0 calc(50% - 50vw);
    height: 100%;
    background: #f2f2f2;
    z-index: -1
} */

.facebook__iframe iframe {
    display: block;
    margin: 0 auto;
    margin-top: 50px;
}

.ttl-03--facebook {
    position: relative;
}

.ttl-03--facebook::after {
    content: "";
    position: absolute;
    top: 1.6em;
    left: calc(var(--sidebar-width) / 2);
    width: calc(100vw - var(--sidebar-width));
    margin: 0 calc(50% - 50vw);
    height: 3px;
    background: #777777;
}


/* ニュース部分(スケジュール) */
.ttl-02--schedule--color {
    color: #042E7C;
    opacity: .5;
}

.ttl-02--schedule:after {
    background: #042E7C;
}


/* 重要なお知らせ */
.home_news--important {
    border: 2px solid #b90000;
    margin: var(--clearance-height) 0 50px;
}

.ttl-03--important {
    background: #b90000;
    color: #fff;
    text-align: center;
}

.important-news_list {
    display: flex;
    padding: 15px 10px;
}

.important-news_dl {
    margin: 0 20px;
}

.important-news_dd {
    padding-left: 2em;
}

/* .important-news_dl_wrapper {
    padding: 8px 0 5px;
} */

.home_news--notice .category__li:not(:first-of-type) {
    border-top: 1px solid #777777;
}

.home_news--notice .category__li:first-of-type {
    border-top: none;
}

.home_news--notice .category__li:last-of-type {
    border-bottom: none;
}

/* カレンダー */
.calendar {
    /* margin-top: var( --clearance-height); */
}

.categryList__section--calendar {
    display: none;
}

/* フッター */
.copyright_footer {
    text-align: center;
    padding: 0.5em;
    color: #fff;
    background: #042E7C;
}



@media screen and (max-width:1536px) {
    :root {
        --sidebar-width: 250px;
        --content-width: 800px;
        --clearance-height: 50px;
    }

    .heroImage_logo {
        width: 60%;
    }

    .logo_img {
        width: 190px;
        padding: 25px 0 15px 0;
    }

    .globalNav-list {
        padding: 0 15px;
    }

    .categryList__section {
        margin-bottom: 2em;
    }

    .categryList__titleLabel {
        padding: .8em .7em;
        font-size: 17px;
    }

    .categryList__subCategory_wrapper .categryList__subCategory {
        padding: 0.8em;
    }

    .intro_nav {
        padding: 50px 20px;
    }

    .menu_li {
        width: calc(96% / 3);
        max-width: 272px;
        margin-left: 2%;
    }

    .menu_nav .menu_li {
        margin-bottom: 2%;
    }

    .menu_link {
        padding-top: 117px;
    }

    .menu_name {
        font-size: 14px;
    }
}

@media screen and (max-width:1080px) {
    .layout_bl {
        display: block;
    }

    main {
        min-height: calc(100vh - 231px);
    }

    .header {
        width: 100%;
        overflow-y: visible;
        border-right: none;
        border-bottom: 1px solid #f2f2f2;
        display: flex;
        background: #fff;
        z-index: 1;
        flex-direction: row-reverse;
    }

    .header.js_hide {
        transform: translateY(-100%);
    }

    .logo_img_wrapper {
        margin: 0 auto;
    }

    .logo_img {
        width: 150px;
        padding: 5px 0;
        transform: translateX(-30px);
    }

    .heroImage_wrapper {
        width: 100%;
    }

    .heroImage {
        aspect-ratio: 8 /5;
    }

    .heroImage_logo {
        width: 100%;
    }

    .intro_li--topics,
    .intro_li--message {
        width: 50%;
    }

    .home_news--inner {
        width: 100%;
    }

    /* Facebook */
    .facebook__iframe::before {
        left: 0;
        width: calc(100vw);
        margin: 0 calc(50% - 50vw);
    }

    /* 文字の装飾 */
    .ttl-02::after,
    .ttl-03--facebook::after {
        left: 0;
        width: 100vw;
        margin: 0 calc(50% - 50vw);
    }
}

@media screen and (max-width:680px) {

    /* ニュース部分(トピックス) */
    .topics_link {
        display: block;
    }

    .topics_dd {
        margin-left: 0;
        margin-top: 1em;
    }

    .topics_dl {
        padding-left: .5em;
        padding-right: .5em;
    }


    /*  重要なお知らせ*/
    .important-news_list {
        display: block;
    }

    .important-news_dd {
        margin-top: .5em;
        padding-left: 0;
    }


    /* facebook */
    .facebook__iframe iframe {
        width: 100%;
    }

/* 各アイコン */
/* 週報 */
.menu_li--report .menu_link {
    background-image: url(../image/report.svg);
    background-size: 40%;
}

/* 今時の必修R単語 */
.menu_link--dictionary {
    background-image: url(../image/flash_card.svg);
    background-size: 40%;
}

/* ロータリーの友を読もう */
.menu_link--tomo{
    background-image: url(../image/tomo.svg);
    background-size: 12%;
}

/* Web卓話 */
.menu_link__table-talk{
    background-image: url(../image/table_talk.svg);
    background-size: 40%;
}

/* 多士彩才 */
.menu_li--talent .menu_link {
    background-image: url(../image/star.svg);
    background-size: 40%;
}

/* 西ロータリーの歌 */
.menu_li--clef .menu_link {
    background-image: url(../image/note.svg);
    background-size: 40%;
}

/* テーマ部分 */
.menu_link-theme {
    background-image: url(../image/2025-2026_theme-logo.png);
    background-size: 60%;
}
}

@media screen and (max-width:500px) {

    /* アコーディオンメニュー */
    .accordion__menu {
        border-bottom: 1px solid #cccccc;
    }

    .accordion__menu:first-child {
        border-top: 1px solid #cccccc;
    }


    .accordion__button {
        appearance: none;
        text-align: inherit;
        width: 100%;
        /* background: #f2f2f2; */
        color: #fff;
        cursor: pointer;
    }

    .accordion__body {
        height: 0;
        overflow: hidden;
        transition: all 0.5s;
    }

    /* 矢印 */
    .accordion__button {
        position: relative;
    }

    .accordion__button::after {
        display: inline-block;
        vertical-align: middle;
        color: #777;
        line-height: 1;
        width: .7em;
        height: 0.7em;
        border: 0.1em solid currentColor;
        border-left: 0;
        border-bottom: 0;
        box-sizing: border-box;
        transform: translateY(0%) rotate(135deg);
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 1;
        content: "";
        transition: ease-in .2s;
    }

    .open .accordion__button::after {
        transform: translateY(50%) rotate(315deg);
    }

    /* トップページのカレンダー */
    .calendar iframe {
        height: 400px;
    }

    /* ヘッダー部分のカレンダー */
    .categryList__titleLabel--calendar {
        padding-top: 0.7em;
        padding-bottom: 0.7em;
        margin-top: 3em;
        border: 1px solid #cccccc;
        font-weight: 400;
    }

    .categryList__section {
        margin-bottom: 0;
    }

    a.header__li--link {
        color: #777777;
    }

    .categryList__subCategory_wrapper .categryList__subCategory {
        border-bottom: none;
    }

    .categryList__subCategory_wrapper .categryList__subCategory:first-child {
        border-top: none;
    }

    /*　カレンダー */
    .header__ul--calendar iframe {
        height: 600px;
        width: 100vw;
        margin: 0 calc(50% - 50vw);
    }

    .address {
        font-style: normal;
    }

    .address_inner {
        line-height: 1.8;
        padding: 0 1em;
        color: #777777;
    }

    .accordion__body {
        /* background: #f2f2f2; */
    }

    .categryList__subCategory.header__li {
        padding-left: 2em;
    }

    /* トップメニュー */
    .intro_nav {
        padding: 30px 0;
        /* overflow: scroll; */
    }

    .intro_ul {
        /* display: block; */
        width: 100%;
        /* margin: 0 5%; */
        flex-direction: column;
        align-items: center;
    }

    .intro_link--message{
        aspect-ratio: 2 / 1;
    }
    
    .intro_li--topics {
       aspect-ratio: 2 / 1;
    }
    

    .intro_li:not(:last-child) {
        margin-bottom: 5%;
    }

    .intro_li:not(:first-child) {
        /* margin-left: 20px; */
    }


    .menu_li {
        width: 75%;
        max-width: initial;
        margin-left: 0;
    }

    .menu_link {
        padding-top: 38%;
    }

    .menu_link-theme{
        background-size: 55%;
    }

    .home_section--menu .menu_li {
        width: 48%;
    }

    .home_section--menu .menu_li {
        margin-bottom: 4%;
    }

    .home_section--menu .menu_li:nth-child(2n) {
        margin-left: 4%;
    }

    .home_section--menu .menu_link {
        padding-top: 80%;
        aspect-ratio: 1 / 1;
    }

    /* 重要なお知らせ */
    .important-news_dl {
        margin: 0;
    }

    /* コピーライト */
    .copyright_small {
        font-size: 12px;
    }
}