@charset 'UTF-8';

html {
  scrollbar-gutter: stable;
}

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

body {
	margin: 0px;
	font-family: aktiv-grotesk,'游ゴシック体','Yu Gothic',YuGothic,'Hiragino Kaku Gothic ProN',Osaka,'ＭＳ Ｐゴシック',sans-serif;
  font-size: 14px;
  color: #333333;
  line-height: 2em;
  letter-spacing: 0.3px;
  background-color: #f5f5f5;
}


h2 {
  margin: 0px;
  padding: 20px 0 0 0;
  font-family: aktiv-grotesk,'游ゴシック体','Yu Gothic',YuGothic,'Hiragino Kaku Gothic ProN',Osaka,'ＭＳ Ｐゴシック',sans-serif;
  font-size: 14px;
  color: #adadad;
  line-height: 2em;
  letter-spacing: 0.3px;
  font-weight: normal;
}

h3 {
  margin: 0px;
  padding: 20px 0 0 0;
  font-family: aktiv-grotesk,'游ゴシック体','Yu Gothic',YuGothic,'Hiragino Kaku Gothic ProN',Osaka,'ＭＳ Ｐゴシック',sans-serif;
  font-size: 14px;
  color: #333333;
  line-height: 2em;
  letter-spacing: 0.3px;
  font-weight: normal;
}

p {
  margin-top: 100px;
}

small {
  line-height: 1.8em !important;
  font-size: smaller;
  display: inline-block; /* 親要素からの影響を切り離す */
}


.mail a {
  color: #25559f;
  text-decoration: none;
  padding: 6px;
  border-bottom: 1px solid #25559f;
}

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



#about h2, #contact h2 {
  margin-top: 20px !important;
  margin-bottom: 0px !important;
}



#about p, #contact p, #about h3, #contact h3 {
  margin-top: 20px !important;
  margin-bottom: 0px !important;
}


/* ヘッダー */
header {
	align-items: center; /*IE用*/
	padding:30px 34px 20px 34px;
	background: #f5f5f5;
	display: flex;
	height: 100px;
}


header .inner {
	margin: auto;
	max-width: 100%;
	width: 100%;
}

header .flexbox {
	align-items: center;
	display: flex;
	justify-content: space-between;	
}

#logo {
	width: 120px;
  position: fixed;
  padding-top: 4px;
  z-index: 97;
}

#logo a {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.arrow {
  position: fixed;
  top: 34px;
  right: 30px;
  width: 61px;
  padding-top: 10px;
  justify-content: center;
  align-items: center;
  z-index: 98;
  cursor: pointer;

}


@media screen and (max-width: 480px) {
  header {
    padding:20px 24px 10px 24px;
    background: #f5f5f5;
    display: flex;
    height: 80px;
  }
  #logo {
    width: 100px;
  }
  .arrow {
  position: fixed;
  top: 34px;
  right: 24px;
  width: 61px;
  padding-top: 0px;
  }
}


/* ここから下がハンバーガーメニュー*/

/*チェックボックス非表示*/

.drawer-hidden {
    display: none;
}


/*三本線表示*/

.drawer-open {
    display: flex;
    position: fixed;
    top: 34px;
    right: 30px;
    height: 44px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 98;
    cursor: pointer;
}

.drawer-open span,
.drawer-open span:before,
.drawer-open span:after {
    content: '';
    display: block;
    height: 1px;
    width: 60px;
    border-radius: 0px;
    background-color: #333333;
    transition: 0.5s;
    position: absolute;
}
.drawer-open span:before {
    bottom: 4px;
}
.drawer-open span:after {
    top: 4px;
}
.drawer-open span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}


/*タップで×にする記述*/

#drawer-check:checked ~ .drawer-open span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#drawer-check:checked ~ .drawer-open span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#drawer-check:checked ~ .drawer-open span::after {
    top: 0;
    transform: rotate(-45deg);
}



@media screen and (max-width: 480px) {
  .drawer-open {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    height: 44px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 98;
  }
}

/*メニューのデザイン*/

.drawer-content ul {
    padding: 0;
}
.drawer-content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
}
.drawer-content ul li a {
    display: block;
    width: 100%;
    font-size: 16px;
    box-sizing: border-box;
    color:#333333;
    text-decoration: none;
    padding: 40px 0px 40px 0;
    position: relative;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer-check:checked ~ .drawer-content {
  left: 0;/* メニューを画面に入れる */
}



/*通常時メニューを画面外へ*/

.drawer-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;/*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: #ffffff;
    transition: all 0.5s;/*アニメーション設定*/
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}






/*フッター*/
footer {
  margin-top: 60px;
  font-size: 10px;
  text-align: center;
  align-items: center; /*IE用*/
  padding:10px;
  background: #f5f5f5;
  height: 40px;
}


.vw {
	width: 100%; 
	height: 100%;
  	max-width: 100vw;
	-ms-filter: blur(6px);
  filter: blur(6px);
}

 /* Masonryグリッド */
#works, #journal-section {
  margin: 20px;
  position: relative;
}

/* カラム幅の基準要素（MasonryがcolumnWidthとして参照） */
.grid-sizer { width: calc(25% - 11.25px); }

/* グリッドアイテム幅（4列） */
.grid {
  width: calc(25% - 11.25px);
}

@media screen and (max-width: 1199px) {
  .grid-sizer, .grid { width: calc(33.333% - 10px); }
}
@media screen and (max-width: 768px) {
  .grid-sizer, .grid { width: calc(50% - 7.5px); }
}
@media screen and (max-width: 480px) {
  .grid-sizer, .grid { width: calc(50% - 7.5px); }
  #works, #journal-section { margin: 10px; }
}

.hover {
  cursor: pointer;
  transition:0.5s all;
  border-radius: 10px;
}
.hover:hover {
  transform:scale(1.05);
  transition:0.5s all;
}


/* Google Chrome: Masonryが position:absolute で制御するため display は block */
.grid {
  display: block;
}
.grid {
  border-radius: 0px;
  background: #f5f5f5;
  padding: 6px;
  margin-bottom: 15px;
}

.grid img {
  max-width: 100%;
  height: auto;
}
.grid video {
  max-width: 100%;
  height: auto;
}
.grid p {
  font-weight: 200;
  font-size: 14px;
}

/* ===== カード個別着地 ===== */
.grid.card-animate {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.grid.card-animate.card-visible {
  opacity: 1;
  transform: translateY(0);
}


/* Phase 1中はUI要素を非表示（デフォルト） */
header, .tab-nav-container {
  opacity: 0;
  pointer-events: none;
}
/* Phase 2開始時にフェードイン */
header.ui-visible, .tab-nav-container.ui-visible {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.4s ease;
}


 /*アバウト*/
#about,#contact {
  display: grid;
  width: 780px;
  padding: 30px;
  margin: 60px auto;
  grid-gap: 26px;
  grid-template-columns:  1fr 5fr;
  background: #f5f5f5;
}

#about,#contact {
  border-radius: 0px;
  background: #f5f5f5;
  text-align: left;
}
#about,#contact .text {
  border-radius: 0px;
  background: #f5f5f5;
  text-align: left;
}


@media screen and (min-width: 481px) and (max-width: 768px) {
  #about,#contact{
    grid-template-columns: 1fr;
    width: 100%;
  }
  #about,#contact {
    border-radius: 0px;
    padding:20px;
    text-align: left;
  }
  h2 {
    font-size: 1.1rem; 
  }
  h3 {
    font-size: 1rem; 
  }
}

@media screen and (max-width: 480px) {
  #about,#contact{
    grid-template-columns: 1fr;
    width: 100%;
    padding: 24px;
    margin: 0px auto;
  }
  #about,#contact {
    border-radius: 0px;
    padding:20px;
    text-align: left;
  }
  body {
    font-size: 1rem;
  }
  h2 {
    font-size: 1.1rem; 
    text-align: center;
  }
  h3 {
    font-size: 1rem; 
  }

}





@media screen and (min-width: 768px){
  .br-pc { display:block; }
  .br-sp { display:none; }
}
@media screen and (max-width: 768px){
  .br-pc { display:none; }
  .br-sp { display:block; }
}


/* タブナビゲーション */
.tab-nav-container {
  display: flex;
  gap: 24px;
  padding: 12px 26px 0;
  position: relative;
}

.tab-btn {
  font-family: aktiv-grotesk,'游ゴシック体','Yu Gothic',YuGothic,'Hiragino Kaku Gothic ProN',Osaka,'ＭＳ Ｐゴシック',sans-serif;
  font-size: 14px;
  color: #adadad;
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  padding: 8px 0;
  letter-spacing: 0.3px;
  transition: color 0.3s, border-color 0.3s;
  width: 80px;
}
.tab-btn.active {
  color: #333333;
}

.tab-indicator {
  position: absolute;
  bottom: 0;
  height: 1px;
  width: 80px;
  background: #333333;
  transition: left 0.3s ease;
}
.tab-btn:hover {
  color: #333333;
}

@media screen and (max-width: 480px) {
  .tab-nav-container {
    padding: 8px 16px 0;
    gap: 20px;
  }
}


/* JOURNALカード */
.journal-card-placeholder {
  aspect-ratio: 4/3;
  background: #ebebeb;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.journal-tag {
  font-size: 10px;
  color: #adadad;
  letter-spacing: 1.5px;
}
.journal-coming {
  font-size: 13px;
  color: #adadad;
  margin: 0;
  padding: 0;
}
