@charset "UTF-8";

/* 共通部分
------------------------------- */
html {
    font-size:100%;
}
body{
    font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
    line-height: 1.5;
    color: #432;
}
header {
    margin-bottom: 20px;
    padding: 1% 5%;
 
}
header p {
    font-size:0.8rem;
}
h1{
	font-size: 1.6rem;
	font-weight:bold;
}
h2{
	font-size: 1.4rem;
	font-weight:bold;
}
h3{
	font-size: 1.2rem;
	font-weight:bold;
}
h4{
	font-size: 1.1rem;
	font-weight:bold;
}
.home-content {
	max-width: 1000px;
	}
.home-content h1{
	font-size: 1.6rem;
	font-weight:bold;
	}

/* リンク設定 */
a:link {
    text-decoration: none;
    color:#4169e1;
}
a:visited {
    text-decoration: none;
    color:#6a5acd;
}
a:hover {
    text-decoration: underline;
    color:#6495ed;
}
a {
 word-break: break-all;
}
img {
    max-width: 100%;
}

.wrapper {
    /*max-width: 1000px;*/
    margin: 0 auto;
    /*padding: 0 10%;*/
}
/* フォント設定 */
.f-c-bl{
	color:#0066CC;
	}
.f-c-dbl{
	color:#006699;
	}
.f-c-idr{
	color:#cd5c5c;
	}
.f-c-gry{
	color:#808080;
	}
.text_underline{
	text-decoration:underline;
	}
.f_l1_gr{
	font-size: 1.2rem;
	font-weight:bold;
	color:#006400;
	}
.f-s-0-9{
	font-size: 0.9rem;
	}
.f-s-1-2{
	font-size: 1.2rem;
	}
.f-s-1-4{
	font-size: 1.4rem;
	}
.f-weight-b {
	font-weight: bold;
	}
.boardtitle {
    font-size:1.1rem;
    font-weight: bold;
color:darkslategray;
}
/* ナビ設定 */
nav{
	border-bottom: 1px solid #808000;
	margin-bottom: 20px;
}
nav ul.nav-menu {
    list-style-type: none; /* デフォルトの箇条書きスタイルを消す */
    padding: 0;
    margin: 0 0 0 20;
    display: flex; /* フレックスボックスで横並びにする */
    justify-content: flex-end;
}

nav ul.nav-menu li {
    margin-right: 20px;/* 各メニュー項目の間にスペースを追加 */
    margin-bottom: 0px;
}

nav ul.nav-menu li a {
    text-decoration: none; /* アンダーラインを消す */
    color: #333; /* リンクの色を設定 */
}
/* 段落装飾設定 */
.sec-name h4 {
  position: relative;
  border-bottom: 3px solid #c0c0c0;
  width: 50%;
}

.sec-name h4:before {
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 30%;
  height: 3px;
  content: '';
  background: #778899;
}

/* レイアウト設定 */
.home-content{
	width:100%;
	margin: 0 auto;
    padding: 0 6%;
	}

.home-content p {
    margin: 0px 0 5 0px;
    padding:5px;
}
.container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}
.item {
    background: #dbedf0;
    color: #4699ca;
    padding: 10px;
}
.container1 {
	display: flex;
	justfy-content: space-between;
	}
.item1-1 {
	flex: 0 0 80%;
	}
.item1-2 {
	flex: 1;
	}
.container2 {
	display: flex;
	justfy-content: space-around;
	text-align:center;
	}
.container2 img {
    max-width: 250px;
}
.item2 {
	flex: 1;
	}
.text-right{
	text-align:right;
}
.text-center{
	text-align:center;
}
.txtind{
        margin-left: 30px;
}
.txtind2{
    text-indent: -16px; 
    margin-left: 16px;
}
ul {
    /*list-style-position: inside;  ドットをボックス内に配置 */
    padding: 10px 0px 0px 10px;/* 上 右 下 左 */
    margin: 10px;
    padding-bottom: 20px;
}
ul li{
    margin-bottom: 10px;
}
ol {
    /*list-style-position: inside;  ドットをボックス内に配置 */
    padding: 10px 15px 20px 25px; /* 上 右 下 左 */
    margin: 5px;
}
ol li{
    margin-bottom: 10px;
}
.ex-olstyle ol {list-style-type: cjk-ideographic;}
/* 丸囲み数字リスト番号 */
.ol-circle ol {
	list-style-type: none;
	counter-reset: number;/* カウンターを初期化 */
	}
.ol-circle li {
	position: relative;
	}
/* beforeでカウンターを作成 */
.ol-circle li::before {
	content: counter(number);
	counter-increment: number;
	padding: 0 0.2em;
	}
.ol-circle li::after {/* afterで○を作る */
	content: '';/* 配置を調整 */
	position: absolute;
	display: block;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	width: 1em;/* ○を作る */
	height: 1em;
	border: 1px solid #000;
	border-radius: 50%;
	}
/* カッコつき数字リスト番号 */
.ol-kakko ol li {
	list-style-type: none;
	counter-increment: cnt;
	position: relative;
}
 
.ol-kakko ol li:before {
	content: "(" counter(cnt) ")";
	display: inline-block;
	margin-left: -3.5em; /* サイトに合せて調整 */
	width: 3em; /* サイトに合せて調整 */
	text-align: right;
	position: absolute;
	top: 0;
	left: 0;
}
blockquote{
    position:relative;
    border-left:2px solid #778899;
    padding-left:30px;
}
blockquote p{
    position:relative;
    padding-left:20px;
}	
	
/* マージン設定 */
.mg-0{
	margin:0px;
	}
.mg-top10{
	margin-top:10px;
	}
.mg-top20{
	margin-top:20px;
	}
.mg-btm10{
	margin-bottom:10px;
	}
.mg-btm20{
	margin-bottom:20px;
	}
.mg-topbtm5{
	margin-top:5px;
	margin-bottom:5px;
	}
.mg-topbtm10{
	margin-top:10px;
	margin-bottom:10px;
	}
.mg-left30 {
	margin-left:30px;
	}
.mg-left50 {
	margin-left:50px;
	}
.pg-10 {
	padding:10px;
	}
.pg-20 {
	padding:20px;
	}
.pg-left20 {
	padding-left:20px;
	}
.pg-left30 {
	padding-left:30px;
	}
.pg-left40 {
	padding-left:40px;
	}
.pg-left50 {
	padding-left:50px;
	}
.pg-left70 {
	padding-left:70px;
	}
.pg-left80 {
	padding-left:80px;
	}
.pg-left200 {
	padding-left:200px;
	}
.pg-top30 {
	padding-top:30px;
	}
.pg-btm30 {
	padding-bottom:30px;
	}
/* セクション背景色設定 */
.s-bg1 {
	background-color:#f4f4ff;
	}
.s-bg2 {
	background-color:#f5f5dc;
	}
.s-bg3 {
	background-color:#F5F5F5;
	}
.s-bg4 {
	background-color:#FFFFF0;
	}
.s-border {
    border: 1px solid;
    }
}
/* 下罫線設定 */
.border-btm l{
	border-bottom: 1px solid #808000;
	}
.border-btm-m {
	border-bottom: 1px solid #808000;
	width:50%;
	}
.border-btm-s {
	border-bottom: 1px solid #808000;
	width:30%;
	}
.border-btm-l-dot {
	border-bottom: 1px dotted #808000;
	}
.border-btm-l-dot2 {
	border-bottom: 2px dotted #808000;
	}
.border-btm-m-dot {
	border-bottom: 1px dotted #808000;
	width:50%;
	}
.border-btm-m-dot2 {
	border-bottom: 2px dotted #808000;
	width:50%;
	}
.border-btm-s-dot {
	border-bottom: 1px dotted #808000;
	width:30%;
	}
.border-btm-s-dot2 {
	border-bottom: 2px dotted #808000;
	width:30%;
	}
/* 記事部分 */
article p{
    margin-bottom: 20px;
}

/* footer設定 */
footer {
	background: #432;
    text-align: center;
    margin-top: 20px;
    margin-bottom:20px;
    padding: 2%;
	}
footer p{
    color: #fff;
    font-size:0.785rem;
}
footer a:link{
    color: #fff;
    text-decoration: none;
}
footer a:visited{
    color: #fff;
    text-decoration: none;
}




@media screen and (max-width: 600px) {
  /*　画面サイズ 600pxまで適用　*/
h1{
	font-size: 4.6vw;
	font-weight:bold;
}
h2{
	font-size: 3.8vw;
	font-weight:bold;
}
h3{
	font-size: 3.4vw;
	font-weight:bold;
}
h4{
	font-size: 3.0vw;
	font-weight:bold;
}
header .container1 {
	display: flex;
	flex-direction: column;
	}
nav{
	margin: 10 0;
	border:none;
}
nav ul.nav-menu {
	flex-direction: column; /* 縦並びに変更 */
	}

nav ul.nav-menu li a{
	display: block;/*block要素指定*/
	width:100%;
    margin:1px 0px 1px 10px;
	padding:8px;
    color:#ffffff;
    background-color: cadetblue;
	}
.home-content p {
    font-size: 1.0rem;
    margin: 0px 0 5 0px;
}
}