@charset "utf-8";

/* ===== 基本設定 ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Hiragino Kaku Gothic ProN', sans-serif;
  color: #fff;
  background-image: url('../images/haikeiaka.png');
  background-repeat: repeat;
  background-size: auto;
}

/* 共通ホバー拡大 */
.hover-zoom img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hover-zoom img:hover {
  transform: scale(1.08);
}

html {
  scroll-behavior: smooth;
}

/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho+B1:wght@700&family=M+PLUS+1p:wght@400;700&display=swap');

/* ===== ナビゲーション ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
  font-family: 'M PLUS 1p', sans-serif;
}

.navbar ul {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 30px 0;
  list-style: none;
}

.navbar li {
  margin: 0 20px;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.5em;
  padding: 8px 12px;
  transition: background 0.3s, color 0.3s;
}

.navbar a:hover {
  background-color: #fff;
  color: #000;
}

/* ===== ヘッダー ===== */
header.logo {
  padding: 160px 20px 100px;
  background-image: url('../images/header2.png');
  background-size: cover;
  background-position: center;
  text-align: center;
  color: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  margin-bottom: 60px;
}

header.logo h1 {
  margin-bottom: 40px;
  font-size: 3.5em;
  text-shadow: 0px 0px 5px #000;
}

header.logo p {
  font-size: 1.5em;
  text-shadow: 0px 0px 5px #000;
}

header.logo p.midashi {
  font-family: 'M PLUS 1p', sans-serif;
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
  border-bottom: 3px solid #8B0000;
  padding-bottom: 1.0em;
  margin: 1em 0 40px 0;
  letter-spacing: 0.05em;
  text-align: center;
}

header.logo img {
  width: 400px;
  height: 400px;
  margin-bottom: 40px;
}

/* 筆文字タイトル */
.fude {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 4.0rem;
  display: inline-block;
  color: #000;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
}

.fude2 {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 8.0rem;
  display: inline-block;
  color: #000;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
}

/* 小さい画面でも文字サイズ調整 */
@media (max-width: 480px) {
  .fude2 {
    font-size: 2em;
    gap: 0.1em;
  }
}

/* ===== セクション共通 ===== */
section {
  width: 100%;
  padding: 60px 0;
  text-align: center;
}

.section-inner {
  width: 960px;
  margin: 0 auto;
}

section h2 {
  font-family: 'M PLUS 1p', sans-serif;
  font-size: 3rem;
  margin-bottom: 1.5em;
  color: #fff;
}

section p {
  padding: 5px 0;
  margin: 0;
  line-height: 1.8;
  text-align: center;
}

/* ===== NEWS ===== */
section.news .news-single {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

section.news .news-single img {
  width: 100%;
  max-width: 800px;
  height: auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  border-radius: 8px;
  margin-bottom: 40px;
}

section.news .news-single p {
  font-size: 1.2em;
  text-align: center;
}

/* ===== MEMBER ===== */
.members-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px;
}

.members {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

/* フェードイン */
.member-item {
  position: relative;
  flex: 1 1 22%;
  max-width: 22%;
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.member-item.active {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-down.up { transform: translateY(40px); }
.fade-up-down.down { transform: translateY(-40px); }
.member-item.active.fade-up-down.up,
.member-item.active.fade-up-down.down { transform: translateY(0); }

/* 画像 */
.member-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.member-item img:hover {
  transform: scale(1.08);
}

/* レスポンシブ MEMBER */
@media (max-width: 768px) {
  .member-item {
    flex: 1 1 calc(50% - 15px);
    max-width: calc(50% - 15px);
  }
}

/* ===== LIVE スライダー ===== */
.live-slider {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  text-align: center;
  padding-bottom: 6em;
}

.live-slider img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: auto;
  max-width: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.live-slider img.active {
  opacity: 1;
  z-index: 1;
}

.live-slider::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

/* ===== GOODS ===== */
.goods.gallery {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px;
  margin-bottom: 60px;
}

.goods.gallery .gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.goods.gallery .gallery-grid div {
  width: calc((100% - 60px) / 4);
  text-align: center;
  line-height: 1;
}

.goods.gallery .gallery-grid div img {
  width: 100%;
}

.goods.gallery .gallery-grid div p {
  margin-top: 8px;
  color: #fff;
}

@media (max-width: 768px) {
  .goods.gallery .gallery-grid div {
    width: calc((100% - 20px) / 2);
  }
}

/* ===== フッター ===== */
footer {
  text-align: center;
  padding: 20px;
  background-color: #000;
  color: #fff;
}

footer p small {
  font-size: 0.9em;
}

/* ===== 桜パーティクル ===== */
.back-container {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

.petal {
  position: absolute;
  top: 0;
  background-color: #ffc0cb;
  border-radius: 150% 0 150% 0;
  animation: animate-petal 10s linear forwards;
  will-change: transform, top;
}

.petal::after {
  content: "";
  position: absolute;
  top: -14%;
  left: -10%;
  display: block;
  width: 100%;
  height: 100%;
  background-color: #ffc0cb;
  border-radius: 150% 0 150% 0;
  transform: rotate(15deg);
}

@keyframes animate-petal {
  0% { top: 0; opacity: 0; transform: rotate(0deg); }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100vh; opacity: 0; transform: rotate(3000deg); }
}

#page-top {								/* スクロールボタンの配置位置 */
	display: block;
	width: 60px;
	line-height: 60px;
	position: fixed;
	right: 10px;
	bottom:10px;
	z-index: 2;
	border-radius: 30px;
	background: #000000;				/* スクロールボタンの背景色 */
	opacity: 0;
	font-size: 2.0rem;
	color: #fff;						/* スクロールボタンの文字色 */
	text-align: center;
	text-decoration: none;
}
#page-top:hover{
	cursor: pointer;
}
