:root {
    --container-width: 1090px;
    --main-color: #019a74;
    --main-color-light: #23e3b3;
    --main-gradient: linear-gradient(90deg, #a5f7e3 0%, #23e3b3 100%);
    --ir-title-bg: #a5f7e3;

    --footer-bg: #f4f4f4;

    --header-margin: 1.5rem 0;
    --header-btn-padding: 0.5rem 1.5rem;
    --header-height: 98px;

    --screen-mobile: 320px;
    --screen-tablet: 768px;
    --screen-pc: 1024px;

    --list-item-x-padding: 2rem;
    --list-item-y-padding: 1rem;

    --action-x-padding: 0;

    --hover-bg: #a5f7e3;
    --text-link-color: #029a74;

    --chart-bg: #88ebd3;
    --chart-last-bg: #4cd6b4;

    --article-y-margin: 2rem;
    --article-x-padding: 3.5rem;
    --article-y-padding: 3.5rem;

    --article-inner-y-padding: 2rem;

    --youtube-radius: 10px;
}
@media (max-width: 1024px) {
    :root {
        --header-height: 60px;
        --container-width: 100%;

        --list-item-x-padding: 2rem;
        --list-item-y-padding: 0.75rem;

        --action-x-padding: 2rem;

        --article-x-padding: 3%;
        --article-y-padding: 2rem;
    }
}

@media (max-width: 576px) {
    :root {
        --header-height: 48px;
    }
}

body {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    line-height: 1.5;
    overflow-x: hidden;
}

body.en {
    font-family: "Roboto Condensed", sans-serif;
}

main {
    max-width: 1880px;
    margin: 0 auto;
}

img {
    width: 100%;
}

a.text {
    color: var(--text-link-color);
    text-decoration: none;
    cursor: pointer;
    &:hover {
        background-color: var(--hover-bg);
    }
}

.sans-serif {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
}

.sans-serif.en {
    font-family: "Roboto Condensed", sans-serif;
}

.serif {
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

.serif.en {
    font-family: "Noto Serif Display", serif;
}

.d-flex {
    display: flex !important;
}

.d-block {
    display: block !important;
}

.d-none {
    display: none !important;
}

.font-bold {
    font-weight: bold;
}

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

.pc {
    display: block;
    @media (max-width: 1024px) {
        display: none;
    }
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.mb-3 {
    margin-bottom: 1.5rem;
}
.mb-5 {
    margin-bottom: 3rem;
}

.mt-3{
    margin-top: 1.5rem;
}

ul.disc {
    padding-left: 1em;
    li {
        text-indent: -1em;
    }
    li::before {
        content: "・";
    }
}

body.en ul.disc {
    li::before {
        content: "* ";
    }
}

/****/
html {
    font-size: 14px;
    scroll-behavior: smooth;
    scroll-padding: var(--header-height);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin-right: auto;
    margin-left: auto;
}

h2.title_block-1,
h2.title_block-2 {
    /*グラデーション背景*/
    background: var(--main-gradient);
    padding-top: 3.5em;
    font-size: 2rem;
    font-family: "Noto Serif JP", serif;

    .title {
        background-color: #fff;
        width: fit-content;
        padding: 1.25em 2em;

        span.en {
            border-right: 1px solid #000;
            font-size: 1.25rem;
            padding: 0.25em 1em;
            margin-right: 1em;
        }

        &:has(.jp) {
            display: flex;
            align-items: center;
            span {
                display: block;
            }
        }
    }
    &.bg-pict {
        padding-top: 5.5em;
        @media (max-width: 1024px) {
            padding-top: 10em;
        }
    }
    @media (max-width: 1024px) {
        padding-top: 1.5em;
        padding-bottom: 1.5em;
        .title {
            all: unset;
            display: block !important;
            text-align: center;
            line-height: 1.5;
            span.en {
                display: block;
                margin-right: 0;
                border-right: none;
                padding: unset;
                font-size: 1rem;
            }
            span.jp {
                display: contents;
            }
        }
    }
}

h2.title_block-2 {
    padding-top: 10em;
    position: relative;
    @media (max-width: 1024px) {
        margin-top: 8rem;

        .title {
            position: absolute;
            top: -6rem;
            left: 50%;
            transform: translateX(-50%);
        }
    }
}

/*blocks*/
#bread-crumbs {
    padding: 0.25rem 2em;
    ul {
        display: flex;
        gap: 0.5em;
        padding: 0.5em 0;
        li {
            font-size: 0.75rem;
            color: #666;
        }

        li + li {
            &::before {
                content: ">";
                margin: 0 0.5em;
            }
        }
    }
}

.news-list,
.search-list,
.ir_news-list {
    padding: 2em 0;
    @media (max-width: 1024px) {
        padding: 0;
    }
    ul.tab {
        display: grid;
        text-align: center;
        width: 100%;
        cursor: pointer;
        li {
            font-size: 1.25rem;
            font-weight: bold;
            padding: 0.5em 0;
            border-bottom: 5px solid;
            word-break: auto-phrase;
        }
        li:not(:has(.active)) {
            color: #999999;
        }
        li.active {
            border-color: var(--main-color);
            color: #333;
        }
    }
    .action-area {
        display: none;
        select {
            display: block;
            margin: 0 auto;
            width: 100%;
            border-width: 1px;
            background-color: #fff;
            font-size: 1.25em;
            height: 3em;
        }
        &.year {
            display: block;
            .select-wrapper {
                width: 30%;
                min-width: 13em;
                margin-left: auto;
                select {
                    text-align: right;
                    padding-right: 2.5em;
                }
            }
        }
    }
    &.top {
        .action-area {
            width: 18em;
            margin-left: auto;
            padding-top: 3rem;
            padding-bottom: 5rem;
            .select-wrapper {
                width: 100%;
                text-align: left;
            }
            @media (max-width: 1024px) {
                width: 90%;
                padding-top: 1.5rem;
                padding-bottom: 1rem;
            }
        }
    }

    .tab-content {
        padding: 2rem 0;
    }

    .news,
    .search {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .news-item,
    .search-item {
        background-color: #fff;
        display: grid;
        grid-template-columns: 10.5em 1fr;
        gap: 1rem;
        padding: var(--list-item-y-padding) var(--list-item-x-padding);
        &:hover {
            background-color: var(--hover-bg);
        }
        dt {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            align-items: center;
            gap: 1rem;
            @media (max-width: 1024px) {
                display: flex;
            }
        }
        dd {
            display: flex;
            align-items: center;
            text-align: left;
        }

        &.new {
            dd::after {
                content: "NEW";
                color: #fff;
                background-color: var(--main-color-light);
                padding: 0.25rem 0.5rem;
                border-radius: 1.25rem;
                font-size: 0.75rem;
                margin-left: auto;
            }
        }
    }

    span.news-date {
        font-size: 0.9rem;
        color: #9c9c9c;
    }

    span.tag {
        color: var(--main-color);
        font-size: 0.9rem;
        font-weight: bold;
    }

    h3 {
        font-size: 1.5rem;
        text-align: center;
        font-weight: bold;
        margin: 1.5em 0;
    }

    .year_list {
        display: flex;
        flex-direction: column;
        margin-left: auto;
        margin-bottom: 3rem;
        width: 90%;
        padding-left: 2em;
        li {
            padding: 2em 2em;
            border-top: 1px solid #ccc;
            text-align: left;
        }
        @media (max-width: 1024px) {
            width: 100%;
        }
    }
    .container {
        text-align: center;
    }
}

.ir-library {
    .ir_news-list {
        padding: 0;
        .year_list {
            li {
                border-top: none;
            }
            a + a {
                li {
                    border-top: 1px solid #ccc;
                }
            }
        }
    }
}

.news-list {
    background-color: #f4f4f4;
    ul.tab {
        grid-template-columns: repeat(5, 1fr);
        li {
            border-color: #fff;
        }
    }
    &.front {
        background-color: #f4f4f4;
        .news-item {
            border-color: #f4f4f4;
        }
    }
    @media (max-width: 1024px) {
        background-color: #ddf8f2;
        .news-item {
            border-color: #ddf8f2;
        }
    }
}
.ir_news-list {
    ul.tab {
        grid-template-columns: repeat(5, 1fr);
        li {
            border-color: #ddf8f2;
        }
    }
    .news-item {
        background-color: #ddf8f2;
    }
}

.search-list {
    .search-item {
        background-color: #fff;
        position: relative;
        .tag {
            color: #000;
        }
        dd {
            color: var(--main-color);
        }
        &:after {
            content: "";
            position: absolute;
            top: 50%;
            right: 1.5em;
            width: 0.5em;
            height: 0.5em;
            transform: translateY(-50%) rotate(45deg);
            border-top: 1px solid #333;
            border-right: 1px solid #333;
            background: transparent;
            z-index: 2;
        }
    }
}

.notice-list {
    dl a {
        display: flex;
        gap: 3rem;
        padding: calc(var(--list-item-y-padding) * 3) var(--list-item-x-padding);
        border-bottom: 1px solid #ccc;

        .notice-date {
            color: #9c9c9c;
            font-size: 0.9rem;
        }

        &:hover {
            background-color: var(--hover-bg);
        }
    }
    dl dt {
        display: flex;
        align-items: center;
    }
}

@media (max-width: 1024px) {
    .news-list,
    .ir_news-list {
        .news-tab {
            display: contents;
            ul.tab {
                display: none;
            }
        }
        .news-item {
            grid-template-columns: 1fr;
            position: relative;
            dd {
                font-size: 1rem;
            }
            &.new {
                dd::after {
                    position: absolute;
                    top: var(--list-item-y-padding);
                    right: var(--list-item-x-padding);
                }
            }
        }
        .action-area {
            display: block;
        }
    }
}

/*pagginate*/
.pagination {
    display: flex;
    justify-content: center;
    padding: 1em 0;
    a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 3em;
        height: 3em;

        transition: all 0.3s;
        &:hover {
            background-color: #666;
            color: #fff;
        }
    }

    li:nth-child(2) {
        display: flex;
        align-items: center;
        font-size: 1.5em;
        margin-left: 2.5em;
        margin-right: 1.5em;
        &:after {
            content: "PAGE";
            font-size: 0.5em;
            margin-left: 0.5em;
        }
    }

    li:nth-child(1),
    li:nth-child(3) {
        font-size: 1.25rem;
        &:not(:has(button)) {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 3em;
            height: 3em;
        }
        &:has(button) {
            width: 3em;
            height: 3em;
        }
        background-color: #333;
        color: #fff;
    }

    li.disabled {
        background-color: #d4d4d4;
        color: #fff;
    }
    button.page-link {
        width: 100%;
        height: 100%;
    }
}

/*charts*/
#chart-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5em;
    padding: 3rem 0;

    .caption {
        display: flex;
        justify-content: space-between;
        margin-bottom: 1em;
        p {
            font-size: 1.25rem;
            font-weight: bold;
        }
        span {
            color: #999;
            font-size: 0.75rem;
        }
    }
    @media (max-width: 1024px) {
        grid-template-columns: 1fr;
        gap: 2em;
    }
}

.input-base {
    border-radius: 35px;
    border: 1px solid #ccc;
    height: 2.5em;
    padding-left: 1.5em;
    padding-right: 1.5em;
    font-weight: bold;
}

.action-area {
    padding-right: var(--action-x-padding);
    padding-left: var(--action-x-padding);
}

.select-wrapper {
    position: relative;
    &::after {
        content: "▼";
        position: absolute;
        right: 1em;
        top: 50%;
        transform: translateY(-50%);
        width: 1em;
        height: 1em;
    }
}

.icon-title {
    display: flex;
    height: fit-content;
    align-items: center;
    position: relative;
    padding-left: 1em;
    &:before {
        content: "";
        display: block;
        width: 0.75em;
        height: 0.75em;
        background-image: url("/assets/images/icon-ttl.svg");
        background-size: contain;
        background-repeat: no-repeat;
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    }

    &.bg {
        background-color: #def8f2;
        padding: 2em 2.25em;
        font-size: 1.5rem;
        font-weight: bold;
        &:before {
            left: 1em;
        }
    }
}

/* btn */
.btn {
    position: relative;
    overflow: hidden;
    /*ボタンの形状*/
    text-decoration: none;
    display: inline-block;
    border: 1px solid #555;
    padding: 1.5em 3em;
    text-align: center;
    outline: none;
    transition: ease 0.2s;
    background-color: #fff;

    span {
        position: relative;
        z-index: 3;
        color: #333;
    }

    &:hover span {
        color: #fff;
    }

    &:after {
        content: "";
        position: absolute;
        top: 50%;
        right: 1.5em;
        width: 0.5em;
        height: 0.5em;
        transform: translateY(-50%) rotate(45deg);
        border-top: 1px solid #333;
        border-right: 1px solid #333;
        background: transparent;
        z-index: 2;
    }
    &:hover:after {
        border-top: 1px solid #fff;
        border-right: 1px solid #fff;
    }

    &.bg-bottom {
        &:before {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            z-index: 2;
            background: #333;
            width: 100%;
            height: 0;
            transition: 0.3s cubic-bezier(0.8, 0, 0.2, 1) 0s;
        }
        &:hover:before {
            height: 100%;
            background-color: #333;
        }
    }
}

.btn.b-less {
    border: none;
}

.btn.dark {
    background-color: #333;
    span {
        color: #fff;
    }
    &:hover span {
        color: #333;
    }
    &:after {
        border-top: 1px solid #fff;
        border-right: 1px solid #fff;
    }
    &:hover:after {
        border-top: 1px solid #333;
        border-right: 1px solid #333;
    }
    &.bg-bottom {
        &:before {
            background: #fff;
        }
        &:hover:before {
            background-color: #fff;
        }
    }
}

.btn.foreign {
    &:after {
        content: "\f08e";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        border-top: none;
        border-right: none;
        display: flex;
        align-items: center;
        color: #fff;
        transform: translateY(-50%);
        width: 1em;
        height: 1em;
    }
    &:hover:after {
        color: #000;
        border-top: none;
        border-right: none;
    }
}

.btn.dl {
    &:after {
        border-top: unset;
        border-right: unset;
        content: "";
        width: 1em;
        height: 1em;
        transform: translateY(-50%);
        background: url(/assets/images/sustainability/icon-dl.svg) no-repeat;
    }
    &:hover:after {
        background: url(/assets/images/sustainability/icon-dl-b.svg) no-repeat;
        border-top: unset;
        border-right: unset;
    }
}

.round-btn {
    border-radius: 25px;
    padding: 0.5rem 2em;
    color: var(--main-color);
    font-weight: bold;
    border: 1px solid var(--main-color);
    &:hover {
        background-color: var(--main-color);
        color: #fff;
    }
}

.page-footer {
    width: 100%;
    text-align: center;
    a {
        width: 30%;
        @media (max-width: 1024px) {
            width: fit-content;
        }
    }
}

.article-area {
    &.ir,
    &.search {
        background-color: #fff;
    }
    &.highlight {
        background-color: #fff;
        padding: 2.5rem 5rem;
        @media (max-width: 1024px) {
            padding: 0;
        }
    }
    background-color: #f4f4f4;
    @media (min-width: 1090px) {
        padding: 2.5rem 0;
    }
    @media (max-width: 1089.5px) {
        padding: 2.5rem 3%;
    }
    @media (max-width: 1024px) {
        background-color: #ddf8f2;
    }

    .content-area {
        background-color: #fff;
        padding: var(--article-y-padding) var(--article-x-padding);
        margin-top: 0.75rem;
        margin-bottom: var(--article-y-margin);
    }

    .content-container {
        padding-top: var(--article-inner-y-padding);
        padding-bottom: var(--article-inner-y-padding);
    }

    .meta-area {
        margin-top: var(--article-y-margin);
        height: 1em;
        .published-date {
            font-family: "Noto Serif Display", serif;
            font-size: 0.9rem;
            color: #999999;
        }
        .category-tag {
            color: var(--main-color);
            font-weight: bold;
            margin-left: 1em;
        }
    }
}

.chart-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

body.en {
    .news-list {
        .tab {
            grid-template-columns: repeat(4, 1fr);
        }
        dl a {
            display: grid;
            grid-template-areas:
                "date tag"
                "date title";
            grid-template-columns: 7em 3fr;
            position: relative;
            row-gap: 0;
            border-bottom: 3px solid #f4f4f4;
            dt {
                display: contents;
            }
            span {
                &.news-date {
                    display: block;
                    align-self: center;
                    grid-area: date;
                }
                &.tag {
                    grid-area: tag;
                    text-align: left;
                }
                dd {
                    grid-area: title;
                    @media (max-width: 1024px) {
                        margin-top: 1rem;
                    }
                }
            }
            dd:not(#_)::after {
                position: absolute;
                right: var(--list-item-x-padding);
                top: 50%;
                transform: translateY(-50%);
            }
        }
        .btn {
            width: 300px;
        }
    }
}

.ir-library {
    h3.icon-title {
        font-size: 1.5rem;
        text-align: center;
        font-weight: bold;
        padding-top: 1.5em;
        padding-bottom: 1.5em;
        padding-left: 3em;
        padding-right: 1em;
        background-color: #def8f2;
        display: flex;
        justify-content: space-between;
        &::before {
            left: 1.5em;
        }
        @media (max-width: 1024px) {
        }
        span {
            word-break: keep-all;
            overflow-wrap: anywhere;
            text-align: left;
            padding-right: 1em;
        }
        a {
            display: inline-block;
            font-size: 1rem;
            width: 12em;
            padding: 1em 3em;
            white-space: nowrap;
            @media (max-width: 1024px) {
                width: 8em;
            }
        }
    }
}

.pdf-title {
    position: relative;
    padding: 2em 2em;
    &::before {
        content: "";
        display: block;
        width: 1.5em;
        height: 1.5em;
        background-image: url("/assets/images/icon-pdf.svg");
        background-size: contain;
        background-repeat: no-repeat;
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    }
}

ol.disclosure {
    /*番号付きリスト*/
    counter-reset: disclosure;
    list-style-type: none;
    padding: var(--article-y-padding) var(--article-x-padding);
    li {
        counter-increment: disclosure;
        padding-left: 2em;
        font-size: 1.25rem;
        font-weight: bold;
        border-bottom: 1px solid #ccc;
        @media (max-width: 1024px) {
            padding-left: unset;
            margin-left: 2em;
            margin-right: 2em;
        }
        &::before {
            content: counter(disclosure) ".";
        }
        &:last-child {
            border-bottom: none;
        }

        p {
            font-weight: normal;
            font-size: 1rem;
            padding-left: 5em;
            padding-top: 2em;
            padding-bottom: 2em;
            @media (max-width: 1024px) {
                padding-left: 1.5em;
            }
        }
    }
    li + li {
        margin-top: 3rem;
    }
}

.article-inner {
    padding: var(--article-y-padding) var(--article-x-padding);
}

.disclaimer {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    padding-top: calc(var(--article-y-margin) * 3);
    padding-bottom: calc(var(--article-y-margin) * 3);
    @media (max-width: 1024px) {
        width: 100%;
        padding: var(--article-y-margin) var(--article-x-padding);
    }
}

.search-result {
    --area-x-padding: 0;
    @media (max-width: 1090px) {
        --area-x-padding: 3%;
    }
    padding-left: var(--area-x-padding);
    padding-right: var(--area-x-padding);

    background-color: #f4f4f4;
    .search-area {
        background-color: #fff;
        padding: 2rem 0;

        .container {
            display: grid;
            grid-template-columns: 30% 40% 30%;
            @media (max-width: 1024px) {
                grid-template-columns: 1fr;
                row-gap: 1rem;
            }

            h2 {
                font-size: 1.75rem;
                font-weight: 500;
                padding-left: 2em;
            }
        }

        .action-area {
            display: flex;
            gap: 1rem;

            input {
                flex: 1;
                padding: 1.5rem;
            }
        }

        .search-btn {
            background-color: #333;
            color: #fff;
            border-radius: 35px;
            width: 3em;
            height: 3em;
            text-align: center;
        }

        .search-count {
            display: flex;
            justify-content: end;
            align-items: end;
        }
    }
    .search-list {
        padding: 5rem 0;
    }
}

/* modal */
.modal {
    display: none;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
    transform: translateY(-50px);

    &.fade {
        transition: transform 0.15s linear;
    }

    &.show {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        transform: translateY(0);
    }

    .modal-dialog {
        width: 500px;
        max-width: 90%;
        margin: 1.75rem auto;
    }

    .modal-content {
        position: relative;
        display: flex;
        flex-direction: column;
        pointer-events: auto;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px #ccc solid;
        border-radius: 10px;
        outline: 0;

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 1.5rem;
            border-bottom: 1px solid #ccc;
            .close {
                cursor: pointer;
            }
        }
        .modal-body {
            position: relative;
            flex: 1 1 auto;
            padding: 1rem 1.5rem;
        }

        .btn-close {
            cursor: pointer;
            &:before {
                content: "\f00d";
                font-family: "Font Awesome 6 Free";
                font-weight: 900;
            }
        }
    }
}.gmap-block {
     /* ① ここで地図の高さを変数として定義・一括管理 */
     --map-height: 250px;

     overflow: hidden;
     height: var(--map-height); /* ② 定義した変数を親要素の高さに適用 */
     position: relative;

     iframe {
         width: 100%;

         /* ③ calc() の中身も変数を使って自動計算させる */
         &.place-card-xs {
             margin-top: -75px;
             height: calc(var(--map-height) + (75px * 2));
         }
         &.place-card-middle {
             margin-top: -100px;
             height: calc(var(--map-height) + (100px * 2));
         }
         &.place-card-large {
             margin-top: -110px;
             height: calc(var(--map-height) + (110px * 2));
         }
         &.place-card-slarge {
             margin-top: -115px;
             height: calc(var(--map-height) + (115px * 2));
         }
         &.place-card-xlarge {
             margin-top: -135px;
             height: calc(var(--map-height) + (135px * 2));
         }
         &.place-card-xxlarge {
             margin-top: -150px;
             height: calc(var(--map-height) + (150px * 2));
         }
         &.place-card-3xlarge {
             margin-top: -175px;
             height: calc(var(--map-height) + (175px * 2));
         }
         &.place-card-4xlarge {
             margin-top: -200px;
             height: calc(var(--map-height) + (200px * 2));
         }
     }
 }

.bg-white{
    background-color: #fff !important;
}
