/*
Theme Name: kao
Theme URI: 
Author: kao
Description: kaoのホームページ用のテーマです。
Version: 1.0
*/

@charset "UTF-8";
/* CSS Document */

/*共通部分*/

.tab-list {
  display: none;
}
.tab-list.show {
  display: block;
}

.hidden-post {
  display: none;
}

html{
	font-size: 100%;
}
body{
	font-family: "YakuHanJP_Narrow", "Zen Kaku Gothic New", sans-serif;
	line-height: 1.5;
	letter-spacing: 0.05em;
	color: #201F1C;
	
	border: 5px solid #FCFAF7;
}
a{
	text-decoration: none;
	color: #201F1C;
}
img{
	max-width: 100%
}

.sp-only{
	display: none;
}

.wrapper{
	margin: 0 auto;
	padding: 0 4%;
}


.btn{
	margin: 0 auto;
	background: #D9D0C2;
	width: 300px;
	height: 50px;
	position: relative;
}

.btn a{
	position: absolute;
	top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;         /* 中央に寄せるため */
    align-items: center;   /* 縦中央揃え */
    justify-content: center; /* 横中央揃え */
    text-decoration: none;
	transition-duration: 0.5s;
}

.btn:hover{
	background: #CCC0AD;
}





/*ヘッダー*/
.f{
	position: fixed;
	z-index: 999;
}

.page-header{
	width: 100vw;
	padding-top:25px!important;
	padding-bottom: 20px;
    display: flex;
	justify-content: space-between;
	align-items: center;
	background: rgba(255,255,255,0.85);
}





.main-nav{
	align-items: center;
	display: flex;
	justify-content: space-between;
	font-size: 1rem;
	/*margin-top: 34px;*/
	list-style: none;
	gap:50px;
}

nav{	
	display: flex;
	align-items: center;
}

.main-nav li a{
	transition-duration: 0.5s;
	padding: 10px 10px;
	
}

.main-nav li a:hover{
	opacity: 0.5;
	
}





.home-content{
	text-align: center;
	margin-top:2%;
	margin-bottom:2%;
}

.page-title img{
	margin: 0 auto;
	width: 500px;
	height: auto;
}

#home{
	margin-top:80px;
	background: #FFF;
	border-top: none;
	border-bottom: 1px solid #D9D0C2;
}

.box{
	background: #FCFAF7;
	margin-top: 0;
}

.box .sub-nav{
	margin: 0 auto;
	padding-top: 40px;
	width: 660px;
	align-items: center;
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	font-size: 1rem;
	/*margin-top: 34px;*/
	list-style: none;
}

.box .sub-nav li{
	transition-duration: 0.5s;
	position: relative;
	border-left: 1px solid #D9D0C2;
	height: 50px;
	width: 220px;
}

.box .sub-nav li:last-child{
	border-right: 1px solid #D9D0C2;
}

.box .sub-nav li :hover{
	background: #D9D0C2;
}


.tab-title {
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}


.tab-title.selected {
  background-color: #D9D0C2;
}


.box .sub-nav li span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;         /* 中央に寄せるため */
  align-items: center;   /* 縦中央揃え */
  justify-content: center; /* 横中央揃え */
  text-decoration: none;
}

.box .more-btn{
	padding-bottom: 100px;
}




.grid{
	display: grid;
	gap:26px;
	grid-template-columns: 1fr 1fr 1fr;
	padding-top: 40px;
	padding-bottom: 50px;
}


.grid .item{
	position: relative; 
    overflow: hidden; 
    transition: opacity 0.5s ease;
}

.grid .item:hover{
	opacity: 0.5; /* ← 半透明にする値（0 = 完全透明, 1 = 不透明） */
	
}

.grid .item-img{
	aspect-ratio: 1 / 1;
}

.grid .item-img img{
	background-color: #f8f8f8; /* 画像がないときも形を保つため */
	width: 100%;
	height: 100%;
    object-fit: cover;
    display: block;
    border: 1px solid #D9D0C2;
	
}

.work-title{
	margin-top: 10px;
	font-size: 1.1rem;
	line-height: 1.2;
	
}


.work-category{
	color: #C0B29D;
	font-weight: bold;
	margin-top: 10px;
	display: inline-block;
	font-size: 0.825rem;
	line-height: 1;       /* ← 行の高さを詰める */
	vertical-align: top; /* ← これを追加！ */
}


.about{
	background: #FFF;
	border: 1px solid #D9D0C2;
}

.about-content{
	text-align: center;
	margin: 0 auto;
	padding-top: 80px;
	padding-bottom: 80px;
}

.about-content h3{
	margin-bottom: 30px;
}
.about-content p{
	margin-bottom: 20px;
	line-height: 2;
}
.about-content p:last-of-type{
	margin-bottom: 30px!important;
}

.about-content p a{
	text-decoration: underline;
	color: #57AEE0
}
.about-content img{
	width: 500px;
	height: auto;
}






footer{
	background: #D9D0C2;
}

footer.page-footer{
	padding-top: 60px;
	padding-bottom: 60px;
}

footer.page-footer{
	text-align: center;
}

footer.page-footer .n{
	font-size:2rem;
	font-weight: bold;
}

footer.page-footer .copy{
	font-size: 0.75rem;
}



#curtains span.top {
    height: 10px;
    left: 0;
    top: 0;
    width: 100%;
}

#curtains span.left {
    height: 100%;
    left: 0;
    top: 0;
	width: 10px;
}
#curtains span.right {
    height: 100%;
    right: 0;
    top: 0;
    width: 10px;
}
#curtains span.bottom {
    height: 10px;
    left: 0;
    bottom: 0;
    width: 100%;
}
#curtains span {
    background: #D9D0C2;
    position: fixed;
    z-index: 99999;
}


/*記事ページ*/

.works-content{
	border-top: 1px solid #D9D0C2;
	margin-top:100px;
	text-align: center;
}

.works-content .works-box{
	margin:0 auto;
	width: 700px;
}

.works-content .works-box h1{
	margin-top: 30px;
	font-size: 1.625rem;
}

.works-content .works-box p{
	margin:10px auto 30px;
}
.btn-margin{
	margin-bottom: 50px;
}











@media screen and (max-width: 768px) {
	
	.pc-only{
	display: none;
}
	.sp-only{
	display:contents;
}
	
	.wrapper{
	margin: 0 auto;
	padding: 0 10%;
}
	
	
	/*バーガー*/
.burger{
	width: 40px;
	height: 40px;
	background-image: url("img/burger.svg?1");
	background-size: 24px;
	background-position: center;
	background-repeat: no-repeat;
	margin-left: 50px;
	cursor: pointer;
	position: relative;
	z-index: 2;
	transition-duration: 0.5s;
}



.burger.is-active{
	background-image: url("img/burger_close.svg?1");
}

/*バーガーメニュー*/
.menu{
	position: fixed;
	top:0;
	left: 0;
	z-index: 1;
	width: 100vw;
	height: 100vh;
	background-color: #FFF;
	display: flex;
	align-items: center;
	justify-content: center;
	display: none;
}
	



.menu.is-active{
	display: block;	
}
	
	.menu.is-active .menu-box{
		position: absolute;
		position: absolute;
		top:50%;
		left: 50%;
		transform: translate(-50%,-50%);
	}
	
.menu.is-active li{
	list-style: none;
	text-align: center;
	padding: 20px;
		
}


	
.menu.is-active img{
	width: 10px;
	
}


	
	
	
	
.btn{
	margin: 0 auto;
	background: #D9D0C2;
	width: 100%;
	height: 30px;
	position: relative;
}

/*ヘッダー*/

.page-header{
	width: 100vw;
	padding-top:15px!important;
	padding-bottom: 10px;
    display: flex;
	justify-content: space-between;
	align-items: center;
	background: rgba(255,255,255,0.85);
}

	.page-header img{
		width: 70%;
		height: auto;
	}


.home-content{
	text-align: center;
	margin-top:2%;
	margin-bottom:2%;
}

.page-title img{
	margin: 0 auto;
	width: 100%;
	height: auto;
}

#home{
	margin-top:50px;
	background: #FFF;
	border-top: none;
	border-bottom: 1px solid #D9D0C2;
}

.box{
	background: #FCFAF7;
	margin-top: 0;
}

.box .sub-nav{
	margin: 0 auto;
	padding-top: 40px;
	width: 100%;
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	font-size: 1rem;
	list-style: none; 
	gap:10px;
}

.box .sub-nav li{
	transition-duration: 0.5s;
	position: relative;
	border-left: none;
	border-bottom: 1px solid #D9D0C2;
	height: 30px;
	width: 220px;
	flex: 1 1 calc(50% - 10px); /* スマホで2列になるように */
}

.box .sub-nav li:last-child{
		border-right: none;
	border-bottom: 1px solid #D9D0C2;
}

.box .sub-nav li :hover{
	background: #D9D0C2;
}


.tab-title {
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}


.tab-title.selected {
  background-color: #D9D0C2;
}


.box .sub-nav li span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;         /* 中央に寄せるため */
  align-items: center;   /* 縦中央揃え */
  justify-content: center; /* 横中央揃え */
  text-decoration: none;
}

.box .more-btn{
	padding-bottom: 100px;
}		


.grid{
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr;
  padding-top: 40px;
  padding-bottom: 50px;

}

.grid .item{
  position: relative;
  overflow: hidden;
  transition: opacity 0.5s ease;
}

.grid .item-img{
	aspect-ratio: 1 / 1;
}

.grid .item:hover{
	opacity: 0.5; /* ← 半透明にする値（0 = 完全透明, 1 = 不透明） */
	
}

.grid .item-img img{
	background-color: #f8f8f8; /* 画像がないときも形を保つため */
	width: 100%;
	height: 100%;
    object-fit: cover;
    display: block;
    border: 1px solid #D9D0C2;
	
}

.work-title{
	margin-top: 10px;
	font-size: 0.875rem;
	line-height: 1.2;
	
}

.work-category{
	color: #C0B29D;
	font-weight: bold;
	margin-top: 10px;
	display: inline-block;
	/*border: 1px solid #D9D0C2;
	padding: 2px 2px;*/
	font-size: 0.75rem;
	line-height: 1;       /* ← 行の高さを詰める */
	vertical-align: top; /* ← これを追加！ */
}


.about{
	background: #FFF;
	border: 1px solid #D9D0C2;
}

.about-content{
	text-align: justify;
	margin: 0 auto;
	padding-top: 80px;
	padding-bottom: 80px;
}

.about-content h3{
	margin-bottom: 30px;
}
.about-content p{
	font-size: 0.75rem;
	line-height: 2em;
	margin-bottom: 20px;
}
.about-content p:last-of-type{
	margin-bottom: 30px!important;
}

.about-content p a{
	text-decoration: underline;
	color: #57AEE0
}
.about-content img{
	width: 100%;
	height: auto;
}






footer{
	background: #D9D0C2;
}

footer.page-footer{
	padding-top: 30px;
	padding-bottom: 30px;
}

footer.page-footer{
	text-align: center;
}



footer.page-footer .copy{
	font-size: 0.625rem;
}



#curtains span.top {
    height: 5px;
    left: 0;
    top: 0;
    width: 100%;
}

#curtains span.left {
    height: 100%;
    left: 0;
    top: 0;
	width: 5px;
}
#curtains span.right {
    height: 100%;
    right: 0;
    top: 0;
    width: 5px;
}
#curtains span.bottom {
    height: 5px;
    left: 0;
    bottom: 0;
    width: 100%;
}
#curtains span {
    background: #D9D0C2;
    position: fixed;
    z-index: 99999;
}


/*記事ページ*/

.works-content{
	border-top: 1px solid #D9D0C2;
	margin-top:80px;
	text-align: center;
}

.works-content .works-box{
	margin:0 auto;
	width: 70%;
}

.works-content .works-box h1{
	margin-top: 30px;
	font-size: 1.25rem;
}

.works-content .works-box p{
	margin:10px auto 30px;
}

.works-img img{
	width: 100%;
}
.btn-margin{
	margin-bottom: 50px;
}
	
	
	
}




