* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}
body {
    font-family: "Balthazar", serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

a {
    text-decoration: none;
    color: #333;
}

.container {
    height: 100vh;
    display: flex;
    align-items: center;
	background-image:url(../images/home/slide_03.jpg);
	background-size:cover;
}

.slide {
    position: absolute!important;
    width: 100%;
    height: 100vh;
}
.slide div {
    background-size: cover;
    width: 100%;

    height: 100%;
}
.slide div:nth-child(1){
    background-image: url(../images/home/slide01.jpg);
}
.slide div:nth-child(2){
    background-image: url(../images/home/slide02.jpg);
}
.slide div:nth-child(3){
    background-image: url(../images/home/slide03.jpg);
}
.slide div:nth-child(4){
    background-image: url(../images/home/slide04.jpg);
}
.slide div:nth-child(5){
    background-image: url(../images/home/slide05.jpg);
}

.header {
    width:fit-content;
    background-color: #F8F3F6;
    padding: 80px 5% 30px 12%;
    position: relative;
    z-index: 5;
	box-shadow:-5px 0px 5px #DEDEDE;
}
.header__title {
    color: #565556;
    font-size:clamp( 1rem, calc( 0.6rem + 1.6666666666666667vw ), 1.8rem );
    font-weight: 700;
    letter-spacing: 0.5rem;
    margin-bottom: 10px;
    white-space:nowrap;
    position: relative;
    z-index: 10;
}
.header__nav {
        margin: 0 50px;
    }
.header__nav--list {
    list-style: none;

}
.header__nav--list-item a {
    color: #a09fa0;
    font-weight: 700;
    display: block;
    margin: 15px 0;
    font-size: 1rem;
    letter-spacing: 0.2rem;
}


main {
    width: 100%;
    height: 100vh;
	background-color:rgba(255,255,255,0.86);
    overflow-y: scroll;
    padding: 3%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
	position:relative;

}
.langchange {
    font-size: 0.9rem;
    list-style: none;
     display: flex;
     gap:50px;
}
.langchange__item label{
    padding: 4px 12px;
    color:#565556;
    cursor: pointer;
    transition: background-color 0.3s;
}
.langchange__item label:hover{
    background-color: rgb(228, 215, 197);
}
#langbtn,#langbtn2{
    display: none;
}
.jap,.eng{
    display: none;
    opacity: 0;
    transition: opacity 0.5s, display 0.5s;
    transition-behavior: allow-discrete;
}
#langbtn:checked ~ .jap {
    display: block;
    opacity: 1;
    @starting-style {
        opacity: 0;
    }
}
#langbtn2:checked ~  .eng {
    display: block;
    opacity: 1;
    @starting-style {
        opacity: 0;
    }
}
.subheader {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
	flex-wrap:wrap;
}
/*bio*/
.nametitle {
    font-size: 1.6rem;
    letter-spacing: 0.4rem;
    margin: 1rem 0;
}
table {
    font-size: 0.8rem;
    color: #565556;
    text-align: left;
    margin-bottom: 3rem;
}
thead th {
    font-size: 1rem;
}
tbody th,tbody td{
    vertical-align: top;
    padding: 4px;
}

/*infomation*/
.new-icon {
    background-color: #db7093;
    color: #fff;
    font-size: 0.8em;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 8px;
    vertical-align: middle;
    font-weight: bold;
}
.new-post-list {
	list-style:none;
}
.new-post-list li {
	margin:1rem 0;
}
.new-post-list {
	width:80%;
}
.post-date {
	width:30%;
	color:#5a0440;
	display:inline-block;
}
/*art*/
.n2-ss-text {
	font-family:serif!important;
	font-size:1rem!important;
	margin-bottom:20px;
}
.n2-ss-text p {
	font-family:serif!important;
	font-size:0.8rem!important;
	margin-top:20px!important;
}
/* TABコンテナ */
.tabs {
  width: 100%;
  margin:0;
  display: flex;
  flex-wrap: wrap;


}

/* ラジオボタンは隠す */
input[name="tab-item"] {
  display: none;
}

/* タブのスタイル */
.tab-item {
  width: calc(100% / 6); /* 6等分 */

/* overflow-x:auto; */
  height: 50px;
  border-bottom: 3px solid #eee;
/*   background-color: #f9f9f9; */
  line-height: 50px;
  text-align: center;
  color: #999;

/*   float: left; */
  text-align: center;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* ホバー時の挙動 */
.tab-item:hover {
  opacity: 0.75;
}

/* コンテンツの初期状態（非表示・透明） */
.tab-content {
  display: none;
  width: 100%;
  padding: 40px 20px;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(10px); /* 少し下に配置 */
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* 選択されたタブのスタイル */
input:checked + .tab-item {
  color: #d3a243;
  border-bottom: 3px solid #d3a243;
  background-color: #fff;
}

/* 選択されたコンテンツの表示 */
#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4,
#tab5:checked ~ #content5,
#tab6:checked ~ #content6 {
  display: block;
  opacity: 1;
  transform: translateY(0); /* 元の位置に浮かび上がる */
}



.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    padding: 5px;
    z-index: 200;
	font-size:clamp( 0.5rem, calc( 0.35rem + 0.6250000000000001vw ), 0.8rem );
}
/*form*/
.wpcf7-form input,.wpcf7-form textarea{
	padding:5px 20px;
	margin-bottom:20px;
	border-radius:5px;
	border:1px solid #aaa;
	width:100%;
}
.wpcf7-submit {
	background-color:#f5deb3;
	color:#5a544b;
	font-size:1rem;
	font-family:serif;
	transition:all 0.3s;
}
.wpcf7-submit:hover {
	background-color:#478384;
	color:white;
}
.wpcf7-form dt,.wpcf7-form-control-wrap {
	font-size:clamp( 0.8rem, calc( 0.7000000000000001rem + 0.4166666666666666vw ), 1rem );
}
#op {
    display: none;
}

@media (width < 1024px){
    .container {
        align-items: flex-start;
        flex-direction: column;
    }
    .header {
        padding:0;
        width: 100%;
		position:fixed;
		top:0;
		left:0;
    }
    .header__title {

        background-color: #F8F3F6;
        width:100%;
        padding: 10px 8px;
    }
    main {
        padding-top: 70px;
    }
	/*art*/
	.tab-item {
  		width: calc(100% / 3); /* 3等分 */
	}
	/*drawer menu*/
    .icon {
        position: fixed;
        right: 20px;
        top:20px;
        z-index: 12;
        cursor: pointer;
    }
    .icon span{
        display: block;
        width: 40px;
        height: 2px;
        background-color: #565556;
        transition: rotate 0.3s;
    }
    .icon span:nth-of-type(2){
        margin-top: 10px;
    }
    .header__nav {
        margin-top: -100%;
        transition: margin-top 0.7s;
    }
    #op:checked ~ .header__nav{
        margin-top:30px;
    }
    #op:checked ~ .icon span:nth-of-type(1){
        rotate: 20deg;
        translate: 0 6px;
    }
    #op:checked ~ .icon span:nth-of-type(2){
        rotate: -20deg;
         translate: 0 -6px;
    }
}