/*
Theme Name: FlowerLive Theme
Theme URI: https://xs458199.xsrv.jp/
Author:kento
Description: FlowerLive公式サイトWordPressテーマ（GSAP・AOS対応）
Version: 1.0.0
Text Domain: flower-live
*/

/* ==================== reset ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* ==================== header ==================== */
/* ==================== ヘッダー（透明・固定） ==================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.94); /* ほぼ白で明るく */
  backdrop-filter: blur(3px);            /* 控えめブラーで抜け感だけ演出 */
  color: #222;                           /* 黒ロゴ/黒テキストにも最適なダークカラー */
  padding: 12px 22px;
  z-index: 1000;
  transition: background 0.3s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08); /* 下にほんのり影 */
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  height: 45px;
  gap: 15px; /* 要素間のスペースを確保 */
}

/* ロゴ/サイト名 */
.header-logo {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 250px; /* PC用上限幅を指定（お好みで調整） */
  flex-shrink: 0;
}

/* ロゴ画像のみ（WordPressのcustom-logoクラス） */
.header-logo .custom-logo {
  display: block;
  height: 38px;    /* ヘッダー内で縦幅固定 */
  width: auto;
  max-width: 230px; /* お好みで調整 */
  object-fit: contain;
}

/* ロゴ画像が小さすぎる場合やスマホ対応 */
@media (max-width: 600px) {
  .header-logo {
    max-width: 140px;
  }
  .header-logo .custom-logo {
    height: 29px;
    max-width: 135px;
  }
}

/* 公式LINEボタン（白ロゴ・透明背景） */
.line-button {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #06C755;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: 600;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.15); /* 透明背景 */
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 25px;
  transition: all 0.3s ease;
  height: 38px;
  flex-shrink: 0; /* 縮小を防ぐ */
  white-space: nowrap; /* 改行を防ぐ */
}

.line-button:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

.line-button svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.line-button span {
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ===== レスポンシブ対応（段階的調整） ===== */

/* タブレット（768px以下） */
@media (max-width: 768px) {
  .header-logo h1 {
    font-size: 1.4em;
  }
  
  .line-button {
    font-size: 0.85em;
    padding: 7px 12px;
    height: 36px;
  }
}

/* iPhone 16 Pro Max / 15 Pro Max（430px） */
@media (max-width: 430px) {
  header {
    padding: 10px 16px;
  }
  
  .header-content {
    height: 40px;
    gap: 12px;
  }
  
  .header-logo h1 {
    font-size: 1.3em;
  }
  
  .line-button {
    font-size: 0.8em;
    padding: 6px 10px;
    height: 34px;
    gap: 5px;
  }
  
  .line-button svg {
    width: 18px;
    height: 18px;
  }
}

/* iPhone 16 Pro / 15 Pro（393px） */
@media (max-width: 393px) {
  header {
    padding: 10px 14px;
  }
  
  .header-content {
    height: 38px;
    gap: 10px;
  }
  
  .header-logo h1 {
    font-size: 1.2em;
  }
  
  .line-button {
    font-size: 0.75em;
    padding: 6px 10px;
    height: 32px;
    gap: 4px;
  }
  
  .line-button svg {
    width: 16px;
    height: 16px;
  }
}

/* 小型スマホ（360px以下） */
@media (max-width: 360px) {
  header {
    padding: 8px 12px;
  }
  
  .header-content {
    height: 36px;
    gap: 8px;
  }
  
  .header-logo h1 {
    font-size: 1.1em;
  }
  
  .line-button {
    font-size: 0.7em;
    padding: 5px 8px;
    height: 30px;
  }
  
  .line-button svg {
    width: 15px;
    height: 15px;
  }
  
  .line-button span {
    font-size: 0.95em;
  }
}

/* ==================== hero section ==================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: url('assets/img/hero.jpg') center center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  color: #222;  /* 黒 or お好みカラー（理由：背景が明るいため） */
  overflow: hidden;
  padding-top: 80px;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* ほぼ透明～うっすら白半透明のオーバーレイで全体明るく！ */
  background: linear-gradient(rgba(255,255,255,0.62), rgba(255,255,255,0.18));
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  font-size: 2.9em;
  font-weight: 700;
  line-height: 1.5;
  color: #222;
  text-shadow: 0 2px 16px rgba(255,255,255,0.15); /* やや明るい影で抜け感 */
  background: rgba(255,255,255,0.12); /* 文字部分も軽く抜け感 */
  border-radius: 12px;
  padding: 22px 42px;
}
@media (max-width: 600px) {
  .hero-text {
    font-size: 2em;
    padding: 13px 12px;
  }
}


/* ==================== image slide ==================== */
.image-flow {
  position: relative;
  overflow: hidden;
  height: 300px;
  background: #000;
  margin: 0;
}

.flow-wrapper {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: max-content;    /* 画像枚数分の幅を確保 */
}

.flow-wrapper img {
  height: 300px;
  width: auto;
  object-fit: cover;
  opacity: 0.9;
  filter: brightness(0.8);
  flex-shrink: 0;
}

/* CSS Fallback Animation（GSAP not empty） */
@keyframes flowX {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-20%);
  }
}

.flow-wrapper {
  animation: flowX 45s linear infinite;
}

.image-flow::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5));*/
  pointer-events: none;
  z-index: 1;
}

/* ===== QRコード案内セクション ===== */
.section--qr {
  text-align: center;
  background: #f7fafc;
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
  padding-top: 60px;
  padding-bottom: 60px;
  margin: 70px auto 0 auto;
}

.qr-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
}

.qr-img {
  display: block;
  width: 100px;
  max-width: 60vw;
  height: auto;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  background: #fff;
  padding: 14px;
  border: 1.5px solid #e5e5e5;
  object-fit: contain;
}

.qr-label {
  font-size: 1.08em;
  color: #333;
  margin: 0 0 8px 0;
  line-height: 1.6;
}

.qr-btn {
  display: inline-block;
  background: #06c755;
  color: #fff;
  font-weight: 700;
  font-size: 1.09em;
  padding: 14px 46px;
  border-radius: 29px;
  margin-top: 10px;
  box-shadow: 0 2px 8px rgba(6,199,85,0.1);
  text-decoration: none;
  transition: background .2s, box-shadow .2s, transform .2s;
  border: none;
}
.qr-btn:hover {
  background: #fff;
  color: #06c755;
  border: 1.5px solid #06c755;
  box-shadow: 0 4px 15px rgba(6,199,85,0.18);
  transform: translateY(-2px) scale(1.05);
}

@media (max-width: 600px) {
  .section--qr {
    padding-top: 38px;
    padding-bottom: 38px;
    margin-top: 45px;
    border-radius: 14px;
  }
  .qr-img {
    width: 145px;
    padding: 8px;
    border-radius: 10px;
  }
  .qr-btn {
    width: 92vw;
    min-width: 0;
    font-size: 1em;
    padding: 13px 0;
    border-radius: 22px;
  }
  .qr-block {
    gap: 14px;
  }
}

/* ===== 実績紹介セクション ===== */
.section--achievement {
  background: #f5f7fb;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  margin-top: 36px;
  text-align: center;
  padding: 54px 0 44px 0;
}

.achievement-carousel {
  margin: 0 auto;
  max-width: 90vw;
}

/* アイテム全体をカード型でまとめる */
.achievement-item {
  display: flex;
  justify-content: center;
  align-items: stretch;
  height: 100%;
}

.achievement-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 22px 20px 15px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 220px;
  min-height: 230px;
  margin: 0 auto;
  transition: box-shadow 0.18s;
}
.achievement-card:hover {
  box-shadow: 0 4px 16px rgba(0,200,120,0.08);
}

/* 実績カルーセル画像（スマホでも正方形維持!） */
.achievement-img, .achievement-thumb {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  background: #fafafa;
  box-shadow: 0 1.5px 7px rgba(0,0,0,0.10);
  margin-bottom: 12px;
  display: block;
}

/* スマホ用にも正方形維持・中央表示 */
@media (max-width: 600px) {
  .achievement-img, .achievement-thumb {
    width: 90px;
    height: 90px;
    border-radius: 9px;
    margin-bottom: 12px;
  }
  .achievement-card {
    padding: 15px 6px 12px 6px;
    width: 94vw;
    min-width: 0;
    margin: 0 auto;
  }
}

/* Slickページ番号 (ドット) 非表示 */
.slick-dots {
  display: none !important;
}


/* 文章部分 */
.achievement-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.achievement-title {
  font-weight: 700;
  font-size: 1.08em;
  margin-bottom: 7px;
  text-align: center;
}

.achievement-excerpt {
  font-size: 0.98em;
  color: #445;
  margin-bottom: 2px;
  text-align: center;
}

/* Slickカスタムナビボタン */
.slick-arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  background: rgba(6, 199, 85, 0.09);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 5px rgba(0,0,0,0.09);
  color: #06c755;
  font-size: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slick-prev {
  left: -50px;
}
.slick-next {
  right: -50px;
}
.slick-arrow:hover {
  background: #06c755;
  color: #fff;
}

/* Slickドット */
.slick-dots {
  margin-top: 28px;
}
.slick-dots li button:before {
  color: #06c755;
  font-size: 13px;
}
.slick-dots li.slick-active button:before {
  color: #06c755;
  opacity: 1;
}

/* スマホ用微調整 */
@media (max-width: 600px) {
  .achievement-card {
    padding: 13px 6px 9px 6px;
    width: 92vw;
    min-height: 0;
  }
  .achievement-img, .achievement-thumb {
    width: 64px;
    height: 64px;
    border-radius: 7px;
  }
  .slick-prev { left: 0; }
  .slick-next { right: 0; }
}


/* ==================== section all ==================== */
.section {
  padding: 100px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.section h2 {
  text-align: center;
  font-size: 2.2em;
  margin-bottom: 1.5em;
  font-weight: 700;
  color: #222;
  position: relative;
  padding-bottom: 20px;
}

.section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #000;
}

.section p {
  line-height: 2;
  font-size: 1.1em;
  margin-bottom: 1.5em;
  color: #555;
}

.section ul {
  list-style: none;
  padding: 0;
}

.section ul li {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  font-size: 1.05em;
}

.section ul li:last-child {
  border-bottom: none;
}

/* background valiation */
.section--gray {
  background: #f9f9f9;
}

/* ==================== event list ==================== */
.event-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.event-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  transition: background 0.3s ease;
}

.event-item:hover {
  background: rgba(0, 0, 0, 0.02);
  padding-left: 10px;
}

.event-item:last-child {
  border-bottom: none;
}

.event-date {
  font-size: 0.95em;
  color: #666;
  font-weight: 500;
  min-width: 100px;
  background: #f5f5f5;
  padding: 5px 15px;
  border-radius: 20px;
  text-align: center;
}

.event-title {
  font-size: 1.05em;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.event-title:hover {
  color: #000;
  text-decoration: underline;
}

/* ==================== footer ==================== */
footer {
  background: #111;
  color: #ccc;
  text-align: center;
  padding: 50px 20px;
  font-size: 0.9em;
}

footer p {
  margin: 0;
  opacity: 0.8;
}
.footer-links {
  margin-bottom: 12px;
  text-align: center;
}

.footer-links a {
  color: #ccc;
  font-size: 0.96em;
  text-decoration: none;
  margin: 0 10px;
  transition: color .2s;
}

.footer-links a:hover {
  color: #06c755;
  text-decoration: underline;
}

.footer-links .divider {
  color: #888;
}

.footer-contact {
  text-align: center;
  margin-bottom: 10px;
}

.footer-contact .footer-mail {
  color: #ccc;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.05em;
  transition: color .18s;
  word-break: break-all;
}
.footer-contact .footer-mail:hover {
  color: #00994e;
  text-decoration: underline;
}


/* ==================== utilitie ==================== */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 20px;
}

.mb-2 {
  margin-bottom: 20px;
}
