@charset "UTF-8";
/* CSS 共通 */
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@700&display=swap');
/*リセット*/

h1,h2,h3,h4,h5,h6,dd,p,figure{
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
line-height: 1.5em;
font-weight: normal;
font-style: normal;
text-decoration: none;
}

.pc-only {display: none;}

/*共通*/
html {
margin:0;
padding:0;
scroll-padding-top: 20vw;
scroll-behavior: smooth;
}

body {
color:#222;
font-family: "Zen Kaku Gothic New", sans-serif;
font-weight: 400;
font-style: normal;
font-size:1em;
margin:0;
padding:0;
}

a {
color: #751b13;
text-decoration: underline;
}

a:hover {
text-decoration: none;
}

h1 { visibility: hidden; }

footer nav,
.pc-only,
#footer_box { display: none;}

header .logo img {
width: 47vw;
height:auto;
margin-left: 4vw;
}
/*ハンバーガーメニュー*/
.header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: #fff;
  z-index: 500;
}

.header_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

.drawer_btn {
  position: relative;
  width: 12.5vw;
  height: 12.5vw;
  background-color: #222;
  border: none;
  cursor: pointer;
  z-index: 999;
}

.drawer_btn > span {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2rem;
  height: 2px;
  background-color: #fff;
  transform: translateX(-50%);
}

.drawer_btn > span:nth-of-type(1) {
  transform: translate(-50%, calc(-50% - 0.5rem));
}

.drawer_btn > span:nth-of-type(2) {
  transform: translate(-50%, -50%);
}

.drawer_btn > span:nth-of-type(3) {
  transform: translate(-50%, calc(-50% + 0.5rem));
}

.drawer_btn.js-active > span:nth-of-type(1) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.drawer_btn.js-active > span:nth-of-type(2) {
  opacity: 0;
}

.drawer_btn.js-active > span:nth-of-type(3) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.drawer_nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  overflow: scroll;
  -webkit-overflow-scrolling: touch;
}

.drawer_nav.js-active {
  opacity: 1;
  visibility: visible;
}

.drawer_nav_inner {
  width: 80%;
  height: 100%;
  background-color: white;
  padding: 4rem 1.5rem 150px;
  margin-left: auto;
  overflow: scroll;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  -webkit-overflow-scrolling: touch;
}

.drawer_nav.js-active .drawer_nav_inner {
  transform: translateX(0);
}

.drawer_nav_list,
.drawer_nav_panel {
  list-style: none;
  padding: 0;
  overflow: scroll;
  -webkit-overflow-scrolling: touch;
}

.drawer_nav_link,
.drawer_nav_sub-link {
  display: block;
  color: black;
  text-decoration: none;
  padding: 1rem;
  border-bottom: solid 1px lightgray;
  position: relative;
}

.drawer_nav_sub-item {
  overflow: scroll;
}

.drawer_nav_sub-item a {
  padding-left: 2em;
}
.drawer_nav_sub-item a::before {
  content:"└ ";
}

.accordion-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  background: transparent;
  border: none;
  width: 2rem;
  height: 2rem;
  transform: translateY(-50%);
  cursor: pointer;
}

.accordion-toggle::before {
  content: "▼";
  display: block;
  text-align: center;
  color: #751b13;
}

.drawer_nav_link.active + .accordion-toggle::before {
  content: "▼";
}

.drawer_nav_panel {
  display: none;
}

#copy {
color: #777;
text-align: center;
padding: 15px 0;
}

/*中ページ　左右カラム
---------------------------------------------*/
#naka {
width: 100%;
margin: 0 0 20px;
}

/*右カラム　中ページ別　コンテンツ*/
#naka-right {
width: 100%;
}


/*左カラム　中ページ共通　組合員一覧*/
#naka-left {
width: calc(100% - 30px);
padding: 15px;
background-color: #efedbf;
overflow: hidden;
}

#naka-left h2 {
text-align: center;
margin-bottom: 15px;
font-weight: bold;
}

#naka-left ul {
margin: 0;
padding: 0;
}

#naka-left li {
float: left;
width: calc(100% / 4);
margin: 0 0 10px;
list-style-type: none;
}
#naka-left li img {
width: 92%;
margin: 0 4%;
}

#naka-left li a img {
border: 1px solid #222;
}
