@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@500;700;900&display=swap');

:root{
  --bg:#ffffff;
  --text:#000000; /* Darker black */
  --muted:#000000; /* Fully black, no gray */
  --line:rgba(0,0,0,.3); /* Darker lines */
  --line2:rgba(0,0,0,.2);
  --max:1200px; /* Slightly wider */

  --radius:16px;
  --shadow: 0 10px 40px rgba(0,0,0,.1);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700; /* Base weight is now Bold */
  font-size: 20px; /* Much larger base size */
  letter-spacing:.5px;
  line-height: 1.8;
}

a{ color:inherit; text-decoration:none; }
b{ font-weight:700; }

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 32px; /* More padding */
}

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(255,255,255,.85); /* More opaque */
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--line2);
}
.header__inner{
  height:80px; /* Taller header */
  display:flex;
  align-items:center;
  justify-content:space-between;
  position: relative;
}

.brand{
  display:flex;
  align-items:center;
}
.brand__logo{
  height:48px;
  width:auto;
  mix-blend-mode: multiply;
}

/* Nav */
.nav{
  display:flex;
  align-items:center;
  gap:32px;
}

.nav__item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav__link {
  display: block;
  padding: 8px 0;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 200px;
  padding: 12px 0;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
}

.dropdown__link {
  display: block;
  padding: 10px 24px;
  font-size: 16px;
  white-space: nowrap;
  transition: background 0.2s;
}

.dropdown__link:hover {
  background: rgba(0,0,0,.03);
}

/* Desktop Hover */
@media (min-width: 861px) {
  .nav__item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 10px);
  }
}

/* Mobile nav toggle */
.navToggle{
  display:none;
  border:1px solid var(--line);
  background: rgba(0,0,0,.03);
  border-radius: 999px;
  padding:10px 12px;
}
.navToggle__bar{
  display:block;
  width:18px;
  height:2px;
  background:#000;
  margin:4px 0;
  opacity:1;
}

/* Hero */
.hero{
  padding: 140px 0 180px; /* More spacing */
  position: relative;
  overflow: hidden;
}

.hero__bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg::after{
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* 暗いオーバーレイに変更 */
  z-index: 1;
}

.hero__bg-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__inner{
  position: relative;
  z-index: 2;
}

.eyebrow{
  margin:0 0 24px;
  font-size:18px; /* Larger */
  letter-spacing:.2em;
  color:#fff; /* Changed from var(--text) to #fff */
  font-weight: 900; /* Extra Bold */
}
.hero__grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:80px;
  align-items:start;
}
.hero__title{
  margin:0;
  font-weight:900; /* Extra Bold */
  letter-spacing:-0.02em;
  line-height:1.2;
  font-size: clamp(40px, 10vw, 120px); /* Increased minimum and scaling for mobile visibility */
  color: #fff; /* Changed from #000 to #fff */
}
.hero__lead{
  margin: 32px 0 0;
  font-size: clamp(16px, 4vw, 20px); /* Responsive fluid typography */
  font-weight: 500;
  line-height:1.8;
  color:#fff; /* Changed from #000 to #fff */
  max-width: 40em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* Utilities */
.u-display-block-md {
  display: inline;
}
@media (min-width: 768px) {
  .u-display-block-md {
    display: block;
  }
}

.u-outline {
  color: transparent;
  -webkit-text-stroke: 1.2px var(--text);
  text-stroke: 1.2px var(--text);
}

.u-outline-white {
  color: transparent;
  -webkit-text-stroke: 1px #fff;
  text-stroke: 1px #fff;
}

.hero__warp-line {
  display: block;
  margin-bottom: 8px;
  width: fit-content;
}

.warp-char {
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 1px #fff;
  opacity: 0; /* 最初は隠す（縁取りも見えないように） */
  will-change: color, opacity;
}

.reveal-text.is-visible .warp-char {
  opacity: 1;
  transition: opacity 0s; /* スライドと同時に表示開始 */
  animation: warp-animation 30s ease-in-out infinite;
}

@keyframes warp-animation {
  0% { color: transparent; }
  3.33% { color: #fff; } /* 1秒で白文字に */
  66.67% { color: #fff; } /* 20秒地点まで白文字を維持（全員が揃う時間を確保） */
  70% { color: transparent; } /* 1秒で白抜きに戻る */
  100% { color: transparent; }
}

.hero__actions{
  margin-top: 48px;
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}

.hero__side{
  border-left: 1px solid var(--line2);
  padding-left: 32px;
}
.label{
  margin:0 0 20px;
  font-size:14px;
  color:var(--text);
  letter-spacing:.1em;
  font-weight: 700;
}

.stats{
  margin:0;
  display:grid;
  gap:16px;
}
.stats__row{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:14px;
  padding: 12px 0;
  border-bottom:1px solid var(--line); /* Darker line */
}
.stats__row dt{
  font-size:14px;
  color:var(--muted);
  font-weight: 500;
}
.stats__row dd{
  margin:0;
  font-size:16px;
  color:var(--text);
  font-weight: 700;
}

.meta{ margin-top: 24px; }
.meta__title{
  margin: 20px 0 12px;
  font-size:14px;
  color:var(--text);
  font-weight: 700;
}
.chips{ display:flex; flex-wrap:wrap; gap:10px; }
.chip{
  font-size:13px;
  color:var(--text);
  border:1px solid var(--line);
  padding:8px 14px;
  border-radius:999px;
  background: transparent;
  font-weight: 500;
}

.linkCopy{
  margin-top: 16px;
  width:100%;
  text-align:left;
  cursor:pointer;
  border:1px solid var(--line);
  background: transparent;
  color:var(--text);
  padding: 14px 14px;
  border-radius: 12px;
  font-size:14px;
  font-weight: 500;
}
.linkCopy:hover{ background: rgba(0,0,0,.03); }
.hint{
  margin: 12px 0 0;
  font-size:13px;
  color:var(--muted);
  min-height: 1.2em;
}

.hero .btn--ghost{
  color: #fff;
  border-color: #fff;
}
.hero .btn--ghost:hover{
  background: rgba(255,255,255,.1);
}

/* Sections */
.section{
  padding: 160px 0; /* More padding */
  border-top: 1px solid var(--line);
}

.sectionHead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:40px;
  margin-bottom: 80px;
}
.sectionHead__title{
  margin: 0;
  font-size: 64px; /* Larger */
  font-weight: 900; /* Extra Bold */
  letter-spacing:-1px;
  line-height: 1.1;
}
.sectionHead__desc{
  margin: 0;
  max-width: 64ch;
  font-size:22px; /* Larger */
  line-height:1.8;
  color:#000;
  font-weight: 700;
}

/* Layout blocks */
.grid2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;
}

.cardLine{
  padding-top: 24px;
  border-top: 2px solid var(--text); /* Thicker line */
}
.cardLine__no{
  margin:0;
  font-size:18px;
  color:var(--text);
  letter-spacing:.10em;
  font-weight: 900;
}
.cardLine__title{
  margin: 16px 0 12px;
  font-size:32px; /* Larger */
  font-weight:900;
}
.cardLine__text{
  margin:0;
  font-size:20px;
  line-height:1.8;
  color:var(--text);
}

/* Product block */
.productBlock{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.list{
  margin:0;
  padding-left: 20px;
  color:var(--text);
  line-height:2.0;
  font-size:20px; /* Larger */
  font-weight: 700;
}
.productBlock__cta{
  grid-column: 1 / -1;
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  padding-top: 24px;
  border-top:2px solid var(--text);
}

/* Story stack */
.stack{
  display:grid;
  gap: 24px;
}
.story{
  border-top:2px solid var(--line);
  padding-top: 24px;
}
.story__title{
  margin:0 0 10px;
  font-size:28px; /* Larger */
  font-weight:900;
}
.story__text{
  margin:0;
  font-size:22px; /* Larger */
  line-height:1.8;
  color:#000;
  max-width: 78ch;
}

/* Timeline */
.timeline{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap: 24px;
}
.timeline__item{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  border-top:2px solid var(--line);
  padding-top: 24px;
}
.timeline__date{
  font-size:16px;
  color:var(--text);
  letter-spacing:.10em;
  font-weight: 700;
}
.timeline__title{
  margin:0 0 8px;
  font-size:24px; /* Larger */
  font-weight:900;
}
.timeline__text{
  margin:0;
  font-size:20px;
  line-height:1.8;
  color:var(--text);
}

/* Members */
.members{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.member{
  cursor:pointer;
  text-align:center;
  border:1px solid var(--line);
  background: transparent;
  border-radius: 14px;
  padding: 32px 24px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 16px;
  transition: background-color 0.2s;
}
.member:hover{ background: rgba(0,0,0,.03); }
.member__img{
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--line2);
}
.member__name{
  display:block;
  font-size:20px;
  font-weight:900;
  line-height: 1.4;
}
.member__role{
  display:block;
  font-size:16px;
  color:var(--text); /* No muted */
  font-weight: 700;
  line-height: 1.4;
}

/* Contact */
.contactGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contactPanel{
  border-top:2px solid var(--line);
  padding-top: 24px;
}
.form{ margin-top: 16px; display:grid; gap: 16px; }
.field{ display:grid; gap: 10px; }
.field__label{ font-size:16px; color:var(--text); letter-spacing:.06em; font-weight: 900; }
.field__input{
  width:100%;
  border:2px solid var(--line);
  background: #f9f9f9;
  color:var(--text);
  border-radius: 8px; /* Sharp corners */
  padding: 18px 18px;
  font-size:18px;
  outline:none;
  font-weight: 700;
}
.field__input:focus{ border-color: #000; background: #fff; }
.field__textarea{ min-height: 160px; resize: vertical; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding: 18px 32px; /* Larger buttons */
  border-radius: 999px;
  border: 2px solid var(--text);
  font-size:18px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform: uppercase;
}
.btn--primary{
  background:#000;
  color:#fff;
  border-color:#000;
}
.btn--primary:hover{ background:#333; border-color: #333; }
.btn--ghost{
  background: transparent;
  color: var(--text);
}
.btn--ghost:hover{ background: rgba(0,0,0,.06); }
.btn--full{ width:100%; border-radius: 8px; padding: 18px 18px; }

/* Footer */
.footer{
  border-top: 1px solid var(--line);
  padding: 80px 0;
  background: #f4f4f4;
}
.footer__inner{
  display:flex;
  flex-direction: column; /* Stack elements by default */
  align-items:center; /* Center items for column layout */
  justify-content:space-between;
  gap:24px;
  color:var(--text);
  font-size:14px;
  font-weight: 500;

  @media (min-width: 768px) { /* Adjust for larger screens */
    flex-direction: row; /* Display as a row */
    align-items: flex-end; /* Align to bottom for row layout */
  }
}
.footer__top{
  color:var(--text);
  border-bottom:1px solid #000;
  padding-bottom:3px;
}
.footer__top:hover{ opacity: 0.7; }

/* Modal */
.modal{
  position: fixed;
  inset: 0;
  display:none;
  z-index: 60;
}
.modal.is-open{ display:block; }
.modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.6);
}
.modal__panel{
  position:relative;
  margin: 10vh auto 0;
  width: min(640px, calc(100% - 32px));
  border: none;
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.modal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 24px;
}
.modal__close{
  cursor:pointer;
  border:1px solid var(--line);
  background: transparent;
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  display:flex;
  align-items:center;
  justify-content:center;
}
.modal__close:hover{ background: rgba(0,0,0,.06); }
.modal__title{
  margin: 0;
  font-size: 32px;
  font-weight: 700;
}
.modal__role{
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
}
.modal__desc{
  margin: 24px 0 0;
  color:#000;
  font-size: 18px;
  line-height: 2.0;
}

/* Responsive */
@media (max-width: 980px){
  .hero{ padding: 80px 0 100px; text-align: center; }
  .hero__grid{ grid-template-columns: 1fr; gap: 40px; }
  .hero__actions{ justify-content: center; flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__lead{ margin-left: auto; margin-right: auto; }
  .hero__side{ border-left: none; padding-left: 0; border-top:1px solid var(--line); padding-top: 24px; }
  .section{ padding: 80px 0; }
  .sectionHead{ flex-direction:column; align-items:flex-start; gap:24px; margin-bottom: 48px; }
  .grid2{ grid-template-columns: 1fr; gap: 40px; }
  .productBlock{ grid-template-columns: 1fr; gap: 32px; }
  .timeline__item{ grid-template-columns: 100px 1fr; }
  .members{ grid-template-columns: 1fr; }
  .contactGrid{ grid-template-columns: 1fr; }
}

/* Mobile nav */
@media (max-width: 860px){
  .navToggle{ display:inline-block; }
  .nav{
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    display:none;
    flex-direction:column;
    gap:16px;
    padding: 24px 24px 32px;
    border-bottom:1px solid var(--line);
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
  }
  .nav.is-open{ display:flex; }
  .nav__item { width: 100%; flex-direction: column; align-items: stretch; }
  .nav__link{ width:100%; padding: 16px 16px; border-radius: 8px; font-size: 18px; text-align: center; }
  
  .dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    display: none;
    width: 100%;
    min-width: 0;
    padding: 0;
    background: transparent;
    border: none;
  }
  .dropdown.is-open {
    display: block;
    padding: 8px 0;
    background: rgba(0,0,0,.02);
  }
  .dropdown__link {
    text-align: center;
    padding: 12px 16px;
    font-size: 16px;
  }
}

/* Footer Nav */
.footer__nav{
  display: flex;
  flex-direction: column; /* Stack links by default */
  gap: 16px;
  align-items: center; /* Center links for column layout */

  @media (min-width: 768px) { /* Adjust for larger screens */
    flex-direction: row; /* Display as a row */
    gap: 32px;
    align-items: flex-start; /* Align to top for row layout */
  }
}

.footer__nav-link{
  color:var(--text);
  text-decoration:none;
  font-weight: 700;
}

.footer__nav-link:hover{
  opacity: 0.7;
}

/* Reveal Animation */
.reveal-text {
  position: relative;
  width: fit-content; /* ブロックの幅をテキストに合わせる */
  color: transparent; /* 初期状態は透明 */
}

.reveal-text::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--text); /* テキスト色と同じブロック */
  transform: scaleX(0);
  transform-origin: left;
  z-index: 1;
  pointer-events: none;
}

.reveal-text.is-visible {
  animation: reveal-text-show 0.1s 0.5s forwards; /* ブロックが伸び切ったタイミングで表示 */
}

.reveal-text.u-outline-white.is-visible {
  animation: reveal-text-show-transparent 0.1s 0.5s forwards;
}

.reveal-text.is-visible::after {
  animation: reveal-block-anim 1.0s cubic-bezier(0.77, 0, 0.175, 1);
}

@keyframes reveal-block-anim {
  0% { transform: scaleX(0); transform-origin: left; }
  50% { transform: scaleX(1); transform-origin: left; }
  51% { transform: scaleX(1); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

@keyframes reveal-text-show {
  to { color: inherit; }
}

@keyframes reveal-text-show-transparent {
  to { color: transparent; }
}

/* White Reveal Text */
.reveal-text--white::after {
  background: #fff;
}
.hero__title .reveal-text {
  display: block;
  margin-bottom: 8px; /* Optional: space between lines */
}

