@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400&display=swap');

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

@font-face {
  font-family: 'BananaSlipPlus'; 
  src: url('fonts/YDWbananaslipplus.otf') format('opentype'); 
  font-weight: normal;
  font-style: normal;
}

article{
	overflow: hidden;
}

.mv {
  position: relative;
  width: 100%;
  height: 100vh;
  display: grid;
  place-items: center;
  background: #E6E2D6;
  overflow: visible;
  padding-bottom: 120px;
  z-index: 10;
}

.book-bg{
  position: absolute;
  inset: -13vh -10vw;               
  background: url("../img/book_w.png") center / cover no-repeat;
  z-index: 1;
  pointer-events: none;

  
  transform: rotate(2deg) translateY(clamp(-90px, -3vw, -35px)) scale(0.85);
  transform-origin: center;
}


.book-inner{
  position: relative;
  z-index: 2;                     
  width: min(1100px, 84vw);       
  height: min(620px, 68vh);       
  padding: clamp(24px, 4vw, 56px);
	display: grid;
  grid-template-rows: auto 1fr auto;  
  align-items: center;
  justify-items: center;
  transform-origin: center;
  margin-top: -3vh;
}


.mv-lead{
  font-size: clamp(14px, 1.8vw, 20px);
  margin-bottom: 20px;
  text-align: center;
}



.mv-titleWrap{
  position: relative;
  display: inline-block;   
  margin-top: 20px;
  text-align: center;
}

.mv-title{
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.5;
  text-align: center;
  margin-top: 14px;
	/*margin: 0*/;
 font-family: 'BananaSlipPlus', sans-serif;
}

h1.mv-title {
  font-family: 'BananaSlipPlus', sans-serif;
  font-weight: 900;
  font-size: clamp(24px, 4vw, 52px);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
}

.mv-sublead{
	position: absolute;
  top: -1.2em;     
  left: -0.6em;    
  margin: 0;
  transform: rotate(-5deg);
  font-size: clamp(17px, 2.5vw, 30px);
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 1.1;
  background: #333;
	color: #fff;
	padding: 5px 10px;
}

/* section2の共通*/
.section2{
  font-weight: 900;
  font-style: normal;
}

/* 文字マスク */
.section1{
  font-family: "ta-kakugo-gf-02", sans-serif;
  font-size: clamp(147px, 23vw, 500px);
  line-height: 1;
  margin: 0;
  position: relative;
  display: inline-block;
  color: transparent;
  /*transform: rotate(-8deg);*/
}


.section1::before,
.section1::after{
  content: attr(data-text);
  position: absolute;
  inset: 0;
  display: block;

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;

  
  filter: drop-shadow(0 8px 30px rgba(0,0,0,0.16));

  transition: opacity 250ms linear; 
  will-change: opacity;
}


.section1::before{ opacity: 1; }
.section1::after{ opacity: 0; }


.section1.is-b::before{ opacity: 0!important; }
.section1.is-b::after{ opacity: 1!important; }

.section2{
	font-weight: 700;
	font-style: normal;
	
}

p.section2.mv-lead{
	letter-spacing: -0.02em;
  font-family: 'BananaSlipPlus', sans-serif; 
  color: #333;
	font-weight: 900;
	font-size: clamp(20px, 3.5vw, 42px);
	line-height: 1.2;
}


/* SP */
@media (max-width: 768px) {
  .mv {
    padding: 24px 12px;
	overflow: hidden;
  }
	
	.section2{
		font-size: 180%;
	}
	
	.mv-title{
		
	}
}

/* SP調整 */
@media (max-width: 768px){
  .book-bg{ inset: -4vh -18vw; }        
  .book-inner{
    width: 90vw;
    height: 45vh;
    padding: 18px;
	  top: -11%;
  }
}

@media (max-width: 768px) {
  p.section2.mv-lead {
    font-size: 24px; 
  }
  h1.mv-title {
    font-size: 35px;
    white-space: nowrap;
	margin-top:20px; 
  }
  .book-inner {
    height: auto; 
    gap: 20px;
  }
}

.section1::before{ background-image: var(--imgA); }
.section1::after { background-image: var(--imgB); }


/*---スクロールダウン---*/



.scroll_down{
  position:absolute;
  bottom:30%;
  /*right:50%;*/
  left: 80%;
  animation: arrowmove 2s ease-in-out infinite;
  z-index: 99;
}

.scroll_down a{
  position: absolute;
  left: -24px;
  bottom: 17px;
  color: #000;
  font-size: 14px;
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: .2em;
  writing-mode: vertical-rl;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll_down:before {
    content: "";
    position: absolute;
    bottom: 5px;
    right: -6px;
    width: 2px;
    height: 20px;
    background: #000;
    transform: skewX(-31deg);
}

.scroll_down:after{
  content:"";
  position: absolute;
  bottom: 5px;
  right: 0;
  width: 2px;
  height: 85px;
  background:#000;
}

@keyframes arrowmove{
   0%{bottom:30%;}
   50%{bottom:34%;}
   100%{bottom:30%;}
}

@media (max-width: 768px) {
	.scroll_down{
		left: 90%;
	}
}



/*INTRO*/

.intro{
  position: relative;
  isolation: isolate;                
  margin-top: -100px;         
  /*padding-bottom: 40px;
padding-top: 40px;*/
  background-color: transparent;
  z-index: 20;
overflow:visible;
	/*padding: 100px 0 0px;*/
	margin-bottom: -50px;
	height: 200px;
	
}

.intro::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 75%;
  background-color: #E6E2D6; 
  z-index: -1;
  margin-top: 100px;
}




.paperCard.intro_paper {
  /*position: relative;*/
	position: absolute;
  display: flex;         
  flex-direction: column; 
  justify-content: center; 
  align-items: center;     
  
  
  
  min-height: clamp(400px, 60vw, 600px); 
  margin: 0 auto;
  padding: 40px; 
  z-index: 30;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -30%);
}


.paperCard.intro_paper::before {
  content: "";
  position: absolute;
  inset: 0; 
  background: url("../img/book_w.png") center / contain no-repeat;
  
  z-index: -1; 
  transform: rotate(15deg); 
  pointer-events: none;
}


.paperCard{
	position: relative;
	z-index: 2;
	width: clamp(300px, 60vw, 700px); 
  height: clamp(400px, 50vw, 600px);
	margin: 0 auto;
	margin-bottom: -120px;
	
}

.paperCard_inner{
  position: relative;
  padding: clamp(24px, 4vw, 48px);
  max-width: 680px;   
  margin: 0 auto;
  z-index: 2;
}

.intro_text{
  font-family: "zen-maru-gothic", sans-serif;
  font-size: clamp(15px, 1.6vw, 16px);
  line-height: 2;
  letter-spacing: 0.08em;
  color: #111;
}

@media (max-width: 768px) {
	
.intro{
	height: 250px;
	}
	
.intro::before {
	height: 80%;
	}
	
	
.paperCard.intro_paper {
	padding: 60px 30px;
	width: 95%;
    min-height: auto;
    margin-top: 0;
	height: auto;
	}

.paperCard.intro_paper::before {
	background-size: 100% 100%;
	transform: rotate(8deg);
	}
}



/*ABOUT*/

.aboutproject{
	position: relative;
	width: 100vw;
	background: url(../img/about.jpg)center/cover no-repeat;
	padding: 200px 100px 200px 100px;
	/*z-index: -2;*/
	display: flex;
	justify-content: center;
	overflow: hidden;
}

.aboutproject::before{
	content: "";
	position: absolute;
	inset:0;
	background: rgba(255,255,255,0.3);
	pointer-events: none;
	z-index: 0;
}

.about_inner{
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(3px);
    padding: clamp(30px, 5vw, 60px);
    /*border-radius: 8px;*/
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: 0 auto;
	z-index: 2;
}

#in_about.folderCard_meta{
	position: relative;
  z-index: 10 !important;
  pointer-events: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100%;
  max-width: 320px; 
  text-align: center;
  margin-top: 30px;
}


@media (max-width: 768px) {
  #in_about.folderCard_meta {
    margin-top: 30px; 
  }
}

.sectionHead{
	display: flex;
	flex-direction: column;
	max-width: 680px;
	font-size: 150%;
	margin-bottom: 20px;
	font-family: BananaSlipPlus, sans-serif;
}

.sectionHead_label{
	color: var(--muted-foreground);
}

.about_body{
	max-width: 680px;
	font-family: "zen-maru-gothic", sans-serif;
}

.about_body h3{
	font-size: 150%;
	margin: 10px 0;
}

.about_body p{
	font-size: 16px;
}

@media (max-width: 768px) {
	
	.aboutproject{
		padding: 200px 10px 100px 10px;
		/*margin: 100px 0 0 0;*/
		
	}
	
	.about_inner{
		width: 95%;
	}
	
	.sectionHead{
		font-size: 120%;
		
    }
	
	.about_body h3{
		font-size: 150%;
		line-height: 1.75;
	}
	
	.about_body p{
		font-size: 16px;
		line-height: 1.75;
	}
}


/* AWARDED セクション（背景色とかだけ残す） */
.awarded{
  position: relative;
  isolation: isolate;
  background-color: #FAF2CD;
  min-height: 530px;
  padding: 220px 0 160px;
  z-index: 1;
}

.awarded .fadeIn.is-show {
    position: relative;
    display: block;
}

.awarded .fadeIn.is-show::before,
.awarded .fadeIn.is-show::after {
    content: "";
    position: absolute;
    top: 50%;
	transform: translateY(-50%);
    width: 250px;        
    height: 650px;
    background-image: url(../img/twinkle.svg);
    background-repeat: no-repeat;
    background-size: contain;
    mix-blend-mode: plus-lighter;
    z-index: 20;         
    pointer-events: none;
	filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
    opacity: 1; 
}


.awarded .fadeIn.is-show::before {
    left: 8%; 
}

.awarded .fadeIn.is-show::after {
    right: 8%;
    transform: translateY(-50%)scaleX(-1);
}


/* カードの箱（ここを基準に“中身”を収める） */
.noteCard{
  position: absolute;
  left: 50%;
  top: 40%;
  width: min(800px, 92vw);
  aspect-ratio: 960 / 420;
  transform: translate(-50%, -55%);
  z-index: 2;

  /* 重要：疑似要素・中身の基準 */
  /*overflow: hidden;*/      /* はみ出しを切る（必要なら） */
}

/* カード画像＝noteCardの背景として固定 */
.noteCard::before{
  content:"";
  position:absolute;
  inset:-40% -10%;
  background: url("../img/awarded2.png") center/contain no-repeat; /* カード画像に差し替え */
  /*background-size: 120%;*/
  z-index:0;
  pointer-events:none;
  transform: rotate(-2deg);
}

/* 中身はカードの内側に絶対で敷く */
.noteCard_inner{
  position: absolute;
  inset: clamp(20px, 4vw, 56px) clamp(18px, 4.5vw, 64px); /* 余白を可変に */
  box-sizing: border-box;
  z-index: 1;

  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(12px, 2vw, 24px);
  align-items: start;
  top: -5%;
}

.noteCard_text{
  display:flex;
  flex-direction:column;
}

.noteCard_meta{
  font-family: "zen-maru-gothic", sans-serif;
  font-size: clamp(15px, 1.6vw, 16px);
  line-height: 2;
  letter-spacing: 0.08em;
  color: #111;
}

dd.noteCard_meta{
	font-size: 140%;
}

/* medal をカード基準にしたいなら .noteCard_thumb を relative に */
.noteCard_thumb{
  position: relative;
  display: inline-block;
width: fit-content;
}

.noteCard_label{
	color: var(--muted-foreground);
}

.silver{
  position: absolute;
  top: -30%;
  right: 0%;
  z-index: 2;
  width: 30%;
  height: auto;
}

.noteCard_caption {
  /* gridの1列目から最後（右端）までぶち抜いて使う指定 */
  grid-column: 1 / -1; 
  
  /* 青い丸の位置に合わせるために右寄せ */
  text-align: start; 
  
  /* 上の要素（画像やメインテキスト）との距離 */
  margin-top: auto; /* 可能なら一番下に押し下げる */
  padding-top: 10px;

  font-size: 14px;
  line-height: 1.75;
	color: #333;
  font-family: "zen-maru-gothic", sans-serif;
}

/* ノートの箱自体を基準にする */
.noteCard {
  position: absolute; /* 既存の設定 */
  /* ... */
}

/* 独立したCTAコンテナ */
.cta-container-isolated {
  position: absolute;
  bottom: -66%;  /* ノートの下端からの距離 */
  left: 50%;   /* ノートの右端からの距離 */
  z-index: 5;   /* innerより上に持ってくる */
  width: 300px; 
  transform: translate(-50%, -50%);
}

.cta-button-tape {
  display: block;
  position: relative;
  transition: 0.3s;
  transform: rotate(-2deg); /* テープの傾き */
}

.cta-button-tape .tape-bg {
  width: 100%;
  height: auto;
}

.cta-button-tape .cta-text {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  font-weight: bold;
  font-size: 20px;
  color: #1a1a1a;
  pointer-events: none;
  font-family: "zen-maru-gothic", sans-serif;
}

/* ホバー演出 */
.cta-button-tape:hover {
  transform: scale(1.05) rotate(0deg);
  opacity: 1 !important;
}



@media (max-width: 768px) {
	
	.awarded{
		padding: 0;
		min-height: 600px;
	}
	
    /* 1. 外箱：位置を「普通」に戻して、飛び出しを直す */
    .noteCard {
        position: relative; /* absoluteから変更 */
        top: auto;
        left: auto;
        transform: none;
        width: 94%;
        margin: 0 auto;
        aspect-ratio: auto; /* 高さを中身に合わせる */
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 30px 30px 80px 20px;
    }

    /* 2. 背景画像：外箱いっぱいに広げる */
    .noteCard::before {
        position: absolute;
        inset: 0; /* 四隅にピッタリ合わせる */
        top: 0; left: 0; /* 余計な数値をリセット */
        width: 100%;
        height: 100%;
        background: url("../img/note_sp3.png") center center / 100% 100% no-repeat; /* containよりfillかcoverが安定します */
        transform: rotate(-1.5deg); /* 傾きだけ残す */
        z-index: 0;
    }

    /* 3. 中身：背景の上に乗せる */
    .noteCard_inner {
        position: relative; /* absoluteから変更 */
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        display: block; /* 縦に並べる */
        z-index: 1;
    }

    img.thumb {
        width: 90%;
        height: auto;
        margin-bottom: 15px;
    }

    .silver {
        width: 60px; /* 固定サイズの方がSPでは安定します */
        right: 0;
        top: -10px;
    }
	
	.cta-container-isolated {
    width: 200px;
    bottom: -10%;
    right: 2%;
  }
	
	dt.noteCard_meta{
	 font-size: 90%;
	}
	
	dd.noteCard_meta {
    font-size: 130%;
}
	
	.awarded .fadeIn.is-show::before,
    .awarded .fadeIn.is-show::after {
        display: none !important;
    }
	
	
}

/*coming soon*/

.comingSoon {
  padding: 100px 0; /* 上下の余白 */
  background-color: #e6e2d6; /* サイト全体のベージュに合わせる */
  text-align: center;
}

.comingSoon_inner {
  position: relative;
  display: inline-block; /* ラインの基準をコンテンツの幅に合わせる */
  padding: 60px 20px;    /* ラインと文字の間の距離 */
}

/* 上下のライン */
.comingSoon_inner::before,
.comingSoon_inner::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;      /* 文字より少し長めにラインを引く */
  height: 2px;      /* ラインの太さ */
  background: #000; /* ラインの色 */
}

.comingSoon_inner::before { top: 0; }    /* 上のライン */
.comingSoon_inner::after { bottom: 0; } /* 下のライン */

/* 英語タイトル */
.comingSoon_title {
  font-family: BananaSlipPlus, sans-serif; /* 英語用フォント */
  font-size: clamp(24px, 4vw, 36px);    /* レスポンシブ対応 */
  letter-spacing: 0.15em;                 /* 字間を広くして高級感を出す */
  margin-bottom: 20px;
  font-weight: 500;
}

/* 日本語テキスト */
.comingSoon_text {
  font-family: "zen-maru-gothic", sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #333;
}

/* スマホ用の調整 */
@media (max-width: 768px) {
  .comingSoon {
    padding: 60px 0;
  }
  .comingSoon_inner {
    width: 80%; /* スマホではラインを画面幅に合わせる */
  }
  .comingSoon_inner::before,
  .comingSoon_inner::after {
    width: 100%;
  }
	
	.comingSoon_title {
	 line-height: 1.5;	
	}	
}


/*コラムとインタビュー*/

/* CSS Variables */
:root {
  --font-size: 16px;
  --background: #E6E2D6;
  --foreground: #1a1a1a;
  --card: #ffffff;
  --card-foreground: #1a1a1a;
  --secondary: #f8f8f8;
  --secondary-foreground: #1a1a1a;
  --muted: #f5f5f5;
  --muted-foreground: #666666;
  --border: #d9d9d9;
}

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

/* Base styles */
/*html {
  font-size: var(--font-size);
}

body {
  font-family: 'Noto Sans JP', 'Roboto', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}*/

/* Section Container */
.section-container {
  max-width: 85rem;
  margin: 0 auto ;
}

/* Section Header */
.section-header {
  margin-bottom: 2rem;
}

.section-label {
  font-size: 1.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
  font-family: BananaSlipPlus, sans-serif;
}

.section-title {
  font-size: 2.925rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: BananaSlipPlus, sans-serif;
}

.section-description {
  font-size: 1.5rem;
  color: var(--muted-foreground);
}

/* Card */
.card {
  background-color: var(--card);
  border: 2px solid var(--foreground);
  padding: 3rem;
  /*margin: 3rem 0;*/
}

/* Card rotation states */
.card-rotated-right {
  transform: rotate(1deg);
}

.card-rotated-left {
  transform: rotate(-1deg);
}

.card-inner-rotated-left {
  transform: rotate(-1deg);
}

.card-inner-rotated-right {
  transform: rotate(1deg);
}

/* Article Header */
.article-header {
  margin-bottom: 2rem;
}

.badge-wrapper {
  display: inline-block;
  margin-bottom: 1rem;
  
}

.badge {
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--foreground);
  padding: 0.25rem 0.75rem;
  display: inline-block;
  font-family: BananaSlipPlus, sans-serif;
}

.article-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.article-meta {
  font-size: 1.2rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

/* Article Image */
.article-image {
  margin-bottom: 2rem;
  border: 2px solid var(--foreground);
}

.article-image img {
  width: 100%;
  height: 24rem;
  object-fit: cover;
  display: block;
}

/* Article Intro */
.article-intro {
  margin-bottom: 2rem;
}

.article-intro p {
  font-size: 1.6rem;
  line-height: 1.75;
  margin-bottom: 1rem;
  font-family: "zen-maru-gothic", sans-serif;
}

/* Expandable Content */
.expandable-content {
  display: none;
}

.expandable-content.expanded {
  display: block;
}

/* Content Section */
.content-section {
  margin-bottom: 2rem;
}

.content-heading {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  display: inline-block;
  position: relative;
}

/* Wavy underline for headings */
.content-heading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 3px;
  background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 2 Q 5 0, 10 2 T 20 2 T 30 2 T 40 2 T 50 2 T 60 2 T 70 2 T 80 2 T 90 2 T 100 2' stroke='%231a1a1a' fill='none' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 100px 3px;
  background-repeat: repeat-x;
}

.content-body {
  font-size: 0.875rem;
  line-height: 1.75;
}

.content-body p {
  margin-bottom: 1rem;
font-size: 1.6rem;
}

.content-body strong {
  font-weight: 700;
}

.content-body-text {
  font-size: 0.875rem;
  line-height: 1.75;
}

/* Quote */
.quote {
  border-left: 4px solid var(--foreground);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  background-color: var(--secondary);
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-size: 1.6rem;
}

/* Content Image */
.content-image {
  margin: 1.5rem 0;
  border: 2px solid var(--foreground);
}

.content-image img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  display: block;
}

.content-image figcaption {
  padding: 0.75rem;
  font-size: 0.75rem;
  text-align: center;
  border-top: 2px solid var(--foreground);
  background-color: var(--secondary);
}

/* Toggle Button */
.toggle-button-wrapper {
  margin-top: 2rem;
  text-align: center;
}

.toggle-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--foreground);
  padding: 0.75rem 1.5rem;
  background-color: var(--card);
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.2s;
  border-radius: 8px;
}

.toggle-button:hover {
  background-color: var(--secondary);
}

.button-text {
  font-weight: 500;
  font-size: 1.8rem;
  font-family: "zen-maru-gothic", sans-serif;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
}

.icon-down {
  display: inline-block;
}

.icon-up {
  display: none;
}

.toggle-button.expanded .icon-down {
  display: none;
}

.toggle-button.expanded .icon-up {
  display: inline-block;
}

.feature-bg {
  background-color: #F4F2EC;
padding-top: 100px;
	overflow: hidden;
	padding-bottom: 20px;
}

.interview-bg{
	background-color: #E6E2D6;
	padding-top: 20px;
	padding-bottom:100px;
	overflow: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {

  .card {
    padding: 2rem;
  }

  .article-title {
    font-size: 1.75rem;
  }

  .article-image img {
    height: 16rem;
  }

  .content-image img {
    height: 12rem;
  }
	
   .section-container {
  max-width: 95vw;
  margin: 0 auto ;
}
	
  .interview-bg{
	padding-bottom:0;
}

	
}

.section-divider {
  width: 100%;
  height: 80px;       /* 太さ調整 */
}

.section-divider-yellow {
  background-color: #FAF2CD; /* or 任意の黄色 */
}


/*PAST PROJECTS*/

.past{
  position: relative;
  isolation: isolate;                
  /*margin-top: 30px;*/         
  /*padding-bottom: 100px;*/
background-color: #FAF2CD;
	min-height: 800px;
	padding-top: 180px;
}


.past::before{
	/*content: "";
	position: absolute;
	background: url("../img/stickynote.png")center/contain no-repeat;
	z-index: 1;
	pointer-events: none;
	left: 50%;
	top: 0;
	width: min(1440px, 92vw);
	aspect-ratio: 960/420;
	transform: translate(-50%, -3%);*/
	display: none;
	
}
#past-bg{
	background-color: #E6E2D6;
	overflow: visible;
}

.folderCard{
  position: absolute;              /* セクション中央に置く */
  left: 50%;
  top: 50%;
  width: min(800px, 92vw);
  aspect-ratio: 960 / 420;
  transform: translate(-50%, -50%);
  z-index: 2;

  overflow: visible;               /* はみ出しOK */
}

.folderCard::before{
  content:"";
  position:absolute;
  inset: -48% -10%;                /* ←紙だけ大きくしたい時はここを調整 */
  background: url("../img/stickynote.png") center/contain no-repeat;
  z-index: 0;
  pointer-events:none;
  transform: translateY(165px);
	overflow: hidden;
}

/*.paperCard{
	position: relative;
	background-color: #E6E2D6;
	background: url("img/book_w.png") center / cover no-repeat;
	box-shadow: 0 12px 40px rgba(0,0,0,0.15);
	transform: rotate(16deg);
}*/

/*.noteCard_inner{
  position: relative;
  padding: clamp(24px, 4vw, 48px);
  max-width: 680px;   
  margin: 0 auto;
  z-index: 1;
 display: flex;
}*/
.folderCard_inner{
  position: absolute;
  inset: clamp(18px, 3.5vw, 52px) clamp(18px, 4vw, 64px); /* 余白可変 */
  z-index: 1;
  box-sizing: border-box;

  display: flex;
  gap: clamp(12px, 2vw, 24px);
  align-items: flex-start;
}


.folderCard_textWrapper{
	display: flex;
	flex-direction: column;
	min-width: 300px;
}

.folderCard_row{
  /*display: flex;
  gap: 24px;
  align-items: flex-start;*/
}

.folderCard_text{
	/*display: flex;
	flex-direction: column;*/
	/*flex: 1;
	min-width: 0;*/
	display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100% !important;
}

.folderCard_thumb {
	/*flex: 0 0 320px;
	display: flex;
	flex-direction: column;
	column-gap: 16px;*/
  /*max-width: 100%;
  height: auto;
  display: block;*/
  display: none;
}

.folderCard_thumb img{
	width: 100%;
	height: auto;
	display: block;
	margin-top: 20px;
}

.folderCard{
  position: relative;
}

.folderCard_meta{
  font-family: "zen-maru-gothic", sans-serif;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 2;
  letter-spacing: 0.08em;
  color: #111;
  background-color: rgba(255, 255, 255, 0.4); /* ほんのり白くして背景から浮かす */
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  border: 2px solid transparent; /* hover時に枠線を出すための準備 */
  cursor: pointer; /* 全体が押せることを示す */
}

.folderCard_meta:hover {
  background-color: rgba(255, 255, 255, 0.8); /* 白を濃くする */
  border-color: #333; /* 枠線を出す */
  transform: translateY(-2px); /* 少し上に浮かす */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* 影をつけて浮かせる */
}

.folderCard_meta dt {
  font-weight: bold;
  font-size: 1.6rem;
  margin-bottom: 5px;
  line-height: 1.4;
}

.folderCard_meta dd {
  font-size: 1.8rem;
  margin-left: 0; /* デフォルトのインデントを消す */
  color: #666;
}

.folderCard_meta dd:has(.noteCard_link) {
  margin-top: 8px;
  border-top: 1px dotted #ccc;
  padding-top: 8px;
}



.folderCard_label{
	color: var(--muted-foreground);
}

.tape{
  position: absolute;
  top: -100px;
  left: 60%;
  transform: translateX(-50%) rotate(2deg);
  width: 120px;
  height: auto;
  z-index: 2;            /* innerより上に */
  pointer-events: none;
}

/* リンク全体の共通設定 */
.noteCard_link {
  display: inline-flex;  /* 矢印と文字を綺麗に並べる */
  align-items: center;
  color: inherit;
  text-decoration: none; /* 下線はお好みで。ないほうがスッキリします */
  transition: opacity 0.3s;
  position: relative;
}

/* 矢印（::after）の設定 */
.noteCard_link::after {
  content: "→";       /* 矢印。画像（svg等）にする場合は background で設定 */
  margin-left: 8px;    /* 文字との間隔 */
  font-size: 1.1em;
  transition: transform 0.3s ease; /* ★動く速さを設定 */
}

/* hoverした時の動き */
.noteCard_link:hover {
  opacity: 0.7;
}

.noteCard_link:hover::after {
  transform: translateX(5px); /* ★右に5px動かす */
}


.fadeIn {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s, transform 0.8s;
  /*width: 100%;*/
 /* position: relative; */
  z-index: 1;
}

/* クラスがついたら表示 */
.fadeIn.is-show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 768px) {
	
  .past{
	  padding-top: 50px;
	  padding-bottom: 1px
	}
	
	.tape{
		position: absolute;
    top: -40px; /* フォルダの上に被さるように */
    left: 60%;
    transform: translateX(-50%) rotate(0.5deg); /* 真ん中に置いて少し傾ける */
    z-index: 2; /* フォルダより上 */
    width: 60px; /* SP用のサイズに小さく */
	}
	
	
	.folderCard {
    /* 1. 位置固定を完全に解除する */
    position: relative ;
    top: auto ;
    left: auto ;
    transform: none ;
    
    
    width: 92% ;
    margin: 40px auto ;
    
    
    padding: 30px 20px;
  }
	
	
	.folderCard::before {
    display: block !important; 
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../img/sp_past_bg.png") center center / 100% 100% no-repeat;
    z-index: 0;
    transform: rotate(-1.5deg); 
  }
	
	.folderCard_inner{
		position: relative;
	}

	.folderCard_row{
		display: block;
	}
  
	
	.folderCard_thumb {
    display: none; 
  }
	
	.folderCard_meta dt {
		font-size: 1.5rem;
	}
	
	.folderCard_meta dd {
		font-size: 1.6rem;
	}
	
	.folderCard_text{
	grid-template-columns: 1fr ; 
    gap: 20px;
	}
}



@media (max-width: 768px) {
  
  .card-rotated-left,
  .card-rotated-right,
  .card-inner-rotated-right,
  .card-inner-rotated-left{
    transform: rotate(0) !important; 
    margin-left: auto;
    margin-right: auto;
    width: 100% !important; 
    left: 0 !important;
	}
	
	
@media (max-width: 768px) {
  .only_sp {
    display: block !important;
  }
}


.only_sp {
  display: none;
}	
	


#topicpath.path {
  position: relative; 
  z-index: 100 !important; 
}

@media (max-width: 860px) {
    #gFooter {
         margin-top: 0; 
    }
}


