@charset "utf-8";

/*全体の設定
---------------------------------------------------------------------------*/
html,body {height: 100%;}
iframe {width: 100%;}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #333;		/*リンクテキストの色*/
	transition: 0.5s;	/*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
}
a:hover {
	color: #ff4765;			/*マウスオン時の文字色*/
	text-decoration: none;	/*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}
.main_link {
	position: relative;
	display: inline-block;
	transition: .3s;
	color: #fff;
}
.main_link::after {
	position: absolute;
	bottom: 0;
	left: 0;
	content: '';
	width: 0;
	height: 1px;
	background-color: #fff;
	transition: .3s;
}
.main_link:hover::after {
	width: 100%;
}

/*ヘッダー（一番上の、ロゴやメニューが入っているブロック）
---------------------------------------------------------------------------*/
header {
	height: 100%;
	overflow: auto;
	position: relative;
	background: url(../images/mainimg.jpg) no-repeat center center / cover;	/*背景画像の読み込み*/
}
/*ロゴ画像*/
header #logo img {
	display: block;
	width: 20%;	/*画像の幅*/
	position: absolute;
	left: 40%;		/*ロゴやメニューが入っているブロックに対して、左からの配置場所の指定。*/
	bottom: 50%;	/*ロゴやメニューが入っているブロックに対して、下からの配置場所の指定。*/
}

/*メニュー
---------------------------------------------------------------------------*/
/*メニューブロック全体への指定*/
#menubar {
	position: absolute;
	bottom: 20%;	/*ロゴやメニューが入っているブロックに対して、下からの配置場所の指定。*/
	left: 0px;
	width: 100%;
	text-align: center;
}
/*メニュー１個あたりの指定*/
#menubar li {
    font-family: "Times New Roman";
	display: inline-block;
	margin: 0 1%;
	animation-name: opa1;
	animation-delay: 1S;
	animation-duration: 1S;
	animation-fill-mode: both;
}
#menubar li a {
	text-decoration: none;display: block;text-align: center;
	width: 140px;	/*メニューの幅*/
    height: 60px;
	color: #fff;	/*文字色*/
	border-bottom: 2px solid transparent;	/*下線の幅、線種、色。transparentは透明の事。*/
	padding-bottom: 7px;	/*下線と文字の間にとる余白*/
}
/*マウスオン時の指定*/
#menubar li a:hover {
	border-bottom: 2px solid #fff;	/*下線の幅、線種、色*/
	letter-spacing: 0.1em;			/*文字間隔を少しだけ広くする指定。そのままがいいならこの１行を削除。*/
}
/*タイトル
---------------------------------------------------------------------------*/
/*タイトル全体への指定*/
/*
h2 {
    font-size: 30px;
    font-family: "Times New Roman";
    text-align: center;
    border-bottom: solid 3px #2832ce;
    border-radius: 1em;
    display: inline-block;
    padding: 5px 20px 2px 22px;
}
*/
h2{
  font-size: 35px;
  position: relative;
  text-align: center;
  font-family: "Times New Roman";
  margin-bottom: 30px;
  margin-top: 60px;
}

/*以下で線を表示*/
h2:before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;/*線の上下位置*/
  display: inline-block;
  width: 30%;/*線の長さ*/
  height: 3px;/*線の太さ*/
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);/*位置調整*/
  background-color: #868686e6;/*線の色*/
  border-radius: 2px;/*線の丸み*/
}

h3 {
    font-size: 25px;
    font-family: serif;
    text-align: center;
    border-bottom: solid 1px #535bd478;
    padding: 5px 20px 10px 25px;
}
h4 {
    font-size: 22px;
    font-family: serif;
    padding: 20px 20px 5px 25px;
}

/*企業理念
---------------------------------------------------------------------------*/
/*企業理念全体への指定*/

.mission {
    font-size: 20px;
    text-align: center;
    font-family: serif;
}
.mission_list {
    font-size: 16px;
    text-align: center;
    font-family: serif;
    padding: 5px 0px;
    background-color: #fff !important;
}

/*事業内容
---------------------------------------------------------------------------*/
/*事業内容全体への指定*/

#service span {
    font-size: 21px;
    font-family: serif;
    background-color: #000000c7;

}

.gmap {
height: 0;
overflow: hidden;
padding-bottom: 56.25%;
position: relative;
}
.gmap iframe {
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
}

#pagetop{
  background: #4bc0f9;
  opacity: 0.6;
  color: #fff;
  position: fixed;
  right: 20px;
  bottom: 90px;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-family: serif;
}
/*パソコン/スマホの切替調整*/
.pc { display: block !important; }
.sp { display: none !important; }

@media only screen and (max-width: 809px) {
  header #logo img {
    display: block;
    width: 162px;	/*画像の幅*/
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    padding-bottom: 15%;
  }
}
.card {
    margin: .5rem .5rem 1rem .5rem;
}