/* ========================================
   安立打刃物 ティザーサイト — style.css
   ======================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #FAF6F0;
  --bg-warm: #F3EDE3;
  --ink: #1A1A1A;
  --ink-light: #4A4A4A;
  --accent: #8B7355;
  --accent-light: #A8926C;
  --straw: #D4C5A9;
  --straw-light: #E8DCC8;
  --white: #FFFFFF;

  --ff-serif: 'Noto Serif JP', 'Yu Mincho', serif;
  --ff-sans: 'Noto Sans JP', 'Hiragino Sans', sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--ff-sans);
  font-weight: 300;
  color: var(--ink);
  background-color: var(--bg);
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 {
  transition-delay: 0.15s;
}

.reveal--delay-2 {
  transition-delay: 0.3s;
}

.reveal--delay-3 {
  transition-delay: 0.5s;
}

/* ========================================
   Navigation
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

.nav.is-scrolled {
  background-color: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(139, 115, 85, 0.1);
  padding: 1rem 3rem;
}

.nav__brand {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  color: var(--white);
  transition: color 0.4s ease;
}

.nav.is-scrolled .nav__brand {
  color: var(--ink);
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav__links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
  position: relative;
}

.nav.is-scrolled .nav__links a {
  color: var(--ink-light);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}

.nav__links a:hover::after {
  width: 100%;
}

/* Language Toggle */
.lang-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--ff-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  padding: 0.35rem 0.8rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav.is-scrolled .lang-toggle {
  border-color: rgba(26, 26, 26, 0.3);
  color: var(--ink-light);
}

.nav.is-scrolled .lang-toggle:hover {
  background: rgba(26, 26, 26, 0.06);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #111;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero.is-loaded .hero__image {
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.3) 0%,
      rgba(0, 0, 0, 0.15) 50%,
      rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.hero__eyebrow {
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--ff-serif);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-family: var(--ff-serif);
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.8);
}

.hero__scroll-hint {
  position: absolute;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.hero__scroll-hint span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.5rem;
}

.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.7);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ========================================
   Philosophy Section
   ======================================== */
.philosophy {
  padding: 10rem 2rem;
  background-color: var(--bg);
  position: relative;
}

.philosophy__container {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.philosophy__label {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 3rem;
}

.philosophy__heading {
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.5;
  margin-bottom: 3rem;
  color: var(--ink);
}

.philosophy__text {
  font-size: 0.95rem;
  line-height: 2.2;
  color: var(--ink-light);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.philosophy__accent {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.philosophy__kanji {
  font-family: var(--ff-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--straw);
  letter-spacing: 0.1em;
  opacity: 0.5;
}

/* ========================================
   Flagship Section
   ======================================== */
.flagship {
  padding: 8rem 2rem;
  background-color: var(--bg-warm);
}

.flagship__container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.flagship__image-wrap {
  position: relative;
  /* Break out of container to stretch to the left edge of the screen */
  margin-left: calc(-50vw + 50%);
  width: calc(50vw + 50% - 2rem);
  overflow: hidden;
  border-radius: 0 8px 8px 0;
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.12);
}

.flagship__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  transform: scale(1.6) translate(3%, 4%); /* もう少しアップ ＆ 少し右下に移動 */
}

.flagship__label {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.flagship__heading {
  font-family: var(--ff-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.flagship__text {
  font-size: 0.9rem;
  line-height: 2.2;
  color: var(--ink-light);
  margin-bottom: 2.5rem;
  letter-spacing: 0.03em;
}

.flagship__features {
  display: flex;
  gap: 2.5rem;
}

.flagship__feature {
  text-align: center;
}

.flagship__feature-number {
  font-family: var(--ff-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.2;
}

.flagship__feature-number span {
  font-size: 0.8rem;
  font-weight: 400;
  margin-left: 2px;
  color: var(--accent-light);
}

.flagship__feature-label {
  font-size: 0.7rem;
  color: var(--ink-light);
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
}

/* ========================================
   Artisan Section
   ======================================== */
.artisan {
  position: relative;
  padding: 10rem 2rem;
  background-color: var(--ink);
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.artisan__bg-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.artisan__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 6s ease-out;
}

.artisan:hover .artisan__bg-image {
  transform: scale(1.05);
}

.artisan__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.artisan__container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.artisan__info {
  max-width: 500px;
}

.artisan__label {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--accent-light);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.artisan__heading {
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 2rem;
}

.artisan__text {
  font-size: 0.95rem;
  line-height: 2.2;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

/* ========================================
   Profile & History Section
   ======================================== */
.profile {
  padding: 8rem 2rem;
  background-color: var(--bg-warm);
}

.profile__container {
  max-width: 1000px;
  margin: 0 auto;
}

.profile__intro {
  text-align: center;
  margin-bottom: 4rem;
}

.profile__label {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.profile__heading {
  font-family: var(--ff-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink);
  line-height: 1.5;
}

.profile__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.profile__rep-title {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.profile__rep-name {
  font-family: var(--ff-serif);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--ink);
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.profile__rep-en {
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--ink-light);
}

.profile__rep-details {
  list-style: none;
  font-size: 0.95rem;
  line-height: 2;
  color: var(--ink-light);
  letter-spacing: 0.05em;
}

.profile__history-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.profile__history-list li {
  display: flex;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px dashed rgba(26, 26, 26, 0.15);
}

.profile__history-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.profile__history-list li.is-current {
  color: var(--ink);
  font-weight: 500;
}

.profile__history-gen {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  color: var(--accent);
  white-space: nowrap;
  min-width: 4rem;
}

.profile__history-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.profile__history-name {
  font-family: var(--ff-serif);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  display: flex;
  flex-direction: column;
}

.profile__history-en {
  font-family: var(--ff-sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--ink-light);
  margin-top: 0.1rem;
}

.profile__history-date {
  font-size: 0.8rem;
  color: var(--ink-light);
  letter-spacing: 0.05em;
}

/* ========================================
   Coming Soon Section
   ======================================== */
.coming-soon {
  padding: 10rem 2rem;
  background-color: var(--ink);
  color: var(--white);
  text-align: center;
}

.coming-soon__container {
  max-width: 700px;
  margin: 0 auto;
}

.coming-soon__label {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--accent-light);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.coming-soon__heading {
  font-family: var(--ff-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.coming-soon__text {
  font-size: 0.9rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 4rem;
  letter-spacing: 0.05em;
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.countdown__number {
  font-family: var(--ff-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--straw-light);
  line-height: 1;
}

.countdown__unit {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.5rem;
}

.countdown__separator {
  font-family: var(--ff-serif);
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.2);
  padding-bottom: 1.2rem;
}

/* Notify Form */
.notify-form__text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

.notify-form__row {
  display: flex;
  gap: 0;
  max-width: 440px;
  margin: 0 auto;
}

.notify-form__input {
  flex: 1;
  padding: 0.9rem 1.2rem;
  font-family: var(--ff-sans);
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-right: none;
  border-radius: 3px 0 0 3px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.notify-form__input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.notify-form__input:focus {
  border-color: var(--accent-light);
  background: rgba(255, 255, 255, 0.08);
}

.notify-form__button {
  padding: 0.9rem 2rem;
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
  border-radius: 0 3px 3px 0;
  cursor: pointer;
  transition: background 0.3s ease;
}

.notify-form__button:hover {
  background: var(--accent-light);
}

.notify-form__thanks {
  margin-top: 1.2rem;
  font-size: 0.8rem;
  color: var(--accent-light);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.notify-form__thanks.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 3rem 2rem;
  background-color: #111;
  text-align: center;
}

.footer__brand {
  font-family: var(--ff-serif);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.5rem;
}

.footer__copy {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.1em;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
  .nav {
    padding: 1rem 1.5rem;
  }

  .nav__links {
    display: none;
  }

  .hero__title {
    letter-spacing: 0.12em;
  }

  .philosophy {
    padding: 6rem 1.5rem;
  }

  .philosophy__accent {
    gap: 2rem;
  }

  .flagship {
    padding: 5rem 1.5rem;
  }

  .flagship__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .flagship__image-wrap {
    /* Mobile full bleed: stretch to both left and right edges */
    margin-left: -1.5rem;
    width: calc(100% + 3rem);
    border-radius: 0;
  }

  .flagship__image {
    min-height: 350px;
  }

  .artisan {
    padding: 6rem 1.5rem;
    min-height: 85vh;
  }

  .artisan__overlay {
    /* グラデーションをモバイル用に下部濃いめに変更（テキスト視認性確保用） */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
  }

  .artisan__container {
    display: flex;
    align-items: flex-end;
  }

  .artisan__info {
    margin-top: 10rem; /* テキストを下に押し下げる */
  }

  .profile {
    padding: 6rem 1.5rem;
  }

  .profile__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .coming-soon {
    padding: 6rem 1.5rem;
  }

  .countdown {
    gap: 0.5rem;
  }

  .countdown__item {
    min-width: 60px;
  }

  .notify-form__row {
    flex-direction: column;
    gap: 0.8rem;
  }

  .notify-form__input {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 3px;
  }

  .notify-form__button {
    border-radius: 3px;
  }
}