@charset "utf-8";

/* Google Fonts: Zen Kurenaido Static（見出し用） */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/* 全体共通 */
*,
*::before,
*::after {
  box-sizing: border-box;
}
a:hover {
  cursor: pointer;
  opacity: 0.6;
}
.center {
  text-align: center;
}
.sp-only {
      display: none;
}
body {
  font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.8;
  margin: 0;
  padding: 0;
}

h2, h3 {
  font-weight: bold;
  color: #333;
  font-family: "Work Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
  
h2.heading2 {
  position: relative;
  display: flex;
  align-items: center; 
  gap: 0.5em;
  z-index: 1;
  margin-bottom: 3rem;

    opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
/* 表示時にふわっと */
h2.heading2.is-visible {
  opacity: 1;
  transform: translateY(0);
}

h2.heading2::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 4px;
  background-color: #B3D3E5;
  flex-shrink: 0;
}

h2.heading2::after {
  position: absolute;
  top: -40px;
  left: 8%;
  font-size: 100px;
  color: #e7e6e6;
  text-transform: uppercase;
  content: attr(data-heading);
  pointer-events: none;
  /* white-space: nowrap; */
  line-height: 1;
  z-index: -1;
}

h3 {
  font-size: 1.4em;
  margin-bottom: 0.5em;
  text-align: left;
}
.heading3 {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.heading3::before,
.heading3::after {
  content: '';
	width: 40px;
	height: 1px;
	background-color: #333;
}

.heading3::before {
  margin-right: 20px;
}
.heading3::after {
  margin-left: 20px;
}


.heading3-about {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 5px;
  font-size: 1.6rem;
}
.heading3-about:before,
.heading3-about:after {
    content: "";
    width: 2px;
    height: 24px;
    background: #333;
}
.heading3-about:before {
    margin-right: 32px;
    transform: rotate(-45deg);
}
.heading3-about:after {
    margin-left: 32px;
    transform: rotate(45deg);
}
.treat {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 5px;
}
.treat:before,
.treat:after {
    content: "";
    width: 2px;
    height: 16px;
    background: #333;
}
.treat:before {
    margin-right: 32px;
    transform: rotate(-45deg);
}
.treat:after {
    margin-left: 32px;
    transform: rotate(45deg);
}

.theme-wrapper {
  text-align: center;
  margin: 2rem auto;
  padding: 1em;
  background-color: #fff;
}
.theme-name {
  display: inline;
  font-size: 2.2rem;
  font-weight: bold;
  position: relative;
  z-index: 0;
}
.theme-name::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.2em;
  width: 100%;
  height: 0.4em;
  background: #B3D3E5;
  z-index: -1;
  transform: rotate(-1.5deg);
  border-radius: 0.1em;
}

.present {
  width: 100%;
  margin: 0 auto;
}
.present a {
  text-decoration: none;
  color: #333;
  scroll-behavior: smooth;
}
.under-line-blue {
  display: inline;
  font-size: 1.8rem;
  font-weight: bold;
  position: relative;
  z-index: 0;
  padding-left: .4em;
}
.under-line-blue::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.2em;
  width: 100%;
  height: 0.4em;
  background: #B3D3E5;
  z-index: -1;
  border-radius: 0.1em;
}

section {
  /* padding: 2em 1em; */
  position: relative;
  padding-bottom: 2em;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 200px;
  box-sizing: border-box;
}
section:nth-of-type(odd) {
  background-color: #ffffff;
}

section:nth-of-type(even) {
  background-color: #f0f8ff;
}
section:last-child {
  margin-bottom: 0;
}
.contents {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}


/* メインビジュアル */
.main-visual {
  width: 100%;
  margin: 0 auto;
  background-image: url(../img/bg_mv.jpg);
  background-size: contain;
}

.main-visual img {
  width: 100%;
  height: auto;
  display: block;
}
/* 概要 */
#gaiyo {
  padding-top: 5em;
  width: 100%;
  max-width: 800px;
    /* padding: 5em 1em; */
}
.gaiyo-txt {
  margin: 3em auto;
}
.kazahaya-disc {
  margin-top: 6em;
  font-size: 80%;
  color: #006699;
}
.kazahaya-disc span {
  font-size: 120%;
  font-weight: bold;
}
/* 開催日程 */
#schedule {
  /* background-color: #f5fbff; */
  /* padding: 1em; */
  border-radius: 8px;
}
.heading3-schedule {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: #333;
    color: #fff;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    padding: .5em;
    
}
#schedule dl {
    /* border: 2px dashed #a3d3f3; */
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 2em;
    padding: 1em;
    background: #f3f2f2;
    box-sizing: border-box;
}
#schedule dl div {
  display: flex;
  gap: 1em;
  align-items: flex-start;
}
#schedule dt {
  flex-shrink: 0;
  width: 50%;
  margin: 0;
}
#schedule dd {
  margin: 0;
  width: 50%;
}
#schedule dl div {
  margin-bottom: 1em;
}
#schedule dt {
  font-weight: bold;
  margin-bottom: 0.2em;
}
#schedule dd {
  /* margin: 0 0 0.5em 1em; */
}

/* 特典 */
.benefits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: space-between;
}

.benefits-item {
  display: flex;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 250px;
  gap: 1em;
}

.benefits-item dt img {
  width: 100%;
  max-width: 80px;
  height: auto;
}

.benefits-item dd {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
}

.benefits-item span {
  font-size: 2.0rem;
  font-weight: bold;
}

.under-line {
  display: inline-block;
  position: relative;
  z-index: 0;
}

.under-line::before {
  content: "";
  position: absolute;
  left: 0;
      top: 1.8em;
  width: 100%;
  height: 1em;
  background: #f0eb4c;
  z-index: -1;
  border-radius: 0.2em;
}

.benefits-txt {
  position: relative;
  padding-left: 2em;
  background: url(../img/icn_rp.png) no-repeat left top;
  background-size: 1.2em;
  font-weight: bold;
  color: #333;
  line-height: 1.6;
  font-size: 1rem;
}

/* 応募方法（ステップボックス形式） */
.entry-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: center;
  padding-left: 0;
  margin-top: 4em;
  list-style: none;
  box-sizing: border-box;
}
.entry-steps li {
  flex: 1;
  max-width: 100%;
  background-color: #fff;
  border: 3px solid #333;
  border-radius: 16px;
  text-align: center;
  padding: 2.5em 1em 1.5em;
  position: relative;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  display: flex;
  align-items: stretch;
  align-content: space-between;
  flex-direction: column;
  justify-content: space-between;
}
.entry-steps li::before {
  content: "";
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background-color: #333;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1em;
  font-weight: bold;
  z-index: 1;
}
.entry-steps li[data-step="STEP 1"]::before { content: "1"; }
.entry-steps li[data-step="STEP 2"]::before { content: "2"; }
.entry-steps li[data-step="STEP 3"]::before { content: "3"; }
.entry-steps li::after {
  content: "STEP";
  position: absolute;
  top: -46px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7em;
  color: #333;
  font-weight: bold;
}
li[data-step="STEP 1"] img, 
li[data-step="STEP 2"] img,
li[data-step="STEP 3"] img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin: 1em auto 0.5em;
}
.entry-steps p {
  margin: 0;
  font-weight: bold;
  font-size: 1em;
}

/* 応募時の注意 */
.entry-notes {
  margin-top: 2em;
  padding: 1em;
  background-color: #fff8f5;
  /* border-left: 4px solid #ff8c66; */
  border-radius: 10px;
}
.important-note {
  color: #d12b00;
  font-weight: bold;
  margin-bottom: 0.5em;
}
.note-list {
  padding-left: 1.2em;
}
.note-list li {
  margin-bottom: 0.8em;
}

/* 応募条件・注意事項 */
section ul {
  padding-left: 1.2em;
  list-style: disc;
}
section ul ul {
  list-style: circle;
  margin-top: 0.5em;
}

/* お問い合わせ */
address {
    background-color: #f0f8ff;
    line-height: 1.4;
    font-style: normal;
    padding: 1em;
}
address a {
  color: #006699;
  text-decoration: none;
}
/* トップヘ戻る */
#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: #333333;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  display: none;
  /* box-shadow: 0 4px 8px rgba(0,0,0,0.3); */
  transition: opacity 0.3s ease;
}

#backToTop:hover {
  background-color: #ccc;
}

/* フッター */
footer {
  padding: 2em 1em;
  text-align: center;
  font-size: 0.9em;
  color: #666;
}
