/* =========================================================
   花はんグループ 宴席プランページ
   ( goyoushouji.jp/collab/ )
   base font-size: 62.5%
   ========================================================= */


/* base
----------------------------- */

html {
  font-size: 62.5%;
}

body {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", "MS PMincho", serif;
  font-size: 1.6rem;
  line-height: 1.8;
  color: #333;
  margin: 0;
  padding: 0;
  position: relative;
  background: linear-gradient(
    90deg,
    rgba(42, 61, 39, 1) 0%,
    rgba(201, 164, 0, 1) 26.4%,
    rgba(187, 137, 0, 1) 34.83%,
    rgba(110, 114, 62, 1) 66.85%,
    rgba(121, 86, 0, 1) 70.22%,
    rgba(146, 129, 124, 1) 100%
  );
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.34);
  pointer-events: none;
  z-index: -1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

main.collab-page {
  width: 100%;
  margin: 0 auto;
  overflow-x: hidden;
}


/* a-tag common
----------------------------- */

a,
a:visited {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.25s ease, color 0.25s ease;
  display: inline-block;
}

a:hover {
  opacity: 0.8;
}

a:focus {
  outline: none;
  opacity: 0.85;
}

a:active {
  opacity: 0.7;
}


/* header
----------------------------- */

.page-header {
  background-color: #fff;
  width: 100%;
  max-width: 1000px;
  padding: 4rem 2rem;
  text-align: center;
  margin: 0 auto;
}

.page-header .inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-header .logo {
  display: block;
  margin: 0 auto 2rem;
  max-width: 1000px;
  height: auto;
}

.page-header .desc {
  font-size: 1.6rem;
  line-height: 2.5;
  letter-spacing: 0;
  margin: 2rem auto;
}

.page-header .note {
  width: 400px;
  margin: 2rem auto 0;
}

@media screen and (max-width: 600px) {
  .page-header {
    padding: 3rem 0;
  }
  .page-header .desc {
    font-size: 1.5rem;
    line-height: 1.8;
    text-align: left;
  }
  .page-header .note {
    width: 100%;
  }
}


/* 2. プランセクション
----------------------------- */

.plan-wrapper {
  background: rgba(255, 255, 255, 1);
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.plan-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  justify-items: center;
  align-items: start;
  margin-bottom: 4rem;
}

.plan-section img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.plan-footnote {
  text-align: center;
  margin: 3rem auto 2rem;
  max-width: 1000px;
}

.plan-footnote img {
  display: block;
  width: 440px;
  max-width: 90vw;
  height: auto;
  margin: 0 auto;
}

@media screen and (max-width: 960px) {
  .plan-wrapper {
    padding: 1rem 1rem 2rem;
  }
  .plan-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 640px) {
  .plan-section {
    grid-template-columns: 1fr;
  }
}


/* 電話・ボタン・QR
----------------------------- */

.plan-contact {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 0 3rem;
  background: none;
  border: none;
  box-shadow: none;
}

.contact-center {
  text-align: center;
  position: relative;
  z-index: 2;
}

.contact-center .tel-banner {
  display: block;
  width: 500px;
  height: auto;
  margin: 0 auto 2.5rem;
}

.plan-button {
  text-align: center;
}

/* --- ボタン（花はんグループ共通カラーVer.）--- */
.plan-button a {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: 1.7rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  background: #3D7670; /* メインカラーに変更 */
  border-radius: 50px;
  width: 360px;
  height: 58px;
  position: relative;
  overflow: hidden;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease;
  margin: 0 auto;
  box-shadow: 0 4px 14px rgba(61, 118, 112, 0.25); /* 同じ影 */
}

.plan-button a:hover {
  background: #33635d; /* フォームのhover色に合わせる */
  transform: translateY(-2px); /* 同様の浮き上がり */
}


/* 矢印（三角） */
.plan-button a::before {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #fff;
  transition: transform 0.3s ease;
}


@media screen and (max-width: 600px) {
  .plan-button a {
    width: 100%;
    height: 60px;
  }
  
}



/* 光アニメーション（shiny） */
.plan-button a.shiny::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60px;
  width: 60px;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 70%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  z-index: 1;
  pointer-events: none;
  animation: sheen 5s ease-in-out infinite;
}

@keyframes sheen {
  0%, 88% {
    left: -60px;
    opacity: 0;
  }
  90% {
    opacity: 0.9;
  }
  92% {
    opacity: 0.7;
  }
  94% {
    opacity: 0.3;
  }
  100% {
    left: calc(100% + 60px);
    opacity: 0;
  }
}

/* QRコード */
.contact-qr {
  position: absolute;
  top: 0;
  right: 0;
  text-align: center;
}

.contact-qr img {
  display: block;
  width: 120px;
  height: auto;
  margin: 0 auto 0.5rem;
}

.contact-qr p {
  font-size: 1.3rem;
  color: #333;
  line-height: 1.6;
}

@media screen and (max-width: 600px) {
  .contact-qr {
    display: none;
  }
}


/* 3. 花はんグループ紹介
----------------------------- */

.group-info {
  background: rgba(255, 255, 255, 1);
  max-width: 1000px;
  text-align: center;
/*   border-top: 10px solid #3D7670; */
  padding: 4rem 2rem;
  margin: 0 auto;
}

/* --- グループロゴ --- */
.group-logo {
  width: 220px;
  height: auto;
  margin: 0 auto 4rem;
}

.group-logo img {
  width: 100%;
  height: auto;
}

/* --- セクションタイトル --- */
.group-info h2 {
  width: 340px;
  height: auto;
  margin: 1rem auto 2rem;
}

.group-info h2 img {
  width: 100%;
  height: auto;
}

/* --- 説明文 --- */
.group-info .desc {
  font-size: 1.6rem;
  line-height: 2;
  letter-spacing: 0.2rem;
  margin-bottom: 4rem;
}

/* --- 各店舗リスト（2カラム構成） --- */
.group-cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

/* --- 各店舗ブロック --- */
.group-cols .col {
  width: 350px;
  text-align: left;
}

/* --- 店舗タイトル画像 --- */
.group-cols h3 {
  width: 350px;
  height: auto;
  margin: 1rem auto 2rem;
  border: none;
}

.group-cols h3 img {
  width: 100%;
  height: auto;
}

/* --- 店舗詳細リスト --- */
.group-cols ul {
  width: 300px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
}

/* --- 店舗アイテム --- */
.group-cols li {
  margin-bottom: 0;
}

.group-cols li img {
  margin-bottom: 0.5rem;
}

/* --- 店舗情報（右寄せの店名や説明） --- */
.group-cols li p {
  font-size: 1.6rem;
  font-weight: 600;
  text-align: right;
  margin: 0 0 1rem;
}

/* --- スマホ対応 --- */
@media screen and (max-width: 600px) {
  .group-info {
    padding: 3rem 1.5rem;
  }

  .group-logo {
    width: 180px;
    margin-bottom: 3rem;
  }

  .group-info h2 {
    width: 280px;
  }

  .group-info .desc {
    font-size: 1.4rem;
    line-height: 1.9;
    text-align: left;
    margin-bottom: 3rem;
  }

  .group-cols {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }
  
  .group-cols h3 {
    width: 100%;
  }

  .group-cols .col {
    width: 100%;
    max-width: 340px;
  }

  .group-cols ul {
    width: 100%;
    max-width: 300px;
  }

  .group-cols li p {
    font-size: 1.5rem;
    text-align: right;
  }
}


/* 4. 店舗情報
----------------------------- */

.group-hours {
  width: 60%;
  max-width: 1000px;
  text-align: left;
  padding: 0 4rem;
  margin: 4rem auto;
}

.hours-box {
  background: linear-gradient(
    90deg,
    rgba(86, 116, 95, 1) 0.56%,
    rgba(33, 129, 106, 1) 8.43%,
    rgba(158, 143, 81, 1) 38.2%,
    rgba(169, 185, 115, 1) 56.18%,
    rgba(222, 189, 145, 1) 66.29%,
    rgba(131, 149, 127, 1) 83.15%,
    rgba(61, 118, 113, 1) 95.51%
  );
  padding: 4px;
  margin: 0;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.hours-box ul {
  background: #fff;
  padding: 2.4rem 3rem;
  margin: 0;
  list-style: none;
}

.hours-box li {
  font-size: 1.5rem;
  color: #333;
  line-height: 1.9;
  padding-bottom: 1.4rem;
  margin-bottom: 1.6rem;
  border-bottom: 1px dotted #ccc;
}

.hours-box li:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.hours-box li strong {
  display: inline-block;
  font-weight: 600;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  margin-bottom: 0.4rem;
}

@media screen and (max-width: 640px) {
  .group-hours {
    width: 100%;
    padding: 0 0 2rem;
  }
  .hours-box {
    padding: 8px;
  }
  .hours-box ul {
    padding: 2rem;
  }
  .hours-box li {
    font-size: 1.4rem;
    line-height: 1.8;
  }
}


/* 4-1. 注意書き
----------------------------- */

.notes-section {
  background: #fff;
  max-width: 1000px;
  text-align: left;
/*   border-top: 10px solid #3D7670; */
  padding: 2rem 2rem 4rem;
  margin: 0 auto;
}

.notes-section .inner {
  width: 80%;
  text-align: left;
  margin: 0 auto;
}

.notes-section li {
  position: relative;
  font-size: 1.4rem;
  color: #444;
  line-height: 1.8;
  margin: 0 0 1.2rem 4rem;
  text-indent: -1.5rem;
}

.notes-section li::before {
  content: "■";
  position: relative;
  left: -0.5rem;
  color: #333;
  font-size: 0.8em;
  margin-right: 0.4em;
}

.notes-section ul.caution li::before {
  content: "※";
}

@media screen and (max-width: 640px) {
  .notes-section {
    border: none;
  }
  .notes-section .inner {
    width: 90%;
  }
  .notes-section li {
    font-size: 1.4rem;
    margin-left: 0;
  }
}


/* footer
----------------------------- */

.footer {
  background: #fff;
  max-width: 1000px;
  padding: 2rem;
  margin: 0 auto;
}

.footer .inner {
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

.footer p {
  margin: 0;
  letter-spacing: 0.05em;
}


/* pagetop
----------------------------- */

.pagetop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 42px;
  height: 42px;
  background: #666;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 4px 4px -4px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 1000;
}

.pagetop:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.pagetop::before {
  content: "";
  width: 8px;
  height: 8px;
  border-left: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: rotate(45deg);
  margin-top: 3px;
}

.pagetop {
  visibility: hidden;
  opacity: 0;
}

.pagetop.is-active {
  visibility: visible;
  opacity: 0.5;
}

@media (max-width: 600px) {
  .pagetop {
    right: 15px;
    bottom: 15px;
    width: 38px;
    height: 38px;
  }
}


/* visually-hidden
----------------------------- */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* display control
----------------------------- */

/* --- PC専用（600px超で表示） --- */
.pc {
  display: block;
}

.sp {
  display: none;
}

/* --- SP専用（600px以下で表示） --- */
@media screen and (max-width: 600px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
}

/* Animation
----------------------------- */

/* ふわっとアニメーション初期状態（遅め） */
.plan-section img {
  width: 100%;
  max-width: 400px;
  height: auto;
  opacity: 0;
  transform: translateY(20px); /* 少し下からふわっと */
  will-change: opacity, transform;
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.plan-section img.visible {
  opacity: 1;
  transform: translateY(0);
}



/* parallax
----------------------------- */
/* 固定背景レイヤー：中央1000px、対象セクション内のみ表示 */
#parallax-bg {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1040px;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  pointer-events: none;
}

#parallax-bg.is-active { opacity: 1; }

/* 背景を覗く窓（好きな場所に挿入） */
.parallax-section {
  position: relative;
  width: 100%;
  height: 400px; /* 調整可 */
  overflow: hidden;
  background: transparent;
  z-index: 1;
}

/* 通常コンテンツ層は背景より前に */
main, header, section, footer {
  position: relative;
  z-index: 2;
}
