@charset "utf-8";
/*@import url('https://fonts.googleapis.com/css2?family=Yuji+Mai&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Yuji+Mai&family=Zen+Old+Mincho&display=swap');
/*
Theme Name: Lightning Child
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.0.0
*/


/* === 固定ヘッダー === */
.my-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ヘッダー高さ分だけ本文を下げる */
body {
  padding-top: var(--header-h, 0px);
}

/* === メッセージエリア === */
.home-message {
  position: relative;
  z-index: 1;
  background: #f8f8f8; /* 任意の背景色 */
  padding: 2em 1em;
  text-align: center;
  font-size: 1.2rem;
}

/* === 画像セクション === */
.hero-section {
  margin-top: var(--message-h, 0px); /* メッセージの高さ分下げる */
  height: calc(100svh - var(--total-top-h, 0px)); /* 残りを全画面に */
  overflow: hidden;
}

.hero-section img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 縦横比を保ちつつ全体を埋める */
  display: block;
}

/* === CSS変数の初期値 === */
:root {
  --header-h: 0px;
  --message-h: 0px;
  --total-top-h: 0px;
}
