/*!
 * main.css - フォルダー内CSSの結合版
 * 生成日時: 2025-09-10
 * ソース順序:
 *   1) style.css
 *   2) brz-introduction.css
 *   3) contact.css
 *   4) cs.css
 *   5) cta.css
 *   6) event-summary.css
 *   7) faq.css
 *   8) first-view.css
 *   9) footer-cta.css
 *  10) participate.css
 *  11) prize.css
 *  12) samples.css
 *  13) section3.css
 *  14) terms.css
 * 注意: 直接このファイルを編集せず、元ファイルを更新してください。
 */

/* ===== style.css ===== */
* {
  box-sizing: border-box;
}
:root {
  --subaru-blue: #071391;
  --ease: cubic-bezier(0.4, 0.4, 0, 1);
  --duration: 0.3s;
  --vw-safe: min(100vw, calc(100vh * 16 / 9));
}

html,
body {
  margin: 0;
  font-size: clamp(0.938rem, 0.694rem + 0.46vw, 1.25rem);
  font-family: "Outfit", "Noto Sans JP", sans-serif;
}

h1,
h2,
h3,
p {
  margin: 0;
  line-height: 1.8em;
  word-break: keep-all;
  hyphens: auto;
  overflow-wrap: anywhere;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: row;
  font-weight: 500;
}

.bold {
  font-weight: 700;
}

main {
  margin: 0 auto;
}

.width-limit {
  margin: 0 auto;
  max-width: 90vw;
  width: 1920px;
}

div,
section,
article {
  position: relative;
}

.underline {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.1em;
  text-decoration-color: var(--subaru-blue);
}

.section-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 4rem;
}

.section-border-box {
  width: 100%;
  max-width: 90vw;
  margin: 0 auto;
  border: 4px solid var(--subaru-blue);
  padding: 3rem 1rem !important;
}

.section-title {
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--subaru-blue);
}

.padding-tb {
  padding: 10vh 0;
}

.comingsoon-content {
  padding: 4rem 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--subaru-blue);
}

.comingsoon-content h3 {
  font-size: 2.4rem;
  line-height: 1em;
}

.comingsoon {
  font-size: 3rem;
  font-weight: 600;
  color: var(--subaru-blue);
}

.comingsoon-description {
  font-size: 1.2rem;
  text-align: center;
}

/* Responsive: laptop (max-width: 1120px) */
@media (max-width: 1120px) {
  .section-title {
    font-size: 2.75rem;
  }
}
/* Responsive: tablet (max-width: 840px) */
@media (max-width: 840px) {
  .comingsoon-content {
    padding: 3rem 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .comingsoon {
    font-size: 2rem;
    font-weight: 600;
    color: var(--subaru-blue);
  }

  .comingsoon-content h3 {
    font-size: 1.6rem;
    line-height: 1em;
  }

  .section-title {
    font-size: 2.5rem;
  }
  .blank {
    display: none;
  }
}

/* Responsive: sp (max-width: 540px) */
@media (max-width: 540px) {
  .comingsoon-description {
    font-size: 1rem;
  }
  .section-title {
    font-size: 2rem;
  }
}

/*
  Animation on scroll
*/
.js-show-on-scroll {
  opacity: 0;
  filter: blur(2rem);
  transform: translateY(16px);
  transition: opacity 600ms cubic-bezier(0.4, 0.4, 0, 1),
    transform 600ms cubic-bezier(0.4, 0.4, 0, 1),
    filter 600ms cubic-bezier(0.4, 0.4, 0, 1);
  transition-delay: 100ms;
}

.js-show-on-scroll.is-shown {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* ===== brz-introduction.css ===== */
.brz-feature {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: center;
  align-items: stretch;
  gap: 4rem 2rem;
}

.brz-feature-box {
  width: calc(50% - 1rem);
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 1rem;
}

.brz-feature-image {
  width: 100%;
}

.brz-feature-content {
  text-align: center;
  color: var(--subaru-blue);
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
}

.brz-feature-title {
  font-size: 1.4rem;
}

.brz-feature-subtitle {
  font-size: 1rem;
  opacity: 0.75;
}

.brz-feature-description {
  font-size: 1rem;
  margin-top: 1rem;
}

.brz-feature-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  opacity: 0.75;
}

/* Responsive: sp (max-width: 540px) */
@media (max-width: 540px) {
  .brz-feature-box {
    width: 100%;
  }
}

/* ===== contact.css ===== */
/* contact section */
.contact {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-content {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  font-size: 1rem;
  color: var(--subaru-blue);
}
.contact-content p {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  font-size: 1.4rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}
.contact-content .label {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.contact-mail a {
  font-size: 1.2rem;
  color: #4db2ff;
  text-decoration: underline;
}
.contact-mail a:focus-visible {
  outline: 2px solid #4db2ff;
  outline-offset: 2px;
}
.terms-open-btn {
  margin-top: 1rem;
  background: var(--subaru-blue);
  color: #fff;
  border: none;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  position: relative;
  transition: background 0.25s, transform 0.25s;
}
.terms-open-btn:hover {
  background: #0b74d1;
}
.terms-open-btn:active {
  transform: translateY(2px);
}
.terms-open-btn:focus-visible {
  outline: 2px solid #79c7ff;
  outline-offset: 3px;
}

/* Modal base */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 2vw, 2rem);
  z-index: 1000;
  pointer-events: none;
}
.modal[aria-hidden="false"] {
  pointer-events: auto;
}

.modal-dialog {
  position: relative;
  background: #fff;
  color: var(--subaru-blue);
  width: min(1200px, 90vw);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  box-shadow: 0 10px 40px -5px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--subaru-blue);
  opacity: 0;
  transition: opacity 0.25s ease;
  overflow: hidden;
  z-index: 1;
}
.modal[aria-hidden="false"] .modal-dialog {
  opacity: 1;
}

.modal-header {
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--subaru-blue);
}
.modal-title {
  font-size: 1rem;
  margin: 0;
  letter-spacing: 0.05em;
  color: #fff;
}
.modal-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 0;
}
.modal-close:hover {
  opacity: 0.75;
}
.modal-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.modal-body {
  padding: 1.1rem 1.25rem 1.25rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--subaru-blue) transparent;
  line-height: 1.75;
  font-size: 0.9rem;
}
.modal-body p {
  margin: 0 0 1rem;
}
.modal-body::-webkit-scrollbar {
  width: 8px;
}
.modal-body::-webkit-scrollbar-track {
  background: #f2f4fb;
}
.modal-body::-webkit-scrollbar-thumb {
  background: var(--subaru-blue);
}

/* フッター削除: 仕様変更 */

/* Lock scroll when modal open */
body.modal-open {
  overflow: hidden;
}

/* pseudo overlay */
.modal::before {
  content: "";
  position: fixed; /* viewport 全体をカバー */
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.74));
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none; /* 非表示状態はクリック通過 */
}
.modal[aria-hidden="false"]::before {
  opacity: 1;
  pointer-events: auto; /* 表示時は背景クリックで閉じられるようイベント取得 */
}

@media (max-width: 540px) {
  .contact-content {
    padding: 1.25rem 1.25rem 1.5rem;
  }
  .modal-dialog {
    width: 100%;
    max-height: 90vh;
  }
  .modal-body {
    font-size: 0.9rem;
  }
}

/* ===== cta.css ===== */
.cta {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  background-color: var(--subaru-blue);
  color: white;
  text-align: center;
  padding: 4rem 2rem;
  overflow: hidden;
  min-height: 50vh;
}
.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  gap: 3rem;
}
.cta-title {
  font-size: 3vw;
  line-height: 1em;
}
.cta-description {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.cta-btn {
  font-size: 1.4rem;
  display: inline-block;
  text-decoration: none;
  color: var(--subaru-blue);
  background-color: #fff;
  padding: 0.6rem 2.6rem;
  border-radius: 100rem;
  transition: opacity var(--duration) var(--ease);
}

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

.cta-btn:hover {
  opacity: 0.6;
}

.cta-big-text {
  position: absolute;
  font-size: 11vw;
  font-weight: 700;
  left: -1vw;
  bottom: -1.6vw;
  line-height: 1em;
  z-index: 0;
  opacity: 0.05;
}

@media screen and (max-width: 840px) {
  .cta-title {
    font-size: 4vw;
  }
}

/* ===== event-summary.css ===== */
.event-summary {
  color: var(--subaru-blue);
  min-height: 100vh;
  max-width: 100vw;
  overflow: hidden;
  display: flex;
  justify-content: center;
  border-bottom: 16px solid var(--subaru-blue);
}

.event-summary-content {
  gap: 2rem;
  width: 90vw;
  text-align: left;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  margin-bottom: 25vh;
}

.event-summary-description {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.event-summary-key {
  font-size: calc(var(--vw-safe) / 100 * 5);
  line-height: 1.2em;
  font-weight: 800;
}

.event-summary-image {
  position: absolute;
  max-height: 60vh;
  width: 75%;
  height: auto;
  object-fit: cover;
  bottom: 2vh;
  right: -10vw;
  z-index: -1;
}

.subscription-description {
  font-size: 1.6rem;
  display: inline-block;
}

.subscription-rule {
  font-size: 1rem;
}

/* Responsive: tablet (max-width: 840px) */
@media screen and (max-width: 840px) {
  .event-summary-key {
    font-size: 7vw;
  }
  .event-summary-image {
    max-width: none;
    width: 125%;
    right: -30vw;
  }
  .subscription-description {
    font-size: 1.4rem;
  }
  .subscription-rule {
    font-size: 1rem;
  }
}

@media screen and (max-width: 840px) {
  .event-summary-description p {
    line-height: 1.2em;
  }
}

/* Responsive: sp (max-width: 540px) */
@media screen and (max-width: 540px) {
  .event-summary {
    min-height: 100svh;
  }
  .subscription-description {
    font-size: 3.9vw;
  }
}

/* ===== faq.css ===== */
.accordion {
  background-color: #fff;
  border: 4px solid #071391;
  text-align: left;
  color: #071391;
}
.accordion button {
  font-size: 1rem;
}
.accordion:not(:first-of-type) {
  margin-top: 1rem;
}
.accordion .trigger {
  color: #071391;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 1rem;
  border: none;
  font-weight: 600;
  text-decoration: none;
  text-align: left;
  background: transparent;
  cursor: pointer;
  padding: 1rem;
  appearance: none;
}
.accordion .trigger::before {
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  content: "Q.";
  width: auto;
  display: grid;
  place-content: center;
  aspect-ratio: 1;
  font-size: 1.2rem;
  font-weight: 500;
}
.accordion .trigger .icon {
  width: 1rem;
  aspect-ratio: 1;
  position: relative;
}
.accordion .trigger .icon::before,
.accordion .trigger .icon::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--subaru-blue);
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 1rem;
  transition: transform var(--duration) var(--ease),
    opacity var(--duration) var(--ease);
}
.accordion .trigger .icon::before {
  transform: rotate(90deg);
}
.accordion .trigger[aria-expanded="true"] .icon::before {
  transform: rotate(180deg);
}
.accordion .panel {
  display: block;
  overflow: hidden;
  height: 0;
  transition: height var(--duration) var(--ease);
  will-change: height;
}
@media (scripting: none) {
  .accordion .panel {
    height: auto;
  }
}
.accordion .panel .panel-inner {
  padding: 1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 1rem;

  justify-items: start;
  font-size: 1rem;
}
.accordion .panel .panel-inner::before {
  content: "A.";
  width: auto;
  display: grid;
  place-content: center;
  aspect-ratio: 1;
  font-size: 1.2rem;
  font-weight: 500;
}
.heading {
  margin: 0;
}
.faq-lists {
  width: 100%;
  max-width: 1400px;
}

/* ===== first-view.css ===== */
.fv {
  height: auto;
  /* min-height: calc(100vh - 3rem); */
  border-bottom: 16px solid var(--subaru-blue);
}

.fv-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -1;
}

/* FV動画: PC/SP 切替 */
.fv-video--pc {
  display: block;
}
.fv-video--sp {
  display: none;
}

@media screen and (max-width: 840px) {
  .fv-video--pc {
    display: none;
  }
  .fv-video--sp {
    display: block;
  }
}

.fv-content {
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 80px);
  padding: 4vw 0 4vw 4vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  text-align: left;
  overflow: hidden;
  color: var(--subaru-blue);
}

.top-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: nowrap;
}

.top-content > h1 {
  font-size: calc(var(--vw-safe) / 100 * 7);
  font-weight: 900;
  margin: 0;
  line-height: 1em;
}

.top-content > p {
  font-size: calc(var(--vw-safe) / 100 * 4);
  font-weight: 800;
  margin: 0;
  line-height: 1em;
}

.bottom-content > p {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: calc(var(--vw-safe) / 100 * 1.6);
  font-weight: 700;
  margin: 0 0 1rem 0;
  line-height: 1.2em;
}

.fv-prize {
  transform: translateX(-1.8vw);
}

@media screen and (max-width: 1200px) {
  .bottom-content p {
    font-size: calc(var(--vw-safe) / 100 * 2);
  }
}

@media screen and (max-width: 840px) {
  .fv-content {
    padding: 8vw 0 8vw 5vw;
    min-height: calc(100svh - 40px);
  }
  .top-content > h1 {
    font-size: 11vw;
  }
  .top-content > p {
    font-size: 6vw;
    line-height: 1.4em;
    margin-top: 1rem;
  }
  .bottom-content > p {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 540px) {
  .fv-content {
    padding: 10vw 0 0 5vw;
  }
  .top-content > h1 {
    font-size: 13.4vw;
  }
  .top-content > p {
    font-size: 7vw;
  }
  .bottom-content > p {
    font-size: 4.2vw;
  }
}

/* ===== footer-cta.css ===== */
.footer-cta {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  position: sticky;
  bottom: 0;
  background-color: var(--subaru-blue);
  color: white;
  padding: 0.5rem 1rem;
  z-index: 10;
  text-align: left;
  gap: 1.4rem;
  line-height: 1;
  overflow: hidden;
}

.footer-title {
  font-size: 2vw;
}

.footer-cta-description p {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
}

@media screen and (max-width: 840px) {
  .footer-cta-description {
    display: none;
  }
}

/* ===== cs.css ===== */
.footer-title {
  font-size: calc(var(--vw-safe) / 100 * 2);
  padding: 0.5rem 0;
}
@media screen and (max-width: 840px) {
  .footer-title {
    font-size: 2.6vw;
    padding: 1rem 0;
  }
}

@media screen and (max-width: 540px) {
  .footer-cta {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
  }
  .footer-title {
    font-size: 4vw;
    line-height: 1em;
    padding: 1rem 0;
  }
}

/* ===== participate.css ===== */
.participate {
  border-top: 8px solid var(--subaru-blue);
}

.participate h3 {
  font-size: 1.4rem;
}

.how-to-participate {
  display: flex;
  width: min(100%, 90vw);
  max-width: 100%;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
}

.participate-box {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1rem;
  color: var(--subaru-blue);
  text-align: center;
  flex: 1;
}

.participate-box p {
  font-size: 1rem;
}

.how-to-number {
  width: 5rem;
  height: auto;
  padding: 0.6rem;
  background-color: var(--subaru-blue);
  border-radius: 50%;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-wrap: nowrap;
  color: #fff;
}

.how-to-number p {
  font-size: 1.6rem;
}

.icon {
  width: 3rem;
  aspect-ratio: 1/1;
}

.arrow-right {
  width: 3rem;
  aspect-ratio: 1/1;
}

.participate-note {
  color: var(--subaru-blue);
  text-align: center;
  max-width: 90vw;
  font-size: 0.9rem !important;
}

.how-to-box {
  display: flex;
  flex-direction: column;
  border: 4px solid var(--subaru-blue);
  padding: 3rem 1rem;
  gap: 4rem;
  max-width: 90vw;
  width: min(1400px, 100%);
}

/* Responsive: sp (max-width: 540px) */
@media (max-width: 540px) {
  .how-to-participate {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .arrow-right {
    rotate: 90deg;
  }
}

/* ===== prize.css ===== */
.grand-prize h3,
.grand-prize p,
.grand-prize span {
  justify-content: flex-start;
}

.border-box4 {
  border: 4px solid var(--subaru-blue);
  border-radius: 0;
}

.grand-prize-image {
  position: absolute;
  inset: 0 0 0 auto;
  width: 70%;
  height: 100%;
}

.grand-prize-image::before {
  position: absolute;
  background-image: url(/campaign/brz-sozo-2025/image/prize-winner.webp);
  background-position: 50%;
  background-size: cover;
  content: "";
  height: 100%;
  left: 0;
  top: 0;
  transition: inherit;
  width: 100%;
  z-index: -2;
}

.prize-box {
  padding: 2rem;
  width: calc(50% - 1rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.grand-prize {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.grand-prize h3 {
  font-size: 1.6rem;
}

.grand-prize .prize-name {
  font-size: 4rem;
}

.prize-box h3,
.prize-box p {
  text-align: center;
}

.prize-name {
  font-size: 2rem;
  font-weight: 600;
  color: var(--subaru-blue);
}

.prize-text {
  display: flex;
  padding: 6rem;
  gap: 0.5rem;
  width: 80%;
  flex-direction: column;
  align-items: flex-start;
}
.grand-prize .prize-text {
  background: linear-gradient(
    90deg,
    rgb(255, 255, 255) 0%,
    rgb(255, 255, 255) 60%,
    rgba(255, 255, 255, 0) 100%
  );
}
.prize-description {
  font-size: 1rem;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  max-width: min(800px, 90vw);
}

.grand-prize .prize-description {
  font-size: 1.4rem;
}

.prize-title {
  font-size: 1.2rem;
}

.prize-list {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.prize-note {
  color: var(--subaru-blue);
  text-align: center;
  max-width: 90vw;
  font-size: 0.9rem !important;
}

.prize-limit {
  font-size: 1.6rem;
  line-height: 1.4em;
  color: var(--subaru-blue);
}

/* Responsive: tablet (max-width: 840px) */
@media (max-width: 840px) {
  /* タイポグラフィ/余白 */
  .grand-prize h3 {
    font-size: 1.4rem;
  }
  .grand-prize .prize-name {
    font-size: 3rem;
  }
  .prize-title {
    font-size: 1.1rem;
  }
  .prize-name {
    font-size: 1.5rem;
  }

  /* レイアウト */
  .prize-list {
    gap: 1rem;
  }
  .grand-prize-image {
    width: 60%;
  }
  .prize-text {
    width: 80%;
    padding: 3rem;
  }
  .prize-box {
    width: 100%;
    padding: 1.5rem;
  }
}

/* Responsive: sp (max-width: 540px) */
@media (max-width: 540px) {
  /* タイポグラフィ/余白 */
  .grand-prize h3 {
    font-size: 1.25rem;
  }
  .grand-prize .prize-name {
    font-size: 2.4rem;
  }
  .prize-title {
    font-size: 1rem;
  }
  .prize-name {
    font-size: 1.25rem;
  }
  .prize-description {
    font-size: 0.9rem;
  }
  .section-box {
    gap: 2rem;
  }

  /* レイアウト */
  .grand-prize h3,
  .grand-prize p,
  .grand-prize span {
    justify-content: center;
  }
  .prize-list {
    flex-direction: column;
    gap: 1rem;
  }
  .grand-prize {
    flex-direction: column;
  }
  .grand-prize-image {
    position: relative;
    width: 100%;
    height: 300px;
  }
  .prize-text {
    width: 100%;
    padding: 1.5rem;
    align-items: center;
    text-align: center;
  }
  .grand-prize .prize-text {
    background: none;
  }
}

/* ===== samples.css ===== */
.sample-prompts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1400px;
}

.sample-prompt-box {
  border: 4px solid var(--subaru-blue);
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
}

.sample-image {
  width: 100%;
  height: auto;
}

.sample-description-box {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--subaru-blue);
  gap: 0.3rem;
}

.sample-title {
  font-size: 1.4rem;
}

.sample-description {
  font-size: 1rem;
}

.sample-prompt-label {
  font-size: 1rem;
  border-top: 2px solid var(--subaru-blue);
  padding-top: 0.4rem;
  width: 100%;
}

.sample-prompt-content {
  font-size: 0.9rem;
}

/* Responsive: tablet (max-width: 840px) */
@media (max-width: 840px) {
  .sample-prompts {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive: sp (max-width: 540px) */
@media (max-width: 540px) {
  .sample-prompts {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ===== section3.css ===== */
.section3 {
  min-height: 100vh;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-end;
  border-bottom: 16px solid var(--subaru-blue);
}

.section3-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--subaru-blue);
}

.section3-description {
  display: inline-block;
  font-size: 1.4rem;
  line-height: 1.8;
}

.section3-image-pc {
  position: absolute;
  inset: 0 auto 0 0;
  width: 70%;
  height: 100%;
}

.section3-image-pc::before {
  position: absolute;
  background-image: url(/campaign/brz-sozo-2025/image/brz-front.webp);
  background-position: 50%;
  background-size: contain;
  background-repeat: no-repeat;
  content: "";
  height: 100%;
  left: -10vw;
  top: 0;
  transition: inherit;
  width: 60%;
  z-index: -2;
}

.section3-image-sp {
  width: 80%;
  display: none;
}

.section3-text {
  display: flex;
  padding: 6rem 0;
  gap: 0.5rem;
  width: 70%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: auto;
}

.section3-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--subaru-blue);
  gap: 1rem;
}
.section3-content .section-title {
  font-weight: 700;
}

@media screen and (min-width: 1921px) {
  .section3-title {
    font-size: 3.4vw;
  }
  .section3-description {
    font-size: 1.4vw;
  }
}

@media screen and (max-width: 1320px) {
  .section3-description {
    font-size: 1.2rem;
  }
}

/* Responsive: laptop (max-width: 1120px) */
@media (max-width: 1120px) {
  .section3-title {
    font-size: 2.6rem;
  }
  .section3-description {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 840px) {
  .section3 {
    justify-content: center;
  }
  .section3-title {
    font-size: 5.5vw;
    line-height: 1.2em;
  }
  .section3-description {
    line-height: 1.2em;
    font-size: 1.4rem;
  }
  .section3-content {
    height: 100%;
    gap: 2rem;
    transform: none;
    justify-content: space-evenly;
  }
  .section3-text {
    width: 90vw;
    padding: 0;
  }
  .section3-image-pc {
    display: none;
  }
  .section3-image-sp {
    display: block;
  }
}

@media screen and (max-width: 540px) {
  .section3-description {
    font-size: 1.3rem;
  }
}

/* ===== terms.css ===== */
ul {
  text-decoration: none;
  list-style: none;
}

.terms-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-wrap: nowrap;
  align-items: center;
  padding: 0;
}

.terms-item {
  display: flex;
  gap: 1rem;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  font-weight: 600;
  font-size: 1.2rem;
}

.terms-content {
  color: var(--subaru-blue);
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}
.terms-note {
  font-size: 1rem;
  font-weight: 400;
}

.terms-content > p {
  text-align: center;
}



