@media screen and (min-width: 813px) {
  .sp {
    display: none;
  }
}

@media screen and (max-width: 812px) {
  .pc {
    display: none;
  }
}

.section-label {
  font-size: 13px;
  color: #666;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.square-hero {
  position: relative;
  padding-top: 100px;
}

.square-hero-image {
  position: relative;
  height: 78vh;
  min-height: 620px;
  overflow: hidden;
}

.square-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}

.square-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.square-hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 90px;
  z-index: 2;
}

.square-hero-overlay .inner {
  color: #fff;
}

.square-hero-label {
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.square-hero-overlay h2 {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 24px;
  max-width: 900px;
}

.square-hero-text {
  font-size: 17px;
  line-height: 2;
  max-width: 760px;
}

/* =========================
   標準セクション余白
========================= */
.square-intro,
.square-reason,
.square-movie,
.square-flow,
.square-gallery,
.square-recommend,
.square-price,
.square-cta {
  padding: 80px 0;
}

.square-intro-grid {
  display: flex;
  gap: 64px;
  align-items: center;
}

.square-intro-body {
  flex: 1;
}

.square-intro-body h3,
.square-reason h3,
.square-movie h3,
.square-flow h3,
.square-gallery h3,
.square-recommend h3,
.square-price h3,
.square-results h3 {
  font-size: 34px;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 16px;
}

.square-intro-body p {
  font-size: 17px;
  line-height: 2.1;
  color: #333;
  margin-bottom: 18px;
}

.square-intro-image {
  width: 420px;
  flex-shrink: 0;
}

.square-intro-image img {
  width: 100%;
  display: block;
}

.square-intro-message {
  background: #fff;
}

.square-reason {
  background: #eff0f5;
}

.reason-grid {
  display: flex;
  gap: 24px;
  margin-top: 32px;
}

.reason-box {
  flex: 1;
  background: #fff;
  border: 1px solid #d9d9d9;
  padding: 30px 24px;
  box-sizing: border-box;
}

.reason-box h4 {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}

.reason-title {
  font-size: 24px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.reason-text {
  font-size: 15px;
  line-height: 2;
  color: #333;
}

.square-movie-head {
  margin-bottom: 32px;
}

.square-movie-head p {
  font-size: 17px;
  line-height: 2;
  color: #333;
}

.square-movie-box {
  border: 1px solid #d9d9d9;
  background: #111;
}

.square-video {
  width: 100%;
  display: block;
}

.square-video-placeholder {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.square-video-placeholder-inner {
  text-align: center;
  color: #fff;
  padding: 40px 24px;
}

.square-video-placeholder-label {
  font-size: 13px;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.7);
}

.square-video-placeholder-text {
  font-size: 16px;
  line-height: 2;
  color: #fff;
}

.square-flow {
  background: #f7f7f7;
}

.flow-grid {
  display: flex;
  gap: 24px;
  margin-top: 32px;
}

.flow-box {
  flex: 1;
  border: 1px solid #d9d9d9;
  background: #fff;
  padding: 28px 20px;
  text-align: center;
  box-sizing: border-box;
}

.flow-box span {
  display: block;
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
}

.flow-box p {
  font-size: 20px;
  line-height: 1.8;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gallery-item.large {
  grid-row: span 2;
}

.gallery-item.placeholder {
  border: 1px solid #d9d9d9;
  background: #f7f7f7;
  min-height: 220px;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 15px;
  letter-spacing: 0.08em;
}

.square-recommend {
  background: #eff0f5;
}

.recommend-list {
  margin-top: 28px;
}

.recommend-item {
  padding: 22px 0;
  border-top: 1px solid #d9d9d9;
  font-size: 18px;
  line-height: 2;
}

.recommend-item:last-child {
  border-bottom: 1px solid #d9d9d9;
}

.square-recommend-button {
  margin-top: 28px;
  text-align: center;
}

.square-recommend-button .btn {
  display: inline-block;
}

.square-price {
  background: #eff0f5;
}

.square-price-lead {
  font-size: 17px;
  line-height: 2;
  color: #333;
  margin-bottom: 28px;
}

.square-price-table {
  border-top: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
  background: #fff;
}

.square-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px;
  border-top: 1px solid #e5e5e5;
}

.square-price-row:first-child {
  border-top: none;
}

.square-price-label {
  font-size: 20px;
  line-height: 1.8;
}

.square-price-value {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.8;
  text-align: right;
}

.square-price-button {
  margin-top: 28px;
  text-align: center;
}

.square-price-note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: #666;
}

/* =========================
   Before / After
========================= */
.square-results {
  padding: 64px 0 40px;
  background: #fff;
  overflow: hidden;
}

.square-results-lead {
  font-size: 17px;
  line-height: 2;
  color: #333;
  margin-bottom: 24px;
}

.square-results-slider {
  overflow: hidden;
  width: 100%;
}

.square-results-slider + .square-results-slider {
  margin-top: 24px;
}

.square-results-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: squareResultsSlideLeft 42s linear infinite;
}

.square-results-track.reverse {
  animation: squareResultsSlideRight 42s linear infinite;
}

.square-results-item {
  width: 240px;
  flex-shrink: 0;
}

.square-results-item img {
  width: 100%;
  display: block;
  border: 1px solid #d9d9d9;
  background: #fff;
}

@keyframes squareResultsSlideLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes squareResultsSlideRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* =========================
   初回限定オファー
========================= */
.square-offer {
  padding: 32px 0 56px;
  text-align: center;
  background: #fff;
}

.square-offer-lead {
  font-size: 28px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #222;
}

.square-offer-box {
  max-width: 520px;
  margin: 0 auto;
  padding: 36px 32px;
  border: 1px solid #cfcfc8;
  background: #f7f7f3;
}

.square-offer-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 18px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #fff;
  background: #6f766d;
  border: none;
  line-height: 1.4;
  font-weight: 500;
}

.square-offer-main {
  font-size: 34px;
  font-weight: 500;
  line-height: 1.5;
  color: #111;
  margin-bottom: 16px;
}

.square-offer-main span {
  font-size: 18px;
  font-weight: 400;
  margin-left: 6px;
}

.square-offer-sub {
  font-size: 15px;
  line-height: 2;
  color: #555;
  max-width: 400px;
  margin: 0 auto;
}

.square-offer-button {
  margin-top: 20px;
}

.square-offer-button .btn {
  display: inline-block;
}

/* =========================
   CTA
========================= */
.square-cta {
  text-align: center;
}

.square-cta h2,
.square-cta h3,
.square-cta h4 {
  margin-top: 24px;
}

.square-cta h4 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 16px;
}

.square-cta-text {
  font-size: 17px;
  line-height: 2;
  color: #333;
  margin-bottom: 24px;
}

.square-cta-buttons .btn {
  margin: 0 10px 16px;
}

/* =========================
   スマホ
========================= */
@media screen and (max-width: 812px) {
  .square-hero {
    padding-top: 16vw;
  }

  .square-hero-image {
    height: 72vh;
    min-height: 520px;
  }

  .square-hero-overlay {
    bottom: 10vw;
  }

  .square-hero-label {
    font-size: 3.6vw;
    margin-bottom: 4vw;
  }

  .square-hero-overlay h2 {
    font-size: 8vw;
    line-height: 1.5;
    margin-bottom: 5vw;
  }

  .square-hero-text {
    font-size: 4vw;
    line-height: 2;
  }

  .section-label {
    margin-bottom: 2vw;
  }

  .square-intro,
  .square-reason,
  .square-movie,
  .square-flow,
  .square-gallery,
  .square-recommend,
  .square-price,
  .square-cta {
    padding: 10vw 0;
  }

  .square-results {
    padding: 8vw 0 6vw;
  }

  .square-offer {
    padding: 6vw 0 10vw;
  }

  .square-intro-grid,
  .reason-grid,
  .flow-grid {
    display: block;
  }

  .square-intro-body h3,
  .square-reason h3,
  .square-movie h3,
  .square-flow h3,
  .square-gallery h3,
  .square-recommend h3,
  .square-price h3,
  .square-results h3 {
    font-size: 6.2vw;
    line-height: 1.7;
    margin-bottom: 4vw;
  }

  .square-intro-body p,
  .square-movie-head p,
  .square-cta-text,
  .square-results-lead,
  .square-price-lead {
    font-size: 4vw;
    line-height: 2;
  }

  .square-intro-image {
    width: 100%;
    margin-top: 6vw;
  }

  .reason-grid,
  .flow-grid,
  .recommend-list,
  .gallery-grid {
    margin-top: 6vw;
  }

  .reason-box,
  .flow-box {
    margin-bottom: 4vw;
  }

  .reason-box:last-child,
  .flow-box:last-child {
    margin-bottom: 0;
  }

  .reason-title {
    font-size: 5vw;
  }

  .reason-text,
  .square-video-placeholder-text,
  .recommend-item {
    font-size: 4vw;
    line-height: 2;
  }

  .square-video-placeholder {
    min-height: 60vw;
  }

  .square-video-placeholder-label {
    font-size: 3.4vw;
    margin-bottom: 3vw;
  }

  .gallery-grid {
    display: block;
  }

  .gallery-item,
  .gallery-item.placeholder {
    margin-bottom: 4vw;
  }

  .gallery-item:last-child {
    margin-bottom: 0;
  }

  .gallery-item.placeholder,
  .gallery-placeholder {
    min-height: 50vw;
  }

  .recommend-item {
    padding: 5vw 0;
  }

  .square-recommend-button {
    margin-top: 6vw;
  }

  .square-price-lead {
    margin-bottom: 5vw;
  }

  .square-price-row {
    display: block;
    padding: 5vw 4vw;
  }

  .square-price-label {
    font-size: 4.4vw;
    margin-bottom: 2vw;
  }

  .square-price-value {
    font-size: 5vw;
    text-align: left;
  }

  .square-price-button {
    margin-top: 6vw;
  }

  .square-price-note {
    margin-top: 4vw;
    font-size: 3.6vw;
    line-height: 1.8;
  }

  .square-results-lead {
    margin-bottom: 5vw;
  }

  .square-results-slider + .square-results-slider {
    margin-top: 4vw;
  }

  .square-results-track {
    gap: 4vw;
    animation: squareResultsSlideLeft 34s linear infinite;
  }

  .square-results-track.reverse {
    animation: squareResultsSlideLeft 34s linear infinite;
  }

  .square-results-item {
    width: 62vw;
  }

  .square-offer-lead {
    font-size: 6vw;
    margin-bottom: 4vw;
  }

  .square-offer-box {
    padding: 7vw 5vw;
  }

  .square-offer-badge {
    margin-bottom: 3vw;
    padding: 1.8vw 3.6vw;
    font-size: 3.2vw;
  }

  .square-offer-main {
    font-size: 7vw;
    margin-bottom: 4vw;
  }

  .square-offer-main span {
    font-size: 3.8vw;
  }

  .square-offer-sub {
    font-size: 3.8vw;
    line-height: 1.9;
  }

  .square-offer-button {
    margin-top: 5vw;
  }

  .square-cta h2,
  .square-cta h3,
  .square-cta h4 {
    margin-top: 4vw;
  }

  .square-cta h4 {
    font-size: 5.6vw;
    line-height: 1.7;
    margin-bottom: 5vw;
  }

  .square-cta-text {
    margin-bottom: 5vw;
  }

  .square-cta-buttons .btn {
    display: block;
    max-width: 320px;
    margin: 0 auto 12px;
    text-align: center;
  }
}