/* ＝＝＝ クラフト・ハンドメイド ＝＝＝ */

:root {
  --bg-color: #f5efe3;
  --text-main: #3d2b1a;
  --text-light: #6b4f36;
  --text-muted: #a08060;
  --primary-color: #5c3d1e;
  --accent-color: #e07b39;
  --green: #7c9a6e;
  --tan: #c4a882;
  --cream: #faf5ec;
  --border: #ddd0b8;
  --white: #fffdf8;
}

/* ＝＝＝ ベーススタイル ＝＝＝ */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  background-color: var(--bg-color);
  background-image:
    linear-gradient(rgba(180,150,110,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180,150,110,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--text-main);
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

p {
  font-size: 1.2rem;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ＝＝＝ ヘッダー ＝＝＝ */
.header {
  background-color: var(--primary-color);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 4px solid var(--accent-color);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  height: 60px;
}

.header-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--cream);
  margin: 0;
  letter-spacing: 1.5px;
  font-style: italic;
}

.header-nav {
  display: none;
  gap: 28px;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.5px;
}

.header-nav a:hover {
  color: var(--accent-color);
  transition: color 0.2s;
}

/* ＝＝＝ ヒーローセクション ＝＝＝ */
.hero-section {
  padding: 48px 20px 64px;
}

.hero-image-wrapper {
  max-width: 820px;
  margin: 0 auto;
  border-radius: 4px;
  overflow: hidden;
  box-shadow:
    4px 4px 0 var(--tan),
    8px 8px 0 rgba(180,150,110,0.3);
  border: 6px solid var(--white);
  background-color: var(--white);
  transform: rotate(-3deg);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-text-area {
  text-align: center;
  margin-top: 56px;
}

.hero-catchphrase {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-color);
  margin: 0 0 24px;
  letter-spacing: -0.5px;
  line-height: 1.3;
  font-style: italic;
}

.badge {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--white);
  padding: 8px 24px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
  transform: rotate(-1deg);
  box-shadow: 3px 3px 0 var(--primary-color);
  border-radius: 2px;
}

.hero-description {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.85;
}

/* ＝＝＝ スケジュール・結果発表 ＝＝＝ */
.schedule-section {
  background-color: var(--cream);
  padding: 64px 0;
  border-top: 2px dashed var(--border);
  border-bottom: 2px dashed var(--border);
  position: relative;
  overflow: hidden;
}

.confetti-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.schedule-section .schedule-container {
  position: relative;
  z-index: 1;
}

.schedule-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.section-title-sky {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary-color);
  margin: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-style: italic;
}

.section-title-sky::before,
.section-title-sky::after {
  content: '';
  display: block;
  flex: 1;
  height: 1px;
  background: var(--border);
  max-width: 80px;
}

@keyframes result-title-in {
  0%   { opacity: 0; transform: scale(0.85) translateY(16px); }
  60%  { opacity: 1; transform: scale(1.04) translateY(-4px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes result-title-glow {
  0%, 100% { text-shadow: 0 0 0px rgba(224,123,57,0); }
  50%       { text-shadow: 0 0 18px rgba(224,123,57,0.45); }
}

@keyframes trophy-bounce {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  40%       { transform: translateY(-8px) rotate(4deg); }
  70%       { transform: translateY(-3px) rotate(-2deg); }
}

.section-title-result {
  font-size: 2.2rem;
  font-style: normal;
  letter-spacing: 0.05em;
  animation: result-title-in 0.7s cubic-bezier(.34,1.56,.64,1) both,
             result-title-glow 3s ease-in-out 0.8s infinite;
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, #e6b800, #b8860b) 1;
  gap: 14px;
}

.section-title-result::before,
.section-title-result::after {
  display: none;
}

.result-trophy {
  display: inline-block;
  animation: trophy-bounce 2.2s ease-in-out 1s infinite;
  transform-origin: bottom center;
}

@media (prefers-reduced-motion: reduce) {
  .section-title-result {
    animation: none;
  }
  .result-trophy {
    animation: none;
  }
  /* open-call はJSがis-visibleを即付与するため、アニメーションだけ無効化 */
  .open-call-section.is-visible .open-call-inner,
  .open-call-section.is-visible .open-call-badge,
  .open-call-section.is-visible .open-call-title .accent::after,
  .open-call-section.is-visible .open-call-lead,
  .open-call-section.is-visible .open-call-cards,
  .open-call-section.is-visible .open-call-sub,
  .open-call-section.is-visible .open-call-btn,
  .open-call-btn-arrow {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.schedule-card {
  background-color: var(--white);
  padding: 36px 40px;
  border-radius: 4px;
  box-shadow: 4px 4px 0 var(--tan);
  border: 1.5px solid var(--border);
}

.schedule-card p {
  color: var(--text-light);
  margin: 0;
  line-height: 1.85;
}

.announce-date {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-color);
  margin: 28px 0;
  font-style: italic;
}

.note-text {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* 賞のグリッド */
.awards-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 0px;
}

.award-item {
  padding: 20px 28px;
  border-radius: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  border: 2px solid transparent;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.10));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: left;
}

.award-item span:first-child {
  font-weight: 800;
  white-space: nowrap;
  width: 160px;
  flex-shrink: 0;
  padding-right: 20px;
  border-right: 2px solid currentColor;
  opacity: 0.6;
}

.award-item span:last-child {
  font-weight: 600;
  line-height: 1.6;
  padding-left: 24px;
  text-align: left;
}

.award-gold {
  background-color: #fffbe8;
  border-color: #e6b800;
  color: #7a5a00;
  box-shadow: 0 2px 10px rgba(230,184,0,0.2);
}
.award-gold span:first-child { font-size: 1.4rem; color: #b8860b; }
.award-gold span:last-child  { font-size: 1.35rem; color: #5a3e00; }

.award-silver {
  background-color: #f7f7f5;
  border-color: #a0a090;
  color: #404040;
  box-shadow: 0 2px 8px rgba(160,160,144,0.18);
}
.award-silver span:first-child { font-size: 1.25rem; color: #707070; }
.award-silver span:last-child  { font-size: 1.2rem; color: #303030; }

.award-special { background-color: #fdf0e8; border-color: #e8b090; color: #7a3010; }
.award-special span:first-child { font-size: 1.0rem; }
.award-special span:last-child  { font-size: 1.05rem; }

.award-wish { background-color: #f0ede8; border-color: #c4a882; color: #5c3d1e; }
.award-wish span:first-child { font-size: 1.0rem; }
.award-wish span:last-child  { font-size: 1.05rem; }

.award-fun { background-color: #edf4ec; border-color: #a8c8a0; color: #2a5a28; }
.award-fun span:first-child { font-size: 1.0rem; }
.award-fun span:last-child  { font-size: 1.05rem; }

.award-message {
  margin-top: 36px;
  padding: 3px 3px;
  background: rgba(255,255,255,0.5);
  border-radius: 8px;
  font-family: 'Kaisei Opti', serif;
  font-size: 1.05rem;
  line-height: 2.0;
  color: #444;
  text-align: left;
}

.award-message p + p {
  margin-top: 1.2em;
}

.award-message-signature {
  text-align: right;
  margin-top: 1.6em;
}

/* ＝＝＝ 審査写真ギャラリー ＝＝＝ */
.exam-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.exam-photo {
  background-color: var(--white);
  border: 5px solid var(--white);
  box-shadow: 3px 3px 0 var(--tan);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.exam-photo img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.exam-photo-caption {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 8px 6px 6px;
  font-style: italic;
  letter-spacing: 0.3px;
  text-align: center;
}

.exam-photo--1 { transform: rotate(-1.5deg); }
.exam-photo--2 { transform: rotate(1deg); }
.exam-photo--3 { transform: rotate(-0.8deg); grid-column: 1 / -1; }

.exam-photo--3 img {
  height: 220px;
}

.exam-photo:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 5px 5px 0 var(--tan);
  z-index: 1;
  position: relative;
}

@media (min-width: 768px) {
  .exam-photos {
    grid-template-columns: repeat(3, 1fr);
  }
  .exam-photo--3 {
    grid-column: auto;
  }
  .exam-photo img,
  .exam-photo--3 img {
    height: 200px;
  }
}

/* ＝＝＝ インタビューセクション ＝＝＝ */
/* ＝＝＝ 随時募集セクション ＝＝＝ */

@keyframes oc-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes oc-badge-pop {
  0%   { transform: scale(0.7) rotate(-6deg); opacity: 0; }
  60%  { transform: scale(1.1) rotate(2deg); opacity: 1; }
  100% { transform: scale(1) rotate(-2deg); opacity: 1; }
}

@keyframes oc-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224, 123, 57, 0.45); }
  50%       { box-shadow: 0 0 0 14px rgba(224, 123, 57, 0); }
}

@keyframes oc-arrow-slide {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(6px); }
}

@keyframes oc-card-glow {
  0%, 100% { box-shadow: 0 0 8px 4px rgba(224, 123, 57, 0.15); }
  50%       { box-shadow: 0 0 22px 10px rgba(224, 123, 57, 0.35); }
}

.open-call-section {
  padding: 50px 24px;
  text-align: center;
  background: linear-gradient(135deg, #fff8ee 0%, #fdf0d8 50%, #fae8c4 100%);
  border-bottom: 2px dashed var(--border);
  overflow: hidden;
  position: relative;
}

.open-call-section::before,
.open-call-section::after {
  content: "✦";
  position: absolute;
  font-size: 120px;
  color: rgba(224,123,57,0.07);
  pointer-events: none;
}
.open-call-section::before { top: -20px; left: -20px; }
.open-call-section::after  { bottom: -20px; right: -20px; }

.open-call-inner {
  max-width: 720px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(28px);
}

.open-call-section.is-visible .open-call-inner {
  animation: oc-fade-up 0.7s ease both;
}

.open-call-badge {
  display: inline-block;
  background-color: var(--accent-color);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 5px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
  opacity: 0;
}

.open-call-section.is-visible .open-call-badge {
  animation: oc-badge-pop 0.6s cubic-bezier(.34,1.56,.64,1) 0.2s both;
}

.open-call-title {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 900;
  font-style: italic;
  color: var(--primary-color);
  line-height: 1.25;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.open-call-title .accent {
  color: var(--accent-color);
  position: relative;
}

.open-call-title .accent::after {
  content: "";
  display: block;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
  margin-top: 4px;
  opacity: 0;
}

.open-call-section.is-visible .open-call-title .accent::after {
  animation: oc-fade-up 0.5s ease 0.6s both;
}

.open-call-lead {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.9;
  margin: 0 0 36px;
  opacity: 0;
}

.open-call-section.is-visible .open-call-lead {
  animation: oc-fade-up 0.6s ease 0.3s both;
}

.open-call-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
  opacity: 0;
}

.open-call-section.is-visible .open-call-cards {
  animation: oc-fade-up 0.6s ease 0.45s both;
}

.open-call-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 24px 32px;
  min-width: 200px;
  flex: 1;
  max-width: 260px;
  transition: transform 0.2s;
  animation: oc-card-glow 3.5s ease-in-out infinite;
}

.open-call-card:hover {
  transform: translateY(-4px);
}

.open-call-card-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

.open-call-card p {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.6;
}

.open-call-sub {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.9;
  margin: 0 0 40px;
  opacity: 0;
}

.open-call-section.is-visible .open-call-sub {
  animation: oc-fade-up 0.6s ease 0.55s both;
}

.open-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--accent-color);
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  padding: 18px 48px;
  border-radius: 50px;
  text-decoration: none;
  opacity: 0;
  transition: background-color 0.2s, transform 0.2s;
}

.open-call-section.is-visible .open-call-btn {
  animation: oc-pulse 2.4s ease-in-out infinite, oc-fade-up 0.6s ease 0.65s both;
}

.open-call-btn:hover {
  background-color: #c9682a;
  transform: scale(1.04);
  animation: none;
  box-shadow: 0 6px 20px rgba(224,123,57,0.45);
}

.open-call-btn-arrow {
  display: inline-block;
  animation: oc-arrow-slide 1.4s ease-in-out infinite;
}

.open-call-btn:hover .open-call-btn-arrow {
  animation: none;
}

.interviews-section {
  padding: 50px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary-color);
  margin: 0 0 12px;
  font-style: italic;
}

.section-header p {
  color: var(--text-light);
  margin: 0 auto 12px;
  max-width: 680px;
  font-size: 1.2rem;
  line-height: 1.8;
}

.interviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.interview-card {
  background-color: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 3px 3px 0 var(--tan);
  border: 1.5px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}

.interview-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--tan);
}

.card-image-wrapper {
  position: relative;
  background-color: #ede4d4;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.coming-soon-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(237, 228, 212, 0.65);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.coming-soon-label {
  background-color: var(--primary-color);
  color: var(--cream);
  padding: 6px 18px;
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transform: rotate(-1.5deg);
  box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
}

.card-icon {
  font-size: 3.5rem;
  opacity: 0.18;
  transition: transform 0.4s;
}

.interview-card:hover .card-icon {
  transform: scale(1.08) rotate(3deg);
}

.card-content {
  padding: 24px 28px;
  border-top: 2px dashed var(--border);
}

.card-vol {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 8px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: #c4b8a8;
  font-style: italic;
}

.card-desc {
  font-size: 0.84rem;
  color: #c4b8a8;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.65;
}

.card-footer {
  font-size: 0.75rem;
  font-weight: 700;
  color: #c4b8a8;
  letter-spacing: 0.5px;
}

.more-btn-wrapper {
  text-align: center;
  margin-top: 48px;
}

.more-btn {
  background-color: transparent;
  color: var(--text-muted);
  border: 2px dashed var(--border);
  padding: 12px 40px;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: not-allowed;
}

/* ＝＝＝ コンペ概要 ＝＝＝ */
.about-section {
  background-color: var(--primary-color);
  padding: 72px 0;
  border-top: none;
}

.about-section .section-header h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--cream);
  font-style: italic;
}

.about-section .section-header p {
  color: rgba(255,255,255,0.6);
}

.about-card {
  background-color: rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.12);
}

.about-item {
  margin-bottom: 28px;
}

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

.about-item h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-color);
  border-bottom: 1px dashed rgba(255,255,255,0.15);
  padding-bottom: 8px;
  margin: 0 0 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.about-item p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.72);
  margin: 0;
  line-height: 1.8;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

/* ＝＝＝ フッター ＝＝＝ */
.footer {
  background-color: #2a1a0a;
  color: rgba(255,255,255,0.6);
  padding: 56px 24px 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto 48px;
}

.footer-logo {
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 16px;
  font-style: italic;
}

.footer-info p {
  font-size: 0.84rem;
  margin: 0 0 6px;
  line-height: 1.7;
}

.footer-contact h3 {
  color: var(--cream);
  font-size: 0.75rem;
  margin: 0 0 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 8px;
}

.footer-contact p {
  font-size: 0.84rem;
  margin: 0 0 6px;
}

.copyright {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.28);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

/* ＝＝＝ レスポンシブ対応（PC向け） ＝＝＝ */
@media (min-width: 768px) {
  .header-nav {
    display: flex;
  }

  .hero-catchphrase {
    font-size: 2.6rem;
  }

  .desktop-br {
    display: block;
  }

  .mobile-br {
    display: none;
  }

  .awards-grid {
    gap: 16px;
  }

  .interviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-contact {
    text-align: right;
  }
}

/* スマホ向け改行調整 */
@media (max-width: 767px) {
  .desktop-br {
    display: none;
  }
  .mobile-br {
    display: block;
  }

  .section-header {
    padding: 0 20px;
  }

  .schedule-card {
    padding: 28px 20px;
  }

  .about-card {
    padding: 28px 20px;
  }

  .award-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 18px;
  }

  .award-item span:first-child {
    width: auto;
    padding-right: 0;
    border-right: none;
    border-bottom: 2px solid currentColor;
    padding-bottom: 8px;
    margin-bottom: 2px;
  }

  .award-item span:last-child {
    padding-left: 0;
  }

  .award-gold span:first-child  { font-size: 1.15rem; }
  .award-gold span:last-child   { font-size: 1.1rem; }
  .award-silver span:first-child { font-size: 1.05rem; }
  .award-silver span:last-child  { font-size: 1.0rem; }
}
