/* ─── 変数 & 共通設定 ───────────────────────── */
:root {
  /* 既存応募フォームボタンのグラデーション色に置き換えてください */
  --grad-start: #231557; /* 例: オレンジ系 */
  --grad-2nd:   #44107a; /* 例: オレンジ系 */
  --grad-3rd:   #ff1361; /* 例: オレンジ系 */
  --grad-end:   #fff800; /* 例: オレンジ系 */

/*  --grad-start: #ff7e5f; 例: オレンジ系 */
/*  --grad-2nd:   #feb47b; 例: オレンジ系 */

  --color-bg:   #ffffff;
  --color-text: #222;
  --color-accent:#d40072; /* 見出しなどアクセント */
  --nav-height: 64px;

*,
*::before,
*::after { box-sizing: border-box; }
}

body {
  margin: 0;
  font-family: "Helvetica Neue", "YuGothic", sans-serif;
  color: var(--color-text);
	background-image: url(img/bg001.jpg);/*背景画像*/
  line-height: 1.6;
}

/* ローディング画面のスタイル */
#loading-screen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color:#000;
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: opacity 0.5s ease-in-out; /* フェードアウト効果 */
}
/* ロゴの点滅アニメーション */
.logo-pulse {
	animation: pulse 1.5s infinite alternate;
	width: 200px;
	height: auto;
	max-width: 80%;
	border-radius: 8px;
}
@keyframes pulse {
	0% {
		transform: scale(0.95);
		opacity: 0.5;
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}

/* ─── ヘッダー ─────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  height: var(--nav-height);
  background: rgba(255,255,255,1);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 4px rgba(0,0,0,.05);
  z-index: 1000;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* container (共通横幅) */
.container {
  width: min(95%, 1100px);
  margin-inline: auto;
}

.logo img { height: 40px; }

.btn {
  display: inline-block;
  padding: .6em 1.4em;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: opacity .3s;
}

.btn--apply {
  background: linear-gradient(115deg, var(--grad-start), var(--grad-2nd) 15%, var(--grad-3rd) 70%, var(--grad-end));
  color: #fff;
  border-radius: 30px;
  padding: .6em 1.4em;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .3s;
  margin-left: auto;  
  -webkit-box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
}
.btn--apply:hover { opacity: .8; }

.btn--lg { font-size: 1.25rem; }

.hamburger {
  font-size: 1.6rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem .6rem; /*クリック領域確保*/
}

/* ─── ドロワーメニュー ──────────────────────── */
.drawer {
  position: fixed;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  background: rgba(255,255,255,0.92);

  right: 0;
  width: 70%;
  max-width: 280px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  transform: translateX(100%);
  transition: transform .3s ease;
}

.drawer a {
  color: var(--color-text);
  font-weight: 500;
  text-decoration: none;
  padding: .6em .4em;
}

.drawer__apply {
  background: linear-gradient(115deg, var(--grad-start), var(--grad-2nd) 15%, var(--grad-3rd) 70%, var(--grad-end));
  color: #fff;
  border-radius: 20px;
  text-align: center;
}

a.drawer__apply{
  color: #fff;
  text-align: center;
}

/* JS で .drawer-open が付与されたら開く */
body.drawer-open .drawer { transform: translateX(0); }

/* ─── ヒーロー ─────────────────────────────── */
.hero__banner{
  width: 100%;
  margin-top: var(--nav-height);
  display: flex;
  text-align: center;
}
.hero__banner img{
  display: inline-block;
  width: 100%;
  max-width: 1100px;
  height: auto;
  margin: 0 auto;
}
.hero {
  position: relative;
  height: 40vh;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__content {
  position: relative;
  width: min(95%, 1100px);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero__title {
  font-size: clamp(1.8rem, 5vw + .5rem, 3rem);
  margin-bottom: .6rem;
}

.hero__lead {
  font-size: clamp(1rem, 2.5vw + .3rem, 1.3rem);
  margin-bottom: 1.8rem;
}

.hero__slider{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1; /*  */
}

.hero__slider .slide{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);       /* 少しズームした状態から */
  transition: opacity 1.2s ease-in-out,
              transform 5s cubic-bezier(.35,.85,.25,1);
}

.hero__slider .slide.current{
  opacity: 1;
  transform: scale(1);         /* ゆっくりズームアウトしながら表示 */
}
.hero__title, .hero__lead, .btn--apply {
  position: relative;
  color: #fff;
  text-shadow: 0 0 8px rgba(0,0,0,.7);
  z-index: 2;
}
/* ─── セクション汎用 ──────────────────────── */
.section {
  padding: 4rem 0;
}

.section--alt {
  background: #f7f7f7;
}

.section h2 {
  color: var(--color-accent);
  margin-bottom: 1rem;
}

/* プライズ・タイムライン例 */
.prize-list,
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.prize-list li {
  margin-bottom: .4rem;
}

.timeline li {
  display: flex;
  justify-content: space-between;
  padding: .8rem .4rem;
  border-bottom: 1px solid #e3e3e3;
}

.timeline span { font-weight: 600; }

.setsu{
  text-align: center;
}

#hicchaku{
	text-align: center;
	line-height: 1.2;
/*	margin-top: 50px;
	margin-bottom: 50px; */
}
#s02 h3{
	text-align: center;
	margin-top: 40px;
}
#year {
	font-size: 80px;
}
#day {
	font-size: 160px;
}
#youbi{
	font-size: 60px;
}
#time {
	font-size: 80px;
}

/* ─── フッター ───────────────────────────── */
.footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 2rem 0;
  font-size: .9rem;
}

/* ─── レスポンシブ ────────────────────────── */

@media (max-width: 768px) {
  .hamburger { display: block; }
  .btn--apply { display: none; }          /* ボタンはドロワー内へ */
  .drawer__apply { display: block; }      /* ドロワー版ボタン */
  .hero{
    height: auto;
  }
  .hero__slider{
    aspect-ratio: 16/9;
    height: auto;
  }
  .title{
    height: auto;
  }
}

@media (min-width: 769px) {
  .drawer__apply { display: none; }   /*PC ではドロワー不要*/ 
}


/*コラム*/
.cnt {
  text-align: center;
}
.nmlWth {
	margin:0 auto;
	padding: 20px;
	background-color: rgba(256,256,256,0.85);
  max-width:1000px;
  text-align: left;
  display: block;
}
.txtArea {
	padding:10px 30px ;
  width: 100%;
  margin-bottom: 30px;
}

.txtAreaO {
	background-color: rgba(256,256,256,0.85);
	padding:10px 30px ;
  width: 100%;
  text-align: left;
  margin-bottom: 10px;
}

/* 　見出し　*/
.heading {
	padding: 6px;
	color: #fff;
	background-image: -webkit-linear-gradient(109deg, #9A72E9, #3D9CC2 11%, #3DC8C2 35%, #3D9CC2 70%, #C57DE9 100%);
  background-image: linear-gradient(109deg, #9A72E9, #3D9CC2 11%, #3DC8C2 35%, #3D9CC2 70%, #C57DE9 100%);
  text-align: center;
}

img {
  vertical-align: middle;
}

.imgArea {
  background-color: rgba(256,256,256,0.85);
}
.imgAreaS {
  max-width: 49%;
}
.imgAreaS img{
  max-width: 100%;
}
/* スケジュールと応募の流れ */
.flexArea {
	display: flex;
  max-width: 810px;
  margin: 0 auto;
}
.schedule h3 {
	position: relative;
	flex: 0 0 15%;
	padding-bottom: 60px;
	margin-top: -6px;
}
h3 img{
	width: 100%;
}

.txtAreaS {
	background-color: rgba(256,256,256,0.85);
	padding:0 30px ;
  width: 100%;
  margin-bottom: 30px;
}
.txtAreaS p{
  font-size: 1.5rem;
  padding: 10px 10px;
}
.nmlWTP {
	margin:0 auto;
  max-width: 1000px;
}

.rightArea {
  width: 677px;
}
.flexArea dl {
  font-size: 1.5rem;
}
/* 　　　　　　　　　　応募フォーム 　　　　　　　　　*/
#touroku{
	font-size: 35px;
}
.formArea h3 {
	font-size: 35px;
}
.formArea h3::before {
}
.formArea {
	margin-top: 87px;
	text-align: center;
}
.formArea div {
}
.formArea input[type=text] {
}
.formArea input[type=submit] {
}
.formArea p {
}
a.btnt-c {
  font-size: 35px;
  position: relative;
  padding: 2rem 5rem 2rem 3rem;
  color: #fff;
  /* 既存のborder-radiusを上書きして角を丸くする */
  border-radius: 9999px !important; /* Tailwindのrounded-fullに相当 */
  background-image: -webkit-linear-gradient(
    335deg,
    #231557 0%,
    #44107a 25%,
    #ff1361 90%,
    #fff800 100%
  );
  background-image: linear-gradient(
    115deg,
    #231557 0%,
    #44107a 25%,
    #ff1361 90%,
    #fff800 100%
  );
  -webkit-box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none !important; /* 下線を削除 */
}

a.btnt-c span {
  position: relative;
}

a.btnt-c:before {
  position: absolute;
  border-radius: 9999px !important; /* Tailwindのrounded-fullに相当 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  background-image: -webkit-linear-gradient(
    335deg,
    #231557 0%,
    #44107a 15%,
    #ff1361 70%,
    #fff800 100%
  );
  background-image: linear-gradient(
    115deg,
    #231557 0%,
    #44107a 15%,
    #ff1361 70%,
    #fff800 100%
  );
}
a.btnt-c:hover {
  color: #fff;
}

a.btnt-c:hover:before {
  opacity: 0;
}

a.btnt-c:hover:after {
  right: 0.5rem;
}

.chui {
  background-color: rgba(256,256,256,0.85);
  padding: 10px 30px;
}
.chui h3 {
	font-size: 38.28px;
	text-align: center;
}
.chui ul {
  text-align: left;
}
.formArea h3 {
  color: var(--color-accent);
}

.shinsa h3{
  font-size: 30px;

}
.txtAreaTP {
		font-size: 20px;
    padding: 0 0 0 40px;
}
.txtTP{
  font-size: 35px;
  padding: 0 0;
  margin-top: 0;
  margin-bottom: 10px;
}
.gyouseki, .katagaki{
	font-size: 20px;
	padding: 0 20px 0 0;
}
p.katagaki {
  margin: 0;
}
.comment {
	font-size: 18px;
	padding: 0 20px 70px 10px;
	line-height: 1.3em;
}


#footer .btnArea {
	max-width: 740px;
	margin-top: 132px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

#footer .btnArea {
	margin-top: 40px;
	margin-bottom: 40px;
	text-align: center;
}
#footer .btn a {
	display: block;
	width: 100%;
	height: 100%;
	color: #fff;
  text-decoration: none !important; /* 下線を削除 */
}
#footer .nmlWth a{
  color: #333;
  text-decoration: none !important; /* 下線を削除 */
}
#footer .btn {
	padding: .25em;
	margin: .5em 0;
	text-align: center;
  font-size: 30px;
	background-image: linear-gradient(180deg, #3DC8C2 8%, rgba(59, 122, 210, 1));
	border-radius: 100px;
  width: 100%;
  max-width: 800px;
}

.logodai {
  width: 380px;
  margin: 0 auto;
  margin: 50px auto;
}