@charset "UTF-8";

body{
    background-color: var(--beige);
    font-family: "Zen Kaku Gothic New";
}

.tab-button.active {
    background: var(--emeraldgreen);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation-name: displayAnime;
    animation-duration: 2s;
    animation-fill-mode: forwards;    
}
@keyframes displayAnime{
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
.tab-button{
    cursor: pointer;
    width:calc(100% / 6);
    height:50px;
    background-color: #e6e6e6;
    border:none;
    font-size: 14px; 
    color:var(--black);   
    border-top: 2px solid var(--navy);
    border-bottom: 2px solid var(--navy);
    border-right: 2px solid var(--navy);
    font-family: 'Zen Kaku Gothic New';
}
.tab-button:first-child{
    border-left:2px solid var(--navy);
}
.tabwrap{
    display:flex;
}
.kamoku_ichiran_tab{
    width: auto;
    height: 54px;
}
.small-tab {
    width:50%;
    height:40px;
    color: #3e3a39;
    border-bottom: 2px dashed var(--skyblue);
    border-top: 2px dashed var(--skyblue);
    display: flex;  
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 10px;
    background-color: var(--white);
}
h1::after {
    left: 10%;
    width: 80%;
}    
.kamoku_content{
    width:90%;
    margin: 0 auto;
    padding: 15px;
    margin-top: 5px;
    border: 1px solid var(--emeraldgreen);
    text-align: justify;
    text-align-last: left;
    background-color: var(--white);
    font-size: 14px;
}

.index {
  width: 40%; 
  height: 40px; 
  border: 1px solid var(--skyblue);
  display: flex; 
  align-items: center;
  justify-content: center;
  background-color: var(--white); 
  cursor: pointer;
  list-style: none; 
  position: relative;
  transition: opacity 0.2s ease;
  color: #3e3a39;
  margin-top: 20px;
  text-decoration: none;
}
.index:active{
    transform: translateY(2px) scale(0.98);
}

.index  span {
    display: inline-block;
    position: absolute;
    vertical-align: middle;
    line-height: 1;
    width: 0.4em;
    height: 0.4em;
    border: 0.1em solid;
    border-left: 0;
    border-bottom: 0;
    box-sizing: border-box;
    transform: translateY(-50%) rotate(135deg);
    right: 10%;
    top: 47%;
    transition: 0.2s;
}
.index:hover{
    background: #f3f3dc;
}
.index2 {
  width: 40%; 
  height: 40px; 
  border: 1px solid var(--skyblue);
  display: flex; 
  align-items: center;
  justify-content: center;
  background-color: var(--white); 
  cursor: pointer;
  list-style: none; 
  position: relative;
  transition: opacity 0.2s ease;
  color: #3e3a39;
  margin-top: 10px;
  text-decoration: none;
}
.index2:active{
    transform: translateY(2px) scale(0.98);
}
.index2:hover {
    background: #f3f3dc;
}

.index2 span {
    display: inline-block;
    position: absolute;
    vertical-align: middle;
    line-height: 1;
    width: 0.4em;
    height: 0.4em;
    border: 0.1em solid;
    border-left: 0;
    border-bottom: 0;
    box-sizing: border-box;
    transform: translateY(-50%) rotate(135deg);
    right: 10%;
    top: 47%;
    transition: 0.2s;
}

.kamoku_ichiran{
    display:flex;
    flex-wrap: wrap;
    gap:10px;
    justify-content: center;
    width: 100%;
}
.index:nth-child(3){
    margin-top: 10px;
}
.index:last-child{
    margin-top: 10px;
}
.index2:last-child{
    margin-top: 10px;
}
.kamoku_ichiran2{
    display:flex;
    flex-wrap: wrap;
    gap:10px;
    justify-content: center;
    width: 100%;
}
.index2:first-child{
    margin-top: 20px;
}
.index2:nth-child(2){
    margin-top: 20px;
}
.none{
    height:0px;
}