@charset "UTF-8";

/* ==============================
   基本設定
============================== */
:root {
  --main: #74152b;
  --main-dark: #4d0d1c;
  --accent: #b68f32;
  --cream: #faf7f1;
  --text: #333;
  --line: #d8c7b4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: #eee9e3;
  background-image: url("images/bg.jpg");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-attachment: fixed;
  background-size: 300px auto;
  color: var(--text);
  font-family: "Noto Sans JP", "Yu Gothic", YuGothic, sans-serif;
  line-height: 1.8;
  font-size: 16px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* PC・スマホページ保持用 */
.site,
.header-line,
.footer-inner {
  width: 750px;
  max-width: 100%;
  margin: 0 auto;
}

/* ==============================
   ヘッダー
============================== */
.header-line {
  height: 3px;
  background: var(--accent);
  position: sticky;
  top: 0;
  z-index: 20;
}

/* ==============================
   キービジュアル
============================== */
.keyvisual {
  background: #fff;
}

.keyvisual img {
  width: 100%;
  min-height: 180px;
  object-fit: cover;
  background: #ddd;
}


/* ==============================
   ページ内メニュー
============================== */
.page-nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  background: var(--cream);
  border-top: none;
  border-bottom: none;
  position: sticky;
  top: 3px;
  z-index: 19;
}

.page-nav a {
  min-height: 88px;
  padding: 8px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--main);
  background: var(--cream);
  text-decoration: none;
  font-family: "Noto Serif JP", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
  font-size: 16px;
  line-height: 1.5;
  position: relative;

  /* ホバーアニメーション */
  transition:
    background-color 1s ease,
    color 0.45s ease;
}

/* ボタン区切り線 */
.page-nav a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  border-left: 1px solid var(--accent);
}

/* ホバー時 */
.page-nav a:hover {
  background: var(--main);
  color: #fff;
}


/* ==============================
   nav下区切り装飾
============================== */
.nav-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 22px 30px 8px;
  background: var(--cream);
}

.nav-divider::before,
.nav-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.nav-divider span {
  color: var(--accent);
  font-size: 10px;
  line-height: 1;
}

/* ==============================
   更新履歴
============================== */
.update-history {
  max-width: 620px;
  margin: 0 auto 45px;
  padding: 25px 30px;
  color: var(--text);
  font-size: 12px;
}

.update-history-title {
  margin: 0 0 15px;
  text-align: center;
  color: var(--main);
  font-family: "Noto Serif JP", "Yu Mincho", YuMincho, serif;
  font-size: 15px;
  letter-spacing: .12em;
}

.update-history-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.update-history-list li {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 8px;
  padding: 5px 0;
  line-height: 1.7;
}

.update-history-list .date {
  color: var(--main);
}

.update-history-list .content::before {
  content: "………";
  color: var(--accent);
  letter-spacing: .05em;
  margin-right: 5px;
}


/* ==============================
   共通セクション
============================== */
.intro {
  padding: 35px 22px;
  background: var(--cream);
  text-align: center;
}

.section {
  padding: 45px 20px;
  background: #fff;
  scroll-margin-top: 60px;
}

.section:nth-of-type(even) {
  background: var(--cream);
}

.heading-image {
  display: block;
  width: 692px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 692 / 62;
  object-fit: cover;
  margin: 0 auto 30px;
}

.section-lead {
  margin: 0 0 28px;
  text-align: center;
}

/* ==============================
   テーマ
============================== */

.theme-list {
  display: grid;
  gap: 20px;
}

.theme-box {
  padding: 0;
  background: #fff;
}

/* ==============================
   テーマ見出し
============================== */

.theme-title {
  text-align: center;
  margin: 40px auto 30px;
}

/* テーマ①・テーマ② */
.theme-label {
  display: inline-block;
  position: relative;
  padding: 4px 28px;
  background: var(--main);
  color: #fff;
  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    YuMincho,
    "Hiragino Mincho ProN",
    serif;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: .12em;
}

/* 左右ライン */
.theme-label::before,
.theme-label::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 55px;
  height: 1px;
  background: var(--accent);
}

.theme-label::before {
  right: 100%;
  margin-right: 12px;
}

.theme-label::after {
  left: 100%;
  margin-left: 12px;
}

/* テーマ内 */
.theme-name {
  display: block;
  margin-top: 10px;
  color: var(--main);
  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    YuMincho,
    "Hiragino Mincho ProN",
    serif;
  font-size: 28px;
  font-weight: bold;
  letter-spacing: .25em;
}

/* ==============================
   テーマ説明文
============================== */

.theme-box p {
  width: 88%;
  margin: 0 auto;
  padding: 18px 22px;
  box-sizing: border-box;
  border: 1px solid var(--accent);
  background: #fff;
  line-height: 1.9;
}


/* ==============================
   スマホ
============================== */

@media (max-width: 480px) {

  .theme-title {
    margin: 32px auto 25px;
  }

  .theme-label {
    padding: 4px 22px;
    font-size: 13px;
  }

  .theme-label::before,
  .theme-label::after {
    width: 30px;
  }

  .theme-label::before {
    margin-right: 8px;
  }

  .theme-label::after {
    margin-left: 8px;
  }

  .theme-name {
    margin-top: 8px;
    font-size: 24px;
  }

  .theme-box p {
    width: 94%;
    padding: 15px 16px;
  }
}

/* ==============================
   コンテンツ画像
============================== */
.content-image {
  margin: 0 auto 15px;
  background: #eee;
}

.content-image img {
  width: 100%;
  min-height: 160px;
  object-fit: cover;
  background: #ddd;
}

.notice {
  margin: 12px 0 0;
  color: #777;
  font-size: 12px;
}

/* ==============================
   見出し5
============================== */
.info-table {
  border: 1px solid var(--line);
}

.info-table article {
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.info-table article:last-child {
  border-bottom: none;
}

.info-table h3 {
  margin: 0 0 10px;
  color: var(--main);
  font-size: 16px;
}

/* ==============================
   作品一覧
============================== */
.work-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin: 30px 0 45px;
}

.work-item {
  min-width: 0;
  padding: 14px 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.work-item strong,
.work-item span {
  display: block;
}

.work-item strong {
  font-size: 13px;
  color: var(--main);
  margin-bottom: 4px;
  overflow-wrap: anywhere;
}

.work-item span {
  font-size: 11px;
  color: #555;
}

/* ==============================
   受賞作品
============================== */
.result-summary,
.award {
  margin-top: 30px;
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
}

.result-summary h3,
.award h3 {
  margin: 0 -22px 20px;
  padding: 12px 20px;
  background: var(--main);
  color: #fff;
  font-size: 18px;
}

.award h4 {
  margin: 20px 0 5px;
  color: var(--main);
  font-size: 14px;
  border-left: 4px solid var(--accent);
  padding-left: 8px;
}

.award p {
  margin: 0;
}

.winner {
  font-weight: bold;
}

/* ==============================
   お問い合わせ
============================== */
.contact {
  padding: 45px 20px;
  background: var(--cream);
  text-align: center;
}

.contact h2 {
  margin: 0 0 20px;
  color: var(--main);
  font-family: "Noto Serif JP", "Yu Mincho", YuMincho, serif;
}

/* ==============================
   フッター
============================== */
.footer {
  background: #5a2635;
  color: #eee;
}

.footer-inner {
  padding: 35px 20px 25px;
  text-align: center;
}

.footer-logo {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-family: "Noto Serif JP", "Yu Mincho", YuMincho, serif;
  font-size: 24px;
  letter-spacing: .08em;
  transition: color 0.3s ease;
}

.footer-logo:visited {
  color: #fff;
  text-decoration: none;
}

.footer-logo:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-inner p {
  margin: 8px 0 20px;
  font-size: 12px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin: 25px 0;
}

.footer nav a,
.footer nav a:visited {
  display: inline-block;
  color: #eee;
  text-decoration: none;
  font-size: 11px;
  padding: 3px 9px;
  border-right: 1px solid #65595a;
  transition: color 0.3s ease;
}

.footer nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer nav a:last-child {
  border-right: none;
}

.footer .trademark {
  margin: 25px 0 0;
  color: #ffffff;
  background-color: #30120f;
  background-size: 100% auto;
  font-size: 12px;
}

.footer .copyright {
  margin: 25px 0 0;
  color: #aaa;
  font-size: 10px;
}

/* ==============================
   ページ上部へ戻るボタン
============================== */
.page-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--main);
  background: rgba(250, 247, 241, 0.95);
  border: 1px solid var(--accent);
  text-decoration: none;
  z-index: 30;
  transition:
    background-color 0.4s ease,
    color 0.4s ease;
}

.page-top > span {
  font-family: "Noto Serif JP", "Yu Mincho", YuMincho, serif;
  font-size: 8px;
  letter-spacing: .08em;
}

.page-top:hover {
  color: #fff;
  background: var(--main);
}

/* ==============================
   スマホの横幅はみ出し防止
============================== */
@media (max-width: 480px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site {
    width: 100%;
    max-width: 100%;
  }
}


/* ==============================
   スマホ微調整
============================== */
@media (max-width: 480px) {
  body {
    font-size: 13px;
  }

  .section {
    padding: 35px 16px;
  }

  /* ページ内メニュー */
  .page-nav {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-nav a {
    min-height: 75px;
    padding: 10px 6px;
    font-size: 16px;
    line-height: 1.5;
  }

  /* 2段目区切り線 */
  .page-nav a:nth-child(n + 4) {
    border-top: 1px solid var(--accent);
  }

  /* 縦区切り線 */
  .page-nav a + a::before {
    top: 20%;
    height: 60%;
  }

  /* 2段目の先頭縦線トル */
  .page-nav a:nth-child(4)::before {
    display: none;
  }

  .intro {
    padding: 28px 16px;
  }

  .work-item {
    padding: 12px 9px;
  }
}



/* ==============================
   ボタン
============================== */
.rose-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 360px;
  min-height: 70px;
  margin: 30px auto;
  padding: 12px 50px 12px 25px;

  color: #fff;
  background: var(--main);
  border: 1px solid var(--accent);
  text-decoration: none;

  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    YuMincho,
    "Hiragino Mincho ProN",
    serif;

  font-size: 16px;
  letter-spacing: .12em;

  box-shadow:
    inset 0 0 0 3px var(--main),
    inset 0 0 0 5px var(--accent);

  transition:
    background-color 0.4s ease,
    color 0.4s ease,
    transform 0.4s ease;
}

/* 外側の角飾り */
.rose-button::before,
.rose-button::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--accent);
  border-style: solid;
}

.rose-button::before {
  left: 7px;
  top: 7px;
  border-width: 1px 0 0 1px;
}

.rose-button::after {
  right: 7px;
  bottom: 7px;
  border-width: 0 1px 1px 0;
}

/* ボタン内 */
.rose-button .rose-mark {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  transform: scale(0.65);
}

/* 矢印 */
.rose-button .arrow {
  position: absolute;
  right: 22px;
  font-family: serif;
  font-size: 28px;
  line-height: 1;
  transition: transform 0.4s ease;
}

/* ホバー */
.rose-button:hover {
  background: var(--main-dark);
  color: #fff;
  transform: translateY(-2px);
}

.rose-button:hover .arrow {
  transform: translateX(4px);
}


/* ==============================
   応募・選考スケジュール
============================== */
.schedule {
  max-width: 620px;
  margin: 35px auto 0;
}

.schedule-item {
  margin-bottom: 24px;
  text-align: center;
}

.schedule-item:last-child {
  margin-bottom: 0;
}

.schedule-label {
  display: inline-block;
  min-width: 190px;
  padding: 7px 20px;
  background: var(--main);
  color: #fff;
  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    YuMincho,
    "Hiragino Mincho ProN",
    serif;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: .08em;
}

.schedule-date {
  margin-top: 9px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
}


/* ==============================
   Q&A
============================== */
.qa {
  max-width: 620px;
  margin: 50px auto 0;
}

.qa > h3 {
  margin: 0 0 25px;
  text-align: center;
  color: var(--main);
  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    YuMincho,
    "Hiragino Mincho ProN",
    serif;
  font-size: 20px;
  letter-spacing: .12em;
}

.qa-item {
  padding: 22px 25px;
  border: 1px solid var(--line);
  background: #fff;
}

.qa-question,
.qa-answer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.qa-question {
  padding-bottom: 16px;
  border-bottom: 1px dotted var(--line);
  color: var(--main);
  font-weight: bold;
}

.qa-answer {
  padding-top: 16px;
  color: var(--text);
}

.qa-mark {
  display: inline-flex;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  background: var(--main);
  color: #fff;
  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    YuMincho,
    serif;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
}

/* ==============================
   キーワード
============================== */
.keyword-box {
  max-width: 620px;
  margin: 35px auto;
  text-align: center;
}

.keyword-label {
  position: relative;
  display: inline-block;
  min-width: 190px;
  padding: 7px 35px;
  background: var(--main);
  color: #fff;
  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    YuMincho,
    "Hiragino Mincho ProN",
    serif;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: .12em;
}

/* 左右ライン */
.keyword-label::before,
.keyword-label::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 150px;
  height: 1px;
  background: var(--accent);
}

.keyword-label::before {
  right: 100%;
  margin-right: 20px;
}

.keyword-label::after {
  left: 100%;
  margin-left: 20px;
}

.keyword-box p {
  margin: 20px 0 0;
}

/* キーワード本体 */
.keyword-main {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 45px;
  background: #fff;
  border: 2px solid var(--accent);
  color: #333;
  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    YuMincho,
    "Hiragino Mincho ProN",
    serif;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: .12em;
}

/* ==============================
   フッターバナー
============================== */

.footer-banners {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 25px auto 10px;
}

.footer-banners a {
  display: block;
}

.footer-banners img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
}

/* スマホ */
@media (max-width: 480px) {
  .footer-banners {
    gap: 10px;
  }

  .footer-banners img {
    width: 150px;
  }
}

/* ==============================
   結果発表前のお知らせ
   ============================== */

.result-notice {
  margin: 30px auto 40px;
  text-align: center;
  color: var(--text);
  line-height: 1.8;
}

.result-notice p {
  margin: 0;
}

.result-notice span {
  font-size: 12px;
}