/* =========================================================
   panel.css
   美島鉄工 看板制作ページ専用
========================================================= */

:root {
  --navy: #071426;
  --navy2: #102540;
  --navy3: #173a5f;
  --gold: #c6a56b;
  --gold2: #e4cc98;
  --white: #ffffff;
  --text: #111827;
  --muted: #5f6875;
  --line: #dfe4ea;
  --shadow: 0 18px 45px rgba(7,20,38,0.14);
}

/* HERO */

.panel-hero {
  position: relative;
  width: 100%;
  height: 68vh;
  min-height: 520px;
  overflow: hidden;
  background: url("../img/panel.png") center center / cover no-repeat;
}

.panel-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,20,38,0.92) 0%, rgba(7,20,38,0.68) 46%, rgba(7,20,38,0.28) 100%),
    linear-gradient(180deg, rgba(7,20,38,0.08), rgba(7,20,38,0.72));
}

.panel-hero-inner {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 860px;
  color: #fff;
}

.panel-hero .hero-lead {
  color: var(--gold2);
  font-size: 0.88rem;
  letter-spacing: 0.24em;
  margin: 0 0 20px;
}

.panel-hero h1 {
  font-size: clamp(2.1rem,5vw,4.5rem);
  line-height: 1.35;
  margin: 0 0 22px;
  letter-spacing: 0.05em;
  text-shadow: 0 8px 28px rgba(0,0,0,0.28);
}

.panel-hero p {
  max-width: 680px;
  font-size: 1.08rem;
  line-height: 1.95;
  color: rgba(255,255,255,0.88);
  margin: 0 0 34px;
}

/* INTRO */

.panel-intro {
  position: relative;
  z-index: 5;
  margin-top: -70px;
  background: #fff;
  border-radius: 24px;
  padding: 72px 42px;
  box-shadow: var(--shadow);
}

.panel-intro p {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  line-height: 2.1;
  color: #334155;
}

/* SIGN VISUAL */

.sign-visual-section {
  margin-top: 80px;
}

.sign-visual-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(198,165,107,0.18);
}

.sign-visual-card img {
  width: 100%;
  border-radius: 18px;
  display: block;
  box-shadow: 0 12px 30px rgba(7,20,38,0.16);
}

.sign-visual-card p {
  max-width: 900px;
  margin: 26px auto 0;
  text-align: center;
  color: #334155;
  line-height: 2;
}

/* SEO */

.seo-block {
  background: #fff;
  border-radius: 24px;
  padding: 70px 40px;
  box-shadow: var(--shadow);
}

.seo-inner {
  max-width: 920px;
  margin: 0 auto;
}

.seo-inner p {
  line-height: 2.1;
  color: #334155;
  margin: 0 0 24px;
}

.seo-box {
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
  border: 1px solid rgba(198,165,107,0.28);
  border-left: 5px solid var(--gold);
  border-radius: 18px;
  padding: 26px 28px;
  margin: 34px 0;
  box-shadow: 0 10px 28px rgba(7,20,38,0.06);
}

.seo-box h3 {
  margin: 0 0 16px;
  font-size: 1.28rem;
  color: var(--navy);
  line-height: 1.6;
}

.seo-box ul {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  gap: 40px;
}

.seo-box li {
  margin-bottom: 10px;
  color: #334155;
  line-height: 1.8;
}

.seo-keywords {
  margin-top: 40px !important;
  background: linear-gradient(135deg, rgba(7,20,38,0.96), rgba(23,58,95,0.96));
  color: #fff !important;
  border-radius: 18px;
  padding: 26px 30px;
  text-align: center;
  font-weight: 700;
  line-height: 2;
  box-shadow: var(--shadow);
}

/* FEATURE */

.panel-feature-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 30px;
}

.panel-feature-item {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.panel-feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(7,20,38,0.18);
}

.panel-feature-item img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.panel-feature-item h3 {
  margin: 26px 26px 12px;
  font-size: 1.38rem;
  color: var(--navy);
}

.panel-feature-item p {
  margin: 0 26px 28px;
  color: var(--muted);
  line-height: 1.9;
}

/* FLOW */

.flow-section {
  background: linear-gradient(135deg, rgba(7,20,38,0.98), rgba(22,53,86,0.96));
  border-radius: 24px;
  padding: 84px 34px;
  color: #fff;
  box-shadow: var(--shadow);
}

.flow-section .section-title {
  color: #fff;
}

.flow-section .section-kicker {
  color: var(--gold2);
}

.flow-wrap {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 18px;
  margin-top: 36px;
}

.flow-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
}

.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.flow-item h3 {
  margin: 0 0 12px;
  font-size: 1.08rem;
  line-height: 1.6;
  color: #fff;
}

.flow-item p {
  margin: 0;
  color: rgba(255,255,255,0.74);
  font-size: 0.94rem;
  line-height: 1.8;
}

/* GALLERY */

.section.panel-gallery-two {
  max-width: 1280px !important;
}

.panel-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  margin-top: 40px;
}

.panel-gallery-item {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(198,165,107,0.16);
}

.gallery-title {
  font-size: 1.55rem;
  line-height: 1.5;
  color: var(--navy);
  margin: 0 0 10px;
  text-align: center;
}

.gallery-desc {
  text-align: center;
  color: var(--muted);
  line-height: 1.9;
  margin: 0 0 20px;
}

.gallery-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.gallery-meta span {
  background: #eef2f7;
  color: var(--navy);
  font-size: 0.82rem;
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.pgx-main {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 18px;
  background: #f3f5f8;
}

.pgx-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.pgx-main-img:hover {
  transform: scale(1.02);
}

.pgx-thumbs {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
}

.pgx-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.pgx-thumb:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.pgx-thumb.active {
  outline: 3px solid var(--gold);
  opacity: 1;
}

.pgx-fade-out {
  opacity: 0;
}

/* FAQ */

.panel-faq {
  background: #fff;
  border-radius: 24px;
  padding: 70px 40px;
  box-shadow: var(--shadow);
}

.faq-list {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.faq-item {
  border-left: 5px solid var(--gold);
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: 0 10px 28px rgba(7,20,38,0.07);
}

.faq-item h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.6;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

/* CTA */

.panel-cta {
  background: linear-gradient(135deg, rgba(7,20,38,0.98), rgba(22,53,86,0.96));
  border-radius: 26px;
  padding: 90px 34px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow);
}

.panel-cta .section-kicker {
  color: var(--gold2);
}

.panel-cta h2 {
  font-size: clamp(1.9rem,3vw,2.7rem);
  line-height: 1.6;
  margin: 0 0 18px;
}

.panel-cta p {
  max-width: 760px;
  margin: 0 auto 34px;
  color: rgba(255,255,255,0.82);
  line-height: 2;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .flow-wrap {
    grid-template-columns: repeat(2,1fr);
  }

  .panel-gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .panel-hero {
    height: 62vh;
    min-height: 460px;
  }

  .panel-hero-inner {
    left: 24px;
    right: 24px;
  }

  .panel-intro {
    margin-top: -40px;
  }

  .panel-feature-grid {
    grid-template-columns: 1fr;
  }

  .seo-box ul {
    columns: 1;
  }
}

@media (max-width: 768px) {
  .flow-wrap {
    grid-template-columns: 1fr;
  }

  .flow-item {
    padding: 24px 18px;
  }

  .panel-gallery-item {
    padding: 18px;
  }
}

@media (max-width: 560px) {
  .panel-hero {
    height: 74vh;
    min-height: 500px;
  }

  .panel-hero h1 {
    font-size: 2rem;
  }

  .panel-intro,
  .seo-block,
  .flow-section,
  .panel-faq,
  .panel-cta {
    padding: 56px 22px;
    border-radius: 18px;
  }

  .sign-visual-card {
    padding: 18px;
    border-radius: 18px;
  }

  .gallery-title {
    font-size: 1.3rem;
  }

  .faq-item {
    padding: 22px 20px;
  }

  .pgx-thumbs {
    gap: 8px;
  }
}