@import 'https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;700&display=swap';

@charset "UTF-8";

:root {
    --main-color: #F2F2F2;
    --news-color: #C7EA00;
    --event-color: #768040;
    --font-color: #333;
    --report-color: #DEDEDE;
    --ft-color: white;
    --gray-color: #F2EEEC;
    --th-color: #D9D9D9;
    --border-color: #999;
    --hovercolor: #F7F7F7;
    --ft-font: #4E4E4E;
}

html {
    box-sizing: border-box
}

*,
*::after,
*::before {
    box-sizing: inherit
}

html {
    t font-family: sans-serif;
    font-size: 62.5%;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    -webkit-font-feature-settings: "palt";
    font-feature-settings: "palt";
    line-height: 1.8;
    color: var(--font-collor);
    background-color: var(--main-color);
    overflow-x: hidden;
}

h1 {
    display: grid;
    grid-template-columns: 30% 1fr;
    align-items: center;
    width: 100%;
    padding: 0 2% 0 0;
    margin: 2rem 0 0;
    font-size: clamp(2.4rem, 4vw, 4rem);
    font-weight: 500;
    line-height: 1;
    text-align: right;
    background-color: rgba(255, 255, 255, .5);
    box-shadow: 0 0.5vw 0.5vw rgb(0 0 0 / 30%), 0 0.2vw 0.2vw rgb(0 0 0 / 20%);
}

h1.project01 {
    grid-template-columns: 20% 1fr;
    width: 99%;
    border-radius: 0 100vmax 100vmax 0;
}

h1::before {
    content: "";
    aspect-ratio: 395 / 355;
    background-image: url("/image.jsp?id=671814");
    background-repeat: no-repeat;
    background-position: left center;
    background-color: black;
    background-size: cover;
    border-radius: 0 100vmax 100vmax 0;
    max-height: 160px;
}

h1.project01,
h1.project02,
h1.project03,
h1.project04,
h1.project04-b,
h1.project04-c,
h1.project04-d {
    gap: 2rem;
    grid-template-columns: 180px 1fr;
    width: 99%;
    text-align: left;
    color: white;
    background-color: black;
    border-radius: 0 100vmax 100vmax 0;
}

h1.project01::before {
    aspect-ratio: 435 / 504;
    max-width: 130px;
    max-height: auto;
    background-position: left top;
    background-size: contain;
    background-image: url("/image.jsp?id=675864");
    border-radius: unset;
}

h1.project02::before {
    aspect-ratio: 435 / 504;
    max-width: 130px;
    max-height: auto;
    background-position: left top;
    background-size: contain;
    background-image: url("/image.jsp?id=675865");
    border-radius: unset;
}

h1.project03::before {
    aspect-ratio: 435 / 504;
    max-width: 130px;
    max-height: auto;
    background-position: left top;
    background-size: contain;
    background-image: url("/image.jsp?id=675866");
    border-radius: unset;
}

h1.project04::before {
    aspect-ratio: 435 / 504;
    max-width: 130px;
    max-height: auto;
    background-position: left top;
    background-size: contain;
    background-image: url("/image.jsp?id=675885");
    border-radius: unset;
}

h1.project04-b::before {
    aspect-ratio: 435 / 504;
    max-width: 130px;
    max-height: auto;
    background-position: left top;
    background-size: contain;
    background-image: url("/image.jsp?id=675886");
    border-radius: unset;
}

h1.project04-c::before {
    aspect-ratio: 435 / 504;
    max-width: 130px;
    max-height: auto;
    background-position: left top;
    background-size: contain;
    background-image: url("/image.jsp?id=675887");
    border-radius: unset;
}

h1.project04-d::before {
    aspect-ratio: 435 / 504;
    max-width: 130px;
    max-height: auto;
    background-position: left top;
    background-size: contain;
    background-image: url("/image.jsp?id=675888");
    border-radius: unset;
}

h1.project04.aizu::before {
    background-image: url("/image.jsp?id=679195");
    border-radius: unset;
}

h1.project04.okayama::before {
    background-image: url("/image.jsp?id=687074");
    border-radius: unset;
}


.news h1::before {
    background-image: url("/image.jsp?id=671818");
}

.topics h1::before {
    background-image: url("/image.jsp?id=671820");
}

.report h1::before {
    background-image: url("/image.jsp?id=671819");
}

.inquiry h1::before {
    background-image: url("/image.jsp?id=671817");
}

h2 {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    padding: 0 0 4rem;
    margin: 0;
    font-size: clamp(2rem, 3vw, 3.6rem);
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
}

h3 {
    display: grid;
    grid-template-columns: 1fr;
    padding: 2rem 0;
    margin: 0;
    font-size: clamp(1.8rem, 2vw, 2.4rem);
    font-weight: 500;
    text-align: left;
}

h3:has(p) {
    display: grid;
    grid-template-columns: auto auto 1fr !important;
}

h3 p {
    font-size: 1.6rem;
    font-weight: normal;
}

h3.pad{
    padding: 1rem 0 0!important;
}

ul {
    padding: 0;
}

li {
    list-style-type: none;
}

a {
    color: black;
    text-decoration: none;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

a:hover {
    color: var(--ft-font);
}

.link_pointer-events {
    pointer-events: none;
}

img {
    max-width: 100%;
    height: auto;
}

.cleared {
    clear: both;
}

.red {
    color: red;
}

.circle {
    position: relative;
    z-index: 1;
    width: 20vw;
    aspect-ratio: 1;
    background-color: white;
    border-radius: 50%;
    box-shadow:
        0 0.5vw 0.5vw rgb(0 0 0 / 40%),
        0 0.2vw 0.2vw rgb(0 0 0 / 30%);
}

.circle::after {
    position: absolute;
    inset: -1vw;
    z-index: -100;
    content: '';
    background-color: white;
    filter: blur(.3vw);
    border-radius: 50%;
    opacity: 0.4;
}

header {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    padding: 0;
    margin: 0;
}

.header-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
    width: 100%;
    padding: 3rem 0;
    margin: 0;
}

.header-logo {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: center;
    width: 100%;
    padding-left: 1vw;
    margin: 0;
}

.header-logo .logos {
    display: grid;
    grid-template-columns: 112px 24px 1fr;
    gap: .5rem 1.5rem;
    align-items: center;
}

.header-logo .logos .ssf_logo {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    padding: .5rem;
    background-color: #133D88;
}

.header-logo .logos .r_logo {
    display: grid;
    align-items: center;
}

.header-logo .logos span {
    grid-column: span 3;
    font-size: clamp(1rem, 2vw, 2rem);
    line-height: 1;
    letter-spacing: -0.015rem;
}

.header-logo .logos .logo {
    display: grid;
    grid-template-columns: 1fr;
    gap: .2rem;
    align-items: center;
    font-size: clamp(1.8rem, 3vw, 3.3rem);
    font-weight: 500;
    line-height: 1;
    color: black;
    padding-bottom: 0.5rem;
}

.header-logo .logos .logo span {
    font-size: clamp(1rem, 1.6vw, 1.6rem);
    grid-column: unset;
    padding-left: .2rem;
    letter-spacing: unset;
}

.header-logo .logos .logo:hover {
    color: black;
}

/* global-navi */

.pc_navi {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    width: 100%;
    padding: 1.5rem 2rem;
    margin: 0;
    background-color: white;
    border-radius: 100vmax 0 0 100vmax;
    box-shadow:
        0 0.5vw 0.5vw rgb(0 0 0 / 50%),
        0 0.2vw 0.2vw rgb(0 0 0 / 40%);
}

.pc_navi::after {
    position: absolute;
    inset: -1vw;
    z-index: -100;
    content: '';
    background-color: white;
    filter: blur(.3vw);
    border-radius: 100vmax 0 0 100vmax;
    opacity: 0.7;
}

#global-navi {
    display: grid;
    grid-template-columns: repeat(8, auto);
    gap: 3rem;
    width: fit-content;
    padding: 0 1.5rem;
    margin: 0;
    font-size: 1.3rem;
    border-right: 1px solid var(--border-color);
}

#global-navi li {
    display: grid;
    grid-template-columns: 1fr;
}

#global-navi a {
    display: grid;
    grid-template-columns: auto;
    font-size: 1.2em;
    font-weight: bold;
    color: black;
    text-align: center;
    white-space: nowrap;
}

#global-navi a.active {
    color: var(--event-color);
}

#global-navi a:hover {
    color: var(--event-color);
}

/* 親メニュー項目の設定 */
#global-navi>li {
    position: relative;
    /* サブメニューの位置の基準にする */
}

/* サブメニューの初期状態（非表示） */
#global-navi .children {
    position: absolute;
    top: 100%;
    /* 親メニューのすぐ下に表示 */
    left: 0;
    z-index: 99999;
    display: none;
    /* displayで非表示にする */
    width: fit-content;
    padding: 1rem;
    background-color: white;
    border-radius: 1rem;
}

/* 親メニューにホバーした時にサブメニューを表示 */
#global-navi li:hover>.children {
    display: block;
    /* displayをblockにして表示 */
}

/* サブメニューのスタイル */
#global-navi .children li {
    display: grid;
    grid-template-columns: 5px 1fr;
    padding-left: 1rem;
    gap: .5rem;
    width: 100%;
    border: none;
}

#global-navi .children li::before {
    color: black;
    content: "― ";
    padding-top: .8rem;
    font-weight: bold;
}

#global-navi .children a {
    box-sizing: border-box;
    display: flex;
    /* 横幅いっぱいに広げるため */
    justify-content: left;
    padding: .5rem .5rem .5rem 1rem;
    font-weight: bold;
    color: black;
    text-align: left;
}

#global-navi .children a:hover {
    color: var(--th-color);
}

#lang_navi {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0 2rem;
    font-weight: bold;
    line-height: 1;
}

#lang_navi li#jp {
    display: none;
}

.en #lang_navi li#en {
    display: none;
}

.en #lang_navi li#jp {
    display: block;
}

/* mobile-navi */

.mobile-navi {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: none;
    width: 50px;
    aspect-ratio: 1;
    padding: 0;
}

.mobile-navi a {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    color: black;
    text-align: center;
}

.mobile-navi ul {
    display: grid;
    grid-template-columns: 1fr;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mobile-navi li {
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.mobile-navi li a {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    padding: 1rem 2rem !important;
    margin: 0 !important;
    list-style: none !important;
}

.menu-sp-switch,
.menu-sp-switch span {
    display: inline-block;
    cursor: pointer;
    transition: all 0.4s ease 0s;
}

.menu-sp-switch {
    position: relative;
    z-index: 2;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

.menu-sp-switch span {
    position: absolute;
    right: 0;
    left: 0;
    width: 30px;
    height: 2px;
    margin: auto;
    background: var(--border-color);
}

.menu-sp-switch span:nth-of-type(1) {
    top: 11px;
}

.menu-sp-switch span:nth-of-type(2) {
    top: 0;
    bottom: 0;
}

.menu-sp-switch span:nth-of-type(3) {
    bottom: 11px;
}

.menu-sp-switch.active span:nth-of-type(1) {
    -webkit-transform: translateY(13px) rotate(-45deg);
    transform: translateY(13px) rotate(-45deg);
}

.menu-sp-switch.active span:nth-of-type(2) {
    opacity: 0;
}

.menu-sp-switch.active span:nth-of-type(3) {
    -webkit-transform: translateY(-13px) rotate(45deg);
    transform: translateY(-13px) rotate(45deg);
}

.mobile-navi-list {
    display: none;
}

.mobile-navi-list.open {
    position: fixed;
    top: 120px;
    left: 0;
    z-index: 99999;
    display: block;
    width: 100%;
    height: calc(100vh - 120px);
    padding: 0 0 2px;
    margin: 0;
    background: var(--ft-color);
    border: none;
    overflow-y: scroll;
}

.mobile-navi-list ul {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
}

.mobile-navi-list li {
    display: block;
}

.mobile-navi-list li a {
    width: 100%;
    margin: 0;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.mobile-navi-list li.sub a {
    display: grid;
    grid-template-columns: 5px 1fr;
    gap: .5rem;
}

.mobile-navi-list li.sub a::before {
    font-weight: normal;
    color: black;
    content: "- ";
}

/* footer */

.back_to_top {
    position: fixed;
    right: 45px;
    bottom: 45px;
    z-index: 10000;
    display: grid;
    grid-template-columns: 1fr;
    place-content: center;
    width: 50px;
    aspect-ratio: 1;
    padding: 0;
    margin: 0;
    color: white;
    text-align: center;
    background: var(--ft-color);
    border-radius: 100%;
}

.back_to_top:hover {
    -moz-transform: translate(0, 0) scale(1.2, 1.2) !important;
    -webkit-transform: translate(0, 0) scale(1.2, 1, 2) !important;
    transform: translate(0, 0) scale(1.2, 1.2) !important;
}

.back_to_top img {
    width: 24px;
    margin-inline: auto;
}

.back_to_top a {
    display: grid;
    grid-template-columns: 1fr;
    place-content: center;
    width: 100%;
    color: white;
}

.back_to_top a:hover {
    color: white;
}

.effect_v {
    opacity: 0;
    transition: .3s all ease-in-out 0s;
    transform: translate(0, 30px);
}

.effect_v.fade_In {
    opacity: 1;
    transform: translate(0, 0);
}

.effect_v.fade_Out {
    opacity: 0;
    transform: translate(0, 30px);
}

footer {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    padding: 4rem 4rem 2rem;
    margin: 0;
    background-color: var(--ft-color);
}

footer .footer-navi {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10rem;
    align-items: flex-start;
    width: 100%;
}

footer .footer-navi .header-logo {
    padding-left: 0;
}

footer .footer-navi ul {
    padding: 0;
    margin: 0;
}

footer .footer-navi ul li {
    display: grid;
    grid-template-columns: 1.6rem 1fr;
    gap: 1rem;
    align-items: flex-start;
}

footer .footer-navi ul li::before {
    font-size: 2rem;
    content: "●";
}

footer .copyright {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
    width: 100%;
    font-size: 1.4rem;
}

/* ライトボックスの背景 */
#js-mobile-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: none;
    /* 最初は非表示 */
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 表示時のクラス */
#js-mobile-lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

/* 中の画像 */
#js-mobile-lightbox-overlay img {
    max-width: 95%;
    max-height: 80%;
    object-fit: contain;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

section {
    position: relative;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0 auto;
    overflow: hidden;
}

/* content */
.main-content {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    width: 100%;
    padding: 8rem 4rem;
    margin: 0;
}

body:not(.top) h2 {
    line-height: 1.6;
    font-weight: 600;
}

body:not(.top) h3 {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    padding: 1rem 0 0;
}

body:not(.top) h3::before {
    content: '■';
    font-size: clamp(2rem, 2vw, 3rem);
    color: var(--event-color);
}

body:not(.top) h3 p{
    margin-block-end: 0;
}

body:not(.top) .main-content {
    padding: 4rem 4rem 8rem;
    max-width: 1360px;
    margin-inline: auto;
}

body:not(.top) .main-content a {
    text-decoration: underline;
}

.main-content section+section {
    padding: 4rem 0 0;
}

body:not(.top) section+section {
    padding: 0;
}

body:not(.top) section p {
    margin-block-start: 0;
}

.main-content section .tar {
    text-align: right;
}

.main-content section button {
    display: grid;
    padding: 1rem 0;
    background-color: transparent;
    border: none;
}

.main-content section .btn--more {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    width: 100%;
    padding: 1.5rem 2rem;
    margin: 0;
    background-color: white;
    border-radius: 100vmax;
    box-shadow:
        0 0.5vw 0.5vw rgb(0 0 0 / 70%),
        0 0.2vw 0.2vw rgb(0 0 0 / 60%);
}

.main-content section .btn--more::after {
    position: absolute;
    inset: -1vw;
    z-index: -100;
    content: '';
    background-color: white;
    filter: blur(.3vw);
    border-radius: 100vmax;
    opacity: 0.7;
}

.main-content section .btn--more:hover {
    background-color: var(--main-color);
}

body:not(.top) .main-content section ul li {
    display: grid;
    grid-template-columns: 1.6rem 1fr;
    gap: 1rem;
    align-items: flex-start;
}

body:not(.top) .main-content section ul li::before {
    font-size: 2rem;
    content: "●";
}

.main-content section .two-colmun {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    ;
}

.top .main-content {
    padding: 6rem 0 12rem;
}

.top .main-content h2 {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 1rem;
    align-items: flex-start;
    padding: 0;
    text-align: left;
}

.top .main-content p,
.top .main-content ul {
    padding: 0;
    margin: 0;
}

.top .main-content h2 .circle {
    width: 100%;
}

.main-content section.about {
    position: relative;
}

.main-content section.about .about__content {
    position: relative;
    display: grid;
    grid-template-columns: 507px 1fr;
    gap: 4rem;
    align-items: flex-start;
    width: 99%;
    background-color: black;
    border-radius: 0 100vmax 100vmax 0;
}

.main-content section.about .about__content .content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
    max-width: 840px;
    color: white;
    padding: 4rem 10rem 4rem 0;
}

.main-content section.about .about__content .content h1 {
    grid-template-columns: 1fr auto;
    padding: 0 0 2rem;
    margin: 0;
    color: white;
    font-weight: 500;
    font-size: clamp(2rem, 3vw, 3.2rem);
    background-color: transparent;
    background-image: none;
    text-align: left;
    box-shadow: none;
}

.main-content section.about .about__content .content a {
    color: white;
}

.main-content section.about .about__content .content h1::before {
    display: none;
}

.main-content section.about .about__content .content h2 {
    color: white;
    grid-template-columns: 1fr auto;
    font-size: 2.2rem;
    font-weight: bold;
    padding-top: 2rem;
}

.main-content section.about .about__content .content h1 a,
.main-content section.about .about__content .content h2 a {
    font-size: 1.4rem;
}

.main-content section.about .about__content .content h2 .circle {
    display: none;
}

.main-content section.about .about__content .content p {
    font-size: clamp(1.6rem, 2vw, 2.2rem);
}

.main-content section.about .about__content .content p.pre {
    font-size: 1.6rem;
}

.main-content section.about .about__content .content p.pre a+a {
    padding-left: 1rem;
}

.main-content section.about .about__content .content p.pre a[target="_blank"]::after {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin: 0 0 0 .5rem;
    filter: invert(100%);
}

.main-content section.about .about__content .content ul li a {
    white-space: nowrap;
    /* 1. 折り返しを禁止する */
    overflow: hidden;
    /* 2. はみ出した部分を隠す */
    text-overflow: ellipsis;
    /* 3. 末尾を「...」にする */
}

.main-content section.about .circle {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-content: center;
    width: 160px;
    text-align: center;
}

.main-content section.about .circle::after {
    opacity: .2;
}

.main-content section.about .circle:hover {
    background-color: var(--main-color);
}

.main-content section.base {
    padding: 12rem 0 0;
}

.main-content section.contact .contact__content {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0 4rem;
}

.main-content section.base .base__content {
    padding: 0 4rem;
}

.main-content section.base .base__content .base_image {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 4rem;
}

.main-content section.base .base__content .base_image img {
    width: auto;
    max-width: 100%;
    margin-inline: auto;
}

.main-content section.link {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-start;
    gap: 1rem;
}

.main-content section.link h2 {
    padding: 2rem 4rem;
}

.main-content section.link .link__image {
    display: grid;
    grid-template-columns: 1fr;
    grid-row: span 2;
    grid-template-rows: subgrid;
}

.main-content section.link .link__image .main_image {
    display: grid;
    grid-template-columns: 1fr;
}

.main-content section.link .link__image .main_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-content section.link .link__content {
    display: grid;
    grid-template-columns: 1fr;
    grid-row: span 2;
    grid-template-rows: subgrid;
}

.main-content section.link .link__content ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.main-content section.link .link__content ul li {
    display: grid;
    grid-template-columns: 1fr;
}

.main-content section.link .link__content ul li a.detail {
    display: grid;
    grid-template-columns: 20% 1fr;
    align-items: center;
    gap: 1.5rem;
    width: 99%;
    background-color: black;
    border-radius: 0 100vmax 100vmax 0;
}

.main-content section.link .link__content ul li a.detail:hover {
    opacity: .8;
}

.main-content section.link .link__content ul li a.detail .card_image {
    display: grid;
    grid-template-columns: 1fr;
    aspect-ratio: 435 / 510;
    overflow: hidden;
}

.main-content section.link .link__content ul li a.detail .card_image img {
    width: 100%;
    /* 枠いっぱいに広げる */
    height: 100%;
    /* 枠いっぱいに広げる */
    object-fit: cover;
    /* 比率を保ったまま隙間なく埋める */
    object-position: center;
    /* ★これで画像の中心を表示します */
}

.main-content section.link .link__content ul li h3 {
    display: grid;
    grid-template-columns: 20% 1fr;
    gap: 1rem;
    padding: 0;
}

.main-content section.link .link__content ul li h3::before {
    content: '';
}

.main-content section.link .link__content ul li a.detail h3 {
    color: white;
    grid-template-columns: 1fr;
}

.main-content section.link .link__content ul li a.detail h3::before {
    display: none;
}

.top .main-content section.news {
    padding: 12rem 0 0;
}

.main-content section.news .news__content {
    display: grid;
    grid-template-columns: auto 1fr 200px;
    gap: 4rem;
    padding: 0 4rem;
}

.main-content section.news ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0;
}

.main-content section.news ul li {
    display: grid;
    grid-template-columns: auto auto auto 1fr !important;
    gap: 2remr !important;
    padding: 0;
}

.main-content section.about .about__content .content ul li {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 0;
    line-height: 1;
}

.main-content section .plantag{
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    padding: .2rem .8rem;
    width: fit-content;
    text-align: center;
    background-color: var(--news-color);
    color: black;
    border-radius: .1rem;
}


.main-content section.news ul li .tag,
.main-content section.about .about__content .content ul li .tag {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    padding: .2rem .8rem;
    text-align: center;
    background-color: var(--news-color);
    color: black;
    border-radius: .1rem;
}

.main-content section.news ul li .tag.event,
.main-content section.about .about__content .content ul li .tag.event {
    background-color: var(--event-color);
}

.main-content section.news ul li .tag.report,
.main-content section.about .about__content .content ul li .tag.report {
    background-color: var(--report-color);
}

.main-content section.banner {
    padding: 12rem 4rem 4rem;
}

.main-content section.banner .banner__content ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.main-content section.banner .banner__content ul li {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    border: 1px solid var(--border-color);
}

.main-content section.banner .banner__content ul li a {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.main-content section.banner .banner__content ul li a .img {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    width: 100%;
    height: 100%;
    background-color: white;
}

.main-content section.banner .banner__content ul li a .img.esec {
    background-color: black;
}

.main-content section.banner .banner__content ul li a .img.ssf {
    background-color: #17489C;
}

.main-content section.banner .banner__content ul li a .img img {
    max-width: 200px;
    margin-inline: auto;
}

.main-content section.banner .banner__content ul li a::after {
    display: none;
}

.main-content section.banner .banner__content ul li a:hover {
    opacity: .8;
}

.main-content section.contact .contact__content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 4rem;
}

.main-content section.contact .contact__content .inner-box {
    display: grid;
    grid-template-rows: subgrid;
    grid-template-columns: 1fr;
    grid-row: span 2;
    gap: 2rem;
}

.main-content section.contact .contact__content .inner-box .info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    padding: 4rem 25% 4rem 4rem;
    color: white;
    background-color: var(--font-color);
    border-radius: 0 100vmax 100vmax 0;
}

.main-content section.contact .contact__content .inner-box:nth-child(2) .info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    padding: 1px;
    color: white;
    background-color: var(--font-color);
    border-radius: 0 100vmax 100vmax 0;
}

.main-content section.contact .contact__content .inner-box .info a {
    color: white;
}


.main-content section.contact .contact__content .inner-box .info button {
    justify-content: flex-end;
}

.main-content section.contact .contact__content .inner-box .info .btn--more {
    width: 200px;
}

.main-content section.contact .contact__content .inner-box .info .btn--more::after {
    opacity: 0.1;
}

.main-content section.contact .contact__content .inner-box .info:has(iframe) {
    padding: 0;
}

.main-content section.contact .contact__content .inner-box .info iframe {
    width: 100%;
    height: 100%;
    border-radius: 0 100vmax 100vmax 0;
}

.main-content section.contact .contact__content .inner-box:nth-child(2) .info a,
.main-content section.contact .contact__content .inner-box:nth-child(2) .info .lightbox {
    display: grid;
    grid-template-columns: 1fr;
    grid-row: span 2;
    grid-template-rows: subgrid;
    gap: 1rem;
    background-color: white;
    color: black;
    text-align: center;
}

.main-content section.contact .contact__content .inner-box:nth-child(2) .info a:hover,
.main-content section.contact .contact__content .inner-box:nth-child(2) .info .lightbox:hover {
    opacity: .8;
}

.main-content section.contact .contact__content .inner-box:nth-child(2) .info .lightbox {
    overflow: hidden;
    border-radius: 0 100vmax 100vmax 0;
}

.main-content section.contact .contact__content .inner-box:nth-child(2) .info a::after {
    display: none !important;
}

.main-content section.contact .contact__content .inner-box:nth-child(2) .info .img img {
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
    object-position: bottom;
    max-height: 100%;
    height: 100%;
}

.main-content section.contact .contact__content .inner-box:nth-child(2) .info .lightbox .img img {
    object-position: left bottom;
}


.main-content section .page_link {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.main-content section .page_link li {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
}

.main-content section .page_link li a {
    display: grid;
    grid-template-columns: 1fr;
    padding: 1rem;
    color: black;
    text-align: center;
    background-color: var(--th-color);
    border-radius: 100vmax;
}

.main-content section .page_link li a.active {
    color: white;
    pointer-events: none;
    background-color: var(--font-color);
}

.about .main-content section.about_page {
    display: block;
}

.reserch .main-content section.research_page {
    display: block;
}

.main-content section table {
    width: 100%;
    padding: 0;
    margin: 0;
    border-spacing: 0;
    border-collapse: collapse;
}

.main-content section table tbody th {
    padding: 1rem;
    font-weight: normal;
    color: white;
    text-align: cente;
    background-color: var(--font-color);
    border: 1px solid var(--th-color);
}

.main-content section table tbody td {
    padding: 1rem;
    border: 1px solid var(--th-color);
}

.main-content section table.form tbody th {
    width: 30%;
    text-align: left;
}

.main-content section table.form tbody td input {
    width: 100%;
    padding: 1rem;
    font-size: 1.6rem;
}

.main-content section table.form tbody td textarea {
    width: 100%;
    height: 300px;
    padding: 1rem;
    font-size: 1.6rem;
}

.main-content section table.form tbody td.center {
    padding: 2rem;
    border: none;
}

.main-content section table.form tbody td.half {
    padding: 2rem;
    border: none;
}

.main-content section table.form tbody td input[type="submit"] {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    width: 200px;
    padding: 1.5rem 2rem;
    margin: 0 auto;
    background-color: white;
    border-radius: 100vmax;
    border: none;
    box-shadow:
        0 0.5vw 0.5vw rgb(0 0 0 / 30%),
        0 0.2vw 0.2vw rgb(0 0 0 / 20%);
}

.main-content section table.form tbody td input[type="submit"]::after {
    position: absolute;
    inset: -1vw;
    z-index: -100;
    content: '';
    background-color: white;
    filter: blur(.3vw);
    border-radius: 100vmax;
    opacity: 0.7;
}

.main-content section table.form tbody td input[type="submit"]:hover {
    cursor: pointer;
    background-color: var(--main-color);
}

.main-content section table.form tbody td input[type="button"] {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    width: 120px;
    height: 40px;
    padding: 0;
    margin: 0 auto;
    list-style-type: none;
    cursor: pointer;
    background-color: var(--th-color);
    border: unset;
    border-radius: 5px;
}

.main-content section table.form tbody td input[type="button"]:hover {
    opacity: .8;
}

.main-content a[target="_blank"]::after {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 0 0 1rem;
    vertical-align: middle;
    content: '';
    background-image: url("/file.jsp?id=623864");
    background-repeat: no-repeat;
    background-size: contain;
}

.main-content a.current[target="_blank"]::after {
    display: none;
}

.main-content a[href$=".pdf"]::after {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 0 0 1rem;
    vertical-align: middle;
    content: '';
    background-image: url("/file.jsp?id=623858");
    background-repeat: no-repeat;
    background-size: contain;
}

.main-content a[href$=".docx"]::after {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 0 0 1rem;
    vertical-align: middle;
    content: '';
    background-image: url("/file.jsp?id=623866");
    background-repeat: no-repeat;
    background-size: contain;
}

.main-content .right_img {
    display: block;
    float: right;
    margin: 0 0 4rem 4rem;
}

.main-content .slider_area {
    padding: 8rem 4rem;
    background-color: var(--main-color);
}

.main-content .slider_area .site_name {
    position: absolute;
    top: 8rem;
    left: 4rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: .5rem;
    font-family: Comfortaa, sans-serif;
    font-size: 9rem;
    line-height: 1;
}

.main-content .slider_area .site_name span {
    display: block;
    color: white;
}


.main-content .intro::before {
    position: absolute;
    top: -260px;
    left: -160px;
    z-index: -1;
    display: block;
    width: 400px;
    aspect-ratio: 1;
    content: "";
    background-color: var(--gray-color);
    border-radius: 50%;
}

.main-content .intro::after {
    position: absolute;
    right: 3%;
    bottom: 0;
    z-index: -1;
    display: block;
    width: 280px;
    aspect-ratio: 249 / 127;
    content: "";
    background-image: url("/image.jsp?id=661691");
    background-repeat: no-repeat;
    background-size: cover;
}

.main-content .intro h2 {
    font-size: 4rem;
    text-align: center;
}

.main-content .intro .intro_box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    max-width: 900px;
    padding: 0 2rem;
    margin: 0 auto;
    font-size: 2rem;
}

.main-content .intro .intro_box p {
    padding: 0;
    margin: 0;
}

/* センター紹介 */
.main-content .right_area {
    display: grid;
    grid-template-columns: auto;
    gap: 1rem;
    justify-content: center;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: right;
}

.main-content .right_area img {
    max-width: 500px;
    height: auto;
}

body.member .main-content section ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

body.member .main-content section ul li {
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid var(--border-color);
    border-radius: .2rem;
}

body.member .main-content section ul li a {
    display: grid;
    grid-template-columns: 1fr;
    gap: .2rem;
    padding: 2rem;
    text-decoration: none;
    font-size: 1.4rem;
}

body.member .main-content section ul li:hover {
    background-color: white;
}

body.member .main-content section ul li a.nolink {
    pointer-events: none;
}

body.member .main-content section ul li::before {
    display: none;
}

body.member .main-content section ul li a::after {
    display: none;
}

body.member .main-content section ul li .name strong {
    font-size: 2rem;
}

body.member .main-content section ul li .affiliation {
    font-size: 1.5rem;
    font-weight: bold;
}

.responsive-map-container {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    height: auto;
}

.top .responsive-map-container {
    max-width: 1141px;
}

.responsive-map-container svg {
    width: 100%;
    height: auto;
    display: block;
}

.map-link-2 rect {
    fill: transparent;
    transition: fill 0.2s;
    cursor: pointer;
}

.map-link-2:hover rect {
    fill: rgba(255, 255, 255, 0.2);
}

/* ライトボックスの背景（土台） */
#js-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* 背景を黒く透過 */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;

    /* 初期状態は非表示 */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    cursor: zoom-out;
    /* クリックで閉じることがわかるカーソル */
}

/* activeクラスがついた時に表示 */
#js-lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 中の画像 */
#js-lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* PCで拡大可能な画像に虫眼鏡カーソルを出す（親切設計） */
.zoom-link {
    cursor: zoom-in;
}

/* スマホでも特定の画像にカーソルを出す */
@media (max-width: 768px) {
    .mobile-zoom {
        cursor: zoom-in;
    }
}

.news p:has(img){
    text-align: center;
}

/* PCでサイズを縮小した時
---------------------------------------------------------------- */

@media handheld,
only screen and (max-width: 1500px),
only screen and (max-device-width: 1500px) and (orientation:portrait) {

    #global-navi {
        gap: 3rem;
    }
}

@media handheld,
only screen and (max-width: 1380px),
only screen and (max-device-width: 1380px) and (orientation:portrait) {
    .header-top {
        gap: 2rem;
    }

    .header-logo {
        padding-left: 2rem;
        white-space: nowrap;
    }
}

@media handheld,
only screen and (max-width: 1300px),
only screen and (max-device-width: 1300px) and (orientation:portrait) {

    .header-logo .logos {
        width: fit-content;
    }

    .pc_navi {
        gap: 3rem;
    }

    #global-navi {
        display: none;
    }

    .mobile-navi {
        display: block;
    }
}

@media handheld,
only screen and (max-width: 1100px),
only screen and (max-device-width: 1100px) and (orientation:portrait) {

    footer {
        padding: 4rem 2rem 2rem;
    }

    .top .main-content {
        padding: 5rem 0 8rem;
    }

    .main-content section.base,
    .top .main-content section.news {
        padding: 8rem 0 0;
    }

    .main-content section.banner {
        padding: 10rem 2rem 2rem;
    }

    .main-content section.about .about__content {
        grid-template-columns: 40% 1fr;
    }

    .main-content section.about .about__content .content {
        padding: 4rem 10rem 4rem 0;
    }

    .main-content section.about .about__content .content h1 {
        padding: 0 0 2rem;
    }

    .main-content section.about .about__content .content {
        font-size: 1.8rem;
    }
}

@media handheld,
only screen and (max-width: 980px),
only screen and (max-device-width: 980px) and (orientation:portrait) {

    section.slider_area .site_name {
        font-size: 6rem;
    }

    .main-content section.about .about__content {
        grid-template-columns: 1fr;
        height: 380px;
    }

    .main-content section.about .about__content img {
        position: absolute;
        top: 0;
        left: 0;
        height: 380px;
        aspect-ratio: 507 / 500;
        opacity: .8;
    }

    .main-content section.about .about__content .content {
        position: absolute;
        top: 0;
        left: 0;
        padding: 4rem 10rem;
    }

    .main-content section.about .about__content .content h1 {
        padding: 0 0 2rem;
    }

    .main-content section.about .about__content .content {
        font-size: 1.8rem;
    }

    .main-content section.about .circle {
        width: 120px;
        line-height: 1.2;
        word-break: normal;
    }

    .main-content section.base .base__content {
        padding: 0 2rem;
    }

    .main-content section.link h2 {
        padding: 2rem;
        white-space: nowrap;
    }

    .main-content section.news .news__content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 2rem;
    }

    .main-content section.news ul {
        padding: 0;
        border-left: none;
    }

    .main-content section.news .news__content button a {
        max-width: 200px;
        margin: 0 auto;
    }

    .main-content section.contact .contact__content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 2rem;
    }

    .main-content section.base .base__content {
        padding: 0 2rem;
        ;
    }

    .main-content section.contact .contact__content .inner-box .info {
        gap: 2rem;
        min-height: 267px;
        padding: 4rem 8rem 4rem 4rem;
    }

    .main-content section.contact .contact__content .inner-box .info button {
        grid-template-columns: 200px;
        justify-content: center;
    }

    body.member .main-content section ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* スマートフォンサイト
---------------------------------------------------------------- */

@media handheld,
only screen and (max-width: 768px),
only screen and (max-device-width: 768px) and (orientation:portrait) {

    /* 共通設定 */
    html,
    body {
        overflow-x: hidden;
    }

    h2,
    h3,
    .main-area {
        width: 100%;
    }

    h1 {
        padding: 0 1rem 0 0;
        margin: 1rem 0 0;
    }

    h2 {
        padding: 0 0 2rem;
    }

    .pc_only {
        display: none;
    }

    .pc_navi {
        gap: 0;
        height: 60px;
        padding: 0 1rem;
    }

    .header-top {
        gap: 1rem;
        padding: 1.5rem 0;
    }

    .header-logo {
        padding-left: 1rem;
    }

    .header-logo .logos {
        grid-template-columns: 50px 12px 1fr;
        gap: .5rem;
    }

    .header-logo .logos span {
        letter-spacing: unset;
    }

    #lang_navi {
        padding: 0 1rem;
        font-size: 1.6rem;
        font-weight: normal;
    }

    .mobile-navi {
        width: 40px;
    }

    .menu-sp-switch span {
        width: 26px;
    }

    .menu-sp-switch span:nth-of-type(1) {
        top: 6px;
    }

    .menu-sp-switch span:nth-of-type(3) {
        bottom: 6px;
    }

    .mobile-navi-list.open {
        top: 100px;
        height: calc(100vh - 100px);
    }

    /* footer */
    .back_to_top {
        right: 20px;
        bottom: 20px;
        width: 30px;
    }

    .back_to_top img {
        width: 16px;
    }

    footer {
        padding-top: 2rem;
    }

    footer .footer-navi {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    footer .footer-navi .header-logo {
        width: fit-content;
        margin: 0 auto;
    }

    footer .footer-navi ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        width: 80%;
        margin: 0 auto;
    }

    footer .footer-navi ul li {
        font-size: 1.2rem;
    }

    footer .footer-navi ul li::before {
        font-size: 1.2rem;
        content: "●";
    }

    footer .copyright {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-top: 2rem;
        text-align: center;
    }

    footer .copyright a {
        order: 1;
        width: 150px;
        margin: 0 auto;
    }

    footer .copyright span {
        order: 2;
    }

    /* contents */

    .main-content {
        padding: 4rem 2rem;
    }

    body:not(.top) .main-content {
        padding-bottom: 8rem;
    }

    .main-content section.about .about__content {
        height: 340px;
    }

    .main-content section.about .about__content .content {
        gap: 0;
        padding: 2rem 4rem 2rem 2rem;
    }

    .main-content section.about .about__content img {
        height: 340px;
    }

    .main-content section.about .about__content .content h1 {
        grid-template-columns: max-content max-content;
        gap: 4rem;
        font-weight: bold;
        padding: 0 0 1.5rem;
    }

    .main-content section.about .about__content .content h2 {
        padding-top: 1.5rem;
        font-size: 1.8rem;
    }

    .main-content section.about .about__content .content h2 a,
    .main-content section.about .about__content .content h1 a {
        font-size: 1.2rem;
    }

    .main-content section.about .about__content .content ul li {
        font-size: 1.6rem;
    }

    .main-content section.about .about__content .content ul li a {
        max-width: 160px;
    }

    .main-content section.about .circle {
        right: 0.5rem;
        bottom: 0.5rem;
        width: 80px;
        font-size: 1.4rem;
        line-height: 1.2;
    }

    .main-content section.link .link__image .main_image {
        height: 300px;
        aspect-ratio: unset;
        overflow: hidden;
        background-image: none;
    }

    .main-content section.link .link__image .main_image img {
        display: block;
        margin: 0 auto;
    }

    .main-content section.link {
        grid-template-columns: 1fr;
    }

    .main-content section.link h2 {
        padding: 2rem;
    }

    .main-content section.link .link__content ul li {
        gap: .5rem;
    }

    .main-content section.link .link__content ul li .card_image .circle {
        width: 40px;
    }

    .main-content section.link .link__content ul li p {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    .main-content section.news ul li {
        grid-template-columns: auto auto auto;
        gap: 1rem;
    }

    .main-content section.news ul li .tag {
        width: 100px;
    }

    .main-content section.news ul li a {
        grid-column: span 3;
    }

    .main-content section.banner .banner__content ul li a {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .main-content section.contact .contact__content .inner-box .info {
        gap: 1rem;
        min-height: 197px;
        padding: 1rem 4rem 1rem 2rem;
    }

    .main-content section table {
        display: block;
        overflow-x: scroll;
    }

    .main-content section table th {
        white-space: nowrap;
    }

    .main-content section table td {
        white-space: nowrap;
    }

    .center .main-content section table {
        overflow-x: unset;
    }

    .reserch .main-content section table td {
        display: block;
        width: 100%;
        white-space: wrap;
        border-top: none;
    }

    .reserch .main-content section table tbody tr td:first-child {
        width: 100%;
        text-align: center;
    }

    .about .main-content section table tbody tr td:last-child {
        white-space: nowrap;
    }

    .main-content section table.form {
        display: grid;
        grid-template-columns: 1fr;
    }

    .main-content section table.form tr {
        display: grid;
        grid-template-columns: 1fr;
    }

    .main-content section table.form tr th {
        width: 100%;
    }

    .main-content section table.form tbody tr:has(.half) {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .main-content section table.form tbody td input[type="submit"] {
        width: 160px;
    }

    .main-content section+section {
        padding: 2rem 0 0;
    }

    .main-content .right_img {
        float: none;
        margin: 0 auto 1rem
    }

    .main-content section .page_link {
        gap: 1rem;
    }

    .main-content section .page_link li {
        width: 100%;
    }

    .main-content section .page_link li a {
        padding: .8rem .5rem;
        font-size: 1.2rem;
    }

    .top .main-content {
        padding: 2rem 0 6rem;
    }

    .main-content section.base,
    .top .main-content section.news {
        padding: 6rem 0 0;
    }

    .main-content section.banner {
        padding: 8rem 2rem 2rem;
    }

    .main-content section .two-colmun {
        grid-template-columns: 1fr;
        gap: 1rem;
        ;
    }

    body.member .main-content section ul {
        grid-template-columns: 1fr;
    }
}

