/* ===========================
   基本リセット・共通スタイル
   =========================== */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css");
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


.entry-btn--form,
.entry-btn--pdf,
.entry-btn--doc{
display:block !important;
}
.entry-btn--form .entry-btn-main,
.entry-btn--pdf .entry-btn-main,
.entry-btn--doc .entry-btn-main{
display:block !important;
}
.entry-btn--form{
  padding-left: 90px !important;
  position: relative;
}
.entry-btn--form:before{
  content:"";
  background: url("https://mangaoukoku-tosa.jp/icons/fa-pen-to-square.svg") center/contain no-repeat;
  display:block;
  width:2rem;
  height:2rem;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  left: 30px;
}

.entry-btn--pdf{
  padding-left: 90px !important;
  position: relative;
}
.entry-btn--pdf:before{
  content:"";
  background: url("https://mangaoukoku-tosa.jp/icons/fa-file-pdf.svg") center/contain no-repeat;
  filter:invert(88%) sepia(61%) saturate(0%) hue-rotate(229deg) brightness(107%) contrast(101%);
  display:block;
  width:2rem;
  height:2rem;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  left: 30px;
}

.entry-btn--doc{
  padding-left: 90px !important;
  position: relative;
}
.entry-btn--doc:before{
  content:"";
  background: url("https://mangaoukoku-tosa.jp/icons/fa-file-alt.svg") center/contain no-repeat;
  filter:invert(88%) sepia(61%) saturate(0%) hue-rotate(229deg) brightness(107%) contrast(101%);
  display:block;
  width:2rem;
  height:2rem;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  left: 30px;
}

.header-logo{
margin-bottom: 0 !important;
}
body{
  background-color: #fff !important;
}
header:not(.site-header),
footer:not(.site-footer),
.title_wrapper,
.pankuzu_list{
  display: none !important;
}
#site-header{
  height: auto !important;
}
#site-footer{
  background-color: #195276 !important;
}
.body_wrapper{
  max-width: 100% !important;
  padding-bottom: 0 !important;
}
.block_contents{
  width: 100% !important;
  margin: 0 !important;
}

:root {
  --red:        #CC0000;
  --red-dark:   #990000;
  --red-light:  #FF3333;
  --gold:       #B8860B;
  --gold-light: #FFD700;
  --black:      #1A1A1A;
  --white:      #FFFFFF;
  --gray-light: #F5F5F5;
  --gray:       #888888;
  --font-sans:  'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--black);
  background-color: var(--white);
  line-height: 1.7;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===========================
   ヘッダー
   =========================== */
.site-header {
  background-color: var(--white);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
}

.header-logo {
  height: 50px;
  width: auto;
}

.header-logo-fallback {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--red);
}

/* ===========================
   ヒーローセクション
   =========================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #fff5f5 0%, #fff 40%, #fffaf0 100%);
  overflow: hidden;
  padding: 60px 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 90vh;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(204,0,0,0.06) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(184,134,11,0.06) 0%, transparent 50%);
  pointer-events: none;
}

/* 波模様の装飾ライン */
.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--red) 0%, var(--gold) 50%, var(--red) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  width: 100%;
}

.hero-banner-img {
  max-width: 700px;
  width: 100%;
  margin-bottom: 32px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.12));
}

.hero-banner-fallback {
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;
}

.hero-catchcopy {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--red);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.hero-event-info {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 8px;
}

.hero-title-text {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--red);
}

.hero-date {
  font-size: 1rem;
  color: var(--black);
  margin-top: 8px;
}

.hero-contest-box {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: 16px;
  padding: 40px 48px;
  color: var(--white);
  box-shadow: 0 8px 32px rgba(204,0,0,0.35);
  position: relative;
  overflow: hidden;
}

.hero-contest-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.hero-subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  opacity: 0.9;
}

.hero-main-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hero-tagline {
  margin-top: 16px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: rgba(255,255,255,0.15);
  display: inline-block;
  padding: 6px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
}

/* チラシエリア */
.hero-flyer-area {
  position: relative;
  z-index: 2;
  margin-top: 40px;
  text-align: center;
  width: 100%;
  max-width: 600px;
}

.hero-flyer-link {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  text-decoration: none;
}

.hero-flyer-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-flyer-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(204,0,0,0.92) 0%, transparent 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 32px 20px 16px;
  text-align: center;
  letter-spacing: 0.05em;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--red);
  font-size: 1.5rem;
  animation: bounce 1.6s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ===========================
   CTAセクション
   =========================== */
.cta-section {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
  padding: 40px 24px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 36px;
  border-radius: 12px;
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 200px;
  text-align: center;
}

.cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

.cta-btn i {
  font-size: 1.8rem;
}

.cta-btn-label {
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.cta-btn-sub {
  font-size: 0.78rem;
  opacity: 0.85;
  font-weight: 400;
}

.cta-btn--primary {
  background: var(--gold-light);
  color: var(--black);
  box-shadow: 0 4px 16px rgba(255,215,0,0.4);
}

.cta-btn--secondary {
  background: var(--white);
  color: var(--red);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.cta-btn--tertiary {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* ===========================
   セクション共通
   =========================== */
.section-title {
  text-align: center !important;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
  color: var(--black);
  margin-bottom: 48px !important;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 2px;
}

.section-title--white {
  color: var(--white);
}

.section-title--white::after {
  background: rgba(255,255,255,0.6);
}

.section-title-en {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--red);
  margin-bottom: 6px;
}

.section-title--white .section-title-en {
  color: rgba(255,255,255,0.7);
}

/* ===========================
   コンテストについてセクション
   =========================== */
.about-section {
  padding: 80px 24px;
  background-color: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* 左カラム：テキスト */
.about-text p {
  margin-bottom: 20px;
  font-size: 1.02rem;
  line-height: 2;
}

.nowrap {
  white-space: nowrap;
}

.about-catch {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1.75;
  color: var(--white);
  margin-bottom: 24px;
  padding: 24px 28px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(204,0,0,0.3);
  position: relative;
  overflow: hidden;
}

.about-catch::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.about-catch::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -20px;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.about-highlight {
  background: linear-gradient(135deg, #fff5f5, #fffaf0);
  border-left: 4px solid var(--red);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  font-size: 1rem;
  line-height: 1.7;
}

.about-highlight i {
  color: var(--gold);
  margin-right: 8px;
}

/* 右カラム：イラスト＋説明 */
.about-mascot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* イラスト図版 */
.about-mascot-figure {
  width: 100%;
  margin: 0;
  text-align: center;
}

.about-mascot-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  display: block;
}

.about-mascot-caption {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--gray);
  letter-spacing: 0.05em;
}

.about-mascot-caption strong {
  color: var(--black);
  font-size: 0.95rem;
}

.about-mascot-text {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.85;
  background: var(--gray-light);
  padding: 14px 16px;
  border-radius: 8px;
  width: 100%;
}

/* ===========================
   募集詳細セクション
   =========================== */
.details-section {
  padding: 80px 24px;
  background-color: var(--gray-light);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.detail-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

.detail-card--accent {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
}

.detail-card--warning {
  background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
  color: var(--white);
  border: 2px solid #555;
}

.detail-card--warning .detail-card-icon {
  color: #ff6b6b;
}

.detail-card--warning .detail-card-title {
  border-bottom-color: rgba(255,255,255,0.2);
  color: #ff6b6b;
}

.detail-card-icon {
  font-size: 2.4rem;
  color: var(--red);
  margin-bottom: 14px;
}

.detail-card--accent .detail-card-icon {
  color: var(--gold-light);
}

.detail-card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  border-bottom: 2px solid rgba(204,0,0,0.15);
  padding-bottom: 8px;
}

.detail-card--accent .detail-card-title {
  border-bottom-color: rgba(255,255,255,0.25);
}

.detail-card-body {
  font-size: 0.95rem;
  line-height: 1.7;
}

.detail-card-body small {
  display: block;
  font-size: 0.8rem;
  opacity: 0.75;
  margin-top: 4px;
}

/* ===========================
   賞セクション
   =========================== */
.prize-section {
  padding: 80px 24px;
  background: var(--white);
}

.prize-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.prize-card {
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: visible;
  word-break: normal;
  overflow-wrap: break-word;
}

.prize-card--gold {
  background: linear-gradient(145deg, #1a1a1a 0%, #333 100%);
  color: var(--white);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.prize-card--silver {
  background: var(--gray-light);
  color: var(--black);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.prize-badge {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 24px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.prize-card--gold .prize-badge {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--black);
}

.prize-card--silver .prize-badge {
  background: var(--red);
  color: var(--white);
}

.prize-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 20px;
}

.prize-card--gold .prize-number {
  color: var(--gold-light);
}

.prize-card--silver .prize-number {
  color: var(--red);
}

.prize-list {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prize-list li {
  font-size: 0.95rem;
  line-height: 1.6;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.prize-list li span {
  flex: 1;
  min-width: 0;
  word-break: normal;
  overflow-wrap: anywhere;
  white-space: normal;
}

.prize-list li i {
  margin-top: 3px;
  flex-shrink: 0;
}

.prize-card--gold .prize-list li i {
  color: var(--gold-light);
}

.prize-card--gold .prize-list li small {
  display: block;
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 4px;
  font-weight: 400;
}

.prize-card--silver .prize-list li i {
  color: var(--red);
}

/* ===========================
   ヒントセクション
   =========================== */
.hint-section {
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--red-dark) 0%, #880000 100%);
  position: relative;
  overflow: hidden;
}

.hint-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.04) 0%, transparent 50%),
                    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.04) 0%, transparent 50%);
}

.hint-steps {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.hint-step {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  color: var(--white);
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  transition: background 0.2s ease;
}

.hint-step:hover {
  background: rgba(255,255,255,0.18);
}

.hint-step-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.hint-step-icon {
  font-size: 2.2rem;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.hint-step-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
}

.hint-step-body {
  font-size: 0.85rem;
  opacity: 0.85;
  line-height: 1.7;
}

.hint-step-arrow {
  color: rgba(255,255,255,0.4);
  font-size: 1.5rem;
  padding: 0 8px;
  flex-shrink: 0;
}

/* ===========================
   応募規約セクション
   =========================== */
.guidelines-section {
  padding: 80px 24px;
  background: var(--gray-light);
}

.guidelines-list {
  max-width: 860px;
  margin: 0 auto;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}

.guidelines-list li {
  font-size: 0.93rem;
  line-height: 1.85;
  color: #333;
  padding: 14px 20px 14px 44px;
  border-bottom: 1px solid #eee;
  position: relative;
}

.guidelines-list li:last-child {
  border-bottom: none;
}

.guidelines-list li::before {
  content: '●';
  position: absolute;
  left: 18px;
  top: 16px;
  font-size: 0.55rem;
  color: var(--red);
  line-height: 1;
}

/* ===========================
   エントリーセクション
   =========================== */
.entry-section {
  padding: 80px 24px;
  background: var(--gray-light);
}

.entry-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.entry-btn {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: var(--font-sans);
}

.entry-btn:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
}

.entry-btn > i:first-child {
  font-size: 2rem;
  flex-shrink: 0;
  width: 48px;
  text-align: center;
}

.entry-btn-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.entry-btn-main {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.entry-btn-sub {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-top: 2px;
}

.entry-btn-arrow {
  font-size: 1.1rem;
  opacity: 0.6;
}

.entry-btn--form {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--black);
  box-shadow: 0 4px 20px rgba(255,215,0,0.4);
}

.entry-btn--pdf {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(204,0,0,0.3);
}

.entry-btn--doc {
  background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.entry-address {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid #ddd;
  border-left: 4px solid var(--red);
  border-radius: 0 10px 10px 0;
  padding: 18px 20px;
  font-size: 0.92rem;
  line-height: 1.9;
  color: #333;
}

.entry-address > i {
  color: var(--red);
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.entry-address-text {
  display: flex;
  flex-direction: column;
}

.entry-address-label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--red);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.entry-note {
  text-align: center !important;
  margin-top: 28px !important;
  font-size: 0.9rem;
  color: var(--gray);
}

.entry-note i {
  color: var(--red);
  margin-right: 4px;
}

/* ===========================
   フッター
   ロゴマニュアル準拠：白背景上に正色ロゴを使用
   （黒背景＋白ロゴ反転は禁止のため変更）
   =========================== */
.site-footer {
  background: var(--white);
  color: var(--black);
  padding: 48px 24px 32px;
  border-top: 4px solid var(--red);
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* ロゴラッパー：フッター自体が白なのでラッパーの装飾は不要 */
.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-logo {
  height: 70px;
  width: auto;
  /* filter 削除：正色ロゴをそのまま表示 */
}

/* フォールバック用テキストロゴ */
.footer-logo-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer-fallback-sub {
  font-size: 0.75rem;
  color: var(--gray);
}

.footer-fallback-main {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--red);
}

.footer-fallback-main span {
  color: var(--black);
}

.footer-event-info {
  font-size: 0.92rem;
  line-height: 1.9;
  color: #555;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--gray);
  border-top: 1px solid #ddd;
  padding-top: 16px;
  width: 100%;
}

/* ===========================
   レスポンシブ
   =========================== */

/* ---- タブレット (〜900px) ---- */
@media (max-width: 900px) {
  .details-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .prize-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-mascot {
    order: -1;
  }

  .about-mascot-img {
    max-width: 360px;
    margin: 0 auto;
  }

  .hint-steps {
    flex-direction: column;
    align-items: center;
  }

  .hint-step {
    max-width: 400px;
    width: 100%;
  }

  .hint-step-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }
}

/* ---- スマートフォン (〜600px) ---- */
@media (max-width: 600px) {
  /* ヘッダー */
  .header-logo {
    height: 38px;
  }

  /* ヒーロー */
  .hero {
    padding: 32px 16px 56px;
    min-height: auto;
  }

  .hero-banner-img {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .hero-contest-box {
    padding: 24px 20px;
    border-radius: 12px;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-main-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .hero-tagline {
    font-size: 1rem;
    padding: 5px 14px;
  }

  /* チラシエリア */
  .hero-flyer-area {
    max-width: 100%;
  }

  .hero-flyer-pdf {
    height: 400px;
  }

  /* CTAボタン */
  .cta-section {
    padding: 28px 16px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-btn {
    width: 100%;
    max-width: 100%;
    flex-direction: row;
    padding: 16px 20px;
    gap: 12px;
    border-radius: 10px;
  }

  .cta-btn i {
    font-size: 1.5rem;
  }

  .cta-btn-label {
    font-size: 1rem;
  }

  /* セクション共通 */
  .section-title {
    font-size: 1.4rem;
    margin-bottom: 32px;
  }

  .about-section,
  .details-section,
  .prize-section,
  .hint-section,
  .entry-section {
    padding: 48px 16px;
  }

  /* コンテストについて */
  .about-text p {
    font-size: 0.95rem;
  }

  .about-catch {
    font-size: 1.6rem;
  }

  .about-mascot-img {
    max-width: 280px;
  }

  .about-mascot-list {
    padding-left: 1.2em;
  }

  /* 募集詳細 */
  .details-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .detail-card {
    padding: 20px 14px;
  }

  .detail-card-icon {
    font-size: 1.8rem;
  }

  .detail-card-title {
    font-size: 0.9rem;
  }

  .detail-card-body {
    font-size: 0.85rem;
  }

  /* 賞カード */
  .prize-grid {
    max-width: 100%;
  }

  .prize-card {
    padding: 24px 18px;
  }

  .prize-badge {
    font-size: 0.9rem;
    padding: 6px 16px;
  }

  .prize-number {
    font-size: 2rem;
    margin-bottom: 16px;
  }

  .prize-list li {
    font-size: 0.9rem;
  }

  /* ヒント */
  .hint-step {
    max-width: 100%;
    padding: 22px 16px;
  }

  .hint-step-icon {
    font-size: 1.8rem;
  }

  .hint-step-title {
    font-size: 0.95rem;
  }

  /* エントリー */
  .entry-btn {
    padding: 16px 18px;
    gap: 14px;
  }

  .entry-btn > i:first-child {
    font-size: 1.5rem;
    width: 32px;
  }

  .entry-btn-main {
    font-size: 1.05rem;
  }

  .entry-btn-sub {
    font-size: 0.8rem;
  }

  .entry-note {
    font-size: 0.82rem;
    text-align: left;
  }

  /* フッター */
  .footer-logo-wrap {
    padding: 12px 20px;
  }

  .footer-logo {
    height: 50px;
  }

  .footer-event-info {
    font-size: 0.85rem;
  }
}

/* ---- 小型スマートフォン (〜420px) ---- */
@media (max-width: 420px) {
  .details-grid {
    grid-template-columns: 1fr;
  }

  .hero-main-title {
    font-size: 1.4rem;
  }

  .prize-list li {
    font-size: 0.85rem;
  }
}


@media screen and (max-width:767px) {
  .body_wrapper{
    padding-top: 0 !important;
  }
  .site-header{
    height: 60px !important;
  }
  .header-logo{
    height: 38px !important;
  }
}
