/* 共通設定 */

:root {
  --font-en: neue-haas-grotesk-display, sans-serif;
  --font-jp: "Noto Sans JP", sans-serif;
  	
  --color-bg: #F7F8F7;
  --color-ink: #1E2428;
  --color-main: #73808A;
  --color-gray: #656565;
  --color-sub: #AAB7C2;
  --color-wh: #FFF;
  --color-gold: #C0AB7F;
  
  font-size: 100%; /* 16pxベース */
  --text-xs:  0.75rem;  /* 12px */
  --text-sm:  0.875rem; /* 14px */
  --text-md:  1rem;     /* 16px */
  --text-lg:  1.25rem;  /* 20px */
  --text-xl:  1.75rem;  /* 28px */
  --text-2xl: 2.5rem;   /* 40px */
  --text-subtitle: 3rem;    /* 48px */
  --text-number: 6.875rem;    /* 約72px */
  
  --tracking-base: 0.02em; /* letter-spacing */
  --tracking-wide: 0.2em; /* accent文字間隔 */
  
  --font-bold: 600;
    
  --padding: 24px;
  --radius: 5px;
}


/* 画面幅1440pxの時にブラウザ標準の 16px になるよう計算。 */
html {
  font-size: calc(16px + (100vw - 1440px) * 0.0111);
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}



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

body {
  background-color: var(--color-bg);
  font-family: "Noto Sans JP", neue-haas-grotesk-display, sans-serif;
  -webkit-font-smoothing: antialiased;
  letter-spacing: var(--tracking-base);
  line-height: 1.8;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

html,
body,
a,
button,
input,
textarea,
select,
label,
* {
  cursor: none !important;
}


/* ---------------
	LAYOUT
--------------- */
.wrapper {
  width: 100%;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 5.375rem 24px;
}
.container-bg {
  width: auto;
  margin: 10px;
  padding: 5.375rem 24px;  
}
.container-full {
  width: 100%;
  margin: 0 auto;
  padding: 5.375rem 0;
}
.inner {
  width: 1240px;
  margin: 0 auto;
}
/*.inner-full {
  width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}*/
@media (max-width: 1260px) {
  .inner,
  .inner-full {
	width: 100%;
  }	
}



/* 改行設定 */
.pc-only {
  display: inline;
}
.sp-only {
  display: none;
}
@media (max-width: 1024px) {
  .pc-only { display: none; }
  .sp-only { display: inline; }
}


/* ---------------
	common
--------------- */

/* Text */
h1.main-title {
  font-family: var(--font-en);
  font-size: var(--text-lg);
  color: var(--color-ink);
  font-weight: 400;
}
h2.main-title-ja {
  font-family: var(--font-jp);	
  font-size: var(--text-sm);
  color: var(--color-main);
  font-weight: 300;
}
p.sub-title {
  font-family: var(--font-en);
  font-size: var(--text-subtitle);
  font-weight: 200;
  color: var(--color-ink);
  line-height: 1;
}
p.sub-title .highlight {
  font-family: var(--font-en);
  font-weight: 200;	
  color: var(--color-main);
}
p.sub-title-jp {
  font-family: var(--font-jp);	
  font-size: var(--text-sm); 
  color: var(--color-ink);
  font-weight: 300;
  margin-top: 0.75rem;
}
@media (max-width: 768px) {
	p.sub-title {
		font-size: var(--text-xl);
	}
	p.sub-title-jp {
		display: none;
	}
}


/* Section Title（左右） */
.header-group-01 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4.5rem;
}
.header-group-01 .header-left {
  flex: 0 0 auto;
  text-align: left;
}
.header-group-01 .header-right {
  flex: 0 0 auto;
  text-align: right;
}
@media (max-width: 1024px) {
  .header-group-01 {
    flex-direction: column;
    gap: 2rem;
  }  
  .header-group-01 .header-right {
    text-align: left;
    width: 100%;
  }
}
/* Section Title（上下） */
.header-group-02 {
  display: block;
  margin-bottom: 3.75rem;
}
.header-group-02 .header-top {
  margin-bottom: 1.75rem;
}
.header-group-02 .header-bottom {}





/* ---------------
	HEADER
--------------- */

/* ロゴ＋ナビ：スクロールしない（ページ上部に存在） */
#header {
  position: relative;
  width: 100%;
  padding: 28px 0;
  z-index: 100;
}
.header-wrapper {
  width: 1240px;
  margin: 0 auto;
  
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 90px;
}
@media (max-width: 1260px) {
  #header {
	padding: 15px 0 20px 0;  
  }
  .header-wrapper {
    width: 100%;
    padding: 0 24px;
  }
}
.header-logo {
  display: block;
  width: 180px;
  height: auto;
  text-decoration: none;
}
.header-logo #header-logo {
  width: 100%;
  height: 100%;
}
.header-nav {
    display: flex;
    font-family: var(--font-en);
    font-size: var(--text-lg);
    font-weight: 300;
    align-items: center;
}
.header-nav a {
    display: inline-block;
    position: relative;
    margin-right: 36px;
    overflow: hidden;
    vertical-align: bottom;
    color: transparent; 
}
.header-nav a:last-child {
    margin-right: 0;
}
.header-nav a::before {
    content: "[ " attr(data-text) " ]";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    color: var(--color-ink); 
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 1);
}
.header-nav a::after {
    content: "[ " attr(data-text) " ]";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    color: var(--color-ink);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 1);
    transform: translateY(100%);
}
.header-nav a:hover::before {
    transform: translateY(-100%);
}
.header-nav a:hover::after {
    transform: translateY(0);
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
}

/* toggle */
.menu-toggle {
  position: fixed;
  top: 12px;
  right: 30px;
  width: 60px;
  height: 60px;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 2000;
  transition:
    transform .85s cubic-bezier(.16,1,.3,1),
    opacity .35s ease;
}
.menu-toggle.header-hidden {
  transform: translateY(-200%);
  opacity: 0;
}
.menu-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60px;
  height: 1px;
  background: var(--color-ink);
  transition: .4s;
}
.menu-toggle span:first-child {
  transform: translate(-50%, -8px);
}
.menu-toggle span:last-child {
  transform: translate(-50%, 8px);
}
.menu-toggle.active span:first-child {
  background: var(--color-wh);
  transform: translate(-50%, 0) rotate(30deg);
}
.menu-toggle.active span:last-child {
  background: var(--color-wh);
  transform: translate(-50%, 0) rotate(-30deg);
}
@media(max-width:768px){
  .menu-toggle {
    /*top: 12px;
    right: 30px;*/
    width: 46px;
    height: 46px;
  }
  .menu-toggle span {
    width: 46px;
  }
}


/* overlay */
.menu-overlay{
  position:fixed;
  inset:0;
  background:var(--color-gray);
  opacity:0;
  visibility:hidden;
  transition:.5s;
  z-index:1500;
}
.menu-overlay.active{
  opacity:1;
  visibility:visible;
}

/* content */
.menu-container{
  max-width:900px;
  width:calc(100% - 80px);
  height:100vh;
  margin:0 auto;
  padding:120px 0 180px;
  display:flex;
  flex-direction:column;
}
.menu-brand{
  display:flex;
  gap:24px;
  align-items: baseline;
}
.brand-logo{
  width: 230px;
  height: auto;
}
.brand-logo img {
  width: 100%;
  height: auto;
}
.brand-tagline{
  font-family: var(--font-en);
  color: var(--color-wh);
}

/* grid */
.menu-grid{
  width: 620px;
  flex:1;
  margin-top:80px;
  display:grid;
  grid-template-columns:
  1fr
  1fr
  0.7fr;
  gap:10px;
}

/* columns */
.menu-column{
  display:flex;
  flex-direction:column;
  gap:32px;
}
.menu-column a{
  display:block;
  text-decoration:none;
  color: var(--color-wh);
}
.menu-column .menu-en {
  display:block;
  font-family: var(--font-en);
  color: var(--color-wh);
  font-size: var(--text-lg);
  line-height: 1.2;
}
.menu-column .menu-jp {
  display:block;
  font-family: var(--font-jp);
  color: var(--color-gold);
  font-size: var(--text-sm);
  font-weight: 300;
}
/*.menu-column a:hover{
  transform:translateX(8px);
}*/

/* side */
.side-column{
  gap:35px;
}
.lang-switch{
  display: flex;
  flex-direction: row;
  font-family: var(--font-en);
  font-size: var(--text-lg);
  color: var(--color-gold);
}
.lang-switch a {
}
.social-links{
  display:flex;
  flex-direction:column;
  gap:15px;
}
.social-links a{
  width:24px;
  height:24px;
  display:flex;
  justify-content:center;
  align-items:center;
}

/* CTA */
.menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-wh);
    font-family: var(--font-en);
    color: var(--color-ink);
    text-decoration: none;
    border-radius: 50px;
    height: 54px;
    position: relative;
    transition: background-color 0.3s ease;
    width: 240px;
    padding: 0 24px;
}
.menu-cta .btn-dot { /* 白いドット */
    width: 5px;
    height: 5px;
    background-color: var(--color-ink);
    border-radius: 50%;
    margin-right: 18px;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); /* ドットがホバー時に右にスムーズに動く設定 */
}
.menu-cta .text-mask-wrapper { /* マスクエリア */
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    position: relative;
}
.menu-cta .text-slide-container {
    display: flex;
    flex-direction: column;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}
.menu-cta .text-row {
    height: 29px;
    font-size: var(--text-md);
    white-space: nowrap;
    display: flex;
    align-items: center;
}
.menu-cta:hover {
	color: var(--color-wh);
    background-color: var(--color-ink);
}
.menu-cta:hover .btn-dot {
	background-color: var(--color-wh);
    transform: translateX(10px);
}
.menu-cta:hover .text-slide-container {
    transform: translateY(-29px);
}



/* mobile */

@media(max-width:900px){
  .menu-container {
	padding: 70px 0 0 0;
  }
  .menu-brand {
	flex-direction: column;
  }
  .menu-grid{
	width: 100%;
    grid-template-columns:1fr;
    gap:0px;
    margin-top: 30px;
    overflow:auto;
    flex: none;
  }
  .brand-logo{
    width: 180px;;
  }
  .brand-tagline {
	display: none;  
  }
  .menu-column {
	gap: 0px;
  }
  .menu-column a {
	/*margin: 5px 0;*/
  }
  .menu-column .menu-en {
	font-size: var(--text-lg);
	line-height: 2;
  }
  .menu-column .menu-jp {
	  display: none;
  }
  .social-links {
	flex-direction: row;
  }
  .lang-switch{
    margin: 40px 0;
  }
  .menu-cta{
    width:100%;
  }
  .menu-cta .text-row {
	font-size: var(--text-lg);
  }
}



/* ---------------
	00 FV
--------------- */
#fv {}
#fv .first-view {
  width: 100%;	
  opacity: 0;
  transform: translateY(140px);

  animation: fadeInUp 1.2s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: 1.2s;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#fv .first-view .pc-only {
  display: inline;
}
#fv .first-view .sp-only {
  display: none;
}
@media (max-width: 980px) {
  #fv .first-view .pc-only { display: none; }
  #fv .first-view .sp-only { display: inline; }
}


/* ---------------
	01 Features
--------------- */
#features {}
#features .content-wrapper {
  display: flex;
  align-items: center;
  gap: 3.75rem;
  margin-bottom: 4.375rem;
}
#features .image-area {
  /*flex: 0 0 25rem;*/
  max-width: 55%;
}
#features .mockup-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  object-fit: cover;
}

#features .text-area {}
#features .text-area p {
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  #features .content-wrapper {
	flex-direction: column;
	gap: 2.5rem;
  }
  #features .image-area {
	flex: none;
	max-width: 100%;
  }
}

#features .counter-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  /*padding-top: 3.75rem;*/
  gap: 1.5rem;
}
#features .counter-item {
  flex: 1;
  text-align: left;
}
.crown-icon {
  margin-bottom: 0.625rem;
  display: flex;
  align-items: center;
}
.crown-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: var(--color-gold);
}
#features .number {
  font-family: var(--font-en);
  font-size: var(--text-number);
  font-weight: 100;
  line-height: 1;
  color: var(--color-ink);
  margin-bottom: 1.25rem;
}
#features .counter {
  font-variant-numeric: tabular-nums; /* 数字の幅を一定にしてガタつきを防ぐ */
}
#features .label-en {
  font-family: var(--font-en);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  letter-spacing: var(--tracking-wide);
  color: var(--color-main);
}
#features .label-ja {
  font-size: var(--text-sm);
  color: var(--color-main);
}

@media (max-width: 1024px) {
  #features .counter-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem 2rem;
    text-align: center;
  }
}
@media (max-width: 520px) {
  #features .counter-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    justify-items: center;
  }
  #features .counter-item {
	width: 100%;
	padding-top: 40px; 
    text-align: center;
    border-top: 1px solid var(--color-sub);
  }
  #features .counter-item:last-child {
	padding-bottom: 40px;   
	border-bottom: 1px solid var(--color-sub);
  } 
  #features .crown-icon {
    width: 100%;
    justify-content: center;
  }
  #features .number {
    font-size: var(--text-number);
  }
}

/* ---------------
	02 Works
--------------- */
#works {}

/* ── marquee ── */
.work-card {
	flex-shrink: 0;
	width: 600px !important;
	height: 228px !important;
	border-radius: var(--radius);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 14px;
	position: relative;
	overflow: hidden;
}
.work-card:hover {
	opacity: 0.7;
}
.work-card-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--radius);
}
/* テキストを動画の上に重ねるためのグラデーション */
.work-card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.52) 0%, transparent 55%);
	border-radius: var(--radius-lg);
	pointer-events: none;
}
.work-card-tag {
	font-size: 9.5px;
	color: rgba(255,255,255,0.7);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 5px;
	position: relative;
	font-weight: 500;
	z-index: 1;
}
.work-card-title {
	font-size: 13px;
	font-weight: 500;
	color: #ffffff;
	position: relative;
	line-height: 1.4;
	z-index: 1;
}


/* ---------------
	03 Service
--------------- */
#service {}
#service .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--padding); 
  width: 100%;
  margin: 60px 0;
}

#service .service-section {
  display: grid;
  grid-template-columns: 220px 1fr 350px; /* 左：310px、中央：伸び縮み、右：350px */
  align-items: center;
  padding: var(--padding);
  width: 100%;
  gap: 40px;

  margin: 0 auto;
  border-radius: var(--radius);
  background-color: var(--color-wh);
} 

#service .service-title .number {
  display: block;
  font-family: var(--font-en);
  font-size: var(--text-sm);
  color: var(--color-main);
  font-weight: 400;
  margin-bottom: 8px;
}
#service .service-title h2 {
  font-family: var(--font-en);
  font-size: var(--text-xl);
  color: var(--color-ink);
  font-weight: 300;
  line-height: 1.2;
}
#service .service-desc p {
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--color-ink);
  letter-spacing: 0.03em;
}
#service .service-image {
  overflow: hidden;	
}
#service .service-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

@media screen and (max-width: 1200px) {
  #service .service-section {
    grid-template-columns: 1fr 300px; 
    gap: 32px;
  }
  #service .service-title {
    grid-column: 1;
  }
  #service .service-desc {
    grid-column: 1;
    max-width: 100%;
  }
  #service .service-image {
    grid-column: 2;
    grid-row: 1 / span 2; /* 縦方向、2行分（タイトルと説明文の隣）にまたがって表示 */
  }
}

@media screen and (max-width: 768px) {
  #service .service-section {
    grid-template-columns: 1fr; 
    gap: 20px;
  }

  #service .service-title,
  #service .service-desc,
  #service .service-image {
    grid-column: auto;
    grid-row: auto;
  }
}

/* CTA */
#service .cta-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 28px 32px;
  background-color: var(--color-ink);
  font-family: var(--font-en);
  color: var(--color-wh);
  text-decoration: none;
  border-radius: var(--radius);
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background-color 0.4s ease-out;
}
#service .cta-text-left {
  font-size: var(--text-2xl);
  font-weight: 200;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
#service .cta-text-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--text-2xl);
  font-weight: 200;
  position: absolute;
  right: 32px;
  transform: translateX(0);
  transition: transform 0.4s ease-out, right 0.4s ease-out;
}	
#service .cta-text-right::before { /* dot */
  content: "";
  width: 6px;
  height: 6px;
  background-color: var(--color-wh);
  border-radius: 50%;
  display: inline-block;
}

@media (hover: hover) and (pointer: fine) {
	#service .cta-button:hover {
	  background-color: var(--color-main); 
	}
	#service .cta-button:hover .cta-text-left {
	  opacity: 0;
	  transform: translateX(-320px);
	}
	#service .cta-button:hover .cta-text-right {
	  right: 50%;
	  transform: translateX(50%);
	}
}
@media screen and (max-width: 768px) {
  #service .cta-button {
    padding: 38px;
    border-radius: 50px;
  }	
  #service .cta-text-left {
	display: none;
  }
  #service .cta-text-right {
	font-size: var(--text-lg);
	position: absolute;
	font-weight: 300;
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
  }
}   



/* ---------------
	04 About
--------------- */
#about {
  background-color: var(--color-gray);
  border-radius: var(--radius);
}

/* Title Text */
#about h1.main-title {
  color: var(--color-wh);
}
#about h2.main-title-ja {
  color: var(--color-sub);
}
#about p.sub-title {
  color: var(--color-wh);
}
#about p.sub-title .highlight {
  color: var(--color-sub);
}
#about p.sub-title-jp {
  color: var(--color-wh);
  font-weight: 300;
}


/* profile */
#about .profile-container {
  display: flex;
  width: 100%;
  margin: 0 auto 90px auto;
  color: var(--color-wh); 
  /*max-width: 1200px;*/
  gap: 3.125rem;
}
#about .video-section {
  position: relative;
  flex: 0 0 280px; /* 固定幅 */
  height: 498px;
  border-radius: var(--radius);
  overflow: hidden;
}
#about .content-section {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Header */
.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
}

/* Tokyo Time */
#about .clock-container {	
  display: flex;
  flex-direction: row;
  font-family: var(--font-en);
}
#about .clock-container #tokyo-clock {}
#about .clock-container .label {}      
#about .clock-container .divider {
  margin: 0 15px;
  color: var(--color-sub);
}

#about .sns-icons img {
  width: 20px;
  height: 20px;
  opacity: 0.7;
  transition: opacity 0.6s ease;
}
#about .sns-icons img:hover {
  opacity: 1;
}
#about .section-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 22px 0 20px 0;
}
#about .profile-main h1 {
  font-family: var(--font-en);
  font-size: var(--text-2xl);
  font-weight: 200;
  line-height: 1.4;
}
#about .profile-sub {
  line-height: 1.55;
}
#about .profile-sub .name-ja {
  font-family: var(--font-jp);
  font-weight: 300;	
}
#about .profile-sub .title {
  font-family: var(--font-en);
}
#about .profile-details h2 {
  font-family: var(--font-en);	
  font-size: var(--text-xl);
  font-weight: 200;
  margin-bottom: 5px;
  line-height: 1.55;
}
#about .profile-details .description {
  font-family: var(--font-jp);	
  font-size: var(--text-sm);
  font-weight: 300;
  line-height: 1.4;
  text-align: justify;
}
#about .profile-details .description p {
  margin-bottom: 12px;
}
#about .profile-details .description p:last-child {
  margin-bottom: 0;
}


@media (max-width: 768px) {
  #about .profile-container {
    flex-direction: column;
    gap: 55px;
  }
  #about .video-section {
    flex: none;
    width: 50vw;
    height: calc(50vw * 1.778);
    margin: 0 auto;
  }
  #about .profile-sub {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  #about .profile-details h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }
}

/* gallery swiper */
#about .swiper-gallery .swiper-wrapper {
  align-items: flex-start;
  height: 320px;
  margin: 40px 0 0;
}

#about .swiper-gallery::before,
#about .swiper-gallery::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 30px;
  z-index: 2;
  pointer-events: none;
}
#about .swiper-gallery::before { left: 0; background: linear-gradient(to right, var(--color-gray) 0%, transparent 100%);
}
#about .swiper-gallery::after  { right: 0; background: linear-gradient(to left,  var(--color-gray) 0%, transparent 100%);
}
	

#about .swiper-gallery .img-card {
	flex-shrink: 0;
	border-radius: var(--radius);
	overflow: hidden;
	position: relative;
	transition: transform .3s cubic-bezier(.25,.46,.45,.94), opacity .3s;
}
#about .swiper-gallery .img-card:hover { transform: scale(0.9); opacity: 0.75; }

#about .swiper-gallery .img-card[data-index="1"]   { margin-top: 100px; }
#about .swiper-gallery .img-card[data-index="2"]   { margin-top: 0px;  }
#about .swiper-gallery .img-card[data-index="3"]   { margin-top: 110px; }
#about .swiper-gallery .img-card[data-index="4"]   { margin-top: 15px; }
#about .swiper-gallery .img-card[data-index="5"]   { margin-top: 80px; }
#about .swiper-gallery .img-card[data-index="6"]   { margin-top: 0px; }
#about .swiper-gallery .img-card[data-index="7"]   { margin-top: 140px; }
#about .swiper-gallery .img-card[data-index="8"]   { margin-top: 50px; }
#about .swiper-gallery .img-card[data-index="9"]   { margin-top: 10px; }
#about .swiper-gallery .img-card[data-index="10"] { margin-top: 40px; }
  



/* Text Slider */
#about .headline-wrap {
  position: relative;
  overflow: hidden;
  /*height: calc(200px * 1.1);*/
  height: calc(clamp(72px, 16vw, 176px) * 1.1);
  margin: 60px 0 0 0;
}
#about .headline-wrap .headline {
  position: absolute;
  inset: 0;
  opacity: 1;
  white-space: nowrap;
  font-family: var(--font-en);
  font-size: clamp(72px, 16vw, 176px);
  line-height: 1;
  font-weight: 100;
  color: var(--color-wh);
}
#about .headline-wrap .headline.is-active {}
#about .headline-wrap .headline span {
  display: inline-block;
  opacity: 1;
  transform: translateY(100%);
}
#about .headline-wrap .headline.enter span { animation: charIn .5s forwards; }
#about .headline-wrap .headline.leave span { animation: charOut .5s forwards; }
@keyframes charIn {
  from {
    opacity: 1;
    transform: translateY(110%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes charOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(-110%);
  }
}

@media (max-width: 768px) {
}

/* Skill Marquee */
#about .skill-marquee-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  font-family: var(--font-en);
  color: var(--color-wh);            
  padding: 15px 0;
  font-weight: 300;	
}
#about .skill-marquee-container {
  display: flex;
}
#about .skill-marquee-track {
  display: flex;
  flex-shrink: 0;
  white-space: nowrap;
  animation: skill-loop-right 100s linear infinite;
}
#about .skill-marquee-track span {
  display: inline-block;
  padding-right: 5px;  
  font-size: var(--text-lg);
}

@keyframes skill-loop-right {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0%);
  }
}




/* ---------------
	05 Workflow
--------------- */
#workflow .container {}
#workflow .inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}
#workflow .header-group-02 {
  position: relative;
  position: sticky;
  top: 40px;
}
@media (max-width: 768px) {
  #workflow .inner {
	flex-direction: column;
  }
  #workflow .header-group-02 {	
    width: 100%;
    position: static;
  }
}

#workflow .card-container {
	width: 100%;
	max-width: 680px;
	padding-bottom: 200px; /* 最後のカードが留まる余白 */
}
#workflow .workflow-card {
 position: sticky;
  background-color: var(--color-wh);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 0;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  border: 2px solid var(--color-bg);
  box-shadow: 0 0 5px rgba(204,204,204,0.1);
}
.workflow-card:nth-child(1) { z-index: 1; top: 80px; }
.workflow-card:nth-child(2) { z-index: 2; top: 160px; }
.workflow-card:nth-child(3) { z-index: 3; top: 240px; }
.workflow-card:nth-child(4) { z-index: 4; top: 320px; }
.workflow-card:nth-child(5) { z-index: 5; top: 400px; }

@media (max-width: 768px) {
	#workflow .workflow-card {
		min-height: 280px;
	}
	.workflow-card:nth-child(1) { z-index: 1; top: 64px; }
	.workflow-card:nth-child(2) { z-index: 2; top: 128px; }
	.workflow-card:nth-child(3) { z-index: 3; top: 192px; }
	.workflow-card:nth-child(4) { z-index: 4; top: 256px; }
	.workflow-card:nth-child(5) { z-index: 5; top: 320px; }
}

/* ヘッダー部分 */
#workflow .workflow-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}
#workflow .header-left {
  display: flex;
  align-items: normal;
}
#workflow .step-number {
  font-family: var(--font-en);
  font-size: var(--text-md);
  color: var(--color-main);
  font-weight: 400;
  margin-right: 40px;
}
#workflow .step-title {
  font-family: var(--font-en);	
  font-size: var(--text-2xl);
  color: var(--color-ink);
  font-weight: 300;
  margin: 0;
  line-height: 1;
}
#workflow .duration {
  font-family: var(--font-en);
  font-size: var(--text-sm);
  color: var(--color-main);
  font-weight: var(--font-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
#workflow .workflow-content {
  padding: 0 24px 0 61px;
}
#workflow .workflow-image {
  width: 170px;
  height: 118px;  
  flex-shrink: 0;
}
#workflow .workflow-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
#workflow .workflow-description {
  flex-grow: 1;
}
#workflow .workflow-description p {
  font-size: var(--text-sm);
  color: var(--color-ink);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 768px) {
  #workflow .workflow-box {
    padding: 24px;
  }
  #workflow .workflow-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 22px;
    gap: 3px;
  }
  #workflow .step-title {
    font-size: var(--text-xl);
  }
  #workflow .step-number {
    margin-right: 20px;
  }
  #workflow .duration {
	padding-left: 40px;
  }
  #workflow .workflow-content {
    flex-direction: column;
    padding-left: 0;
    gap: 20px;
  }
  #workflow .workflow-image {
    width: 100%;
    height: auto;
  }
}
/* 動画の最後にある黒いコンタクトセクションの再現 */
#workflow .workflow-card.dark {
    background-color: var(--color-ink);
    color: var(--color-wh);
}
#workflow .workflow-card.dark .step-title,
#workflow .workflow-card.dark .workflow-description p {
    color: var(--color-wh);
}






/* ---------------
	06 Feedback
--------------- */
#feedbacks {}

/* ── swiper ── */
.voice-card {
	flex-shrink: 0;
	width: 27vw !important;
	border-radius: var(--radius);
	padding: 24px;
	background: var(--color-wh);
	display: flex;
	flex-direction: column;
	gap: 42px;
	cursor: pointer;
	transition: border-color .2s, box-shadow .2s;
}

@media (max-width: 1180px) {
	.voice-card {
		width: 55vw !important;
	}
}
@media (max-width: 768px) {
	.voice-card {
		width: 75vw !important;
	}
}
.voice-card:hover { 
	border-color: var(--border-hover);
}
.quote-icon {
    font-size: 54px;
    font-family: Georgia, serif;
    color: var(--color-sub);
    line-height: 1;
    margin-bottom: -15px;
    font-weight: bold;
}
.voice-stars {
	font-size: var(--text-sm);
	color: var(--color-gold);
	letter-spacing: 2.5px;
}
.voice-text {
	font-size: var(--text-md);
	color: var(--color-ink);
	line-height: 1.7;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 50px;
}
.voice-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 2px; }
.voice-name { font-size: 11.5px; color: var(--color-ink); }
.voice-more { font-size: 10.5px; color: var(--color-main); letter-spacing: .03em; }

/* ── Voice Modal ── */
#vmodal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(10,10,8,.8);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 1.5rem;
}
#vmodal.open { display: flex; }
#vmodal-box {
    background: var(--color-wh);
    border-radius: var(--radius);
    width: min(500px, 100%);
    padding: 32px;
    position: relative;
    max-height: 88vh;
    overflow-y: auto;
    animation: fadeUp .22s ease;
}
  #vmodal-close {
    position: absolute;
    top: 16px; right: 16px;
    background: none;
    border: 0.5px solid var(--border);
    border-radius: 50%;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: border-color .15s;
  }
  #vmodal-close:hover { border-color: var(--border-hover); }
  .vm-stars { font-size: 13px; color: #c09a20; letter-spacing: 3px; margin-bottom: 14px; }
  .vm-quote {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.85;
    margin-bottom: 18px;
    padding-left: 14px;
    border-left: 2px solid var(--border);
  }
  .vm-detail {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.8;
    border-top: 0.5px solid var(--border);
    padding-top: 16px;
    margin-bottom: 18px;
  }
  .vm-meta { display: flex; flex-direction: column; gap: 3px; }
  .vm-name { font-size: 13px; font-weight: 500; color: var(--text-primary); }
  .vm-sub { font-size: 11.5px; color: var(--text-muted); }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

/*.feedback-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    gap: 24px;
    justify-content: space-between;
}
.feedback-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 40px;
    background-color: var(--color-wh);
    border-radius: var(--radius);
}*/


/*
.feedback-text {
    font-size: var(--text-sm);
    line-height: 1.75;
    color: var(--color-ink);
    margin-bottom: 54px;
    text-align: justify;
    flex-grow: 1;
}
.user-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid transparent;
}
.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}
.avatar {
    width: 44px;
    height: 44px;
    background-color: #dbdbdb;
    border-radius: 2px;
    flex-shrink: 0;
}
.user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.user-name {
    font-size: var(--text-sm);
    color: var(--color-ink);
}
.user-company {
    font-size: var(--text-xs);
    color: var(--color-gray);
}
.stars {
    color: var(--color-gold);
    font-size: var(--text-sm);
    letter-spacing: 2px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .feedback-container {
      overflow: hidden;
      justify-content: center;
    }    
    .feedback-card {
      flex: 0 0 80%;
      box-sizing: border-box;
    }
}*/



/* ---------------
	07 Pricing
--------------- */
#pricing {}

#pricing .pricing-container {
	width: 100%;
    /*max-width: 1200px;*/
    margin: 0 auto 20px auto;
    display: flex;
    flex-direction: row;
    align-items: stretch; /* 高さを統一 */

    gap: 24px;
    justify-content: center;
    padding-top: 40px; /* リボンがはみ出さないための余白 */
}
#pricing .pricing-card {
	width: 33.333%;
    /*max-width: 360px;*/
    padding: 40px 24px 30px 24px;
    position: relative; /* リボン配置の基準 */
    display: flex;
    flex-direction: column;
    background-color: var(--color-wh);
    border-radius: var(--radius);
}
#pricing .popular-badge {
    position: absolute;
    top: -14px;
    right: 12px;
    /*transform: translateX(-50%);*/
    background-color: var(--color-gold);
    color: var(--color-wh);
    font-family: var(--font-en);
    font-size: var(--text-xs);
    padding: 4px 16px;
    border-radius: var(--radius);
    white-space: nowrap;
    letter-spacing: 0.05em;
}
#pricing .popular-badge::before {
    content: "✦ ";
}
#pricing .eng-title {
	font-family: var(--font-en);	
    font-size: var(--text-sm);
    color: var(--color-main);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    margin-bottom: 8px;
}

#pricing .service-title {
    font-size: var(--text-lg);
    font-weight: normal;
    color: var(--color-ink);
    margin-bottom: 16px;
}
#pricing .description {
    font-size: var(--text-sm);
    color: var(--color-gray);
    margin-bottom: 24px;
    text-align: justify;
}
#pricing .price-box {
	font-family: var(--font-en);
    font-size: var(--text-subtitle);
    font-weight: 300;
    color: var(--color-main);
    padding-bottom: 16px;
    border-bottom: 1px dashed #cccccc;
    margin-bottom: 24px;
}
#pricing .price-box span {
    font-size: var(--text-sm);
    color: var(--color-main);
}
#pricing .content-box {
    text-align: left;
    margin-bottom: 30px;
    flex-grow: 1; /* ボタンの位置を下揃え */
}
#pricing .content-title {
    font-size: 13px;
    color: var(--color-ink);
    margin-bottom: 12px;
    display: block;
}
#pricing .feature-list {
    list-style: none;
}
#pricing .feature-list li {
    font-size: 13px;
    color: var(--color-ink);
    margin-bottom: 8px;
    position: relative;
    padding-left: 18px;
}
#pricing .feature-list li::before { /* チェックマーク */
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-ink);
    font-size: 12px;
}     
#pricing .feature-list li.no-check { /* チェックマークなし */
    padding-left: 0;
}
#pricing .feature-list li.no-check::before {
    content: "";
}

@media (max-width: 1040px) {
    #pricing .pricing-container {
        flex-wrap: wrap;         /* 3つ目のカードが下に折り返すようにする */
        justify-content: center; /* 奇数（3つ目）のカードを中央に寄せる */
        gap: 24px;
    }
    #pricing .pricing-card {    
        width: calc(50% - 12px);/* 横幅50%から、gap: 20pxの半分を引いて2列にする */
    }
}

@media (max-width: 768px) {
    #pricing .pricing-container {
        flex-direction: column;
        align-items: center;
        gap: 42px;
    }
    #pricing .pricing-card {
        width: 100%;
    }
}

#pricing p.note {
	font-size: var(--text-xs);
	color: var(--color-ink);
}


/* CTA */
#pricing .price-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-ink);
    font-family: var(--font-en);
    color: var(--color-wh);
    text-decoration: none;
    border-radius: 50px;
    height: 54px;
    position: relative;
    transition: background-color 0.3s ease;
    width: 100%;
    padding: 0 24px;
}
#pricing .btn-dot { /* 白いドット */
    width: 5px;
    height: 5px;
    background-color: var(--color-wh);
    border-radius: 50%;
    margin-right: 18px;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); /* ドットがホバー時に右にスムーズに動く設定 */
}
#pricing .text-mask-wrapper { /* マスクエリア */
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    position: relative;
}
#pricing .text-slide-container {
    display: flex;
    flex-direction: column;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}
#pricing .text-row {
    height: 29px;
    font-size: var(--text-md);
    white-space: nowrap;
    display: flex;
    align-items: center;
}
#pricing .price-cta:hover {
    background-color: var(--color-main);
}
#pricing .price-cta:hover .btn-dot {
    transform: translateX(10px);
}
#pricing .price-cta:hover .text-slide-container {
    transform: translateY(-29px);
}



/* ---------------
	08 FAQ
--------------- */
#faq {}
#faq .inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
#faq .faq-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 800px;
  gap: 24px;
}
#faq .faq-item {
  border-radius: var(--radius);
  background-color: var(--color-wh);
}
#faq .faq-summary {
  display: flex;
  align-items: center;
  padding: 24px;
  cursor: pointer;
  list-style: none; /* デフォルトの矢印を消す */
  position: relative;
  user-select: none;
}
#faq .faq-summary::-webkit-details-marker { /* Safari用のデフォルト矢印削除 */
  display: none;
}
#faq .faq-number {
  font-family: var(--font-en);
  font-size: var(--text-sm);
  color: var(--color-main);
  font-weight: 400;
  margin-right: 24px;
}
#faq .faq-question {
  font-size: var(--text-md);
  color: var(--color-ink);
  flex-grow: 1;
  line-height: 1.4;
}
#faq .faq-icon {
  position: relative;
  width: 16px;
  height: 16px;
  margin-left: 16px;
  flex-shrink: 0; /* ← これを追加！ */
}
#faq .faq-icon::before,
#faq .faq-icon::after {
  content: "";
  position: absolute;
  background-color: var(--color-main);
  transition: transform 0.3s ease;
}
#faq .faq-icon::before {
  top: 7px;
  left: 0;
  width: 100%;
  height: 2px;
}
#faq .faq-icon::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 100%;
}

#faq details[open] .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0; /* 縦線を消してマイナス（横線だけ）にする */
}
#faq details[open] .faq-icon::before {
  transform: rotate(180deg);
}
#faq .faq-content-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
}
#faq details[open] + .faq-content-wrapper {
  grid-template-rows: 1fr;
}
#faq .faq-content {
  overflow: hidden;
}

#faq .faq-answer {
  padding: 0 65px 24px 64px;
  font-size: 15px;
  color: var(--color-gray);
  line-height: 1.6;
}

@media (max-width: 768px) {
	#faq .inner {
	  flex-direction: column;
	}
	#faq .faq-answer {
      padding: 0 33px 24px 24px;
    }
    #faq .faq-container {
	  gap: 12px;
    }
}


/* ---------------
	09 Journal
--------------- */

#journal {}

/* btn */
#journal .link-wrap {
	margin-bottom: 24px;
}
#journal .readmore{
  display:inline-flex;
  align-items:center;
  gap: 4px;

  color: var(--color-main);
  font-family: var(--font-en);
  font-weight: var(--font-bold);
  letter-spacing: var(--tracking-wide);
  text-decoration:none;
  font-size: var(--text-md);
  line-height:1;
}
#journal .arrow-mask{
  position:relative;
  width:24px;
  height:24px;
  overflow:hidden;
}
#journal .arrow{
  position:absolute;
  inset:0;
  transition:transform .45s cubic-bezier(.76,0,.24,1);
  color:var(--color-main);
}
#journal .arrow svg{
  width:100%;
  height:100%;
  display:block;
}
#journal .arrow-current{
  transform:translateX(0);
}
#journal .arrow-next{
  transform:translateX(-200%);
}

/* Hover */
#journal .readmore:hover .arrow-current{
  transform:translateX(200%);
}
#journal .readmore:hover .arrow-next{
  transform:translateX(0);
}

/* card */
#journal .card-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
#journal .card-item {
  flex: 1; /* 3カラム */
  display: flex;
  flex-direction: column;
  background-color: var(--color-wh);
  border-radius: var(--radius);
  padding: 24px;
}
#journal .card-image-wrapper {
  width: 100%;
  overflow: hidden;
}
#journal .card-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}
#journal .card-title-wrapper {}
#journal .card-title {
  margin: 20px 0 10px 0;
  font-size: var(--text-md);
  line-height: 1.35;
  font-weight: normal;
  text-align: left;
}
#journal .card-date {
  font-family: var(--font-en);
  font-size: var(--text-xs);
  color: var(--color-main);
  margin-bottom: 5px;
}

#journal .card-item:hover .card-image {
  transform: scale(1.09); 
}
#journal .card-item:hover .card-title {
  opacity: 0.5; 
}
 

@media (max-width: 768px) {  
  #journal .card-grid {
	width: 100%;
    flex-direction: column;
    gap: 12px;
  }
  #journal .card-item {
	width: 100%;
	position: relative;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 16px;
  }
  #journal .card-image-wrapper {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px;
    flex-shrink: 0;
  }
  #journal .card-image {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover;
    object-position: center center;
    border-radius: var(--radius);
  }
  #journal .card-title {
    margin-top: 0;
    padding-right: 40px;
  }
  .card-item::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%23AAB7C2'%3E%3Cpath d='M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z'/%3E%3C%2Fsvg%3E");
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
  }
}


    
    

/* ---------------
	FOOTER
--------------- */
#footer {
	font-family: var(--font-en);
	background-color: var(--color-gray);
	padding: 60px 40px 80px 40px;
	display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 110px;
    border-radius: var(--radius);
}
#footer .footer-container {
    width: 100%;
    max-width: 1240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
#footer .site-footer a {
    color: var(--color-wh);
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Navigation */
#footer .footer-nav {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-lg);
    font-weight: 300;
    margin-bottom: 40px;
}
#footer .footer-nav a {
    display: inline-block;
    position: relative;
    margin-right: 20px;
    overflow: hidden;
    vertical-align: bottom;
    color: transparent; 
}
#footer .footer-nav .nav-right a:last-child {
    margin-right: 0;
}
#footer .footer-nav a::before {
    content: "[ " attr(data-text) " ]";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    color: var(--color-wh); 
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 1);
}
#footer .footer-nav a::after {
    content: "[ " attr(data-text) " ]";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    color: var(--color-wh);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 1);
    transform: translateY(100%);
}
#footer .footer-nav a:hover::before {
    transform: translateY(-100%);
}
#footer .footer-nav a:hover::after {
    transform: translateY(0);
}

/* 中段 */
.footer-main-title {
    text-align: center;
    margin: 36px 0 64px 0;
}
.fade-in-up-container span {
    font-family: var(--font-en);
    font-size: clamp(90px, 16vw, 176px);
    font-weight: 100;
    line-height: 0.8;
    letter-spacing: -0.02em;
    color: var(--color-sub);
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    margin: 0 14px;
}
/* is-visibleが付いたら発火 */
.fade-in-up-container span.is-visible {
    animation: fadeInUpAnim 0.8s cubic-bezier(0.25, 0.46, 0.45, 1) both;
}

@keyframes fadeInUpAnim {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up-container span.is-visible.delay-1 { animation-delay: 0.4s; }
.fade-in-up-container span.is-visible.delay-2 { animation-delay: 0.8s; }
.fade-in-up-container span.is-visible.delay-3 { animation-delay: 1.2s; }



/* 左側 */
#footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 30px;
}
#footer .bottom-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
#footer .bottom-left .logo {
  width: 224px;
}
#footer .bottom-left .copyright {
    font-size: var(--text-xs);
    color: var(--color-wh);
}

/* 右側 */
#footer .bottom-right {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
}
#footer .contact-info,
#footer .sns-info {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
#footer .sns-info {
	gap: 10px;
}

#footer .label {
    display: block;
    font-size: var(--text-sm);
    color: var(--color-wh);
    margin-bottom: 8px;
}
#footer .email {
    font-size: var(--text-xl);
    font-weight: 300;
    display: inline-block;
    position: relative;
    text-decoration: none; /* デフォルトの下線は非表示にする */
    color: var(--color-wh);
    transition: color 0.3s ease;
}
#footer .email:hover {}
#footer .email::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;    
    width: 100%;
    height: 1px;
    background-color: var(--color-wh);
    transform-origin: left top;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
#footer .email:hover::after {
    transform: scaleX(1);
}

/* Social */
#footer .sns-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}
#footer .sns-icons a {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                opacity 0.3s ease;
    opacity: 0.75; 
}
#footer .sns-icons a img {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
}
#footer .sns-icons a:hover {
    opacity: 1;
    transform: translateY(-8px);
}

@media (max-width: 768px) {
    #footer .site-footer {
        padding: 40px 20px 60px 20px;
    }    
    #footer .footer-nav {
        flex-direction: column;
        gap: 15px;
    }
    #footer .fade-in-up-container {
	    text-align: left;
    }
    #footer .fade-in-up-container span {
	    margin: 0 10px 0 0;
    }
    #footer .nav-left {
	    font-size: var(--text-lg);
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 10px;
    }     
    #footer .footer-bottom {
	    flex-direction: column-reverse;
        align-items: flex-start;
        gap: 40px;
    } 
    #footer .bottom-left {
	    width: 100%;
    }   
    #footer .bottom-right {
	    width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }
    #footer .label {
	    font-size: var(--text-lg);
	    color: var(--color-sub);
	    margin: 0;
    }   
    #footer .email {
        font-size: var(--text-xl);
    }
    #footer .sns-info {
	    gap: 5px;
    }
    #footer .sns-icons {
	    gap: 50px;
	}
    #footer .sns-icons a img {
	    width: 48px;
	    height: 48px;
	}
}

/* ---------------
	Swiper
--------------- */

.swiper {
  overflow: hidden;
  width: 100%;
}
.swiper-wrapper {
  transition-timing-function: linear !important;
}




/* ---------------
	OPENING
--------------- */
#opening {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--color-ink);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: slideUp 0.7s cubic-bezier(.77,0,.18,1) forwards;
  animation-delay: 0.98s;
}
#opening .logo {
  width: 420px;
}
#lottie-logo svg {
  display: block;
  width: 100% !important;
  height: auto !important;
}

@keyframes slideUp {
  from { transform: translateY(0); }
  to   { transform: translateY(-100%); }
}

@media (max-width: 768px) {
	#opening .logo {
	  width: 220px;
	}
}


/* ---------------
	CURSOR
--------------- */
#cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #111;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: width  0.35s cubic-bezier(0.22, 1, 0.36, 1),
              height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.2s;
}
#cursor-ring {
  position: fixed;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9998;
  transition: width  0.35s cubic-bezier(0.22, 1, 0.36, 1),
              height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.2s,
              background  0.2s;
}
#cursor-dot.dark-bg {
  width: 6px;
  height: 6px;
  background: #fff;
  mix-blend-mode: difference;
}
#cursor-ring.dark-bg {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  mix-blend-mode: difference;
}
#cursor-dot.is-clicking {
  width: 20px;
  height: 20px;
}

@media (pointer: coarse), (pointer: none) {
  #cursor-dot,
  #cursor-ring {
    display: none !important;
  }
}

/* ---------------
	BLUH
--------------- */

.blur-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  z-index: 3; /* コンテンツより前面にレイヤーを持ってくる */
  background-image: linear-gradient(
    to bottom,
    transparent 100%,
    rgba(255, 255, 255, 0.9) 0%, 
  ); 
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 50%);
  mask-image: linear-gradient(to bottom, black 0%, transparent 50%);  
}

.blur-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  z-index: 3;

  background-image: linear-gradient(
    to top, 
    transparent 100%,
    rgba(255, 255, 255, 0.9) 0%,   
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  -webkit-mask-image: linear-gradient(to top, black 0%, transparent 50%);
  mask-image: linear-gradient(to top, black 0%, transparent 50%);
}



/* ---------------
	inview的な
--------------- */
/* フェードイン */
.fade-in {
  opacity: 0;
  transition: opacity .6s ease;
}

.fade-in.is-visible {
  opacity: 1;
}

/* 下からフェードイン */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity .6s ease,
    transform .6s ease;
}
.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 下から上 + 拡大 */
.zoom-up {
  opacity: 0;
  transform: translateY(20px) scale(.9);
  transition:
    opacity 1s cubic-bezier(.22,1,.36,1),
    transform 1s cubic-bezier(.22,1,.36,1);
  overflow: hidden;
}
.zoom-up.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.delay-1 { transition-delay: .2s; }
.delay-2 { transition-delay: .4s; }
.delay-3 { transition-delay: .6s; }
.delay-4 { transition-delay: .8s; }
.delay-5 { transition-delay: 1s; }


/* ---------------
	MESSAGE
--------------- */
#message {
  background-color: var(--color-main);
  border-radius: var(--radius);
}
#message h1 {
  font-size: var(--text-subtitle);
  font-weight: 200;
  letter-spacing: -0.02rem;
  margin: 0.4em 0;
  color: var(--color-wh);
}
#message h1 span {
  color: var(--color-wh);
}

