@charset "utf-8";

html {
    -webkit-text-size-adjust: 100%;
}

#bg {
    padding-bottom: 30px;
}

body {
    color: #333;
    padding: 0px;
    margin: 0px;
    background-color: #8a8266;
    font-size: 17px;
    line-height: 1.75;
    -webkit-text-size-adjust: 100%;
    box-sizing: border-box;
}

#home .about h2,
#about h2,
#member h2,
#recruit h2 {
    position: relative;
    font-size: 33px;
    text-align: center;
    padding-bottom: 40px;
}

#home .about h2::before,
#about h2::before,
#member h2::before,
#recruit h2::before {
    position: relative;
    bottom: -5px;
    content: attr(data-en);
    display: block;
    margin-bottom: 5px;
    font-weight: 300;
    font-size: 17px;
    font-family: 'San Times New Roman';
    color: #55c2d3;

}

#home .about h2::after,
#about h2::after,
#member h2::after,
#recruit h2::after {
    content: '';
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translate(-50%) rotate(60deg);
    width: 1.5px;
    height: 30px;
    background-color: #55c2d3;
}

#home .info h2 {
    position: relative;
    font-size: 30px;
    text-align: center;
    padding-bottom: 40px;
}

#home .info h2::after {
    content: '';
    position: absolute;
    top: 63px;
    left: 50%;
    transform: translate(-50%) rotate(60deg);
    width: 1.5px;
    height: 30px;
    background-color: #55c2d3;
}

/*==================
#loading
==================*/
/* .loader-bg {
    background-color: #fff;
    align-items: center;
    display: flex;
    height: 100vh;
    justify-content: center;
    left: 0;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 9999;
} */
.loading {
    width: 100vw;
    height: 100vh;
    transition: all 1s;
    background-color: #FFF;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
}

.loading.is-active {
    opacity: 0;
    visibility: hidden;
}

.loading-animation {
    width: 100vw;
    height: 100vh;
    transition: all 1s;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
}

.loading-animation.is-active {
    opacity: 1;
    visibility: visible;
}

/* ーーーーーーーーーーーーーーーーーーーーーーーーーー */
a {
    color: #906e00;
    text-decoration: none;
    display: inline-block;
}

a:hover {
    color: #71c7d5;
    cursor: pointer;
    transition: 0.3s;
}

#home .about a {
    color: #fff;
    line-height: 4px;
    background-color: #55c2d3;
    padding: 0 30px;
    border-radius: 50px;
    margin: 20px 0 40px;
}

#home .about a:hover {
    background-color: rgb(116, 195, 244);
}

li {
    list-style: none;
}

#bg {
    background-color: #ffffff;
    width: 100%;
}

main h2 {
    font-size: 33px;
    font-family: Times, serif;
    margin-bottom: 0;
}

main h3 {
    font-family: Times, serif;
    margin: 40px 0 35px;
    font-size: 30px;
    text-align: center;
    font-weight: 600;
}

main h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 1.5px;
    background-color: #55c2d3;
    position: relative;
    margin: 10px auto 0;
}

.info h2 {
    font-family: Times, serif;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

main small {
    color: #aca27d;
}

.width960 {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 10px;
}

header {
    /* background-color: #aca27d; */
    background-image: linear-gradient(to bottom, rgb(138, 130, 102), rgba(138, 130, 102, 0.9), rgba(138, 130, 102, 0.8), rgba(138, 130, 102, 0.5), rgba(138, 130, 102, 0) 100%);
    /* background-image: linear-gradient(to bottom, rgba(172, 162, 125, 1), rgba(172, 162, 125, 1), rgba(172, 162, 125, 0.8), rgba(172, 162, 125, 0.4), rgba(172, 162, 125, 0) 100%); */
    /* background: url(../images/common/bg.jpg);  */
    padding-bottom: 45px;
    margin-bottom: 20px;
}

header div {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

a img:hover {
    opacity: 0.7;
}

/* ーーーーーーーーーーーーーーーーーーーーーーーーーー */
/* ハンバーガーメニュー */
.menu-wrapper {
    position: relative;
}

.menu-icon {
    width: 40px;
    height: 30px;
    position: fixed;
    /* ← fixedにして常に左上固定 */
    top: 30px;
    right: 30px;
    cursor: pointer;
    z-index: 3;
    display: inline-block;
}

.menu-icon span {
    display: block;
    height: 4px;
    margin: 6px 0;
    background: #f0db94;
    border-radius: 2px;
    transition: 0.4s;
}

/* ハンバーガーがXに変形 */
#menu-toggle:checked+.menu-icon span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

#menu-toggle:checked+.menu-icon span:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked+.menu-icon span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* オーバーレイ背景 */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: 0.4s;
    z-index: 1;
}

#menu-toggle:checked~.overlay {
    opacity: 1;
    pointer-events: auto;
}

/* メニュー本体（左から出す） */
.menu {
    position: fixed;
    top: 0;
    right: -280px;
    /* ← 初期位置を左へ */
    width: 280px;
    height: 100%;
    background: #fff;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
    transition: left 0.4s ease;
    z-index: 2;
}

#menu-toggle:checked~.menu {
    right: 0;
    /* ← 開いたときは左0へ */
}

.menu ul {
    list-style: none;
    padding: 60px 20px;
}

.menu li {
    margin: 20px 0;
}

.menu a {
    text-decoration: none;
    color: #333;
    font-size: 20px;
    transition: color 0.3s;
}

.menu a:hover {
    color: #55c2d3;
}

/* ーーーーーーーーーーーーーーーーーーーーーーーーーー */
/* メインメニュー */
nav.pc ul {
    padding-bottom: 10px;
}

nav.pc>ul>li {
    width: 160px;
    display: inline-block;
}

nav.pc a {
    padding: 8px;
    display: block;
    color: white;
    text-decoration: none;
    font-size: 19px;
    text-shadow: 2px 2px 2px rgba(172, 162, 125, 0.7);
    text-align: center;
}

nav.pc a:hover {
    color: #74e3f4;
    transition: 0.3s;
    border-bottom: #74e3f4;
}

/* 展覧会案内 */
#slideshow {
    margin: 30px auto 0;
    width: 80%;
}

#slideshow img {
    width: 100%;
}

.dm.mb img {
    display: block;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

#info .flex.dm {
    justify-content: center;
    margin: 0 auto;
}

#info .flex img {
    margin: 20px 20px 20px 20px;
    width: 43%;
}

.map {
    margin: 40px auto;
    max-width: 960px;
}

iframe {
    width: 100%;
}

.info dt {
    margin-bottom: 10px;
    padding-right: 0px;
}

.info dd {
    margin-bottom: 10px;
}

.ivent {
    background-color: #ffffff;
    border-top: 1px #906e00 solid;
    border-bottom: 1px #906e00 solid;
    padding: 10px auto;
    width: 95%;
    margin: 20px auto 60px;
    color: #906e00;
}

#home .member h4 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 300;
}

#home .member h4::before,
#home .member h4::after {
    content: '';
    width: 50px;
    height: 1px;
    background-color: #333;
}

#home .member h4::before {
    margin-right: 25px;
}

#home .member h4::after {
    margin-left: 25px;
}

#home .member {
    max-width: 960px;
    margin: 0 auto;
}

/* figure */
.grid {
    display: grid;
    justify-items: center;
   padding: 0 20px 0 20px;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.grid p {
    margin: 0 auto 15px;
    text-align: center;
}

/* 新規メンバー募集 */
.button a {
    background: #55c2d3;
    border-radius: 50px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 50px auto 0;
    max-width: 280px;
    padding: 20px 25px;
    color: white;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    font-family: 'Arial';
}

.button a:after {
    content: "";
    position: absolute;
    top: 50%;
    bottom: 0;
    right: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.3s;
    width: 6px;
    height: 6px;
    border-top: solid 2px currentColor;
    border-right: solid 2px currentColor;
    transform: translateY(-50%) rotate(45deg);
}

.button a:hover {
    background: rgb(116, 195, 244);
}

.button a:hover:after {
    right: 1.4rem;
}

main {
    padding-bottom: 30px;
}

/* footer */
.sns img {
    padding-left: 20px;
}

footer {
    color: white;
}

footer h3 {
    border-bottom: #fff solid 1.2px;
}

footer section:first-child {
    margin-right: 55px;
    width: 75%;
}

footer section:last-child {
    width: 128px;
}

footer ul {
    padding: 0;
}

footer li {
    padding-left: 20px;
    width: 160px;
}

footer li a {
    display: block;
    text-decoration: none;
    color: white;
}

footer li a:hover {
    color: #f0db94;
    transition: 0.3s;
}


/* #about */

#home .about,
#home .info,
#about .about,
#member .memberintro,
#recruit .recruit {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

#about main section {
    margin-bottom: 50px;
}

.info dl {
    text-align: left;
    display: inline-block;
    width: 350px;
    margin: 0 auto;
}

/* #member */
#member.detail .memberintro {
    text-align: left;
    max-width: 600px;
}

#member.detail figure {
    text-align: center;
}

#member.detail .works img {
    width: 80%;
}

#member.detail .sns img {
    padding: 5px 10px 5px 5px;
}

/* #recruit */
table {
    width: 100%;
    margin-bottom: 50px;
}

table,
tr,
td {
    border-collapse: collapse;
    font-size: 15px;
}

td {
    border-bottom: #666 1px solid;
    border-right: #666 1px solid;
    border-top: #666 1px solid;
}

th {
    border-bottom: #fff 1px solid;
    background-color: #aca27d;
    color: #fff;
    width: 120px;
}

td {
    padding: 10px 0px 10px 10px;
}

span {
    color: #906e00;
    /* color: rgb(227, 14, 14); */
}


/* モバイル */

@media screen and (max-width:535px) {
    h1 img {
        /* filter: brightness(15%); */
        width: 260px;
    }

    nav.pc {
        display: none;
    }
}

@media screen and (max-width:600px) {
    #info .pc {
        display: none;
    }
}

@media screen and (min-width:536px) {

    #info .mb {
        display: none;
    }

    .menu-wrapper.mb {
        display: none;
    }
}

@media screen and (max-width:780px) {
    #member.detail .works img {
        width: 100%;
    }
}