/*
Theme Name:     Omotenashi AI Child
Theme URI:      https://fyoshida.jp/
Description:    Custom child theme without style CSS
Author:         OfficeYOSHIDA
Author URI:     https://fyoshida.jp/
Version:        1.0.0
*/

:root {
  --bg-dark: #151515;
  --bg-dark-2: #1d1d1d;
  --gold: #c9a14a;
  --gold-soft: #e3c98d;
  --indigo: #1f3552;
  --ivory: #f5f3ef;
  --ivory-2: #ece7df;
  --text-dark: #2c2a28;
  --text-light: #f8f6f1;
  --accent-red: #b23a2a;
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  --radius: 18px;
  --max: 1200px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text-dark);
  background: var(--ivory);
  line-height: 1.8;
  letter-spacing: 0.02em;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(92%, var(--max));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(21, 21, 21, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(16, 16, 16, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  transition: min-height 0.28s ease, gap 0.28s ease;
}

.site-header.is-scrolled .header-inner {
  min-height: 64px;
  gap: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-light);
  min-width: 0;
	width: 22%;
	text-align: right;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(201, 161, 74, 0.5);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(201, 161, 74, 0.24), transparent 55%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  box-shadow: inset 0 0 20px rgba(201, 161, 74, 0.08);
  transition: width 0.28s ease, height 0.28s ease, font-size 0.28s ease;
}

.site-header.is-scrolled .logo-mark {
  width: 40px;
  height: 40px;
  font-size: 1rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text strong {
  font-size: 1.06rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
  transition: font-size 0.28s ease, opacity 0.28s ease;
}

.logo-text span {
  font-size: 0.76rem;
  color: rgba(248, 246, 241, 0.72);
  transition: font-size 0.28s ease, opacity 0.28s ease;
}

.site-header.is-scrolled .logo-text strong {
  font-size: 1rem;
}

.site-header.is-scrolled .logo-text span {
  opacity: 0.85;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(248, 246, 241, 0.88);
  font-size: 0.95rem;
	width: 50%;
	justify-content: center;
	align-items: center;
	gap: 30px;
}

.nav a:hover {
  color: var(--gold-soft);
}
.nav-kenntei {
  color: #d8b56a;
  position: relative;
}

.nav-kenntei::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: #d8b56a;
  transition: width 0.3s ease;
}

.nav-kenntei:hover::after {
  width: 100%;
}
.header-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-red), #8f2d20);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(178, 58, 42, 0.25);
}

.header-cta:hover {
  transform: translateY(-1px);
}

.header-center-copy {
  margin-left: auto;
  margin-right: 18px;
  padding-left: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
	width: 28%;
  min-width: 280px;
  color: rgba(248, 246, 241, 0.78);
  font-size: 0.92rem;
  line-height: 1.55;
	text-align: right;
	padding: 0;
}

.header-center-copy div:first-child {
  color: rgba(248, 246, 241, 0.7);
  font-weight: 600;
  margin-bottom: 6px;
}

.header-center-copy div:last-child {
  color: rgba(248, 246, 241, 0.82);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 24px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  position: relative;
  z-index: 1301;
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.menu-toggle:hover {
  border-color: rgba(201, 161, 74, 0.38);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 28px rgba(0, 0, 0, 0.22);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, #f8f6f1, #d9c18a);
  border-radius: 999px;
  transform-origin: center;
  transition:
    transform 0.28s ease,
    opacity 0.22s ease,
    width 0.22s ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.6));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 1190;
}

.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(86vw, 380px);
  height: 100vh;
  background:
    linear-gradient(180deg, rgba(14, 14, 14, 0.98), rgba(24, 24, 24, 0.98)),
    radial-gradient(circle at top right, rgba(201, 161, 74, 0.12), transparent 28%),
    radial-gradient(circle at bottom left, rgba(31, 53, 82, 0.18), transparent 30%);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -18px 0 40px rgba(0, 0, 0, 0.34);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1200;
  padding: 22px 18px 28px;
  overflow-y: auto;
}

.mobile-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 92%);
}

.mobile-menu::after {
  content: "和";
  position: absolute;
  right: 18px;
  bottom: 6px;
  font-size: 6rem;
  line-height: 1;
  color: rgba(201, 161, 74, 0.09);
  font-family: serif;
  pointer-events: none;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.mobile-menu-logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 161, 74, 0.5);
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(201, 161, 74, 0.24), transparent 55%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.mobile-menu-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.mobile-menu-logo-text strong {
  color: var(--text-light);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.mobile-menu-logo-text span {
  color: rgba(248, 246, 241, 0.68);
  font-size: 0.76rem;
}

.mobile-menu-title {
  color: var(--gold-soft);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
}

.menu-close {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  color: var(--text-light);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease;
}

.menu-close:hover {
  transform: scale(1.04);
  border-color: rgba(201, 161, 74, 0.38);
}

.mobile-menu-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.mobile-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(248, 246, 241, 0.94);
  padding: 15px 16px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transform: translateX(16px);
  opacity: 0;
  transition:
    transform 0.38s ease,
    opacity 0.38s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    background 0.25s ease;
}

.mobile-menu.is-open .mobile-link {
  transform: translateX(0);
  opacity: 1;
}

.mobile-menu.is-open .mobile-link:nth-child(1) {
  transition-delay: 0.06s;
}

.mobile-menu.is-open .mobile-link:nth-child(2) {
  transition-delay: 0.1s;
}

.mobile-menu.is-open .mobile-link:nth-child(3) {
  transition-delay: 0.14s;
}

.mobile-menu.is-open .mobile-link:nth-child(4) {
  transition-delay: 0.18s;
}

.mobile-link:hover {
  color: var(--gold-soft);
  border-color: rgba(201, 161, 74, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.mobile-link-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold-soft);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

.mobile-link-label {
  flex: 1;
}

.mobile-cta {
  background:
    linear-gradient(135deg, var(--accent-red), #8f2d20);
  color: #fff;
  border: none;
  box-shadow: 0 12px 24px rgba(178, 58, 42, 0.22);
}

.mobile-cta:hover {
  color: #fff;
  filter: brightness(1.03);
}

.mobile-menu-note {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(248, 246, 241, 0.62);
  font-size: 0.82rem;
  line-height: 1.8;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--text-light);
  background:
    linear-gradient(135deg, rgba(10, 10, 10, 0.96), rgba(18, 18, 18, 0.9)),
    radial-gradient(circle at top right, rgba(31, 53, 82, 0.35), transparent 35%),
    radial-gradient(circle at left center, rgba(201, 161, 74, 0.16), transparent 30%),
    var(--bg-dark);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 85%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -120px -120px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 161, 74, 0.14), transparent 68%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  padding: 56px 0 72px;
}

.hero-copy small {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid rgba(201, 161, 74, 0.35);
  border-radius: 999px;
  color: var(--gold-soft);
  font-size: 0.84rem;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 20px;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.18;
  letter-spacing: 0.05em;
  font-weight: 800;
}

.hero-copy h1 .gold {
  color: var(--gold);
}

.hero-copy p {
  margin: 0 0 28px;
  max-width: 680px;
  color: rgba(248, 246, 241, 0.84);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-red), #8f2d20);
  color: #fff;
  box-shadow: 0 12px 28px rgba(178, 58, 42, 0.26);
}

/* AI-Kentei */
.cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn-kenntei {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 106, 0.75);
  color: #d8b56a;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: rgba(255,255,255,0.02);
  transition: all 0.3s ease;
}

.btn-kenntei:hover {
  color: #111;
  background: #d8b56a;
  box-shadow: 0 10px 28px rgba(216, 181, 106, 0.28);
  transform: translateY(-1px);
}

.badge {
  font-size: 10px;
  margin-right: 6px;
  color: #fff;
  background: #c9a96a;
  padding: 2px 6px;
  border-radius: 4px;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.03);
}

.btn-secondary:hover {
  border-color: rgba(201, 161, 74, 0.5);
  color: var(--gold-soft);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(248, 246, 241, 0.86);
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}


.hero-visual {
  position: relative;
}

/* ===== カード全体 ===== */
.visual-card {
  position: relative;
  padding: 24px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  overflow: hidden;
  /* ←ここ重要（高さ不足防止）
  min-height: 720px; */
}

/* ===== 和バッジ ===== */
.wa-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: #c9a14a;
  border: 1px solid rgba(201,161,74,0.5);
  background: rgba(0,0,0,0.25);
  z-index: 2;
}

/* ===== パネル本体 ===== */
.visual-panel {
  position: relative;

  padding: 20px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    linear-gradient(135deg, rgba(31,53,82,0.2), rgba(201,161,74,0.06));
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 18px;
}

/* ===== ヘッダー ===== */
.visual-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(248,246,241,0.85);
}

.visual-head div:last-child {
  text-align: right;
}

/* ===== ステータス ===== */
.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6bd38a;
  box-shadow: 0 0 10px rgba(107,211,138,0.4);
  margin-right: 6px;
}

/* ===== 人型 ===== */
.human-figure {
  margin: 0 auto;
  width: min(180px, 60%);
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  position: relative;
  background:
    radial-gradient(circle at 50% 18%, rgba(201,161,74,0.2), transparent 18%),
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.12);
}

/* 顔 */
.human-figure::before {
  content: "";
  position: absolute;
  top: 14%;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(201,161,74,0.6);
}

/* 体 */
.human-figure::after {
  content: "";
  position: absolute;
  top: 34%;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 120px;
  border-radius: 60px 60px 30px 30px;
  border: 1px solid rgba(201,161,74,0.35);
}

/* ===== 下の情報 ===== */
.glass-ui {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* 各カード */
.glass-item {
  padding: 12px;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.7;

  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(248,246,241,0.85);
}

.glass-item strong {
  display: block;
  margin-bottom: 4px;
  color: #e3c98d;
}

/* ===== 初期アニメーション ===== */
.hero-visual .visual-card,
.hero-visual .visual-panel,
.hero-visual .glass-item {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.hero-visual.is-visible .visual-card {
  opacity: 1;
  transform: translateY(0);
}

.hero-visual.is-visible .visual-panel {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.12s;
}

.hero-visual.is-visible .glass-item:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.22s;
}

.hero-visual.is-visible .glass-item:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.hero-visual.is-visible .glass-item:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.38s;
}

.hero-visual.is-visible .glass-item:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.46s;
}

/* ===== 人型の光 ===== */
.human-figure {
  overflow: hidden;
  box-shadow:
    inset 0 0 30px rgba(255,255,255,0.03),
    0 0 24px rgba(201,161,74,0.08);
}

.human-figure::before {
  box-shadow:
    0 0 18px rgba(201,161,74,0.18),
    inset 0 0 12px rgba(255,255,255,0.06);
}

.human-figure::after {
  box-shadow:
    0 0 18px rgba(201,161,74,0.08);
}

/* 流れる微光 */
.human-figure .scan-line {
  position: absolute;
  left: 8%;
  right: 8%;
  top: -18%;
  height: 26%;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0),
    rgba(255,255,255,0.14),
    rgba(201,161,74,0.18),
    rgba(255,255,255,0)
  );
  filter: blur(6px);
  animation: scanMove 4.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scanMove {
  0%   { top: -22%; opacity: 0; }
  12%  { opacity: 0.55; }
  50%  { top: 42%; opacity: 0.34; }
  88%  { opacity: 0.12; }
  100% { top: 94%; opacity: 0; }
}

/* ===== パネル上の淡い光 ===== */
.visual-card::after {
  content: "";
  position: absolute;
  inset: auto auto -70px -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,161,74,0.12), transparent 68%);
  pointer-events: none;
}

.visual-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.01) 28%,
    rgba(255,255,255,0.00) 55%
  );
}

/* ===== glass item hover ===== */
.glass-item {
  position: relative;
  overflow: hidden;
}

.glass-item::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(201,161,74,0.18),
    rgba(255,255,255,0.03),
    rgba(31,53,82,0.12)
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.glass-item:hover {
  transform: translateY(-2px);
  border-color: rgba(201,161,74,0.28);
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
  background: rgba(255,255,255,0.07);
}

.glass-item:hover::after {
  opacity: 1;
}

/* ===== 和バッジの呼吸感 ===== */
.wa-badge {
  box-shadow:
    0 0 0 rgba(201,161,74,0.0),
    inset 0 0 10px rgba(201,161,74,0.08);
  animation: waPulse 3.8s ease-in-out infinite;
}

@keyframes waPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 0 0 rgba(201,161,74,0.0),
      inset 0 0 10px rgba(201,161,74,0.08);
  }
  50% {
    transform: scale(1.03);
    box-shadow:
      0 0 18px rgba(201,161,74,0.14),
      inset 0 0 16px rgba(201,161,74,0.12);
  }
}
/* ===== 検定リンク（右カード内） ===== */
.card-kenntei-wrap {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.card-kenntei-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
	font-weight: 700;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-decoration: none;

  color: #e3c98d;
  border: 1px solid rgba(201,161,74,0.5);

  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);

  transition: all 0.3s ease;
}

/* ホバー（高級感） */
.card-kenntei-link:hover {
  background: #c9a14a;
  color: #111;
  border-color: #c9a14a;
  box-shadow: 0 8px 24px rgba(201,161,74,0.25);
  transform: translateY(-1px);
}

/* 少し控えめな発光 */
.card-kenntei-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(201,161,74,0.2), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-kenntei-link:hover::before {
  opacity: 1;
}

/* ===== レスポンシブ時は少し軽く ===== */
@media (max-width: 768px) {
  .human-figure .scan-line {
    animation-duration: 5.2s;
  }

  .glass-item:hover {
    transform: none;
  }
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .visual-card {
    min-height: auto;
  }

  .glass-ui {
    grid-template-columns: 1fr;
  }

  .visual-head {
    flex-direction: column;
  }

  .visual-head div:last-child {
    text-align: left;
  }
}


/* Sections */
section {
  padding: 48px 0;
}

.section-head {
  margin-bottom: 40px;
}

.section-head .eyebrow {
  display: inline-block;
  color: var(--indigo);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.3;
  color: var(--text-dark);
}

.section-head p {
  margin: 0;
  max-width: 760px;
  color: #5c5855;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.intro-card {
  background: #fff;
  border: 1px solid #e8dfd1;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.intro-card .num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), #a98433);
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}

.intro-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: var(--indigo);
}

.intro-card p {
  margin: 0;
  color: #5d5956;
  font-size: 0.96rem;
}

.band {
  background:
    linear-gradient(180deg, rgba(31, 53, 82, 0.04), rgba(31, 53, 82, 0.02)),
    var(--ivory-2);
  border-top: 1px solid #e5ddd0;
  border-bottom: 1px solid #e5ddd0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(31, 53, 82, 0.08);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.04);
}

.feature-card h3 {
  margin: 0 0 10px;
  color: var(--indigo);
  font-size: 1.2rem;
}

.feature-card p {
  margin: 0;
  color: #595551;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
}

.image-box {
  min-height: 420px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(21, 21, 21, 0.92), rgba(31, 53, 82, 0.92)),
    var(--bg-dark);
  border: 1px solid rgba(201, 161, 74, 0.2);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.image-box::before {
  content: "和";
  position: absolute;
  right: 28px;
  bottom: 12px;
  font-size: 8rem;
  line-height: 1;
  color: rgba(201, 161, 74, 0.12);
  font-family: serif;
}

.image-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 22%, rgba(201, 161, 74, 0.26), transparent 18%),
    radial-gradient(circle at 72% 40%, rgba(255, 255, 255, 0.08), transparent 16%),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, auto, 36px 36px, 36px 36px;
}

.image-box .floating-copy {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 1;
  max-width: 72%;
  color: var(--text-light);
}

.image-box .floating-copy strong {
  display: block;
  color: var(--gold-soft);
  margin-bottom: 10px;
  font-size: 1rem;
}

.image-box .floating-copy p {
  margin: 0;
  color: rgba(248, 246, 241, 0.85);
  font-size: 0.95rem;
  line-height: 1.7;
}

.check-list {
  display: grid;
  gap: 14px;
}

.check-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #eadfce;
  padding: 16px 18px;
  border-radius: 16px;
}

.check-mark {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), #af8733);
  color: #fff;
  font-weight: 700;
  margin-top: 2px;
}

.check-item strong {
  display: block;
  color: var(--indigo);
  margin-bottom: 4px;
}

.check-item p {
  margin: 0;
  color: #5a5652;
  font-size: 0.95rem;
}

/* CTA */
.cta {
  background:
    linear-gradient(135deg, rgba(16, 16, 16, 0.96), rgba(24, 24, 24, 0.92)),
    var(--bg-dark);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at left top, rgba(201, 161, 74, 0.12), transparent 25%),
    radial-gradient(circle at right bottom, rgba(31, 53, 82, 0.22), transparent 30%);
  pointer-events: none;
}

.cta-box {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 42px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
  text-align: center;
}

.cta-box h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3.3vw, 3rem);
  line-height: 1.3;
}

.cta-box p {
  max-width: 760px;
  margin: 0 auto 28px;
  color: rgba(248, 246, 241, 0.84);
}

.cta-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* Floating contact */
.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 88px;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent-red), #8f2d20);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(178, 58, 42, 0.28);
  z-index: 1199;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.floating-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(178, 58, 42, 0.32);
}

.floating-contact-icon {
  font-size: 1rem;
  line-height: 1;
}

.floating-contact-text {
  font-size: 0.94rem;
  letter-spacing: 0.02em;
}

/* toTop */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-red), #8f2d20);
  box-shadow: 0 12px 24px rgba(178, 58, 42, 0.28);
  cursor: pointer;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  background: #111;
  color: rgba(248, 246, 241, 0.78);
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-inner small {
  color: rgba(248, 246, 241, 0.55);
}

/* ==============================
   merged from responsive.css
   ============================== */

/*
Theme Name:     Omotenashi AI Child
Theme URI:      https://fyoshida.jp/
Description:    Custom child theme without parent CSS
Author:         OfficeYOSHIDA
Author URI:     https://fyoshida.jp/
Version:        1.0.0
*/

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .header-center-copy {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-inner,
  .intro-grid,
  .feature-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding: 40px 0 64px;
  }

  .visual-card {
    min-height: 460px;
  }

  .floating-contact {
    right: 16px;
    bottom: 76px;
    min-height: 48px;
    padding: 0 14px;
  }

  .floating-contact-text {
    font-size: 0.88rem;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 70px;
  }

  .header-inner {
    gap: 12px;
  }

  .logo {
    gap: 10px;
  }

  .logo-mark {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .logo-text strong {
    font-size: 0.98rem;
  }

  .logo-text span {
    display: none;
  }

  .hero-copy p,
  .section-head p,
  .cta-box p {
    font-size: 0.95rem;
  }

  .cta-box {
    padding: 28px 20px;
  }

  .feature-card,
  .intro-card {
    padding: 22px 18px;
  }

  .visual-panel {
    inset: 82px 18px 18px 18px;
    padding: 18px;
  }

  .wa-badge {
    width: 58px;
    height: 58px;
    font-size: 1.4rem;
  }

  .glass-ui {
    grid-template-columns: 1fr;
  }

  .visual-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .image-box .floating-copy {
    max-width: 82%;
  }

  .to-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }

  .floating-contact {
    right: 16px;
    bottom: 72px;
    border-radius: 16px;
    padding: 0 12px;
  }

  .floating-contact-text {
    display: none;
  }

  .floating-contact-icon {
    font-size: 1rem;
  }

  .mobile-menu {
    width: min(92vw, 320px);
    padding: 16px 14px 24px;
  }

  .mobile-link {
    padding: 14px 14px;
  }

  .mobile-menu-logo-text span {
    display: block;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }
}
