*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --bg-left: #edf2f7;
  --bg-right: #fafbfd;
  --logo-col: 230px;
  --campaign-col: 324px;
  --lp-width: 414px;
  --nav-col: 210px;
  --gap: 48px;
  --text: #333;
  --pink: #ea3b83;
  --green: #00c300;
  --blue: #08a9bf;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Yu Gothic', Meiryo, sans-serif;
  color: var(--text);
  background: #fcf9f5;
}

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

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

.layout {
  width: min(1680px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 26px;
  display: grid;
  grid-template-columns: var(--logo-col) var(--campaign-col) var(--lp-width) minmax(180px, var(--nav-col));
  gap: var(--gap);
  justify-content: center;
  align-items: start;
}

.image-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #317788;
  font-weight: 700;
  line-height: 1.6;
  background: linear-gradient(135deg, #edf8fa, #d6f2f7);
  border: 2px dashed #8ecfda;
  border-radius: 6px;
}

.placeholder-image {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #edf8fa, #d6f2f7);
  border: 2px dashed #8ecfda;
  border-radius: 6px;
  overflow: hidden;
}

.placeholder-image::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(8, 169, 191, .35);
  border-radius: 4px;
}

.placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
  color: #317788;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
}

/* 1列目：ロゴ専用 */
.logo-column {
  position: sticky;
  top: 0;
  height: 100vh;
  padding-top: 26px;
}

.logo-img {
  width: 220px;
}

.logo-fallback {
  width: 220px;
  height: 92px;
  font-size: 14px;
}

/* 2列目：キャンペーン専用 */
.campaign-column {
  position: sticky;
  top: 0;
  height: 100vh;
  padding-top: 58px;
  overflow: hidden;
}

.campaign-stack {
  width: var(--campaign-col);
  height: calc(100vh - 58px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.campaign-lead {
  width: 100%;
  text-align: center;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  color: #BD1718;
  margin: 0 0 10px;
  white-space: nowrap;
  font-family: serif;
}

.campaign-image-wrap {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
}

.replace-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.aspect-campaign {
  aspect-ratio: auto;
}

.aspect-qr {
  aspect-ratio: 1 / 1;
  width: 180px;
  margin: 0 auto;
}

.caption {
  text-align: center;
  font-size: 14px;
  margin: 13px 0 12px;
}

.btn-pink {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--pink);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  padding: 14px 16px;
  border-radius: 4px;
  box-shadow: 0 4px 0 #bc245d;
}

.line-area {
  width: 100%;
  margin-top: 34px;
  text-align: center;
}

.line-title {
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 14px;
}

.btn-line {
  display: block;
  width: 286px;
  margin: 18px auto 0;
  text-align: center;
  background: var(--green);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  padding: 15px 18px;
  border-radius: 999px;
}

/* 3列目：LP本体 */
.lp {
  width: var(--lp-width);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .04);
}

.image-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

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

.lp-section {
  width: 100%;
}

/* LP内LINEボタン */
.line-button {
  cursor: pointer;
  transition: opacity 0.3s ease;
  animation: blink-glow 1.2s infinite;
  border-radius: 8px;
  width: 90%;
  display: block;
  margin: 0 auto;
}

.line-button:hover {
  opacity: 0.8;
}

@keyframes blink-glow {
  0%, 100% {
    filter: brightness(1);
    transform: scale(1);
  }
  50% {
    filter: brightness(1.3);
    transform: scale(1.05);
  }
}

.line-button-wrapper {
  position: relative;
  display: inline-block;
  width: 90%;
  margin-top: 20px;
  margin:20px;
}

.ticket-image {
  position: absolute;
  top: -23px;
  right: 0px;
  width: 80px !important;
}

.header__btn {
  position: absolute;
  z-index: 2;
  width: var(--lp-width);
  pointer-events: none;
}

.header__btn img {
  width: 10%;
  position: relative;
  top: 4.5rem;
  left: 2rem;
  pointer-events: auto;
}

.fotter_txt {
  font-size: 12px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.faq {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.qa-7 {
  display: block;
  box-sizing: border-box;
  width: calc(100% - 2rem);
  max-width: 100%;
  margin: 1rem;
  position: relative;
  border: none;
  border-radius: 5px;
  box-shadow: 0 4px 4px rgb(0 0 0 / 2%), 0 2px 3px -2px rgba(0 0 0 / 5%);
  background-color: #fff;
  padding: 1em 2em 1em 3em;
}

.qa-7 summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  font-family: serif;
}

.qa-7 summary::before {
  position: absolute;
  left: 1em;
  font-weight: 600;
  font-family: serif;
  color: #C69742;
}

.qa-1 summary::before { content: "Q1"; }
.qa-2 summary::before { content: "Q2"; }
.qa-3 summary::before { content: "Q3"; }
.qa-4 summary::before { content: "Q4"; }
.qa-5 summary::before { content: "Q5"; }
.qa-6 summary::before { content: "Q6"; }

.qa-7 summary::after {
  transform: translateY(-25%) rotate(45deg);
  width: 10px;
  height: 10px;
  margin-left: 10px;
  border-bottom: 2px solid #C69742;
  border-right: 2px solid #C69742;
  content: '';
  transition: transform .5s;
}

.qa-7[open] summary::after {
  transform: rotate(225deg);
}

.qa-7 p {
  position: relative;
  transform: translateY(-10px);
  opacity: 0;
  color: #333;
  font-family: serif;
  transition: transform .5s, opacity .5s;
}

.qa-7[open] p {
  transform: none;
  opacity: 1;
  color: #A4282A;
}

.recommend {
  background-color: #E8D5BF;
}

.campaign {
  background-color: #E0F0E5;
}

.site-footer {
  width: 100%;
  text-align: center;
  padding: 20px;
  background-color: #2E1305;
  font-size: 14px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

/* 4列目：目次 */
.side-nav {
  position: sticky;
  top: 0;
  height: 100vh;
  padding-top: 102px;
  font-family: serif;

}

.side-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-nav li {
  margin: 0 0 28px;
}

.side-nav a {
  color: #7e6241;
  font-size: 16px;
  font-weight: 500;
}

.side-nav a:hover {
  text-decoration: underline;
}

@media (max-height: 820px) {
  .campaign-column { padding-top: 36px; }
  .campaign-stack { height: calc(100vh - 36px); }
  .campaign-lead { font-size: 16px; margin-bottom: 8px; }
  .caption { font-size: 13px; margin: 10px 0; }
  .btn-pink { font-size: 16px; padding: 12px 14px; }
  .line-area { margin-top: 22px; }
  .line-title { font-size: 15px; margin-bottom: 10px; }
  .aspect-qr { width: 155px; }
  .btn-line { width: 270px; font-size: 16px; padding: 13px 16px; margin-top: 14px; }
}

@media (max-width: 1320px) {
  :root { --logo-col: 210px; --campaign-col: 300px; --gap: 30px; }
  .logo-img,
  .logo-fallback { width: 200px; }
  .campaign-lead { font-size: 16px; }
  .btn-pink { font-size: 16px; }
}

@media (max-width: 900px) {
  body { background: #fff; }

  .layout {
    width: 100%;
    display: block;
    padding: 0;
  }

  .logo-column,
  .campaign-column,
  .side-nav {
    display: none;
  }

  .lp {
    width: 100%;
    max-width: none;
    box-shadow: none;
  }

  .header__btn {
    width: 100%;
  }

  .header__btn img {
    width: 12%;
    top: 4.3rem;
    left: 1rem;
  }
}

  .fv{
    background-color: #E0F0E5 ;
}

.btn-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 286px;
  margin: 18px auto 0;
  text-align: center;
  background: var(--green);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  padding: 15px 18px;
  border-radius: 999px;
  line-height: 1;
}

.btn-line-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.btn-line span {
  display: inline-block;
}