@charset "UTF-8";
* {
    margin: 0;
    
}
/* background-size: cover; /* 画像を要素全体にフィットさせる */
/* background-position: center; /* 画像を中央に配置する */
/*  background-repeat: no-repeat; /* 画像の繰り返しを無効にする */
/* background-attachment: fixed; /* スクロール時に背景画像が固定される */
/* メインコンテンツのスタイル */

#aisatsu,#gaiyou,#enkaku,#annai{
	scroll-margin-top: 60px; /* 必要に応じて調整 */
}

.scroll {
    list-style-type: none;
    text-align: center;
    max-width: 100%;
    background-color:#7084a4; /* 背景色を指定 */
    border-bottom: 1px solid #ccc; /* ボーダーを追加 */
    padding: 10px;
    padding: 10px;
    padding-bottom: 10px;
    
}

.scroll li {
    display: inline;
    padding: 15px 15px; /* 左右のマージンを指定 */
}

.scroll a {
    text-decoration: none;
    color: white; /* テキストカラーを指定 */
    font-size: 15px; /* フォントサイズを指定 */
    padding: 10px;
    font-weight: 900;
    
}

.scroll a:hover {
    color: #2f3775; /* ホバー時のテキストカラーを指定 */
    background-color: #e0e0e0; /* ホバー時の背景色を指定 */
}


html{
	Scroll-behavior: smooth;
}

/* セクションのスタイル */
.tit-top{
	width: 100%;
    margin-top: 70px;
}

.haikei0{
	width: 100%;
	height: 200px;
	background-image: url(img/AdobeStock_会社概要.jpeg);
	background-size: cover; /* 画像を要素全体にフィットさせる */	
}

.size{
	padding: 60px ;
	text-align: center;
	font-size: 300%;
	color: rgb(255, 255, 255);
	text-shadow: 2px 3px 4px black;
}

.sub-name{
	font-size: 60%;

}


section {
    margin-bottom: 40px;
    color:rgb(0, 0, 0)
}

.words{
	line-height: 1.6;
	text-align: center;
}

h1 {
    padding: 20px 0px 25px;
    font-size:160%; 
    text-align: center;
}

/* 会社概要のスタイル */


/*background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 5px rgb(255, 255, 255);*/


.content{
	padding: 40px 0px 90px;
}

table{
    width: auto;
    margin-right: auto;
    margin-left: auto;
	border-collapse: collapse;
	margin-top: 20px;
}

tr{
	border-bottom: 1px solid black;
}

th{
	padding: 25px 75px; 
	min-width: 200px;
	font-size: 110%;
}

td{
	font-size: 105%;
	padding:30px 40px;	
}


/* 沿革のスタイル */

.map{
    text-align: center;
	padding: 20px 170px;
	line-height: 2.0;
}



.map-container {
	display: flex;
    justify-content: center;
    margin: 20px 0;
 }

/* 最後の項目の下線を削除 */
.history-item:last-child {
    border-bottom: none;
}

/* スマホ用メディアクエリ */
@media screen and (max-width: 768px) {
    
main{
	padding: 30px;
}
    
    #aisatsu,#gaiyou,#enkaku,#annai{
	scroll-margin-top: 60px; /* 必要に応じて調整 */
}
}


