@import url("base.css");

h1,
h2 {
	font-family: "游明朝", "YuMincho", "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;}
h3,
h4 {
	font-family: '游ゴシック体', 'YuGothic', '游ゴシック Medium', 'Yu Gothic Medium', '游ゴシック', 'Yu Gothic', "Yu Gothic UI", "Yu Gothic UI Semibold", 'Sawarabi Gothic', sans-serif;}

ul,
ol,
dt,
th,
td {font-family: '游ゴシック体', 'YuGothic', '游ゴシック Medium', 'Yu Gothic Medium', '游ゴシック', 'Yu Gothic', "Yu Gothic UI", "Yu Gothic UI Semibold", 'Sawarabi Gothic', sans-serif;
    list-style-type: unset;
}

.main_content {
    max-width: 1024px;
    margin: 0 auto;
}

.main p
{color: #342a0a;}

.menu-button {
    position: fixed;
    top: 2%;
    right: 2%;
}

.sec-header {
    text-align: center;
    margin-top: 100px;
}

.sec-header h1 {
    font-size: 30px;
    padding: 8px;
    letter-spacing: 0.4rem;
	color: #342a0a;
}

.left-border {
    border-left: 5px solid #AC8961;
}

.main h2 {
    color: #342a0a;
    padding: 16px;
    border-left: 5px solid #AC8961;
    background: #FEFBE8;
    line-height: 1.2;
    letter-spacing: 0.2rem;
}

.main h3 {
    color: #342a0a;
    font-family: 'Sawarabi Gothic';
    font-size: 18px;
    letter-spacing: 0.1rem;
}

.h3_bold {
	font-weight: 100;
	text-shadow: 
		0.3px 0.3px 0, 
		0.3px -0.3px 0px,
		-0.3px 0.3px 0,
		-0.3px -0.3px 0px,
		0.3px 0px 0px,
		0px 0.3px 0px,
		-0.3px 0px 0px,
		0px -0.3px 0px;
}

.main h4 {
	color: #342a0a;
	padding: 5px;
	border-left: 5px solid #342a0a;
	background: #EFEBE1;
	line-height: 1.2;
	letter-spacing: 0.1rem;
}

.main h5 {
	color: #342a0a;
	padding: 5px;
	background: #f2f6f7;
	line-height: 1.2;
	letter-spacing: 0.1rem;
}

.main img {
    width: 100%;
}

.main a {
	color: #342a0a;
	font-weight: 900;
	text-decoration: underline;
}

.main a:hover {
	color: rgba(245,123,17,1.00);
	text-decoration: underline;
}

.contents{
	margin-bottom: 40px;
}

#rightNav {
 width:248px;}

#right-gnav li{
	position: relative;
	height:40px;
	padding: 8px 0 8px 8px;
	font-size: 13px;
	color: #483909;
}

.list-group-item a{
	color: #483909;
	font-weight: 600;
	display: block;
}

#right-gnav li a:hover{
	color: #f29855;
	text-decoration: underline;
}

.list-group-item.active {
    z-index: 2;
	font-weight: bold;
    background-color: #d5bf8d;
    border-color: #d5bf8d;
}

.time-calendar {
	width:225px;
	height: 75px;
	text-align: center;
	letter-spacing: 0.1rem;
	font-size:10.5px;
	color:#483909;
	border-collapse: collapse;
	table-layout: fixed;
	border: 1px solid #876f4a;
}
.time-calendar td {
	border-bottom: 1px solid #876f4a;
}
.time-calendar th {
	background-color: #d5bf8d;
}
@media screen and (max-width: 768px) {
.sec-header h1{
	font-size: 22px!important;
}}
@media screen and (min-width: 768px) {
	.sec-header {
		margin-top: 128px;
	}
	
	iframe {
		width: 710px;
		height: 400px;
	}
}
	@media screen and (min-width: 991px) {
    .sec-header {
        margin-top: 177px;
    }

	iframe {
		width: 710px;
		height: 400px;
	}
	
/*
    .main img {
        width: 604px;
        margin-bottom: 24px;
    }
*/
}
.toc {
	border: 2px solid #e3e3e3;
	border-radius: 4px;
	padding: 16px;
	max-width: 700px;
	margin: 40px auto 20px;
  }
  
  .toc-title {
	font-weight: bold!important;
	color: #333!important;
    border-left:none!important;
    background:transparent!important;
	padding: 0!important;
  }
  
  .toc-list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	list-style: none;
	padding: 0;
	margin: 0;
  }
  
  .toc-list li {
	flex: 1 1 calc(33.333% - 12px);
	background-color: #ffffff;
	border: 1px solid #3AC1D6;
	border-radius: 6px;
	text-align: center;
	transition: background-color 0.3s, color 0.3s;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  }
  
  .toc-list li a {
	display: block;
	padding: 12px 8px;
	color: #3AC1D6;
	text-decoration: none;
	font-size: 14px;
	font-weight: bold;
  }
  
  .toc-list li:hover {
	background-color: #3AC1D6;
  }
  
  .toc-list li:hover a {
	color: #fff;
  }
  
  @media (max-width: 768px) {

	.toc {
		padding: 10px;
	margin: 20px auto 0;
	}
	.toc-title{
		font-size: 18px;
		margin-bottom: 15px;
	}
	.toc-list li {
		flex: 1 1 calc(50% - 12px);
	}
  
	.toc-list li a {
	  padding: 8px 6px;
	  font-size: 13px;
	}
  }
  .toc-list--2col li {
	flex: 1 1 calc(50% - 12px);
  }
  
  /* 5番目の要素を左側に固定 */
.toc-list--2col li:nth-child(5) {
	flex-basis: 100%;   /* 1列分全幅を確保 */
	max-width: calc(50% - 6px); /* 見た目は2カラム幅 */
	margin-right: auto; /* 左寄せ */
  }
	
  @media (max-width: 768px) {
	.toc-list--2col li {
	  flex: 1 1 100%;
	  max-width: 100%;
	}
  
	.toc-list--2col li:nth-child(5) {
	  flex-basis: 100%;
	  max-width: 100%;
	  margin-right: 0;
	}
  }
  
  
.flow_design10 {
	display: flex;
	justify-content: center;
	align-items: center;
  }
  
  .flow10 {
	padding-left: 0;
  }
  
  .flow10 > li {
	list-style-type: none;
	border: 2px solid #fae893;
	padding: 20px;
	border-radius: 20px;
  }
  
  .flow10 > li:not(:last-child) {
	margin-bottom: 40px;
	position: relative;
  }
  
  .flow10 > li:not(:last-child)::after {
	content: '';
	position: absolute;
	border: 20px solid transparent;
	width: 0;
	height: 0;
	bottom: -53px;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	border-top-color: #ffd500;
  }
  
  .flow10 > li dl dt {
	font-size: 1.3em;
	font-weight: bold;
	border-bottom: 2pt dashed #ccc;
	padding-bottom: 0.5em;
	margin-bottom: 0.5em;
  }
  
  .flow10 > li .icon10 {
	color: #ffbb00;
	margin-right: 0.5em;
  }
  
  .flow10 > li dl dd {
	margin: 0;
  }

  .qa-8 dt {
    margin-bottom: 1em;
    color: #333333;
	padding: 1em 1.5em;
    background-color: #FFF6D0;
    font-weight: 600;
}

.qa-8 dt::before,
.qa-8 dd::before {
    margin-right: .4em;
}

.qa-8 dt::before {
    content: "Q.";
}

.qa-8 dd {
    margin: 0 0 2.5em;
	padding: 1em 1.5em;
    color: #333333;
}

.qa-8 dd::before {
    content: "A.";
	font-weight: bold;
}
.risk-list ol {
		list-style: none;
		counter-reset: number;
		}
.risk-list li {
		position: relative;
		padding-left: 50px;
		margin-bottom: 10px;
		}
.risk-list li::before {
		counter-increment: number;
		content: '（' counter(number) '）';
		position: absolute;
		left: 0;
		}
}

@media screen and (min-width: 991px) {}

@media screen and (min-width: 1366px) {}
