html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: #f8f6f2;
  color: #5a3b5d;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}
.narrow { width: min(860px, calc(100% - 48px)); }
.text-center { text-align: center; }
.hidden { display: none !important; }
.pc-only { display: flex; }
.sp-only { display: none; }

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: all .3s ease;
}
.nav-default {
  background: transparent;
  padding: 20px 0;
}
.nav-scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 10px rgba(0,0,0,.06);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.02em;
  color: #5f5c93;
}
.site-logo span { color: #f43f5e; }
.site-logo small {
  font-size: 13px;
  font-weight: 400;
  color: #5a3b5d;
  margin-left: 8px;
}
.nav-links {
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #4d3050;
}
.nav-links a:hover { color: #f43f5e; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  transition: .25s ease;
  font-weight: 700;
}
.btn-sm { padding: 10px 24px; font-size: 14px; }
.btn-lg { padding: 20px 48px; font-size: 18px; }
.btn-primary {
  background: #f43f5e;
  color:  #ffffff !important;
  box-shadow: 0 12px 30px rgba(244, 63, 94, .22);
}
.btn-primary:hover { background: #e11d48; }
.btn-white {
  background: #fff;
  color: #e11d48;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}
.btn-white:hover { background: #f5f5f5; }

.menu-button {
  border: 0;
  background: none;
  font-size: 24px;
  color: #5f5c93;
  cursor: pointer;
}
.mobile-menu {
  background: rgba(255,255,255,.95);
  border-top: 1px solid #e7e5e4;
}
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 0;
}
.mobile-menu-inner a {
  font-size: 14px;
  color: #4d3050;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #faf7f2;
}
.hero-bg {
  position: absolute;
  inset: 0;
  opacity: .22;
}
.blur-circle {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
}
.blur-1 {
  top: 80px;
  left: 40px;
  width: 260px;
  height: 260px;
  background: #fecdd3;
}
.blur-2 {
  right: 40px;
  bottom: 80px;
  width: 360px;
  height: 360px;
  background: #fde68a;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 56px;
}
.hero-lead {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .18em;
  color: #f43f5e;
  margin: 0 0 16px;
}
.hero-copy h1 {
  margin: 0 0 28px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.06;
  color: #5f5c93;
}
.hero-copy h1 span { color: #f43f5e; font-style: italic; }
.hero-copy h1 small {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.tag-list span {
  padding: 10px 20px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #4d3050;
  background: rgba(255,255,255,.5);
}
.hero-text {
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.7;
  color: #4d3050;
  margin: 0 0 32px;
}
.arrow { font-size: 18px; }

.section { padding: 96px 0; }
.section-white { background: #fff; }
.section-stone { background-image: url('./image/back.jpg'); }
.section-rose { background: #fef7fa; }
.section-dark {background-image: url('./image/back.jpg'); color: #5f5c93; }
.border-top { border-top: 1px solid #e7e5e4; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title.left { text-align: left; }
.section-title h2 {
  margin: 0 0 8px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #5a3b5d;
}
.section-title.dark h2 { color: #5f5c93; }
.section-title .line {
  width: 48px;
  height: 4px;
  background: #5f5c93;
  border-radius: 999px;
  margin: 0 auto 16px;
}
.section-title.left .line { margin-left: 0; }
.section-title p {
  margin: 0;
  color: #5a3b5d;
  font-size: 13px;
  letter-spacing: .22em;
}
.section-title.dark p { color:#5f5c93; }
.section-body {
  color: #4d3050;
  line-height: 1.9;
  margin-bottom: 28px;
}

.message-card {
  background: #fef7fa;
  border-radius: 28px;
  padding: 48px;
  position: relative;
}
.quote-mark {
  position: absolute;
  top: -16px;
  left: -12px;
  font-size: 72px;
  color: #fecdd3;
  line-height: 1;
}
.message-content p {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 2;
  color: #5a3b5d;
}
.message-content p:last-child { margin-bottom: 0; }
.message-strong {
  color: #e11d48 !important;
  font-weight: 700;
  font-size: 24px !important;
}

.card-grid {
  display: grid;
  gap: 24px;
}
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }

.info-card {
  background: #fff;
  border: 1px solid #f5f5f4;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 4px 18px rgba(0,0,0,.04);
}
.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f43f5e;
  background: #fff1f2;
  font-weight: 700;
  margin-bottom: 20px;
}
.info-card h3 {
  margin: 0 0 14px;
  font-size: 22px;
}
.info-card p {
  margin: 0;
  color: #4d3050;
  line-height: 1.8;
}

.list-block { display: grid; gap: 14px; }
.list-item {
  background: #f8e4eb;
  border-radius: 16px;
  padding: 16px 18px;
  color: #5a3b5d;
  font-weight: 500;
 
}
.note {
  margin-top: 24px;
  color: #f43f5e;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 8px;
}

.program-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.program-card {
  min-height: 280px;
  border-radius: 24px;
}
.program-card.wide {
  grid-column: 1 / -1;
  min-height: 220px;
}

.benefit-card {
  background: #ffffff;
 
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
}
.benefit-card:hover { border-color: #f43f5e; }
.benefit-card h4 {
  margin: 0 0 10px;
  font-size: 22px;
}
.benefit-card p {
  margin: 0;
  color: #5f5c93;
  line-height: 1.7;
}

.recommend-card {
  background: #fff;
  border: 1px solid #ffe4e6;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
  color: #5a3b5d;
  font-weight: 500;
}

.judges-grid { align-items: start; }
.judges-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.judge-card {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
}

.criteria-list { display: grid; gap: 22px; }
.criteria-item {
  padding-bottom: 18px;
  border-bottom: 1px solid #f1f5f9;
}
.criteria-item h4 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #5a3b5d;
}
.criteria-item p {
  margin: 0;
  color: #5a3b5d;
  line-height: 1.7;
}

.outline-card {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 12px 36px rgba(0,0,0,.08);
  overflow: hidden;
}
.outline-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 28px 32px;
  border-bottom: 1px solid #f1f5f9;
}
.outline-row:last-child { border-bottom: 0; }
.outline-label {
  color: #5a3b5d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
}
.outline-value {
  font-size: 22px;
  font-weight: 700;
  color: #5a3b5d;
}

.organizer-card {
  background-image: url('./image/back.jpg');
  border-radius: 28px;
  padding: 40px;
}
.organizer-card h3 {
  margin: 0 0 16px;
  font-size: 24px;
  font-style: italic;
}
.organizer-card p {
  margin: 0;
  color: #4d3050;
  line-height: 2;
}

.entry-section {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  color: #5f5c93;
  background: linear-gradient(135deg, #fcc1da, #d1fff8);
}
.entry-bg {
  position: absolute;
  top: -90px;
  right: -90px;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  filter: blur(40px);
}
.entry-section h2 {
  margin: 0 0 24px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.2;
}
.entry-section p {
  margin: 0 0 40px;
  font-size: 22px;
  line-height: 1.8;
  opacity: .92;
}

.site-footer {
  background: #ffffff;
  color: #78716c;
  padding: 48px 0;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}
.footer-links a:hover { color: #fff; }

.image-slot {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);

  border-radius: 24px;
  min-height: 280px;
}
.section-image { min-height: 440px; }
.hero-slot { min-height: 560px; }

.image-slot::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  color: #64748b;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .03em;
  z-index: 1;
}
.image-slot.has-image::before { display: none; }
.image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

@media (max-width: 1024px) {
  .hero-grid,
  .two-col,
  .content-grid,
  .judges-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy { text-align: center; }
  .tag-list { justify-content: center; }
  .hero-copy .btn { margin: 0 auto; }
  .section-title.left { text-align: center; }
  .section-title.left .line { margin: 0 auto 16px; }
  .outline-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .section-image,
  .hero-slot { min-height: 320px; }
}

@media (max-width: 860px) {
  .pc-only { display: none; }
  .sp-only { display: inline-flex; }
  .container, .narrow { width: min(100% - 32px, 1120px); }
  .section { padding: 72px 0; }
  .hero-grid { padding-top: 96px; }
  .hero-lead { font-size: 16px; }
  .hero-copy h1 { font-size: clamp(36px, 10vw, 54px); }
  .hero-copy h1 small { font-size: clamp(24px, 6vw, 34px); }
  .hero-text { font-size: 18px; }
  .message-card,
  .organizer-card { padding: 28px; }
  .message-content p { font-size: 16px; }
  .message-strong { font-size: 20px !important; }
  .section-title h2 { font-size: 28px; }
  .card-grid.three,
  .card-grid.four,
  .card-grid.two,
  .program-images,
  .judges-images {
    grid-template-columns: 1fr;
  }
  .program-card.wide { grid-column: auto; }
  .program-card,
  .image-slot,
  .judge-card {
    min-height: 240px;
  }
  .benefit-card,
  .info-card { padding: 24px; }
  .entry-section p { font-size: 18px; }
}


.hero-bg-image {
  position: relative;
  isolation: isolate;
}

.hero-image-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('./image/hero.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-white-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(255, 255, 255, 0.66);
}

.hero-single {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 100px);
  padding-top: 100px;
  padding-bottom: 56px;
}

.hero-copy-center {
  width: min(920px, 100%);
  margin: 0 auto;
  text-align: center;
}

.tag-list-center {
  justify-content: center;
}

.tag-list-center span {
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(6px);
}

.hero-copy-center .btn {
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .hero-single {
    min-height: auto;
  }
}

@media (max-width: 860px) {
  .hero-copy-center {
    text-align: center;
  }

  .tag-list-center {
    justify-content: center;
  }
}
