﻿@charset "UTF-8";

/*=============================
		共通
=============================*/
body {
	-webkit-text-size-adjust: 100%;/* スマホレイアウト防止 */
	margin: 0px;
	padding: 0px;
	color:#000000;
	-webkit-font-smoothing: antialiased;
	font-family: "Zen Maru Gothic", serif;
}
img{max-width: 100%;
	height:auto;
	vertical-align:bottom;/* 隙間をなくす */
	}
.center{text-align: center;}
.right{text-align: right;}
li img,dt img,dd img{vertical-align:bottom;}/* 隙間をなくす */



/* PC表示・SP表示  ------------------*/
.pc { }
.sp { display:none;}
@media screen and (max-width: 600px) {
.pc{ display:none;}
.sp {display:block; }
}

/* ホバー  ------------------*/
.hover:hover{
	opacity:0.7;
	filter: alpha(opacity=70);
	transition-duration: 0.3s;
}
.hover2{background: #000;}
.hover2 img:hover{
	opacity: 0.9;	/* 小さくするほど暗くなります */
	transition-duration: 0.3s;
	padding:0px;
}

/* 魔法の呪文 ------------------*/
*, *::before, *::after {
    box-sizing: border-box;
}
p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}
ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}


/*=============================
	フェードイン
=============================*/
.fadein {
  opacity : 0;
  transform: translateY(20px);
  transition: all 1s;
}
/* 1番目の要素（標準：遅延なし） */
.fadein {
  /* 元々設定している transition に、一応遅延0秒を設定（上書き用） */
  transition-delay: 0s !important;
}

/* 2番目の要素：0.3秒遅らせる */
.fadein:nth-of-type(2) {
  transition-delay: 0.3s !important;
}

/* 3番目の要素：0.6秒（0.3秒のさらに倍）遅らせる */
.fadein:nth-of-type(3) {
  transition-delay: 0.6s !important;
}

/* 4番目の要素：0.9秒遅らせる */
.fadein:nth-of-type(4) {
  transition-delay: 0.9s !important;
}


/*=============================
　　文字を一文字筒表示アニメーション
=============================*/

/* アニメーションさせたい要素の初期設定 */
.fade-in-text {
  opacity: 1 !important; /* 元の要素は見せる */
}

/* JavaScriptで分割された、1文字ずつの<span>の初期設定 */
.fade-in-text span {
  display: inline-block; /* 1文字ずつ独立させる */
  opacity: 0;           /* 最初は透明 */
  transform: translateY(10px); /* 少し下から */
  transition: opacity 0.5s, transform 0.5s; /* 0.5秒かけてふわっと */
}

/* アニメーションが適用されたときの状態 */
.fade-in-text span.is-visible {
  opacity: 1;           /* 見えるように */
  transform: translateY(0); /* 元の位置に */
}



/*=============================
		文字の上に縦線
=============================*/

.animated-line {
  position: relative;
  text-align: center;
  /* 1. 線の長さに合わせて、文字が被らないように上の余白を広げる */
  padding-top: 110px; /* 線の長さ（80px）＋ 文字との隙間（30px） */
}

.animated-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  
  /* 2. ここで線の長さを好きな数値に伸ばす */
  height: 80px; /* ★ここを40pxから80pxに変更！ */
  
  background-color: #333;

  /* アニメーション設定（ここは元のままでOK） */
  transform-origin: top center;
  scale: 1 0;
  opacity: 0;
  transition: scale 0.8s ease, opacity 0.8s ease;
  transition-delay: 0.2s;
}

/* 画面に表示された時の動き（元のままでOK） */
.animated-line.fadein[style*="opacity: 1"]::before {
  scale: 1 1;
  opacity: 1;
}


/*=============================
		リンク
=============================*/
a{ outline: none;}
a:link,
a:visited {
	color: #0B79C4;
	font-weight: normal;
}
a:hover,
a:active {
	text-decoration: none;
	color: #7C7C7C;
}
a img {
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
}

/*=============================
		header
=============================*/
header{
	width: 100%;
	margin-top: 0px;
	background: #FFFFFF;
}
.header_in{
	width: 95%;
	max-width: 1300px;
	margin: 0 auto;
	padding: 0px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.header_r{
	width: 75%;
	margin-top: 0px;
	padding-top: 10px;
}
.logo{
	max-width: 220px;
	margin: 10px 0px;
}
.h_telmail{
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin-top: 5px;
}
.h_telmail li{
	text-align: center;
	max-width: 300px;
	margin-right: 10px;
}
.tel_txt{
	background: linear-gradient(135deg, #50b0e4 0%, #224682 100%);
	font-size: 17px;
	padding: 7px 30px 5px;
	margin-right: 20px!important;
}
.tel_txt a{
	color: #FFF;
	text-decoration: none;
}
.tel_txt i{padding-right: 10px;}

.sp_tel{border: none !important;}


@media screen and (max-width:1000px){
.header_in{height: 120px;}
.header_r{width: 10%;}
.logo{width: 35%;}
ul.h_telmail{display: none;}
}

@media screen and (max-width:600px){
.header_in{height: 90px;}
.logo{width: 60%;max-width: 150px;}
}

/* -------------------ヘッダーBTN　-------------- */
.mail_btn{
	background: #0B79C4!important;
	padding: 7px 25px;
	letter-spacing: 1px;
	border-radius: 40px;
	display: inline-block;
	color:#FFFFFF!important;
	font-size: 16px !important;
	font-weight: bold !important;
	transition: all .2s;/* ふんわり */
	text-decoration:none!important;
}
.mail_btn a:hove{
	background:#0B79C4;
}
.mail_btn:hover{
	opacity: 0.8;/* 透過 */
	filter: alpha(opacity=70);
	transition-duration: 0.3s;
}
.mail_btn i{padding-right: 5px;}


@media screen and (max-width:1000px){

}
/*SP メールボタン-----------------------------------------*/
.mail_sp{
border: none !important;
}
.mail_spbtn{
	background: #0B4898;
	padding: 1em 1em;
	font-size: 18px !important;
	font-weight: bold !important;
	border-radius: 60px;
	width: 80%;
	margin: 10px auto 0;
}
.mail_spbtn i{padding-right: 5px;}
.mail_spbtn a:link,
.mail_spbtn a:visited {
	color:#FFF!important;
	text-decoration:none;
}
.mail_spbtn li a:hover,
.mail_spbtn li a:active{
	color:#FFF!important;
}


/*=============================
		footer
=============================*/
footer{
	width: 100%;
	overflow: hidden;
	padding-bottom:5px;
	padding-top: 50px;
}	

.f_logo{
	text-align:center;
	margin:0 auto 50px;
	max-width: 250px;
}
.f_txt{
	font-size: 14px;
	line-height: 200%;
	text-align: center;
	margin: 0px auto 50px;
}

.f_copy{
	font-size:12px;
	text-align:center;
	padding:20px 0px 0px;
}

@media screen and (max-width: 600px) {
footer{
	width: 100%;
	overflow: hidden;
	padding-bottom:5px;
	padding-top: 50px;
	padding-bottom: 90px;
}
.f_logo{
	width:40%;
	margin:0 auto 10px;
	padding:0px;
}
.f_txt{
	font-size: 12px;
	line-height: 200%;
	text-align: center;
	margin: 0px auto 10px;
}
.f_copy{
	font-size:12px;
	padding:15px 0px 0px;
}
}

/*fooder_menu（もくじ）-----------*/
ul.f_menu{
	margin-top:20px;
	display:flex;
	justify-content:center;
	flex-wrap:wrap;
}
ul.f_menu li{
	text-align:center;
	font-size: 12px;
	line-height:130%;
	padding:0px 10px;
}
ul.f_menu li i{padding-right: 5px;}

ul.f_menu li a:link,
ul.f_menu li a:visited,
ul.f_menu li a:hover,
ul.f_menu li a:active {
	color:#000;
	text-decoration:none;
}
@media screen and (max-width: 700px) {
	ul.f_menu{display:none;}
}



/*fooder_SP-----------*/
.footer_sp{display: none;}
@media screen and (max-width: 800px) {
.footer_sp{
	display: block;
	position: fixed;
	bottom: 0px;
	background: #224682;
	padding: 0px;
	z-index: 1000;
	width: 100%;
	}
ul.footer_sp_menu{
	display: flex;
	align-items: flex-end;
}
ul.footer_sp_menu li{
	width: 25%;
	text-align: center;
	font-size: 12px;
	padding: 15px 0px 5px;
}
ul.footer_sp_menu li i{font-size: 25px;}


	
ul.footer_sp_menu li a:link,
ul.footer_sp_menu li a:visited {
	color: #fff;
	text-decoration: none;
}
ul.footer_sp_menu li a:hover,
ul.footer_sp_menu li a:active{
	color: #727272;
	text-decoration: none;
}
}
/*=============================
		BG
=============================*/
.bg_space{padding: 150px 0px 200px;}/*スペースのみ*/
.bg1{
	width: 100%;
	padding: 150px 0px;
	background: url("../img/base/bg2.jpg") bottom center no-repeat;
	background-size: cover;/* 画面いっぱいに表示 */
}
.bg2{
	width: 100%;
	padding: 250px 0px;
	background: url("../img/base/bg2.jpg") bottom center no-repeat;
	background-size: cover;/* 画面いっぱいに表示 */
}
@media screen and (max-width: 800px) {
.bg_space{padding: 100px 0px;}
.bg1{
	padding: 100px 0px;
	background-attachment: scroll; /* 固定を解除して通常表示にする */
}
.bg2{
	padding: 100px 0px;
	background-attachment: scroll; /* 固定を解除して通常表示にする */
}
}

/*=============================
		文字
=============================*/
.S{
	font-size:16px;
	line-height: 190%;
	color: #000000;
}
.S2{
	font-size:18px;
	line-height: 190%;
	color: #000000;
}
.S b{font-weight: bold;}
.M{
	font-weight: bold;
	color: #0B79C4;
	font-size: 23px;
	line-height: 160%;
	margin-bottom: 10px;
}
.L{
	font-weight: bold;
	color: #6b4017;
	font-size: 25px;
	line-height: 150%;
	margin: 0px 0px 20px;
}
.point{color:#F84400;}
.point2{color:#F84400;}
.red{color:#d5115f;font-weight: bold;}
.pink{color:#ec5d6f;}
.green{color:#1f8515;}
.blue{color:#0B79C4;}
.white{color:#FFF;}
.marker{background: linear-gradient(transparent 0%, #ffff66 0%);}
.sen{background: linear-gradient(transparent 60%, #FFFA7E 0%);}

@media screen and (max-width: 600px) {/*PC*/
.S{font-size:12px;line-height: 180%;}
.S2{font-size:16px;line-height: 180%;}
.M{font-size:15px;line-height: 150%;}
.L{font-size:18px;line-height: 180%;}
}


/*=============================
		title
=============================*/
.title1{
	text-align: center;
	margin-bottom: 50px;
}
.title1 h2{
	color: #04508c;
	font-size: 60px;
	font-weight: bold;
	font-family: 'Zen Antique', serif;/*google font*/
	margin-bottom: 15px;
	border-bottom:  solid 1px #04508c;
	display: inline-block;
	padding: 0px 30px 0px;
}
.title1 p{
	color: #04508c;
	font-size: 20px;
	letter-spacing: 2px;
}

@media screen and (max-width: 800px) {
.title1 h2{font-size: 40px;}
.title1 p{font-size: 16px;}
}

/*---------------------------白文字*/
.title2{
	text-align: center;
	margin-bottom: 50px;
}
.title2 h2{
	color: #FFFF;
	font-size: 60px;
	font-weight: bold;
	line-height: 150%;
	font-family: 'Zen Antique', serif;/*google font*/
	margin-bottom: 15px;
	border-bottom:  solid 1px #FFFF;
	display: inline-block;
	padding: 0px 30px 10px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.title2 p{
	color: #FFFF;
	font-size: 20px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
@media screen and (max-width: 600px) {
.title2 h2{font-size: 40px;}
.title2 p{font-size: 16px;}	
}




/*=============================
		title　（2nd用）
=============================*/

.title_2nd{
	font-family: 'Zen Antique', serif;/*google font*/
	color: #FFFFFF;
	background: linear-gradient(135deg, #50b0e4 0%, #224682 100%);
	font-size: 25px;
	padding: 8px 20px;
	margin-bottom: 30px;
	text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 800px) {
	.title_2nd{font-size: 22px;}
}

@media screen and (max-width: 500px) {
	.title_2nd{font-size: 18px;}
}

/*=============================
		big title
=============================*/
.big_title{
	text-align: center;
	font-size: 40px;
	color: #004180;
}
@media screen and (max-width: 600px) {
.big_title{
	text-align: center;
	font-size: 28px;
	color: #004180;
}
}

/*=============================
		PT ページタイトル
=============================*/

.pt{
	background:url("../vegas/slider2.jpg") no-repeat center center;
	background-size: cover; /*画面いっぱいに表示 */
	background-attachment: fixed;/* 背景位置固定 */
	padding: 130px 0px 190px; /*背景画像の高さを確保*/
	position: relative; /*中の要素の基準値*/
}
.pt2{
	background:url("../vegas/slider3.jpg") no-repeat center center;
	background-size: cover; /*画面いっぱいに表示 */
	background-attachment: fixed;/* 背景位置固定 */
	padding: 130px 0px 190px;  /*背景画像の高さを確保*/
	position: relative; /*中の要素の基準値*/
}
.pt3{
	background:url("../vegas/slider1.jpg") no-repeat center center;
	background-size: cover; /*画面いっぱいに表示 */
	background-attachment: fixed;/* 背景位置固定 */
	padding: 130px 0px 190px;  /*背景画像の高さを確保*/
	position: relative; /*中の要素の基準値*/
}
.pt4{
	background:url("../vegas/slider4.jpg") no-repeat center center;
	background-size: cover; /*画面いっぱいに表示 */
	background-attachment: fixed;/* 背景位置固定 */
	padding: 130px 0px 190px;  /*背景画像の高さを確保*/
	position: relative; /*中の要素の基準値*/
}
.pt5{
	background:url("../vegas/slider5.jpg") no-repeat center center;
	background-size: cover; /*画面いっぱいに表示 */
	background-attachment: fixed;/* 背景位置固定 */
	padding: 130px 0px 190px;  /*背景画像の高さを確保*/
	position: relative; /*中の要素の基準値*/
}
.pt6{
	background:url("../vegas/slider6.jpg") no-repeat center center;
	background-size: cover; /*画面いっぱいに表示 */
	background-attachment: fixed;/* 背景位置固定 */
	padding: 130px 0px 190px;  /*背景画像の高さを確保*/
	position: relative; /*中の要素の基準値*/
}
.pt:before,
.pt2:before,
.pt3:before,
.pt4:before,
.pt5:before,
.pt6:before{
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.3); /*半透明のフィルターをかける*/
}
.pt-inner {
  text-align: center;
  position: absolute;
  width: 100%;
}
.pt-inner h1{
	color: #FFFF!important;
	font-size: 45px;
	line-height: 160%;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
}
.pt-inner p{
	color: #FFF;
	font-size: 20px;
	line-height: 160%;
}

@media screen and (max-width: 600px) {
.pt,.pt2,.pt3,.pt4,.pt5,.pt6{
	padding: 50px 0px 120px; /*背景画像の高さを確保*/
	background-attachment: scroll;
}
.pt-inner h1{font-size: 30px;}
.pt-inner p{font-size: 18px;}
}


/*=============================
	配置
=============================*/
.m10{margin:10px;}
.m20{margin:20px;}

.mb10{margin-bottom:10px;}
.mb20{margin-bottom:20px;}
.mb30{margin-bottom:30px;}
.mb50{margin-bottom:50px;}
.mtb20{margin:20px 0px;}
.mt20{margin-top:20px;}


/*=============================
		ページTOPボタン
=============================*/
#page_top{
  width: 50px;
  height: 50px;
  position: fixed;
  right: 5%;
  bottom: 5%;
  background: #8B8B8B;
  opacity: 0.6;
  border-radius: 50%;
}
#page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -5px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
@media screen and (max-width: 1000px) {
#page_top{display: none;}
}


/*=============================
		ボタン（大）
=============================*/

/* 青色 */
.btn1{
	background: linear-gradient(135deg, #50b0e4 0%, #224682 100%);
	padding: 1.2em 3em;
	display: inline-block;
	text-decoration: none;
	font-size:18px;
	line-height: 130%;
	color:#FFFFFF!important;
	transition: all .2s;/* ふんわり */
}
.btn1 a:hover{
	color:#FFFFFF!important;
	text-decoration: none;
}
.btn1:hover{
	opacity: 0.8;/* 透過 */
	filter: alpha(opacity=70);
	transition-duration: 0.3s;
}
.btn1 i{padding-left: 10px;}

@media screen and (max-width: 600px) {
.btn1{
	font-size:16px;
	padding: 1em 3em;
	white-space: nowrap;
	}
.btn_mini i{padding-left: 3px!important;}
}


/* 白色 */
.btn2{
	background-color:#FFF;
	padding: 1.2em 3em;
	display: inline-block;
	text-decoration: none;
	font-size:18px;
	line-height: 130%;
	color:#000!important;
	transition: all .2s;/* ふんわり */
}
.btn2 a:hover{
	color:#FFFFFF!important;
	text-decoration: none;
}
.btn2:hover{
	opacity: 0.8;/* 透過 */
	filter: alpha(opacity=70);
	transition-duration: 0.3s;
}
.btn2 i{padding-left: 10px;}

@media screen and (max-width: 600px) {
.btn2{
	font-size:16px;
	padding: 1em 3em;
	white-space: nowrap;
	}
}
/*=============================
		table
=============================*/

table.type01 {
	width:100%;
	margin:0 auto 30px;
	border-collapse: separate;
	border-spacing: 0;
	text-align: left;
	border-top: 1px solid #eee;
	border-left: 1px solid #eee;
	background-color:#FFFFFF;
    font-size:15px;
	line-height:140%;
	font-family: 'Kosugi Maru', sans-serif;
}
table.type01 th {
	padding: 20px;
	font-weight: bold;
	border-right: 1px solid #eee;
	border-bottom: 1px solid #eee;
	background: #f5f7f7;
	vertical-align:middle;
	text-align:center;
	white-space: nowrap;
}
table.type01 td {
	padding: 20px;
	border-right: 1px solid #eee;
	border-bottom: 1px solid #eee;
	vertical-align:middle;
	text-align:left;
}
.nowrap{white-space: nowrap;}
.t_left{text-align: left!important;}
.t_right{text-align: right!important}
.td_in{padding: 20px 10px!important;}

@media screen and (max-width: 800px) {
table.type01 th,
table.type01 td{
	display: block;
	width: 100%;
	box-sizing: border-box;
}
}

@media screen and (max-width: 600px) {
table.type01{font-size:13px;}
table.type01 th,
table.type01 td{
	padding: 10px;
	}
.t_right{text-align: center!important;}
}

/* ------tableの中の表-------------------- */

ul.table_in {display: flex;}
ul.table_in li{padding-right: 20px;}
.in1{width: 120px;}
.in2{width: 90px;white-space: nowrap;}
.in3{}

@media screen and (max-width: 600px) {
ul.table_in {flex-wrap: wrap;}
.in1{width: 100%;}
.in2{width: 100%;}
.in3{width: 100%;margin-bottom: 15px;}
}

/* ------線無しのtable（SPの時折り返す）-------------------- */
table.type0 {
	font-size:15px;
	line-height:140%;
	font-family: 'Kosugi Maru', sans-serif;
}
table.type0 th,
table.type0 td{
padding: 15px;
}
.t_last{}

@media screen and (max-width: 600px) {
table.type0 {font-size: 13px;}
table.type0 td{
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 0px 5px 5px;
	}
.t_last{padding-bottom: 30px!important;}
}

/* ------線無しのtable（SPの時折り返さない）-------------------- */
table.type0_2 {
	font-size:15px;
	line-height:140%;
	font-family: 'Kosugi Maru', sans-serif;
}
table.type0_2 th,
table.type0_2 td{
padding: 15px;
}
table.type0_2 td br{display: none;}
@media screen and (max-width: 600px) {
table.type0_2 {
	font-size: 12px;
	line-height: 100%;
	table-layout: fixed!important;
}
table.type0_2 td{
	box-sizing: border-box;
	padding: 5px;
	table-layout: fixed;
	width: 25%;
	}
table.type0_2 td br{display: block;}
}


/*=============================
		スライダーvegas
=============================*/
#vegas_box{
	width: 100%;
	height:700px;
	overflow:hidden;
	font-size:0;
}
.vegas_text{
	max-width: 1300px;
	width: 90%;
	margin: 180px auto 0px;
	text-align: center;
}
.vegas_text img{max-width: 550px;width: 50%;}
.vegas_text h2{
	font-size: 35px;
	text-shadow: 0 0 10px rgba(0,0,0,0.5);
	color: #FFF;
	padding-top: 30px;
}


@media screen and (max-width: 1000px) {
#vegas_box{height:600px;}
.vegas_text{
	width: 95%;
	margin: 100px auto 0px;
}
.vegas_text h2{font-size: 30px;}
}


@media screen and (max-width: 600px) {
#vegas_box{height:400px;}
.vegas_text{
	margin: 100px auto 0px;
}
.vegas_text img{width: 60%;}
.vegas_text h2{
	font-size: 20px;
	padding: 20px 30px 0px;
	line-height: 150%;
}
}



/*----------------------スクロールボタンの指定-------------------*/
.scroll{
  position: absolute;
  width: 100%;
  bottom: 50px;
  text-align: center;
  }
.scroll a{
    position: relative;
    display: inline-block;
    font-size: 20px;
	letter-spacing: 1px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    padding: 0 0 50px;
	}
.scroll :before{/*矢印を作成する*/	
      content: "";
      position: absolute;
      width: 10px;
      height: 10px;
      left: 0;
      right: 0;
      bottom: 25px;
      margin: auto;
      border-bottom: 2px solid #fff;
      border-right: 2px solid #fff;
      transform: rotate(45deg);
      animation: move 2s infinite;
    }

@keyframes move {/*矢印をアニメーションする*/
  0% {
    transform: rotate(45deg) translate(0, 0);
  }
  20% {
    transform: rotate(45deg) translate(10px, 10px);
  }
  40% {
    transform: rotate(45deg) translate(0, 0);
  }
}

@media screen and (max-width: 600px) {
	.scroll{display: none;}
}

/*=============================
		共通
=============================*/
#main{
	width: 100%;
	padding: 100px 0px;
}
.p_top{
	padding-top: 50px;
}
.box{
	width: 90%;
	max-width:1100px;
	margin:0 auto;
	padding-bottom:30px;
	overflow:hidden;
	box-sizing: border-box;
}
.box_in{padding:20px;}

@media screen and (max-width: 1000px) {
#main{padding: 50px 0px;}
.box{
	padding-bottom:30px;
}
.box_in{padding:10px 10px;}
}


/*=============================
		top
=============================*/
/*TOPごあいさつ(about)--------------------------*/
.top_about{
	width:100%;
	padding: 100px 0px;
	margin:0px auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.about_img{width: 40%;}
.about_txt{width: 60%;}
.about_txt_in{
	width: 80%;
	margin: 0 auto;
}
.about_txt_in h2{
	font-size: 33px;
	line-height: 150%;
	padding: 0px 30px 30px;
	color: #004180;
}
.about_txt_in p{
	font-size: 18px;
	line-height: 170%;
	padding: 0px 30px 20px;
}
.about_btn{
	text-align: center;
	margin-top: 20px;
}

@media screen and (max-width: 1300px) {
.top_about{
	flex-wrap: wrap;
	justify-content: center;
	}
.about_img{width: 80%;text-align: center;}
.about_txt{width: 90%;margin-bottom: 100px;}
.about_txt_in{width: 100%;}
}

@media screen and (max-width: 900px) {
.top_about{padding: 50px 0px;}
.about_txt h2{font-size: 30px;}
.about_txt p{font-size: 16px;}
}

@media screen and (max-width: 600px) {
.top_about{padding: 0px 0px;}
.about_txt{width: 100%;margin-bottom: 50px;}
.about_txt h2{font-size: 22px;}
.about_txt p{font-size: 13px;line-height: 150%;}
}



/*TOP2(目指すもの)--------------------------*/
.top2_title{text-align: center;}
.top2_title img{max-width: 300px;width: 50%;}
.top2_title h2{
	font-size: 40px;
	color: #004180;
	padding-bottom: 10px;
}
.top2_title p{font-size: 20px;}

ul.top2_ul{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: 90%;
	max-width: 1300px;
	margin: 100px auto;
	gap: 30px; /* li同士の隙間 */
}
ul.top2_ul li{
	flex: 1;
	background: #e9f0fa;
	text-align: center;
	padding: 0px;
	/* アニメーション設定 */
	opacity: 0;
	transform: translateY(20px);
}
ul.top2_ul li.show{/* 表示時 */
	animation: fadeUp 0.8s ease forwards;
}

/* 左から順番に表示（ふわっとアニメーション）------- */
ul.top2_ul li:nth-child(1){animation-delay: 0.2s;}
ul.top2_ul li:nth-child(2){animation-delay: 0.4s;}
ul.top2_ul li:nth-child(3){animation-delay: 0.6s;}
ul.top2_ul li:nth-child(4){animation-delay: 0.8s;}
@keyframes fadeUp{/* ふわっと表示 */
	to{
		opacity: 1;
		transform: translateY(0);
	}
}
/* ----------------------------------- */

ul.top2_ul li img{
	width: 60%;
	padding-top: 20px;
	box-sizing: border-box;
}
ul.top2_ul li p{
	display: block;
	padding: 20px;
	font-size: 20px;
	line-height: 150%;
}

@media screen and (max-width: 1100px) {
ul.top2_ul{
	gap: 15px; /* li同士の隙間 */
}
ul.top2_ul li p{font-size: 16px;}
}

@media screen and (max-width: 800px) {
ul.top2_ul{margin: 50px auto;}
ul.top2_ul li{flex: 0 0 calc(50% - 8px);}
}

@media screen and (max-width: 600px) {
.top2_title h2{
	font-size: 20px;
	padding: 0px 10px;
}
.top2_title p{font-size: 14px;padding: 0px 20px;}
ul.top2_ul li img{width: 80%;}
ul.top2_ul li p{font-size: 14px;padding: 10px 10px 20px;}

}




/* 共通タイトル --------------------------------------------------*/
.top_title{
	text-align: center;
	margin-bottom: 50px;
}
.top_title h2{
	font-size: 70px;
	line-height: 100%;
	letter-spacing: 2px;
	font-weight: bold;
	color: #000;
	padding-bottom: 20px;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
}
.top_title h3{
	font-size: 25px;
	font-weight: bold;
	text-align: center;
	display: inline-block;
	border-top: solid 3px #000;
	margin: 0 auto;
	padding: 20px 40px;
}
@media screen and (max-width: 1000px) {
.top_title h2{font-size: 60px;}
}
@media screen and (max-width: 800px) {
.top_title h2{font-size: 50px;}
}
@media screen and (max-width: 600px) {
.top_title{
	margin-bottom: 30px;
}
.top_title h2{font-size: 35px;padding-bottom: 15px;}
.top_title h3{font-size: 20px;padding: 15px 40px;}	
}



/* TOPのお知らせ--------------------------------------------------*/
.top_news{
	padding: 150px 0px 200px;
	background: linear-gradient(135deg, #50b0e4 0%, #224682 100%);
}
.news{
	width:90%;
	max-width: 1000px;
	margin: 0 auto;
	background: #FFF;
	border-radius: 30px;
	padding:40px;
	box-sizing: border-box;
}
table.news_table {
	box-sizing: border-box;
	width:100%;
	margin:10px auto 10px;
	font-size: 18px;
	line-height: 130%;
}
table.news_table tr th {
	margin: 0px;
	padding:15px 30px;
	border-bottom:dashed 1px #CCC;
	text-align: center;
	width: 100px;
}
table.news_table tr td {
	margin: 0px;
	padding:15px 30px;
	border-bottom:dashed 1px #CCC;
	text-align: left;
}

@media screen and (max-width: 800px) {
.top_news{padding: 100px 0px 150px;}
.news{padding: 20px;}
table.news_table {font-size: 16px;}
table.news_table tr th {padding: 15px;}
table.news_table tr td {padding: 15px;}
}

@media screen and (max-width: 600px) {
.top_news{padding: 80px 0px 100px;}
.news{border-radius: 20px;}
table.news_table {font-size: 14px;}
}


/*TOPのお問い合わせ----------------------------------------------------*/
.top_contact{
	width:100%;
	padding:100px 0px 130px;
	background:url("../img/base/bg1.jpg") no-repeat center center;
	background-size: cover;/* 画面いっぱいに表示 */
	background-attachment: fixed;/* 背景位置固定 */
}
ul.contact_btn{
	display: flex;
	justify-content: space-around;
	align-items: center;
	width: 90%;
	max-width: 1000px;
	margin: 0 auto;
	box-sizing: border-box;
}
ul.contact_btn li{
	background: #FFFFFF;
	text-align: center;
	width: 46%;
	border-radius: 20px;
	box-sizing: border-box;
	padding: 25px 0px 15px;
}
ul.contact_btn li i{
	font-size: 50px;
	padding-bottom: 20px;
	color: #04508c;
}
ul.contact_btn li a{
	text-decoration: none;
	color: #04508c;
	padding: 0px!important;
}
.contact_txt{font-size: 18px;}
.contact_mail{
	font-size: 40px;
	font-family: 'Zen Antique', serif;/*google font*/
}
.contact_tel{
	font-size: 40px;
	font-family: 'Zen Antique', serif;/*google font*/
}

@media screen and (max-width: 800px) {
.top_contact{
	padding: 100px 0px 70px;
	background-attachment: scroll; /* 固定を解除して通常表示にする */
}
ul.contact_btn{flex-wrap: wrap;}
ul.contact_btn li{
	width: 85%;
	margin-bottom: 30px;
	padding: 20px 0px 20px;
}
}
@media screen and (max-width: 500px) {
.top_contact{
	padding: 60px 0px 70px;
}
ul.contact_btn li{
	width: 90%;
	border-radius: 15px;
	padding: 15px 0px 10px;
	margin-bottom: 20px;
}
.contact_txt{font-size: 14px;}
ul.contact_btn li i{font-size: 35px;padding-bottom: 10px;}
.contact_mail{font-size: 25px;}	
.contact_tel{font-size: 23px;}	
}



/*会社概要----------------------------*/

.ggmap {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
	margin:0 auto 50px;
	width: 100%;
}
 
.ggmap iframe,
.ggmap object,
.ggmap embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}



/*わたしたちについて----------------------------*/
.about1_txt{
	font-size: 18px;
	line-height: 200%;
	max-width: 1100px;
	width: 90%;
	margin: 50px auto;
}

.about2_txt{
	font-size: 25px;
	text-align: center;
	line-height: 200%;
	width: 90%;
	margin: 50px auto;
}

.aboutus_img{
	text-align: center;
	max-width: 1000px;
	width: 90%;
	margin: 50px auto 0px;
}
.aboutus_img2{
	text-align: center;
	max-width: 1000px;
	width: 90%;
	margin: 50px auto 0px;
}
@media screen and (max-width: 600px) {
.about1_txt{
	font-size: 14px;
	line-height: 180%;
	margin: 30px auto 50px;
}
.about2_txt{
	font-size: 20px;
	text-align: center;
	padding: 0px 30px;
	margin: 50px auto;
}
.aboutus_img2{
	width: 60%;
	margin: 50px auto 0px;
}
}


/*BOXメッセージ----------------------------*/
.message-container {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	padding: 20px 20px;
	box-sizing: border-box;
}
.message-inner {
	text-align: left;
	width: max-content; 
	max-width: 100%;
	box-sizing: border-box;
	background-color: #f0f8ff;
	border-radius: 12px;
	padding: 40px 50px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.message-inner p {
	font-size: 20px;
	line-height: 2.0;
	margin: 0;
	letter-spacing: 0.05em;
}
@media screen and (max-width: 600px) {
  .message-inner {
    width: 100%; 
    padding: 30px 20px;
  }
  .message-inner p {
    font-size: 15px;
  }
}


/*area----------------------------*/
.area1{
	background:url("../img/base/bg3.jpg") no-repeat center center;
	background-size: cover; /*画面いっぱいに表示 */
	background-attachment: fixed;/* 背景位置固定 */
	padding: 130px 0px 190px;  /*背景画像の高さを確保*/
	position: relative; /*中の要素の基準値*/
}



/*8つの重点事業----------------------------*/

.key8_txt1{
	font-size: 23px;
	text-align: center;
	line-height: 200%;
	width: 90%;
	margin: 50px auto;
}

.key8_wrapper {
  display: flex;
  justify-content: center; /* 横方向の中央揃え */
  align-items: center;     /* 縦方向の中央揃え（必要に応じて） */
  width: 100%;
  padding: 40px 20px;      /* 上下の余白（スマホではみ出さないための左右20px） */
  box-sizing: border-box;
}
.key8_box {
  background: #FFF;
  border-radius: 20px;
  text-align: left;
  width: max-content; /*一番長い行に自動で合わさります*/
  max-width: 100%;          /*スマホではみ出さないための保険 */
  padding: 40px 50px;      /* 箱の内側の余白（上下40px、左右50px） */
  box-sizing: border-box;  /* 余白を含めて幅を計算する */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); 
}
.key8_box h2{
	font-size: 23px;
	color: #004180;
	margin: 0px;
}
.key8_box p{
	font-size: 18px;
	padding-left: 20px;
	margin: 0 0 30px 0;
}

@media screen and (max-width: 800px) {
.key8_txt1{
	font-size: 18px;
	line-height: 200%;
	width: 90%;
	margin: 20px auto;
}
.key8_box {
	padding: 20px;
}
.key8_box h2{
	font-size: 18px;
}
.key8_box p{
	font-size: 14px;
	padding-left: 20px;
	margin: 0 0 15px 0;
}
}



/*法人概要----------------------------*/
.table_box{
	max-width: 1000px;
	width: 90%;
	margin: 50px auto;
}
.txt_right{
	text-align: right;
	margin-bottom: 20px;
	font-size: 16px;
}
@media screen and (max-width: 600px) {
.txt_right{
	margin-bottom: 10px;
	font-size: 13px;
}
}

/*取り組みと実績----------------------------*/
.case_txt{
	font-size: 18px;
	text-align: center;
	padding: 0px 20px;
	margin: 0px auto 30px;
}
.case_table_box{
	max-width: 1000px;
	width: 90%;
	margin: 100px auto;
}
table.case_table{font-size: 17px;}
table.case_table th{
	padding: 10px;
	white-space: nowrap;
}
table.case_table td{
	padding: 10px;
}

@media screen and (max-width: 600px) {
.case_txt{font-size: 15px;}
.case_table_box{
	max-width: 1000px;
	width: 90%;
	margin: 50px auto;
}
table.case_table{font-size: 13px;}
}


/*お知らせ----------------------------*/
.news_txt{
	text-align: center;
	font-size: 18px;
	width: 80%;
	margin: 100px auto;
}

@media screen and (max-width: 600px) {
.news_txt{font-size: 14px;}
}


/*お問合せ----------------------------*/
.contactpage_txt{
	font-size: 16px;
	padding: 0px 20px;
	text-align: center;
	margin: 100px auto;
}
.mailbox{
	max-width: 850px;
	width: 90%;
	margin: 20px auto;
	padding: 30px;
	background: #FFFFFF;
}
.mail_br{display: none;}

@media screen and (max-width: 600px) {
.contactpage_txt{
	font-size: 14px;
	margin: 50px auto;
}
.mailbox{
	padding: 15px;
}

}
