@charset "UTF-8";
html {
  scroll-behavior: smooth;
}
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap');

/* 	sakubun2024.css
============================================================================================== */

body {
	min-width: 100%;
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-weight: 400;
	color: #554600;
	font-size: 14px;
}

p {
	font-weight: 500;
}

img {
	max-width: 100%;
	height: auto;
}

.sp {
	display: none;
}

.pc {
	display: block;
}

.wrapper {
	background: none;
}

.wrapper .contentsbox {
	width: 100%;
}

.contentsbox.sakubun2024 {
	margin: 0 auto;
	width: 100%;
	overflow: visible !important;
}

.visual img {
	width: 100%;
}

.visual_header {
	background: #fff;
}

.visual_logo {
	display: flex;
	align-items: center;
	gap: 20px;
	max-width: 1000px;
	width: calc(100% - 40px);
	margin: auto;
	justify-content: space-between;
}

.visual_nav {
	max-width: 229px;
}

.visual_date {
	background: #35af36;
	text-align: center;
	color: #fff;
	font-size: clamp(1.25rem, 0.5rem + 3.75vw, 3.313rem);
	padding: 3px 10px 10px;
	font-weight: 500;
	letter-spacing: 0.05em;
	line-height: 1;
}

.visual_date span {
	font-size: clamp(0.875rem, 0.602rem + 1.36vw, 1.625rem);
}

.visual_deadline {
	border: 1px solid #fff;
	display: inline-block;
	padding: 5px;
	position: relative;
	top: -5px;
	margin: 10px 10px 0 15px;
}

.visual_date_north {
	letter-spacing: 0;
	font-size: 14px;
}

/* ボタン全体のラッパー */
.btn-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
  flex-wrap: nowrap;
}

/* ボタンの基本スタイル */
.btn {
  width: 300px;
  flex: 0 0 auto;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: visible;
}

/* ボタンリンクのスタイル */
.btn a {
  display: block;
  padding: 48px 10px 20px;
  font-size: clamp(1.125rem, 0.807rem + 1.59vw, 2rem);
  font-weight: 500;
  text-decoration: none;
  border-radius: 12px;
  color: #fff;
  transition: background-color 0.3s ease;
  background-color: #f88101;
  position: relative;
  z-index: 1;
}

/* アイコン共通スタイル */
.btn .icon {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.3s ease;
  z-index: 2;
}

/* アイコン個別指定 */
.icon-group {
  background-image: url(/images/2025/sakubun/btn_icon2.png);
}

.icon-person {
  background-image: url(/images/2025/sakubun/btn_icon3.png);
}

.icon-mail {
  background-image: url(/images/2025/sakubun/btn_icon.png);
}

/* アニメーション */
.btn:hover .icon {
  animation: poyopoyo 1.5s ease-out infinite;
}

/* 色分け */
.btn-web-group a {
  background-color: #007acc;
}
.btn-web-group a:hover {
  background-color: #005fa3;
}

.btn-web-person a {
  background-color: #2ca85e;
}
.btn-web-person a:hover {
  background-color: #218c4c;
}

/* トップへ戻るボタン */
.btn_top {
  width: 300px;
  margin: 40px auto 60px;
  text-align: center;
}
.btn_top a {
  display: block;
  background: #000;
  color: #fff;
  padding: 14px 20px;
  font-size: 1.25rem;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.btn_top a:hover {
  background-color: #333;
}

/* 申込方法説明ボタン */
.btn_about {
  width: 300px;
  margin: 40px auto 60px;
  text-align: center;
}
.btn_about a {
  display: block;
  background: #ff0000;
  color: #fff;
  padding: 14px 20px;
  font-size: 1.25rem;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.btn_about a:hover {
  background-color: #FB5555;
}

.entry-methods {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
}

.entry-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  padding: 20px;
  font-size: 16px;
  line-height: 1.7;
}

.entry-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #554600;
}

.entry-card ol {
  padding-left: 20px;
  margin-bottom: 15px;
}

.entry-card ol li {
  margin-bottom: 20px;
}

/* ✅ ulの番号を完全に消して黒丸にする */
.entry-card ol ul {
  list-style-type: disc !important;
  list-style-position: inside;
  margin-top: 8px;
  margin-left: 1.5em;
  padding-left: 0;
}

.entry-card ol ul li {
  margin-bottom: 5px;
  list-style-type: disc !important;
  counter-reset: none !important;
}

/* 見出しと補足 */
.entry-card strong {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.entry-card p {
  margin: 5px 0;
}

.entry-card .note {
  font-size: 0.9em;
  color: #666;
  margin-top: 5px;
  line-height: 1.5;
}

/* ボタン */
.entry-card a.btn-small {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  border-radius: 5px;
  text-decoration: none;
}

/* ステップ見出し */
.step-title {
  font-weight: bold;
  display: inline;
}

/* ✅ 画面幅で切り替え：スマホでは縦並び */
@media screen and (max-width: 1023px) {
  .btn-group {
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 24px;
  }

  .btn:last-child {
    margin-bottom: 0;
  }

  .btn a {
    width: 100%;
  }
}

/* 共通スタイル */
.btn-small {
  display: inline-block;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

/* 個別色指定 */
.btn-orange {
  background-color: #f7941d;
}
.btn-orange:hover {
  background-color: #e67c00;
}

.btn-blue {
  background-color: #007acc;
}
.btn-blue:hover {
  background-color: #005fa3;
}

.btn-green {
  background-color: #2ca85e;
}
.btn-green:hover {
  background-color: #218c4c;

}
a.btn-small {
  color: #fff !important;
}


@keyframes poyopoyo {

	0%,
	40% {
		transform: skew(0deg, 0deg);
	}

	5% {
		transform: skew(5deg, 5deg);
	}

	10% {
		transform: skew(-4deg, -4deg);
	}

	15% {
		transform: skew(3deg, 3deg);
	}

	20% {
		transform: skew(-2deg, -2deg);
	}

	25% {
		transform: skew(1deg, 1deg);
	}

	30% {
		transform: skew(-0.6deg, -0.6deg);
	}

	35% {
		transform: skew(0.3deg, 0.3deg);
	}
}

.c-box {
	background: #f8f9f9;
	border-radius: 10px;
	box-shadow: 0 0 5px rgba(0, 0, 0, .3);
	position: relative;
	padding: 50px 50px 0;
	margin-bottom: 60px;
}

.c-title {
	display: block;
	position: absolute;
	height: 40px;
	line-height: 40px;
	text-align: center;
	padding: 0 20px;
	font-size: 24px;
	background: #f78201;
	color: #FFF;
	top: -20px;
	left: 0;
	right: 0;
	margin: auto;
	width: fit-content;
	font-weight: 500;
}


.c-title:before,
.c-title:after {
	position: absolute;
	top: 0;
	width: 0px;
	height: 0px;
	border-color: #f78201 transparent;
	border-style: solid;
	content: '';
}

.c-title:before {
	left: -10px;
	border-width: 20px 0px 20px 10px;
	transform: translateX(1px);
}

.c-title:after {
	right: -10px;
	border-width: 20px 10px 20px 0;
	transform: translateX(-1px);
}

.detail {
	padding: 60px 0 0;
	background: url(../images/2024/sakubun/bg.png) repeat-y center top / cover;
}

.detailin {
	max-width: 1000px;
	width: calc(100% - 40px);
	margin: auto;
}

.intro {
	background: url(../images/2024/sakubun/bg_detail.png) repeat-y top center / cover;
	height: 251px;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	padding: 80px 50px 20px;
	margin: 0 0 60px;
	box-shadow: 0 0 5px rgba(0, 0, 0, .3);
	box-sizing: border-box;
}

.intro_ribon {
	position: absolute;
	top: -10px;
}

.intro_title {
	display: inline-block;
	border-bottom: 1px solid;
	padding-bottom: 10px;
	margin-bottom: 5px;
}

.intro_date {
	text-align: center;
	font-size: clamp(1.875rem, 1.42rem + 2.27vw, 3.125rem);
	padding: 3px 10px 10px;
	font-weight: 500;
	letter-spacing: 0.05em;
	line-height: 1;
}

.intro_deadline {
	background: #554600;
	color: #fff;
	display: inline-block;
	padding: 10px;
	position: relative;
	top: -5px;
	margin: 10px 10px 0 15px;
}

.intro_date span {
	font-size: clamp(0.875rem, 0.602rem + 1.36vw, 1.625rem);
}

.judgein {
	background: url(/images/2025/sakubun/agunes_pc.png) no-repeat left top;
	background-size: 200px 260px;
	padding: 0 0 70px 230px;
	box-sizing: border-box;
}

.judgein_agunes {
	width: 211px;
	max-width: 30%;
}

.judgein h3 {
	font-size: clamp(1.25rem, 1.023rem + 1.14vw, 1.875rem);
	font-weight: 500;
	border-bottom: 1px dotted;
	margin-bottom: 10px;
}

.judgein p {
	line-height: 1.8;
}

.award {
	padding-bottom: 50px;
}

.award h3 {
	position: relative;
	text-align: center;
	margin-bottom: 15px;
}

.award h3 span {
	font-size: 20px;
	display: inline-block;
	padding: 0 15px;
	background: #f8f9f9;
	position: relative;
	z-index: 1;
	font-weight: 500;
}

.award h3::after {
	content: "";
	width: 100%;
	border-bottom: 1px dotted;
	position: absolute;
	top: 50%;
	left: 0;
}

.award_intro {
	margin-bottom: 20px;
	text-align: center;
	line-height: 1.8;
}

.award_intro span {
	color: #e6002d;
}

.award_box {
	display: flex;
	justify-content: space-between;
	gap: 30px;
}

.award_card {
	background: #fdd000;
	display: flex;
	gap: 20px;
	width: 100%;
	border-radius: 10px;
	padding: 0 20px 20px;
}

.award_icon {}

.award_text {
	padding: 10px 0 0;
	font-weight: 500;
	width: calc(100% - 80px);
}

.award_text h4 {
	font-size: 18px;
	font-weight: 500;
	border-bottom: 1px dotted;
	padding-bottom: 5px;
	margin-bottom: 5px;
	letter-spacing: 0.05em;
}

.award_text h4 span {
	font-size: 14px;
}

.award_text .award_capacity {
	font-size: 24px;

}

.award_text p {
	font-size: 18px;
}

.award_attention {
	margin: 5px 0 40px;
	text-align: right;
	font-size: 12px;
}

.award_attention2 {
	margin: 5px 0 0;
	font-size: 12px;
}

.award_choice {
	display: block;
	line-height: 1;
	margin-bottom: 5px;
}

.award_text dl {
	display: flex;
	flex-wrap: wrap;
	align-items: start;
	gap: 10px;
	margin-top: 10px;
}

.award_text dt {
	background: #fff;
	padding: 0 10px;
}

.about {
	padding-bottom: 30px;
}

.about tr {
	border-bottom: 1px dotted;
}

.about tr:last-of-type {
	border-bottom: none;
}

.about th {
	width: 150px;
}

/* 応募セクション専用装飾 */
tr.mail-entry{
  background-color: #fff4e5;
}
tr.school-entry{
  background-color: #f0f8ff;
}
tr.personal-entry {
  background-color: #e6ffe6;
}

tr.mail-entry th,
tr.mail-entry td,
tr.school-entry th,
tr.school-entry td,
tr.personal-entry th,
tr.personal-entry td {
  padding: 20px 24px;
  vertical-align: top;
  line-height: 1.8;
  font-weight: 500;
}

.about th,
.about td {
	padding: 12px 0;
	line-height: 1.8;
	font-weight: 500;
}

.about ol li {
	list-style-type: none;
	counter-increment: cnt;
}

.about ol li::before {
	content: "("counter(cnt) ") ";
}

.losnon {
	width: 100%;
	border-top: 1px dotted;
	margin-top: 60px;
}

.losnon .content_area {
	border: none;
	max-width: 1000px;
	width: calc(100% - 40px);
	height: auto;
	margin: auto;
	padding: 15px 0;
	font-size: clamp(0.75rem, 0.614rem + 0.68vw, 1.125rem);
}

.losnon .content_area p span {
	color: #e6002d;
}

.losnon .content_area p::after {
	content: "";
	display: block;
	clear: both;
}

.losnon .content_area p img {
	margin: 0 20px 0 0;
	float: left;
}

.footer {
	background-color: #35af36;
}

.footerin {
	max-width: 1000px;
	width: calc(100% - 40px);
	margin: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footerin p {
	color: #fff;
	font-size: 14px;
}

.sns {
	float: none;
	height: 22px !important;
}

.sns li {
	width: auto;
}

.footer_fix {
	position: fixed;
	bottom: 50px;
	right: 0;
}

.footer_fix a {
	padding: 20px 15px;
	font-size: clamp(1rem, 0.818rem + 0.91vw, 1.5rem);
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	border-radius: 10px 0 0 10px;
	text-decoration: none;
	width: 57px;
	box-sizing: border-box;
}

.footer_fix a span {
	display: block;
	position: relative;
}

.footer_fix a span::before {
	right: 0px;
	left: 0;
	margin: auto;
	top: -40px;
	width: 36px;
	height: 36px;
}

.download_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
  padding-bottom: 30px; /* セクション下に余白を追加 */
}

.download_item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  font-weight: 500;
  color: #554600;
  transition: box-shadow 0.3s ease;
}

.download_item:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.download_item img {
  width: 100px;
  height: auto;
  margin-bottom: 10px;
}

.download_item h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.download_item p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.download_item a.btn-small {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background-color: #007acc;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.download_item a.btn-small:hover {
  background-color: #005fa3;		
}

.download_grid .download_item img {
  width: 100px;
  height: auto;
  margin-bottom: 10px;
}

@media screen and (max-width: 767px) {
	.sp {
		display: block;
	}

	.pc {
		display: none;
	}

	.btn_top {
		margin-bottom: 30px;
	}
	
	.btn_about {
		margin-bottom: 30px;
	}	
	
	.c-title {
		font-size: 16px;
		height: 30px;
		line-height: 30px;
		top: -15px;
	}

	.c-title::before {

		border-width: 15px 0px 15px 10px;
	}

	.c-title::after {

		border-width: 15px 10px 15px 0;
	}

	.c-box {
		padding: 30px 20px 0;
		margin-bottom: 40px;
	}

	.visual_logo {
		width: calc(100% - 20px);
	}
	
	.judgein {
		background: url(/images/2025/sakubun/agunes_sp.png) no-repeat center bottom 10px / 100px;
		padding: 0 0 165px;
	}
	
	.judgein h3 {
		text-align: center;
		padding-bottom: 8px;
		margin-bottom: 12px;
	}

	.judgein p {
		line-height: 1.5;
		font-size: 13px;
	}

	.visual_header {
		padding: 10px 0;
	}

	.visual_date {
		padding-top: 10px;
	}

	.visual_deadline {
		padding: 2px 10px;
		margin: 0 5px 0 0;
	}

	.visual_date_north {
		font-size: 12px;
		line-height: 1.2;
	}

	.detail {
		padding-top: 30px;
	}

	.intro {
		padding: 45px 30px 35px;
		height: auto;
		margin-bottom: 40px;
		background: url(../images/2024/sakubun/bg_detail.png) repeat-y left center / contain;
	}

	.intro_ribon {
		width: 80%;
	}

  .intro_date {
    padding-bottom: 0;
  }

  .intro_date time {
    font-size: 22px;           /* ← 画面幅に収まるように調整 */
    white-space: nowrap;       /* ← 改行を防ぐ */
    letter-spacing: 0;         /* ← 詰まりすぎる場合は微調整可能 */
  }

  .intro_date span {
    font-size: 16px;           /* ← 「年」「月」「日」などの補助文字も調整 */
  }
	
/*	
	.intro_date {
		padding-bottom: 0;
	}
	*/

	.intro_date_north {
		font-size: 12px;
		text-align: center;
	}

	.award h3 span {
		font-size: 16px;
	}

	.award_box {
		flex-wrap: wrap;
		gap: 10px;
	}

	.award_card {
		padding: 0 15px 12px;
		gap: 10px;
	}

	.award_text {
		width: calc(100% - 50px);
		padding: 5px 0 0 0;
	}

	.award_icon {
		width: 40px;
	}

	.award_text h4 {
		font-size: 16px;
		line-height: 1.2;
	}

	.award_text h4 span {
		font-size: 10px;
	}

	.award_text p {
		font-size: 14px;
	}

	.award_attention {
		text-align: left;
		font-size: 10px;
		margin-bottom: 30px;
	}

	.award_attention2 {
		font-size: 10px;
		margin-bottom: 0;
		padding-bottom: 20px;
	}

	.award_intro {
		font-size: 12px;
	}

	.award_text dl {
		gap: 5px;
	}

	.award_text dt,
	.award_text dd {
		font-size: 12px;
	}

	.about th {
		width: 80px;
		font-size: 13px;
		padding-right: 5px;
	}

	.about td {
		font-size: 13px;
		line-height: 1.5;
	}

	.losnon {
		margin-top: 40px;
	}

	.footerin {
		display: block;
	}

	.sns {
		margin: 10px 0 0;
	}

	.footer_fix {
		bottom: 20px;
	}

	.footer_fix a {
		width: 40px;
		padding: 10px;
	}

	.footerin p {
		font-size: 12px;
	}

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

  .download_item {
    padding: 15px;
  }

  .download_item img {
    width: 80px;
  }

  .download_item h3 {
    font-size: 1rem;
  }

  .download_item p {
    font-size: 13px;
  }

  .entry-card {
    font-size: 14px;
    padding: 15px;
  }

  .entry-card h3 {
    font-size: 18px;
  }

  .entry-card ol li {
    margin-bottom: 15px;
  }

  .entry-card ul li {
    margin-bottom: 4px;
  }

  .entry-card a.btn-small {
    width: 100%;
    box-sizing: border-box;
  }
}	