/* =================================
------------------------------------
  Riddle - Portfolio
  Version: 1.0
 ------------------------------------ 
 ====================================*/

/*------------------------
  events メインビジュアル
--------------------------*/
#header-container {
	background-color: #FFF;
}

#events-photo-section {
	top:0;
    left: 0;
	position: fixed;
	display: block;
	height: 800px;
	width: 100%;
	background:url("../img/second/bg-events.jpg")top center no-repeat;
	background-size:cover;
	animation: fadeIn 3.5s ease 0s 1 normal;
    -webkit-animation: fadeIn 3.5s ease 0s 1 normal;
	z-index: -10;!important;
}
@media only screen and (max-width: 750px) {
#events-photo-section {
	top:100px;
	height: 500px;
	background:url("../img/second/bg-events_sp.jpg") no-repeat;
	background-size:contain;
	background-color: #194f9c;
}
}

/*------------------------
  events-introduction
--------------------------*/
#events-introduction {
	max-width: 1300px;
	width: 98%;
	margin-top:-100px;
	background: #FFFFFF;
	position:relative;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 30px;
	display: block;
}
@media only screen and (max-width: 750px) {
#events-introduction {
	width: 100%;
}
}
#events-introduction h3 {
	width: 100%;
	padding: 60px 20px 0;
	font-size: 3.0rem;
	line-height: 1.4;
	letter-spacing: 0.07em;
	font-family: yu-mincho-pr6n, sans-serif;
	box-sizing:border-box;/*paddingでwidthを広げない処理*/
}
@media only screen and (max-width: 750px) {
#events-introduction h3 {
	font-size: 2rem;
	padding: 40px 5px 0px;
	letter-spacing: 0.07em;
}
}
#events-introduction h4 {
	font-size: 2.2rem;
	line-height: 1.4;
	padding: 10px 0 0;
	letter-spacing: 0.07em;
	font-family: yu-mincho-pr6n, sans-serif;
	box-sizing:border-box;/*paddingでwidthを広げない処理*/
}
@media only screen and (max-width: 750px) {
#events-introduction h4 {
	font-size: 1.7rem;
	padding: 5px 0 5px;
	letter-spacing: 0.07em;
}
}
#events-introduction p {
	padding: 20px 80px 0px;
	font-size: 1.6rem;
	font-family: yu-mincho-pr6n, sans-serif;
	line-height: 2;
}
@media only screen and (max-width: 750px) {
#events-introduction p {
	font-size: 1.3rem;
	padding: 10px 20px 0;
	text-align: left;
	line-height: 1.5;
}
}

/*------------------------
  events-contents
--------------------------*/

.events-contents-container {
	max-width: 1300px;
	width: 98%;
	background: #FFF;
	margin-left: auto;
	margin-right: auto;
	box-sizing:border-box;/*paddingでwidthを広げない処理*/
	padding: 10px 60px 30px;
}
@media only screen and (max-width: 750px) {
.events-contents-container {
	width: 100%;
	padding: 10px 20px;
}
}
.events-contents-outer {
	width: 100%;
	display: flex;
 	justify-content: center;
 	align-items: top;
	padding: 10px 0 20px 0;
	box-sizing:border-box;/*paddingでwidthを広げない処理*/
}
@media only screen and (max-width: 750px) {
.events-contents-outer {
	flex-direction: column;/*display: flex;を縦並びに*/
	padding: 0 0 20px 0;
}
}

.youtube-outer {
	width: 50%;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 40px;
}
@media only screen and (max-width: 750px) {
.youtube-outer {
	width: 95%;
	margin: 5px auto 20px;
}
}
.youtube-outer h4 {
	font-size: 1.2rem;
	color: #0f366d;
	letter-spacing: 0.1em;
	line-height: 3;
}

/*------------------------
  swiper
--------------------------*/
/* 全体のスタイル */
.swiper-wrapper {
	width: 100%;
	height: auto;
}
/* 全スライド共通スタイル */
.swiper-slide {
	color: #000;
	width: 100%;
	height: auto;
	text-align: center;
}
.swiper-slide p{
	padding: 0px 20px 2px;
	font-size: 4rem;
	font-family: yu-mincho-pr6n, sans-serif;
	line-height: 1;
}
.swiper-slide p span{
	font-size: 2.4rem;
	padding-left: 2px;
	vertical-align: 2px;
}
.swiper-inner {
	color: #000;
	width: 100%;
	height: 410px;
	background-color: #ececec;
	text-align: left;
	padding: 20px 25px;
	box-sizing:border-box;/*paddingでwidthを広げない処理*/
	font-size: 1.3rem;
}
@media only screen and (max-width: 350px) {
.swiper-inner {
	height: 320px;
	font-size: 1.2rem;
}
}
.swiper-inner img{
	width: 90%;
	padding: 5px 10px 15px 0;
}
.month-4{
	color: #f09495;
}
.line-4{
	border:solid #f09495;
	border-width:4px 0 0 0;
}
.month-5{
	color: #f7b249;
}
.line-5{
	border:solid #f7b249;
	border-width:4px 0 0 0;
}
.month-6{
	color: #b0d25e;
}
.line-6{
	border:solid #b0d25e;
	border-width:4px 0 0 0;
}
.month-7{
	color: #00b2ae;
}
.line-7{
	border:solid #00b2ae;
	border-width:4px 0 0 0;
}
.month-8{
	color: #00b4ed;
}
.line-8{
	border:solid #00b4ed;
	border-width:4px 0 0 0;
}
.month-9{
	color: #8f82bc;
}
.line-9{
	border:solid #8f82bc;
	border-width:4px 0 0 0;
}
.month-10{
	color: #ea609e;
}
.line-10{
	border:solid #ea609e;
	border-width:4px 0 0 0;
}
.month-11{
	color: #daac71;
}
.line-11{
	border:solid #daac71;
	border-width:4px 0 0 0;
}
.month-12{
	color: #f29a76;
}
.line-12{
	border:solid #f29a76;
	border-width:4px 0 0 0;
}
.month-1{
	color: #c6909e;
}
.line-1{
	border:solid #c6909e;
	border-width:4px 0 0 0;
}
.month-2{
	color: #91829d;
}
.line-2{
	border:solid #91829d;
	border-width:4px 0 0 0;
}
.month-3{
	color: #8fa889;
}
.line-3{
	border:solid #8fa889;
	border-width:4px 0 0 0;
}
.caution{
	font-size: 1.3rem;
	letter-spacing: 0.05em;
	line-height: 3;
}
@media only screen and (max-width: 750px) {
.caution{
	font-size: 1.2rem;
}
}

.pink_line {background:linear-gradient(transparent 60%, #F2B0D1 0%) ;}


/*------------------------
 学期別
--------------------------*/

.year-events {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 20px 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.event-block {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.event-image img {
  width: 100%;
  max-width: 620px;
  height: auto;
  display: block;
}

.event-text {
  display: flex;
  align-items: flex-start;
  max-width: 500px;
  text-align: left;
}

.text-inner {
  padding-left: 40px;
  text-align: left;
  width: 100%;
}

.event-text h2 {
  margin: 0 0 20px 0;
  display: flex;
  align-items: baseline; /* ← ベースライン揃え */
  line-height: 1;
  text-align: left;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.event-text .number {
  font-size: 4.6rem;
  font-weight: bold;
  line-height: 1;
  display: inline-block;
}

.event-text .label {
  font-size: 3rem;
  margin-left: 0.15em;
  line-height: 1;
  display: inline-block;
  /* vertical-align: top; ← 削除すること！ */
}

.semester1 h2 {
  color: #9c83aa;
}
.semester2 h2 {
  color: #7cb646;
}
.semester3 h2 {
  color: #de5d5d;
}

.event-text ul {
  list-style-type: disc;
  padding-left: 1.5em;
  font-size: 1.5rem;
  line-height: 1.9;
  color: #333;
  margin: 0;
  text-align: left;
}

/* スマホ対応：縦並び */
@media screen and (max-width: 768px) {
.year-events {
  margin: 0 auto;
  padding: 10px 20px 20px 10px;
}
  .event-block {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }

  .event-text {
    width: 100%;
    display: block;
    max-width: none;
  }

  .text-inner {
    padding-left: 0;
  }

  .event-image img {
    max-width: 100%;
  }
.event-text ul {
  list-style-type: disc;
  font-size: 1.2rem;
  line-height: 1.9;
}
}