@charset "utf-8";

#contents {
	max-width: 1200px;
	margin: 40px auto 50px auto;
}

#under {
	margin: 100px 0 200px 80px;
}

@media screen and (max-width:768px){
	#contents {
		width: 100%;
		margin: 15px 0 30px 0;
		padding: 0 30px;
		border: none;
	}

	#under {
		margin: 70px 0 150px 0;
		text-align: center;
	}
}

/* タイトル */
h2.mainTtl {
	display: block;
	margin: 0 auto 20px auto;
	text-align: center;
	color: #B48A46;
	font-size: 4.8rem;
	font-weight: 600;
	font-family: 'Noto Serif JP', serif;
}
@media screen and (max-width:768px) {
h2.mainTtl {
	font-size: 2.8rem;
	margin: 0 auto 5px auto;
}
}

/***** 下層ページタイトル *****/
#page_ttl {
  padding: 2.8% 3% 0 3%;
  margin-bottom: 3.5%;
}

#page_ttl h2 {
  position: relative;
  color: #36211b;
  font-size: 4.2rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-family: 'Noto Serif JP', serif;
  line-height: 1;
  text-align: center;
}

#page_ttl h2::first-letter {
  position: relative;
  color: #cc0011;
  font-size: 6.7rem;
  line-height: 1;
  margin-right: 0.1rem;
}

#page_ttl h2.yh::first-letter {
  position: relative;
  color: #cc0011;
  font-size: 6.7rem;
  line-height: 1;
  margin-right: -0.5rem; /*YokohamaのYの右横の隙間を狭める*/
}

@media screen and (max-width:768px){
    #page_ttl {
      padding: 4% 0 2% 0;
    }
    #page_ttl h2 {
      position: relative;
      font-size: 1.8rem;
      font-weight: bold;
    }

    #page_ttl h2::first-letter {
      position: relative;
      color: #cc0011;
      font-size: 3rem;
      line-height: 1;
      padding-right: 0.1rem;
    }

    #page_ttl h2.yh::first-letter {
      position: relative;
      color: #cc0011;
      font-size: 3rem;
      line-height: 1;
      padding-right: 0.1rem;
    }

}

/***** 下層ページ内 タイトル見出し *****/

h3.ttl {
    font-family: 'Noto Serif JP', serif;
	margin-bottom: 25px;
	padding: 1% 2% 1.1% 2%;
	font-size: 2.8rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 1.4em;
	color: #fff;
	background-image: linear-gradient(90deg, rgb(167 126 60), rgb(199 164 108));
}

h4.caption {
    font-family: 'Noto Serif JP', serif;
	margin-bottom: 20px;
	padding: 10px 0;
	font-size: 3rem;
	color: var(--point-color);
	letter-spacing: 0.08em;
	border-bottom: 2px solid var(--point-color);
}

h5.sub_caption {
	margin: 20px 0 10px;
	padding-left: 15px;
	font-size: 2rem;
	font-weight: 500;
	border-left: 5px solid;
	border-color: var(--base-color);
	letter-spacing: 0.08em;
}

@media screen and (max-width:768px){
	h3.ttl {
		font-size: 1.8rem;
        margin-bottom: 15px;
        padding: 1.5% 3% 2.1% 3%;
	}
	
    h4.caption {
		font-size: 1.8rem;
        line-height: 1.4em;
    }

    h5.sub_caption {
 		font-size: 1.8rem;
   }

}

/***** ボックス *****/
.inner {
	margin-bottom: 40px;
}

#contents .inner:last-child {
	margin-bottom: 0;
}

.inner_item {
	margin-bottom: 40px;
}

.inner .inner_item:last-child {
	margin-bottom: 0;
}


/***** 画像 *****/
.fig {
	margin: 20px auto;
	text-align: center;
}

.fig img {
	width: 80%;
}

.medium_fig {
	width: 60%;
	margin-left: auto;
	margin-right: auto;
}

.half_fig {
	width: 50%;
	margin-left: auto;
	margin-right: auto;
}

.small_fig {
	width: 30%;
	margin-left: auto;
	margin-right: auto;
}

.fig_flex01{
	display: flex;
	justify-content: center;
	width: 60%;
	margin: 30px auto;
}

.fig_flex01 figure{
	max-height: 300px;
}

.fig_flex01 img{
	width: auto;
	 display: inline-block;
}

.fig_flex01 figure figcaption{
	text-align: center;
	margin-top: 5px;
}

@media screen and (max-width:768px){
.fig {
	margin: 15px auto;
}

.fig img {
	width: 100%;
}
	
.medium_fig {
	width: 100%;
	margin-left: 0;
}
	
.half_fig {
	width: 100%;
	margin-left: 0;
}
	
.small_fig {
	width: 50%;
	margin: 15px auto;
}

.fig_flex01{
	display: block;
	justify-content: center;
	width: 80%;
}

.fig_flex01 figure{
	width: 100%;
	max-height: inherit;
}

.fig_flex01 figure img{
	width: 100%;
}

}

/***** 番号 *****/
.number_dl dt {
	width: 1.5em;
	float: left;
	clear: left;
}

.number_dl dd {
	margin-bottom: 5px;
	padding-left: 1.5em;
}

.number_dl dd:last-child {
	margin-bottom: 0;
}

/***** 締め切り延長 *****/
@media screen and (max-width:768px){
.deadline td {
	display: block;
}

.deadline tr:nth-child(2) td:nth-child(1) {
	display: none;
}
}



/***** General Information *****/
.outline_dl {
	margin-bottom: 5px;
	display: flex;
}

.outline_dl dt {
	width: 150px;
	padding: 10px 20px;
	font-weight: bold;
	position: relative;
    font-family: 'Noto Serif JP', serif;
	color: var(--point-color);
	background: #f5f2e7;
}

.outline_dl dt:before {
    content: "";
    display: inline-block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 150px;
    height: 2px;
    border-radius: 5px 0 0 5px;
    background: var(--point-color);
}

.outline_dl dd {
	flex: 1;
	padding: 10px 0 20px 20px;
	position: relative;
}

.outline_dl dd:before {
    content: "";
    display: inline-block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    border-radius: 0 5px 5px 0;
    background: #ddd;
}

@media screen and (max-width:768px){
	.outline_dl {
		margin-bottom: 20px;
		display: block;
	}

	.outline_dl dt {
		width: 100%;
		margin-bottom: 10px;
		padding-bottom: 7px;
		font-weight: bold;
	}
	
    .outline_dl dt:before {
        content: "";
        display: inline-block;
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 2px;
        border-radius: 5px;
        background: #b48a46;
    }

	.outline_dl dd {
		padding: 0;
		border: none;
	}

    .outline_dl dd:before {
		display: none;
    }
	
}

