/* ==========================================
   怪異 KAI-I — Main Stylesheet
   ========================================== */
/* ---------- CSS Variables ---------- */
:root {
  --color-bg: #0a0704;
  --color-paper: #333;
  --color-paper-dark: #d4c4a0;
  --color-red: #c0392b;
  --color-red-bright: #e74c3c;
  --color-gold: #b8965a;
  --color-gold-light: #d4a96a;
  --color-text: #2a1a0a;
  --color-text-light: #5a3a1a;
  --color-blue: #1a8fd1;
  --color-blue-light: #4db8e8;
  --font-jp: 'Shippori Mincho B1', 'Noto Serif JP', serif;
  --transition-base: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body.kaii-body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-jp);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: bottom;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  animation: curtainOpen 3s ease-out forwards;
}
a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color: #fff;
}
.tb-br {
	display: none;
}
@keyframes curtainOpen {
  0%   { opacity: 1; }
  100% { opacity: 0; pointer-events: none; }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
	.tb-br {
		display: block;
	}		
}
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
	.tb-br {
		display: none;
	}	
}
/* ---------- Keyframe Animations ---------- */

/* 骸骨: opacity 0→1 */
@keyframes skullReveal {
  0%   { opacity: 0; transform: scale(0.97); }
  100% { opacity: 0.7; transform: scale(1); }
}

/* 煙: opacity 0→1 フェードイン (上の煙) — translateXは使わずフェードのみ */
@keyframes smokeTopReveal {
  0%   { opacity: 0; }
  100% { opacity: 0.8; }
}

/* 煙: opacity 0→1 フェードイン (下の煙) */
@keyframes smokeBottomReveal {
  0%   { opacity: 0; }
  100% { opacity: 0.8; }
}

/* 煙 常時ゆらぎ (上) — 画像自体を左右に動かす */
@keyframes smokeDriftTop {
  0%   { transform: translateX(0%); }
  25%  { transform: translateX(-4%); }
  50%  { transform: translateX(2%); }
  75%  { transform: translateX(-2%); }
  100% { transform: translateX(0%); }
}

/* 煙 常時ゆらぎ (下) — scaleY(-1)はCSSで別途指定 */
@keyframes smokeDriftBottom {
  0%   { transform: scaleY(-1) translateX(0%); }
  25%  { transform: scaleY(-1) translateX(3%); }
  50%  { transform: scaleY(-1) translateX(-3%); }
  75%  { transform: scaleY(-1) translateX(2%); }
  100% { transform: scaleY(-1) translateX(0%); }
}

/* タイトル: 下からふわっと */
@keyframes titleRise {
  0%   { opacity: 0; transform: translateY(50px); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0); }
}

/* バッジ 点滅 */
@keyframes badgePulse {
  0%, 100% { transform: scale(1) rotate(-8deg); }
  50%       { transform: scale(1.07) rotate(-8deg); }
}

/* チケットボタン ゆらぎ */
@keyframes ticketFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

/* フレーム入場 */
@keyframes fadeUp {
  0%   { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

#wrap {
  background: url('../images/bg.jpg') center center / cover;
}
/* ===========================================
   HERO SECTION
   =========================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- 煙 ---------- */
/* コンテナを画面幅より広く取り、端の切れ目をはみ出し領域に隠す */
.smoke {
  position: absolute;
  left: -12%;
  right: -12%;
  width: 124%;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
}

.smoke--top {
  top: -10%;
  opacity: 0;
  animation:
    smokeTopReveal 2.2s ease-out 0.3s forwards,
    smokeDriftTop 14s ease-in-out 2.5s infinite;
}

.smoke--bottom {
  bottom: 0;
  opacity: 0;
  animation:
    smokeBottomReveal 2.2s ease-out 0.5s forwards,
    smokeDriftBottom 16s ease-in-out 2.7s infinite;
}

.smoke__img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.smoke__img--top {
  filter: brightness(0.55) sepia(0.3);
}

.smoke__img--bottom {
  filter: brightness(0.45) sepia(0.2);
}

/* ---------- 骸骨 ---------- */
.skull-wrap {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: skullReveal 2.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.1s forwards;
}

/* 骸骨の後ろに bg.jpg を和紙テクスチャとして重ねる */
.skull-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}

.skull__img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 700px;
  opacity: 0.7;
  height: auto;
  object-fit: contain;
  mix-blend-mode: lighten;
}

/* ---------- タイトル ---------- */
.hero__title-wrap {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  padding: 20px;
  opacity: 0;
  animation: titleRise 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) 1.2s forwards;
}

.hero__title-img {
  width: 100%;
  max-width: 560px;
  height: auto;
}

/* ===========================================
   HERO PC LAYOUT — 961px以上: ドクロ左・タイトル中央
   =========================================== */
@media (min-width: 961px) {
  /* ドクロ: 絶対配置で左寄せ */
  .skull-wrap {
    position: absolute;
    inset: 0;
    justify-content: flex-start;
    align-items: center;
    padding-left: 0;
  }

  .skull__img {
    width: auto;
    max-width: none;
    height: 100vh;

    object-fit: contain;
  }

  /* タイトル: heroの中央に独立配置 */
  .hero__title-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    padding: 0;
    pointer-events: none;
  }

  .hero__title-img {
    max-width: 580px;
    pointer-events: auto;
  }
}
@media (max-width: 480px) {
  .skull-wrap { 
    align-items: flex-start;
  }
}

/* ===========================================
   SCHEDULE SECTION
   =========================================== */
.schedule {
  padding: 60px 20px;
}

.schedule__container {
  max-width: 1100px;  
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.schedule__img {
  width: 100%;
  max-width: 1000px;
  height: auto;
}
.twodays_schedule {
	margin: 20px 0;
}
.twodays_schedule > a {
	width: 260px;
	margin: 0 auto;
	text-align: center;
	display: block;
	text-decoration: none;
	padding: 8px 10px;
	color: #333;
	border: solid 1px #030201;
	border-radius: 20px;
	font-weight: bold;
}
.twodays_schedule > a:hover {
	background: #030201;
	color: #fff;
	transition: .5s;
}
@media (max-width: 480px) {
  .schedule__container {
    display: block;
  }  
}

/* ===========================================
   GUESTS SECTION
   =========================================== */
.guests, .cast, .movies, .place {
  padding: 60px 20px;
}

.guests__container {
  max-width: 1100px;
  margin: 0 auto;
}

.heading {
  font-family: 'ヒラギノ角ゴ StdN','Hiragino Kaku Gothic StdN','メイリオ', Meiryo,'ヒラギノ角ゴシック','Hiragino Sans',sans-serif;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  color: var(--color-paper);
  padding: 20px;
  display: inline-block;
}


.guests__grid {
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.twodays_pass {
  max-width: 700px;
  margin: 30px auto 0;
  display: flex;
  justify-content: center;
}
/* ---------- Guest Card ---------- */
.guest-card {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.guest-card:nth-child(1) { animation-delay: 0.2s; }
.guest-card:nth-child(2) { animation-delay: 0.4s; }

.guest-card__img-wrap {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  background: #1e1208;
}

.guest-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guest-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2a1a0a, #1a0e06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--color-gold);
  font-family: var(--font-jp);
  font-weight: 900;
}

.guest-card__content {
  flex: 1;
  min-width: 0;
}

.guest-card__role {
  display: inline-block;
  font-size: 0.8em;
  font-weight: 800;
  color: var(--color-paper);
  letter-spacing: 0.1em;
  border: 1px solid var(--color-paper);
  padding: 2px 7px;
  border-radius: 2px;
  margin-bottom: 6px;
}

.guest-card__name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-paper);
  font-family: var(--font-jp);
  line-height: 1.3;
  margin-bottom: 8px;
}

.guest-card__name-sub {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-paper);
  margin-left: 4px;
}

.guest-card__bio {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-paper);
  line-height: 1.8;
}
.guest-schedule {
    margin: 10px 0 5px;
    font-size: 0.8rem;
	line-height: 1.8;	
    font-weight: bold;
    color: #030201;
    font-family: 'ヒラギノ角ゴシック', 'Hiragino Sans', 'メイリオ', Meiryo, 'ヒラギノ角ゴシック', 'Hiragino Sans', sans-serif;
}	

/* ===========================================
   CAST SECTION
   =========================================== */
.cast__grid {
  display: flex;
  flex-wrap: wrap;        /* grid-template-columnsの代わり */
  gap: 40px;
}

.cast-card {
  flex: 1 1 calc(50% - 20px); /* 2列レイアウト */
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.cast-card:nth-child(1) { animation-delay: 0.2s; }
.cast-card:nth-child(2) { animation-delay: 0.4s; }

.cast__container {
  max-width: 1100px;
  margin: 0 auto;
}

.cast-card__img-wrap {
  width: 130px;
  height: 130px;          /* aspect-ratioより明示的に指定 */
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.cast-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;         /* imgのデフォルト余白を消す */
}

.cast-card__content {
  flex: 1;
  min-width: 0;
}

@media (max-width: 960px) {
  .cast__grid {
    flex-direction: column;
    gap: 0;
  }
  .cast-card {
    flex: 1 1 100%;
  }
}
/* ===========================================
   MOVIES SECTION
   =========================================== */

.movies__container {
  max-width: 1100px;
  margin: 0 auto;
}

.movies__heading {
  font-family: 'ヒラギノ角ゴ StdN','Hiragino Kaku Gothic StdN','メイリオ', Meiryo,'ヒラギノ角ゴシック','Hiragino Sans',sans-serif;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  color: var(--color-paper);
  padding: 20px;
  display: inline-block;
  margin-bottom: 20px;
}

/* ---------- Movie Card ---------- */
.movie-card {
  display: flex;
  flex-direction: row;
  gap: 48px;
  padding: 48px 20px;
  border-bottom: 1px solid rgba(51, 51, 51, 0.15);
}

.movie-card:last-child {
  border-bottom: none;
}
.movie-card__day {
	margin-bottom: 5px;
	padding: 2px 8px;
	font-size: 0.8rem;
	font-weight: bold;
	border-radius: 2px;
	display: inline-block;
	color: #fff;
    background-color: #030201;
	font-family: 'ヒラギノ角ゴシック','Hiragino Sans','メイリオ', Meiryo,'ヒラギノ角ゴシック','Hiragino Sans',sans-serif;	
}
/* ---------- 画像 ---------- */
.movie-card__img-wrap {
  flex-shrink: 0;
  width: 380px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 4px;	
}

.movie-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: #c8c4bc;
}

.movie-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---------- テキスト ---------- */
.movie-card__content {
  flex: 1;
  min-width: 0;
}

.movie-card__title {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: var(--color-paper);
  font-family: var(--font-jp);
  line-height: 1.4;
  margin-bottom: 10px;
}
.movie-card__title > .kome {
  font-size: 0.6em;	
}
.movie-card__meta {
  margin-bottom: 10px;
}

.movie-card__meta dd {
  font-size: 0.7rem;
  color: var(--color-paper);
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

.movie-card__catch {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 800;
  color: var(--color-red);
  line-height: 1.7;
  margin-bottom: 5px;
	font-family: 'ヒラギノ角ゴシック','Hiragino Sans','メイリオ', Meiryo,'ヒラギノ角ゴシック','Hiragino Sans',sans-serif;	
}

.movie-card__desc {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-paper);
  line-height: 1.7;
}

.movie-card__link a {
  font-size: 0.85rem;
  color: var(--color-paper);
  font-weight: 600;
  text-decoration: underline;
  word-break: break-all;
}

.movie-card__link a:hover {
  color: var(--color-red);
}

.movie-card__copy {
  font-size: 0.7rem;
  color: var(--color-paper);
  font-weight: 600;
  margin-top: 6px;
}
.andmore {
	margin: 20px 0 0;
	font-family: 'ヒラギノ角ゴ StdN', 'Hiragino Kaku Gothic StdN', 'メイリオ', Meiryo, 'ヒラギノ角ゴシック', 'Hiragino Sans', sans-serif;
    font-size: clamp(24px, 2vw, 40px);
    font-weight: 800;
    color: var(--color-paper);
    display: block;
	text-align: center;
}
/* ===========================================
   Responsive — タブレット以下
   =========================================== */
@media (max-width: 960px) {
  .movie-card {
    flex-direction: column;
    gap: 24px;
    padding: 40px 10px;
  }

  .movie-card__img-wrap {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .movies {
    padding: 60px 10px;
  }

  .movies__heading {
    display: block;
    text-align: center;
    font-size: 1.7rem;
  }
}

@media (max-width: 480px) {
  .movies {
    padding: 48px 14px;
  }

  .movie-card {
    padding: 32px 0;
    gap: 20px;
  }
}
/* ===========================================
   PLACE SECTION
   =========================================== */
.place {
  padding: 80px 20px;
}

.place__container {
  max-width: 1100px;
  margin: 0 auto;
}

.place__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* ---------- Place Card ---------- */
.place-card {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 24px;
}

.place-card__img-wrap {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 6px;
  overflow: hidden;
  background: #c8c0b0;
}

.place-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.place-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: #c8c0b0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #888;
  font-family: var(--font-jp);
  font-weight: 900;
}

.place-card__content {
  flex: 1;
  min-width: 0;
}

.place-card__name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-paper);
  font-family: var(--font-jp);
  line-height: 1.3;
  margin-bottom: 10px;
}

.place-card__info {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  font-size: 0.85rem;
  color: var(--color-paper);
  font-weight: 600;
  line-height: 1.6;
}

.place-card__info dt {
  color: var(--color-text-light);
  white-space: nowrap;
}

.place-card__info dd {
  margin: 0;
}

.place-card__map-link {
  display: inline-block;
  background: #555;
  color: #fff;
  font-size: 0.72rem;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 6px;
  text-decoration: none;
  vertical-align: middle;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.place-card__map-link:hover {
  background: var(--color-red);
}
.place-card__info dd a[href^="tel:"] {
  color: var(--color-paper);
  text-decoration: none;
  pointer-events: none;
}
/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .place__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .heading {
    display: block;
    text-align: center;
    font-size: 1.7rem;
  }
}

@media (max-width: 480px) {
  .place {
    padding: 48px 14px;
  }

  .place__grid {
    gap: 20px;
  }

  .place-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 10px;
  }

  .place-card__img-wrap {
    width: 80px;
    height: 80px;
  }
}

/* ===========================================
   SITE FOOTER
   =========================================== */
.site-footer {
  background:
    rgba(3,2,1,0.97),
    url('../images/bg.jpg') center bottom / cover;
  padding: 30px 20px 100px;
  border-top: 1px solid rgba(184,150,90,0.15);
}

.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.site-footer__contact,
.site-footer__credits {
  font-size: 0.8rem;
  color: #fff;
  font-weight: 600;
  line-height: 2;
}


/* ===========================================
   FIXED TICKET BUTTON
   =========================================== */
@keyframes ticketFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  30%       { transform: translateY(-6px) rotate(1deg); }
  70%       { transform: translateY(-3px) rotate(-0.5deg); }
}

@keyframes ticketGlow {
  0%, 100% { filter: drop-shadow(0 4px 16px rgba(192,57,43,0.5)) drop-shadow(0 0 30px rgba(192,57,43,0.2)); }
  50%       { filter: drop-shadow(0 6px 24px rgba(233,80,32,0.7)) drop-shadow(0 0 50px rgba(192,57,43,0.35)); }
}

.ticket-btn {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 1000;
  text-decoration: none;
  display: block;
  width: 180px;
  height: auto;
  animation:
    ticketFloat 4s ease-in-out infinite,
    ticketGlow 3s ease-in-out infinite;
  transition: transform 0.25s ease;
  transform-origin: center bottom;
}

.ticket-btn:hover {
  animation-play-state: paused;
  transform: scale(1.08) translateY(-4px);
  filter: drop-shadow(0 8px 28px rgba(233,80,32,0.8)) brightness(1.1);
}

.ticket-btn:active {
  transform: scale(0.97) translateY(2px);
}

.ticket-btn__svg {
  width: 100%;
  height: auto;
  display: block;
}

/* 内部テキスト要素は非表示（SVGに含まれているため） */
.ticket-btn__inner,
.ticket-btn__text,
.ticket-btn__arrow {
  display: none;
}

@media (max-width: 960px) {
  .ticket-btn {
    width: 130px;
  } 
}
/* ===========================================
   RESPONSIVE — TABLET (iPad ≒ 768px)
   =========================================== */
@media (max-width: 960px) {
  .events__container,
  .guests__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero__title-wrap {
    max-width: 480px;
    padding: 16px;
  }
}

@media (max-width: 768px) {
  .schedule {
    padding: 48px 10px;
  }
	.guests, .cast, .movies, .place  {
    padding: 48px 10px;
  }

  .heading {
    display: block;
    text-align: center;
    font-size: 1.7rem;
  }
}


/* ===========================================
   RESPONSIVE — MOBILE (≤ 480px)
   =========================================== */
@media (max-width: 480px) {
  .hero {
    min-height: 100svh;
  }

  .hero__title-wrap {
    padding: 10px;
  }

  .skull__img {
    max-width: 380px;
  }

  .schedule {
    padding: 36px 14px;
  }

	.guests, .cast, .movies, .place  {
    padding: 28px 14px;
  }

  .guests__grid {
    gap: 20px;
  }

  .guest-card, .cast-card {
    flex-direction: column;
    align-items: center;
    padding: 18px 10px;
  }
  .guest-card__role {
    margin-right:  8px; 
  }
  .guest-card__name {
    display: inline-block;
    margin-bottom: 8px;  
  }
  .guest-card__img-wrap {
    width: 150px;
    height: 150px;
  }


  .ticket-btn {
    width: 100px;
    bottom: 16px;
    right: 12px;
  }

  .site-footer__contact,
  .site-footer__credits {
    text-align: left
  }
}



/* ===========================================
   SCROLL ANIMATION — Intersection Observer用
   =========================================== */
.js-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================================
   Contact Form 7 — 前売りチケット申込み
   =========================================== */
.ticket-form {
    padding: 80px 20px;
}
.ticket-form__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-family: 'ヒラギノ角ゴ StdN','Hiragino Kaku Gothic StdN','メイリオ', Meiryo,'ヒラギノ角ゴシック','Hiragino Sans',sans-serif;
  font-size: clamp(20px, 4vw, 30px);
  font-weight: 900;
  color: var(--color-paper);
  margin-bottom: 40px;
  text-align: center;
}
.kaii-form {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  overflow: hidden;
}

/* ボタンを枠外に配置するためのラッパー */
.kaii-form-wrap {
  max-width: 800px;
  margin: 0 auto;
}

/* ---------- 行 ---------- */
.kaii-form__row {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.kaii-form__row > div {
  font-size: 1rem;
}
.kaii-form__row:last-of-type {
  border-bottom: none;
}

/* ---------- ラベル列 ---------- */
.kaii-form__label {
  min-width: 245px;
  background: rgba(160, 148, 120, 0.35);
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #333;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  line-height: 1.5;
}

.kaii-form__req {
  color: #c0392b;
  margin-left: 4px;
}

/* ---------- フィールド列 ---------- */
.kaii-form__field {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 10px 16px;
  gap: 8px;
}

.kaii-form__field--privacy {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
}

/* ---------- 入力要素 ---------- */
.kaii-form input[type="text"],
.kaii-form input[type="email"],
.kaii-form input[type="tel"],
.kaii-form input[type="number"],
.kaii-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  color: #333;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
  font-family: inherit;
}

.kaii-form input[type="number"] {
  width: 80px;
}

.kaii-form input:focus,
.kaii-form textarea:focus {
  border-color: #888;
  background: #fff;
}

.kaii-form textarea {
  min-height: 120px;
  resize: vertical;
  align-self: stretch;
  width: 100%;
}

/* ---------- 個人情報テキスト ---------- */
.kaii-form__privacy-text {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 0.85rem;
  color: #444;
  line-height: 1.8;
  width: 100%;
  max-height: 180px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #aaa transparent;
}

.kaii-form__privacy-text::-webkit-scrollbar {
  width: 6px;
}

.kaii-form__privacy-text::-webkit-scrollbar-track {
  background: transparent;
}

.kaii-form__privacy-text::-webkit-scrollbar-thumb {
  background: #aaa;
  border-radius: 3px;
}

.kaii-form__privacy-text p {
  margin-bottom: 6px;
}

.kaii-form__privacy-text p:last-child {
  margin-bottom: 0;
}

.kaii-form__privacy-text ul {
  padding-left: 1.4em;
  margin-bottom: 8px;
}

.kaii-form__privacy-text li {
  list-style: disc;
  margin-bottom: 2px;
  line-height: 1.7;
}

/* ---------- チェックボックス ---------- */
.kaii-form .wpcf7-acceptance {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #333;
  cursor: pointer;
}

.kaii-form .wpcf7-acceptance input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #333;
}

/* ---------- 送信ボタン（枠外・センター） ---------- */
.kaii-form__submit {
  padding: 30px 20px 0;
  text-align: center;
  background: transparent;
}

/* CF7が生成する<p>タグのリセット */
.kaii-form__submit p {
  margin: 0;
  padding: 0;
  text-align: center;
}

/* disabled状態・ブラウザUAスタイル上書き */
.kaii-form input[type="submit"],
.kaii-form input[type="submit"]:disabled,
.wpcf7 input[type="submit"],
.wpcf7 input[type="submit"]:disabled {
  display: block;
  margin: 0 auto;
  background-color: #030201 !important;
  color: #fff !important;
  border: none !important;
  padding: 16px 60px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border-radius: 30px;
  letter-spacing: 0.1em;
  transition: opacity 0.25s ease, transform 0.25s ease;
  appearance: none !important;
  -webkit-appearance: none !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #fff !important;
}

.kaii-form input[type="submit"]:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.kaii-form input[type="submit"]:active {
  transform: translateY(0);
}

/* ---------- バリデーション ---------- */
.kaii-form .wpcf7-not-valid-tip {
  color: #c0392b;
  font-size: 0.8rem;
  margin-top: 4px;
  display: block;
}

.kaii-form .wpcf7-response-output {
  margin: 16px 20px 0;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 0.9rem;
  text-align: center;
  border: none;
}

.wpcf7-mail-sent-ok {
  background: rgba(46, 139, 87, 0.15);
  color: #2e6b3e;
}

.wpcf7-mail-sent-ng,
.wpcf7-spam-blocked {
  background: rgba(192, 57, 43, 0.12);
  color: #c0392b;
}

/* ===========================================
   Responsive
   =========================================== */
@media (max-width: 768px) {
  .kaii-form__label {
    padding: 12px 14px;
  }
}

@media (max-width: 480px) {
  .kaii-form__row {
    flex-direction: column;
  }

  .kaii-form__label {
    width: 100%;
    min-width: unset;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 10px 14px;
  }

  .kaii-form__field {
    padding: 10px 14px;
  }

  .kaii-form input[type="submit"],
  .kaii-form input[type="submit"]:disabled {
    width: 100%;
    padding: 16px 20px;
  }
}
/* ===========================================
   SCROLL ANIMATION 
   =========================================== */
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(8px); opacity: 0.5; }
}

@keyframes scrollFadeIn {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

.hero__scroll {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  opacity: 0;
  animation: scrollFadeIn 1s ease 2.5s forwards;
}

.hero__scroll-text {
  font-family: 'ヒラギノ角ゴ StdN','Hiragino Kaku Gothic StdN', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: rgba(0, 0, 0, 0.5);
}

.hero__scroll-arrow {
  display: block;
  width: 2px;
  height: 7px;
  background: linear-gradient(to bottom, rgba(0,0,0,0),rgba(0,0,0,0.6));
  position: relative;
  animation: scrollBounce 1.8s ease-in-out infinite;
}

.hero__scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 7px;
  height: 7px;
  border-right: 1px solid rgba(0, 0, 0, 0.7);
  border-bottom: 1px solid rgba(0, 0, 0, 0.7);
}

@media (max-width: 480px) {
  .hero__scroll {
    bottom: 20px;
  }
}