
:root {
    --text-color: #333;
    --bg-color: #C9C9CA; 
    --main-width: 960px;
    --dark-blue: #2c3e50;
}
* {
    box-sizing:border-box;
}
html{
    scroll-behavior: smooth; /* スクロールを滑らかにする */
}

@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&family=Zen+Old+Mincho:wght@400;500;600;700;900&display=swap');

body {
    margin: 0;    
    font-family: "Zen Old Mincho", serif;
    font-weight: 700;
    font-style: normal;  
    background-color: var(--bg-color); 
    color: var(--text-color);
    font-size: 1rem; /* 16px */
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom; 
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wrapper {
    width: 100%;
    margin: 0 auto;
    overflow: hidden; 
}

.navigation {
    display: flex;
    justify-content: center; 
    align-items: center;
    gap: 2%; 
    padding: 15px 10px;
}
.navigation a {
    width: 23%;
    flex-shrink: 0; 
}
.navigation a img {
    width: 100%; 
}
/* 共通 */
.section {
    padding: 10px;
}

.section-title {
    text-align: center;
    margin:20px auto;
    img{
        width: 130px;
    }
}


/* スマホのみ改行 */
.br-sp {
        display: block;
}
.br-pc {
    display: none;
}
@media (min-width: 769px) {
.br-sp {
        display: none;
}
.br-pc {
    display: block
}
}


/*メインビジュアル*/
.header {
    position:relative;
    width:100%;
    margin:0 auto;
}
@media (min-width: 769px) {
.header {
    position:relative;
    width:90%;
    margin:0 auto;
}
}
@media (min-width:1000px) {
.header {
    position:relative;
    width:960px;
    margin:0 auto;
}
}
.v00 {
    position:absolute;
    top:0;
    left:0;
    z-index:10;
    display:block;
    width:100%;
}

.fade-in {
	-webkit-animation: fade-in 3s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
	        animation: fade-in 3s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
@-webkit-keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.v01 {
    position:absolute;
    top:0;
    left:0;
    z-index:20;
     display:block;
     width:100%;
}
.puff-in-center {
	-webkit-animation: puff-in-center 0.7s cubic-bezier(0.470, 0.000, 0.745, 0.715) 1.8s both;
	        animation: puff-in-center 0.7s cubic-bezier(0.470, 0.000, 0.745, 0.715) 1.8s both;
}
@-webkit-keyframes puff-in-center {
  0% {
    -webkit-transform: scale(2);
            transform: scale(2);
    -webkit-filter: blur(4px);
            filter: blur(4px);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}
@keyframes puff-in-center {
  0% {
    -webkit-transform: scale(2);
            transform: scale(2);
    -webkit-filter: blur(4px);
            filter: blur(4px);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}


.v02 {
    position:absolute;
    top:0;
    left:0;
    z-index:10;
     display:block;
     width:100%;
}
.fade-in-right {
	-webkit-animation: fade-in-right 1.0s cubic-bezier(0.390, 0.575, 0.565, 1.000) 1.0s both;
	        animation: fade-in-right 1.0s cubic-bezier(0.390, 0.575, 0.565, 1.000) 1.0s both;
}

@-webkit-keyframes fade-in-right {
  0% {
    -webkit-transform: translateX(50px);
            transform: translateX(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fade-in-right {
  0% {
    -webkit-transform: translateX(50px);
            transform: translateX(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}

.v03 {
    position:absolute;
    top:0;
    left:0;
    z-index:1;
    display:block;
    width:100%;
}

.v04 {
    position:absolute;
    top:0;
    left:0;
    z-index:10;
     display:block;
     width:100%;
}
.fade-in-left {
	-webkit-animation: fade-in-left 1.0s cubic-bezier(0.390, 0.575, 0.565, 1.000) 1.5s both;
	        animation: fade-in-left 1.0s cubic-bezier(0.390, 0.575, 0.565, 1.000) 1.5s both;
}
@-webkit-keyframes fade-in-left {
  0% {
    -webkit-transform: translateX(-50px);
            transform: translateX(-50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fade-in-left {
  0% {
    -webkit-transform: translateX(-50px);
            transform: translateX(-50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}



.v05 {
    position:absolute;
    top:0;
    left:0;
    z-index:10;
     display:block;
     width:100%;
}


/*  INTRO */
#intro p {
    text-align: center;
    margin: 0 0 2em 0;
    font-size:0.85rem;
}
@media (min-width: 769px) {
#intro p {
    font-size:1.0rem;    
}
}
#intro p:last-child {
    margin-bottom: 0;
}
.GxHxAI{
    width:90%;
    margin: 0 auto 2em;
}


/*  STORY  */
#story p {
    text-align: center;
    margin: 0 0 2em 0;
    font-size:0.9rem;
}
@media (min-width: 769px) {
#story p {
    font-size:1.0rem;    
}
}
.section-story {
    margin: 35px auto;
    background-image: url('img/bg_STORY.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}
.story-content {
    text-align: center;
    margin-bottom: 40px;
}
.story-gallery {
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 20px;
}
.story-gallery img {
    width: 100%;
    max-width: 300px;
    object-fit: cover;
}
.story-title-space img{
    margin-top: -15px;
}


/*  CAST ・ STAFF  */
#cast-staff {
    gap: 60px;
}
.cast, .staff {
    width: 100%;
    hr{
        border: none; 
        border-top: 1px solid #000000; 
    }
}
.cast-member-main, .staff-member-main {
    display: flex;
    flex-direction: column; 
    align-items: center;
    text-align: center;
    gap: 15px;
    margin-bottom: 30px;
}
.cast-photo, .staff-photo {
    width: 280px;
}
.cast-info,.staff-info{
    text-align: center;
}
.cast-role, .staff-role {
    margin: 0 auto;
    font-size: 1.5rem;
    font-weight: 500;
}

.cast-name, .staff-name {
    font-size: 2.8rem;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    margin: 5px 0 15px;
}
.message-btn {
    display: inline-block;
    background-color: var(--dark-blue);
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    transition: opacity 0.3s;
}
.message-btn:hover {
    opacity: 0.8;
}
.cast-list {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.3rem;
    display: grid;
    grid-template-columns: repeat(3,130px); 
    gap:15px;
    justify-content: center;
    text-align: center;
    font-size:1.0rem;
}
@media (min-width: 769px) {
.cast-list {
    font-size:1.3rem;    
}
}

.staff-list {
    border-collapse: collapse; 
    font-size: 1rem; 
    margin: 0 auto;
    /* 背景 
    background-image: url('img/staff_bg.png');
    background-repeat: no-repeat;
    background-position: bottom 10% right 10%;
    background-size: 50%;*/
}

/* スマホ表示（1カラム） */
.staff-list th, .staff-list td {
    border-bottom: none; 
    padding: 0.4em 0; 
    vertical-align: top; 
    display: block;
    width: 100%;
}

.staff-list th {
    font-weight: 700;
    text-align: left;
    padding: 0.8em 1em;
    background-color: rgba(44, 62, 80, 0.1);
    border-left: 3px solid #000;
    margin-top: 1.0em;
    font-size: 0.9em;
}

.staff-list td {
    padding: 0.5em 1em 1em 1em;
    margin-bottom: 0;
    line-height: 1.5;
}

.staff-list tr:first-child th {
    margin-top: 0;
}
/*  TOPICS  */
.topics-content {
    text-align: center;
    margin-bottom:20px;
    img{
        width: 80%;
    }
}
.topics-heading {
    font-weight: bold;
}
.topics-date {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.2;
}
.topics-time {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 10px 0 30px;
}
.topics-rerun {
    font-size: 1.1rem;
}

.topick-list-button {
    width:250px;
    border-radius:5px;
    margin:0 auto;
}
.topick-list-button a {
    display:block;
    padding:5px 10px;
    text-align:center;
    background:#2c3e50;
}
.topick-list-button a:link,
.topick-list-button a:active,
.topick-list-button a:visited {
    color:white;
    text-decoration:none;
}
.topick-list-button a:hover {
    opacity: 0.7;
}




/* 協賛 */
.sponsors {
    margin: 0 auto 40px;
    padding:0 10px;
    width: 100%;
}
@media (min-width: 769px) {
.sponsors {
    max-width: 600px;
}
}



/*  FOOTER  */
.footer {
    padding: 30px 20px;
}

.copyright {
    text-align: center;
}
.copyright p {
    font-weight: bold;
    margin: 0 0 10px;
}
.copyright-logos {
    display: block;
    padding:15px 20px;
}
@media (min-width: 769px) {
.copyright-logos {
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding:30px 50px;
}
}
.copyright-logos div {
    width:100%;
    height:50px;
    margin:0 auto 20px auto;
    text-align:center;
}
@media (min-width: 769px) {
.copyright-logos div {
    width:calc((100% - 20px)/2);
    height:50px;
}
}
.copyright-logos div img {
    height:100%;
    width:auto;
    display:block;
    margin:0 auto;
}

/*  レスポンシブ (PC向け) */
/* 画面幅が769px以上の場合に適用 */
@media (min-width: 769px) {
    body {
        font-size: 16px;
        line-height: 1.8;
    }
    .wrapper {
        max-width: var(--main-width); 
    }
    .navigation {
        gap: 15px;
        padding: 20px 10px;
    }
    .navigation a {
        width: auto; 
    }
    .navigation a img {
        width: 180px; 
    }
    .section {
        /*padding: 40px;*/
    }
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 50px;
    }

    /* INTRO */
    .intro-catchphrase {
        font-size: 1.5rem;
    }

    /* STORY */
    .story-content {
        margin-bottom: 60px;
    }
    .story-gallery {
        width: 90%;
        margin:auto;
        flex-direction: row; 
        justify-content: space-between;
    }
    .story-gallery img {
        width: calc(33.333% - 14px);
        max-width: none;
    }
    .story-title-space{
        margin: -25px 50px 50px 50px;
    }

    /* CAST・STAFF */
    #cast-staff {
        flex-direction: row;
        gap: 50px;
    }
    .cast-member-main, .staff-member-main {
        flex-direction: row; 
        text-align: left;
        justify-content: center;
        gap: 20px;
        margin-bottom: 40px;
    }
    .staff-list th {
        width: 100px;
    }
    .staff-list {
        width: 650px;
    }
    .staff-list th, .staff-list td {
        display: table-cell;
    }
    .staff-list th {
        font-weight: 700;
        text-align: right;
        padding-right: 2em; 
        white-space: nowrap;
        width: 100px;
        border: none;
        background-color: transparent;
    }
    .staff-list td {
        border-left: 2px solid #000; 
        padding-left: 2em; 
        text-align: left;
        padding-top: 0.4em;
        padding-bottom: 0.4em;
        margin-bottom: 0;
    }
    .StaffList_end th, .StaffList_end td {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    /* TOPICS */
    .topics-date {
        font-size: 2.5rem;
    }
    .topics-time {
        font-size: 1.8rem;
    }
    .topics-content{
        img{
            width: 70%;
        }
    }

    /* FOOTER */
    .footer {
        max-width: var(--main-width); 
        margin: 0 auto;
        padding: 40px;
    }
    .copyright-logos {
        flex-direction: row; 
        gap: 30px;
    }
}

/* 区切り線 */
.divider-with-circles {
  width: 95%;
  margin: 3em auto;
  border: none;
  border-top: 1px solid #000;
  position: relative;
}
@media (min-width: 769px) {
    .divider-with-circles {
        width: 98%;
        max-width: var(--main-width); 
    }
}
.divider-with-circles::before,
.divider-with-circles::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background-color: #000;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.divider-with-circles::before {
  left: 0;
}
.divider-with-circles::after {
  right: 0;
}

/* トップへ戻るボタン */
#page-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--dark-blue);
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}
#page-top.show {
    opacity: 1;
    visibility: visible;
}
#page-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
}
#page-top:hover {
    background-color: #34495e;
    transform: translateY(-2px);
}
#page-top svg {
    width: 24px;
    height: 24px;
}
@media (max-width: 768px) {
    #page-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    #page-top svg {
        width: 20px;
        height: 20px;
    }
}

/* フェードイン用 */
/* 初期値*/
.js-fadeUp {
  opacity: 0; 
  transform: translateY(50px); 
  transition: opacity .8s, transform .8s; 
}
.js-fadeUp1 {
  opacity: 0; 
  transform: translateY(50px); 
  transition: opacity .8s, transform .8s; 
}
.js-fadeUp2 {
  opacity: 0; 
  transform: translateY(60px); 
  transition: opacity .8s, transform .8s; 
}
.js-fadeUp3 {
  opacity: 0; 
  transform: translateY(70px); 
  transition: opacity .8s, transform .8s; 
}
.js-fadeLeft {
  opacity: 0; 
  transform: translateX(-50px); 
  transition: opacity .8s, transform .8s; 
}
.js-fadeRight {
  opacity: 0; 
  transform: translateX(50px); 
  transition: opacity .8s, transform .8s; 
}
/* フェードイン(スクロールした後) */
.js-fadeUp.is-inview {
  opacity: 1; 
  transform: translateY(0); 
  transition-delay: .6s; 
}
.js-fadeUp1.is-inview {
  opacity: 1; 
  transform: translateY(0); 
  transition-delay: .3s; 
}
.js-fadeUp2.is-inview {
  opacity: 1; 
  transform: translateY(0); 
  transition-delay: .4s; 
}
.js-fadeUp3.is-inview {
  opacity: 1; 
  transform: translateY(0); 
  transition-delay: .5s; 
}
.js-fadeLeft.is-inview {/* 左から */
  opacity: 1; 
  transform: translateX(0); 
  transition-delay: .5s; 
}
.js-fadeRight.is-inview {/* 右から */
  opacity: 1; 
  transform: translateX(0); 
  transition-delay: .5s; 
}


/* Topics */
.archive-topics-wrapper {
    font-family: "Zen Kaku Gothic New", sans-serif;
    margin: 0 auto 50px auto;
    padding: 20px 40px 20px 40px;
    background-color: #ffffff; 
    border-radius: 3px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); 
}

@media (min-width: 769px) {
.archive-topics-wrapper {
    font-family: "Zen Kaku Gothic New", sans-serif;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px 40px;
    background-color: #ffffff; 
    border-radius: 3px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); 
}
}

.topics-container h1 {
    text-align: center;
    color: #333;
    font-size: 1.8em;
    margin-bottom: 40px;
    letter-spacing: 2px; 
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.topic-item {
    /*margin-bottom: 30px;
    padding-bottom: 30px;*/
}

.topic-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.topic-date {
    display: inline-block;
    font-size: 0.8em;
    margin-bottom: 5px;
}
@media (min-width: 769px) {
.topic-date {
    font-size: 0.9em;
}
}

.topic-title {
    margin: 0;
    font-size: 1.1em; 
}
@media (min-width: 769px) {
.topic-title {
    margin: 0;
    font-size: 1.4em; 
}
}


.topic-title a {
    color: #2c3e50; 
    transition: color 0.2s ease; 
}
.topic-title a:link,
.topic-title a:active,
.topic-title a:visited {
    text-decoration: none;
    color: #2c3e50; 
    transition: color 0.2s ease; 
    text-decoration: underline;
}


.topic-title a:hover {
    color: #555; 
}

.topic-body{
    border-bottom: 1px #000 dotted;
    margin-bottom: 30px;
}

.topic-body p {
    margin: 5px 0 25px 0;
    font-size: 0.8em;
    line-height: 1.7; 
    color: #555; 
}
@media (min-width: 769px) {
.topic-body p {
    margin: 5px 0 25px 0;
    font-size: 1em;
    line-height: 1.7; 
    color: #555; 
}
}

.topics_flex{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;

}
/* topics一覧ボタン */
.topics-archive {
    display: inline-block;
    background-color: #333; 
    color: #fff; 
    text-align: center;

    padding: 4px 12px;
    font-size: 0.9em;
    font-weight: bold;
    border-radius: 3px;
    margin-top:15px;
    margin-bottom: 15px;
}


.sponsors_list_wrap {
    background:#FFF;
    margin:0 auto;
    padding:30px 20px;
}
@media (min-width: 769px) {
.sponsors_list_wrap {
    padding:80px;
}
}

.sponsors_01 {
    width:300px;
    margin:0 auto 30px auto;
    display:block;
}
.sponsors_01 img {
    width:100%;
}
@media (min-width: 769px) {
.sponsors_01 {
    width:400px;
    margin:0 auto 30px auto;
}
}

.sponsors_03 {
    display:flex;
    justify-content: space-between;
    margin-bottom:30px;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}
@media (min-width: 769px) {
.sponsors_03 {
    display:flex;
    justify-content: space-between;
    margin-bottom:30px;
    align-items:center;
    gap:50px;
    flex-wrap:wrap;
}
}
.sponsors_03 div {
    width:calc((100% - 20px)/3)
}
@media (min-width: 769px) {
.sponsors_03 div {
    width:calc((100% - 100px)/3)
}
}
.sponsors_02 {
    margin:0 auto 30px auto;
    display:flex;
    margin-bottom:30px;
    align-items:center;
    gap:30px;
    flex-wrap:wrap;
    justify-content: space-between;
    padding:0;
}
.sponsors_02 div {
    width:calc((100% - 30px)/2);

}
@media (min-width: 769px) {
.sponsors_02 {
    gap:100px;
    padding:0 70px;
}
.sponsors_02 div {
    width:calc((100% - 100px)/2);

}
}

.sponsors_03last {
    display:flex;
    justify-content: space-between;
    align-items:center;
    gap:50px;
    flex-wrap:wrap;
}
.sponsors_03last div {
    width:calc((100% - 100px)/3)
}

.logo-img {
    display:block;
    width:200px;
    margin:10px auto 20px auto;
}
@media (min-width: 600px) {
.logo-img {
    display:block;
    width:400px;
}
}
@media (min-width: 769px) {
.logo-img {
    display:block;
    width:500px;
    margin:10px auto 30px auto;
}
}
.gnavi_flex {
    display:none;
}
@media (min-width: 600px) {
.gnavi_flex {
    width:90%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin:20px auto 0 auto;
}
}
@media (min-width: 1000px) {
.gnavi_flex {
    width:960px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin:20px auto 0 auto;
}
}
.gnavi_links {
    width:calc((100% - 80px)/5);
}

.gnavi_wrap {
    display:none;
}
@media (min-width: 769px) {
.gnavi_wrap {
    display:block;
}
}

/**/
header {
    width: 100%;
    background:#FFF;
    position:fixed;
    z-index:10000;
    top:0;
    left:0;
}
@media (min-width: 769px) {
  header {
    width: 100%;
    background:#FFF;
    position:relative;

}
  }

.js-header {
  width:100%;
  margin:0 auto;
  display:block;
}


.nav-header-wrap {
  position:absolute;
  top:-100%;
  width:100%;
  margin:1.0rem auto;
  background:#e4dfdf;
  padding:1.5rem;
}


@media (min-width: 769px) {
  .nav-header-wrap {
    position:relative;
    right:initial;
    width:100%;
    margin:0 auto;
    padding:2.0rem;
    display:none;
  }
  }

.nav-header-inner {
  width:95%;
  margin:0 auto;
}
@media (min-width: 950px) {
  .nav-header-inner {
    width:950px;
  }
  }



header a{
  color: #000000;
}

.hamburger {
  padding-top:10px;
  padding-bottom:10px;
  margin: 0 auto 0 auto;
  width: 95%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #FFFFFF!important;
}
@media (min-width: 769px) {
  .hamburger {
    width:750px;
  }
  }
@media (min-width: 1200px) {
  .hamburger {
    width:950px;
  }
  }
/*
@media (min-width: 769px) {
  .js-header {
    width:950px;
  }
  }
*/
.logo {
  width:200px;
}

.logo img {
  width: 100%;
  margin: 1em 0.5em;
}

@media screen and (min-width: 769px) {

.logo {
  width:300px;
  margin:0 auto;
}
  
.logo img {
  width: 100%;
  margin: 1em 0.5em;
  /*max-width: 100px;*/
}
}


.hamburger .btn-gNav {
  position: fixed;
  right: 20px;
  width: 30px;
  height: 24px;
  z-index: 12;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-transition: all 400ms;
  transition: all 400ms;
}

.hamburger .btn-gNav span {
  position: absolute;
  width: 100%;
  height: 4px;
  background: #ffffff;
  border-radius: 10px;
  -webkit-transition: all 400ms;
  transition: all 400ms;
}

.hamburger .btn-gNav span:nth-child(1) {
  top: 0;
}

.hamburger .btn-gNav span:nth-child(2) {
  top: 10px;
}

.hamburger .btn-gNav span:nth-child(3) {
  top: 20px;
}

.hamburger .btn-gNav.open span:nth-child(1) {
  background: #ffffff;
  top: 6px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.hamburger .btn-gNav.open span:nth-child(2),
.hamburger .btn-gNav.open span:nth-child(3) {
  top: 6px;
  background: #ffffff;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}


.btn-gNav.open span:nth-child(1) {
  transform: rotate(45deg);
  width: 30%;
}

.btn-gNav.open span:nth-child(2) {
  opacity: 0;/*真ん中の線は透過*/
}

.btn-gNav.open span:nth-child(3) {
  transform: rotate(45deg);
  width: 30%;
}



.btn-gNav {
  display: none;
}

.gNav .gNav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gNav .gNav-menu li a {
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 30px;
  text-decoration:none;
  color:#2c3e50;
  font-weight:bold;
}
@media screen and (min-width: 769px) {
.gNav .gNav-menu li a {
  font-size:1.2rem;
}
}
@media screen and (min-width: 950px) {
  .gNav .gNav-menu li a {
    font-size:1.5rem;
  }
  }

.gNav .gNav-menu li a span {
  font-size:1.5rem;
}

nav ul li a:hover{
  text-decoration: underline;
}
/*
.gNav .gNav-menu li:not(:last-child){
border-right:1px solid #2c3e50;
}*/

@media screen and (max-width: 768px) {
  .btn-gNav {
      display: block;
  }

  .gNav {
      position: fixed;
      top: 0;
      right: -100%;
      width: 100%;
      background-color:rgba(255,255,255,0.9);
      font-size: 1em;
      box-sizing: border-box;
      z-index: 1;
      padding-top: 50px;
      transition: .3s;
  }
  
  .gNav .gNav-menu a{
      color: #000000;
  }

  .gNav.open {
      right: 0;
  }

  .gNav .gNav-menu {
      padding: 0;
      width: 100%;
      height: 100%;
      display: block;
      flex-direction: column;
      text-align: center;
      color: #FFFFFF!important;
  }

  .gNav .gNav-menu li {
      width: 86%;
      padding: 15px;
      border-bottom: #2c3e50 1px solid;
  }
  .gNav .gNav-menu li:last-of-type {
      border-bottom: none;
  }
  
  .gNav .gNav-menu li:not(:last-child){
      border-right:none;
}

}




/*トグルボタン*/


.MenuBtn.Style01 {
  position: relative;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index:999;
}



.MenuBtn.Style01 .MenuBtn-BarFrame {
  position: relative;
  display: block;
  width: 24px;
  height: 2px;
}

.MenuBtn.Style01 .MenuBtn-BarFrame-FirstBar {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  background-color: #2c3e50;
  transition: all .15s linear;


}

.MenuBtn.Style01 .MenuBtn-BarFrame-SecondBar {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  background-color: #2c3e50;
  transition: all .15s linear;

  transform: translateY(-8px) rotate(0deg);
}

.MenuBtn.Style01 .MenuBtn-BarFrame-ThirdBar {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  background-color: #2c3e50;
  transition: all .15s linear;

  transform: translateY(8px) rotate(0deg);
}

.MenuBtn.Style01.isClosed .MenuBtn-BarFrame-FirstBar {
  opacity: 0;
}

.MenuBtn.Style01.isClosed .MenuBtn-BarFrame-SecondBar {
  transform: translateY(0) rotate(45deg);
}

.MenuBtn.Style01.isClosed .MenuBtn-BarFrame-ThirdBar {
  transform: translateY(0) rotate(-45deg);
}

@media screen and (min-width: 769px) {
  .MenuBtn {
    display:none!important;
  }
}


/**************** ここまで、ハンバーガーボタンのスタイリング ****************/

button{
        background-color: transparent;
        border: none;
        cursor: pointer;
        outline: none;
        padding: 0;
        appearance: none;
}

/*ページネーション*/
/*ページネーション*/
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .pagination a,
  .pagination span {
    display: inline-block;
    padding: 5px 10px; /* パディングを調整 */
    margin: 0 5px; /* マージンを調整 */
    border: 1px solid #ddd; /* 枠線を調整 */
    border-radius: 4px; /* 角丸にする */
    text-decoration: none;
    color: #333;
    background-color: #fff; /* 背景色を追加 */
    transition: background-color 0.3s ease; /* ホバー時のアニメーションを追加 */
  }
  @media screen and (min-width: 769px) {
    .pagination a,
    .pagination span {
      display: inline-block;
      padding: 8px 16px; /* パディングを調整 */
      margin: 0 8px; /* マージンを調整 */
      border: 1px solid #ddd; /* 枠線を調整 */
      border-radius: 4px; /* 角丸にする */
      text-decoration: none;
      color: #333;
      background-color: #fff; /* 背景色を追加 */
      transition: background-color 0.3s ease; /* ホバー時のアニメーションを追加 */
    }
  }
  
  .pagination a:hover {
    background-color: #f0f0f0; /* ホバー時の背景色を調整 */
  }
  
  .pagination .current {
    background-color: #2c3e50;
    color: #fff;
    border-color: #2c3e50;
  }
  
  .pagination .prev,
  .pagination .next {
    font-weight: bold;
  }


  .close-button {
  width: 20px;       /* サイズ */
  height: 20px;      /* サイズ */
  border: none;       /* ボーダーを削除 */
  background: none;   /* 背景を削除 */
  cursor: pointer;     /* カーソルを指マークに */
  padding: 0;          /* 余白を削除 */
  display:block;
  z-index:100;
}

.close-button::before,
.close-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;        /* 線の太さ */
  height: 100%;      /* 線の長さ */
  background-color: #333; /* 線の色 */
}

.close-button::before {
  transform: translate(-50%, -50%) rotate(45deg); /* 45度回転 */
}

.close-button::after {
  transform: translate(-50%, -50%) rotate(-45deg); /* -45度回転 */
}

.close-button:hover::before,
.close-button:hover::after {
  background-color: #000; /* ホバー時の線の色 */
}