html {scroll-behavior: smooth;}

/*body*/

body {
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #102244;
  background-color: #f2f5f9;
}

.about_visual{
    background-image: url('../image/about/about.jpg');
    background-size: cover;
    background-position: center top;
    position: relative;        
}
.about_visual .container{
    width: 90%;
    margin: 0 auto;
    max-width: 1080px;
    height: 300px;
    position: relative;
}
.about_visual .title{
    position: absolute;
    top: 50%;
    left: 50%;
    z-index:2;
    transform: translateX(-50%) translateY(-50%);
    text-align: center;
}
.about_visual h1{
    font-size: 40px;
    font-weight: 700;
    color:#edf3f7;
    margin-bottom: 10px
}
.about_visual p{
    font-size:20px;
    font-weight: 500;
    color:#edf3f7;
}

/* 伍について */

.h2go {
    position: relative;
    font-size: 26px;
    font-weight: 600;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px; /* 下部マージンを追加して余白を確保 */
}

.h2go::before {
    content: attr(data-number);
    display: block;
    margin-bottom: 10px; /* 余白を調整 */
    color: #84a2d4;
    font-size: 40px;
    font-weight: 700; /* 文字の太さを統一 */
}

.h2go::after {
    content: '';
    position: absolute;
    top: 100%; /* 親要素の下部に配置 */
    left: 50%;
    transform: translateX(-50%);
    width: 100px; /* 水平線の幅を調整 */
    height: 1px;
    background-color: #84a2d4;
    margin-top: 10px; /* 上部余白を追加して線を下に配置 */
}


/* 代表挨拶 */

.aisatsu .container{
  width: 80%;
  max-width: 1080px;
  position: relative;
  margin: 0 auto;
  padding: 2rem;
 backdrop-filter: blur(4px);
 background: rgba(255, 255, 255, 0.4);
 box-shadow: 1px 1px 2px 0 rgb(0, 0, 0, 0.4);
 border-radius: 10px;
}
  
    
.aisatsu .text{
    padding: 2rem;
    font-size: 18px;
    line-height: 1.8;
    
}

.aisatsu img{
    width: 250px;     /* 小さい画像に固定幅を指定 */
    height: auto;
}
    
.aisatsu p{
    margin: 40px 0;
}
.h2message {
	font-size: 26px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 60px;
}

.h2message::before {
	content: attr(data-en);
	display: block;
	color: #498ee0;
	font-size: 18px;
}

.h2message::after {
	content: '';
	display: block;
	width: 40px;
	height: 1px;
	background-color: #498ee0;
    margin-top: 10px;
}

/* 拾について */

.ju .container{
    text-align: right;
}

.h2ju {
    display: inline-block;
    position: relative;
    font-size: 26px;
    font-weight: 600;
    text-align: center;
    margin-top: 50px;
    margin-right: 80px;
    margin-bottom: 50px; /* 下部マージンを追加して余白を確保 */
}

.h2ju::before {
    content: attr(data-number);
    display: block;
    margin-bottom: 10px; /* 余白を調整 */
    color: #84a2d4;
    font-size: 40px;
    font-weight: 700; /* 文字の太さを統一 */
}

.h2ju::after {
    content: '';
    position: absolute;
    top: 100%; /* 親要素の下部に配置 */
    left: 50%;
    transform: translateX(-50%);
    width: 100px; /* 水平線の幅を調整 */
    height: 1px;
    background-color: #84a2d4;
    margin-top: 10px; /* 上部余白を追加して線を下に配置 */
}

/* 会社概要 */

.gaiyou .container{
    width: 90%;
    margin: 0 auto;
    max-width: 1080px;
    position: relative;
    margin-bottom: 30px;
}

.h2gaiyou {
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 60px;
    text-align: center; /* 親要素で中央寄せ */
    position: relative; /* 擬似要素の位置調整のために相対位置を設定 */
}

.h2gaiyou::before {
    content: attr(data-en);
    display: block;
    color: #498ee0;
    font-size: 18px;
    text-align: center; /* 擬似要素のテキストを中央寄せ */
}

.h2gaiyou::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background-color: #498ee0;
    margin: 10px auto 0; /* 擬似要素を中央に配置 */
}


#table01 {
  margin: 0 auto; /* テーブルを中央寄せ */
  line-height: 1.8;
  width: 100%; /* 必要に応じて幅を調整 */
  max-width: 800px; /* テーブルの最大幅を設定 */
}

#table01 tr {
  border-bottom: 1px solid #b5b1b1;
}

#table01 th,
#table01 td {
  padding: 24px 0;
  border: none;
}

#table01 th {
  width: 30%;
}

/*パートナーシップ宣言ロゴ */
.logo-container {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 10px;
}

.logo-link {
  display: inline-block;
  text-decoration: none;
}

/* 個別のロゴサイズ指定 */
.partnership-logo {
  max-width: 150px;
  height: auto;
  border: none;
}

.security-logo {
  max-width: 100px; /* 2つ目のロゴは小さめに */
  height: auto;
  border: none;
}

/* sp */
@media only screen and (max-width: 480px) {
  #table01 th,
  #table01 td {
    width: 100%;
    display: block;
  }

  #table01 th {
    width: 100%;
  }

  #table01 td {
    padding-top: 0;
  }
}

/* 雀について */

.kara .container{
    text-align: left;
}

.h2kara {
    display: inline-block;
    position: relative;
    font-size: 26px;
    font-weight: 600;
    text-align: center;
    margin-top: 50px;
    margin-left: 80px;
    margin-bottom: 50px; /* 下部マージンを追加して余白を確保 */
}

.h2kara::before {
    content: attr(data-number);
    display: block;
    margin-bottom: 10px; /* 余白を調整 */
    color: #84a2d4;
    font-size: 40px;
    font-weight: 700; /* 文字の太さを統一 */
}

.h2kara::after {
    content: '';
    position: absolute;
    top: 100%; /* 親要素の下部に配置 */
    left: 50%;
    transform: translateX(-50%);
    width: 100px; /* 水平線の幅を調整 */
    height: 1px;
    background-color: #84a2d4;
    margin-top: 10px; /* 上部余白を追加して線を下に配置 */
}

/* 会社沿革 */

.cp_timeline03 {
	position: relative;
	margin: 6em 3em;
}
.cp_timeline03:before {
	position: absolute;
	top: 0;
	width: 1px;
	height: 100%;
	content: '';
	background-color: #28282e;
	left: 30px;
}
.cp_timeline03 .timeline_group {
	position: relative;
	padding-top: 55px;
}
.cp_timeline03 .timeline_group:not(:first-of-type) {
	margin-top: 4rem;
}
.cp_timeline03 .time_year {
	position: absolute;
	top: 0;
	left: 0;
	padding: 0.5rem 1.5rem;
	color: #fff;
	background-color: #102244;
	width: 100%;
	-webkit-box-sizing: border-box;
					box-sizing: border-box;
}
.cp_timeline03 .timeline_item {
	margin-bottom: 1em;
	position: relative;
	padding-left: 80px;
}
.cp_timeline03 .timeline_item:not(:last-of-type) {
	margin-bottom: 2em;
}
.cp_timeline03 .timeline_item:before {
	position: absolute;
	z-index: -1;
	left: 0;
	width: 100%;
	height: 1px;
	content: '';
	background-color: #28282e;
	top: 50%;
	-webkit-transform: translateY(-50%);
					transform: translateY(-50%);
}
.cp_timeline03 .time {
	position: absolute;
	left: 0;
	box-sizing: border-box;
	min-width: 65px;
	min-height: 65px;
	padding: 0.5em 0.5em;
	text-align: center;
	color: #fff;
	background-color: #84a2d4;
	top: 50%;
	margin-top: -33px;
	border-radius: 65px;
}
.cp_timeline03 .time_day {
	font-size: 1em;
	font-weight: 700;
	display: block;
}
.cp_timeline03 .time_month {
	font-size: 0.8em;
	display: block;
	text-transform: uppercase;
}
.cp_timeline03 .desc {
	padding: 0.5em 1em;
	border-left: 3px solid #84a2d4;
	border-radius: 2px;
	background-color: #fff;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.2);
	font-size: 0.9em;
}
.cp_timeline03 .desc .flag {
	font-size: 1.2em;
	font-weight: bold;
	margin: 0;
	padding: 0;
	padding-bottom: 0.3em;
}
@media only screen and (max-width: 767px) {
	.cp_timeline03:before {
		left: 0;
	}
	.cp_timeline03 .timeline_group {
		padding-top: 40px;
	}
	.cp_timeline03 .timeline_item {
		padding-top: 60px;
		padding-left: 20px;
	}
	.cp_timeline03 .timeline_item:before {
		top: 90px;
	}
	.cp_timeline03 .time {
		top: 40px;
		border-radius: 0 20px 20px 0;
		min-height: 2em;
	}
	.cp_timeline03 .time_day,
	.cp_timeline03 .time_month {
		display: inline-block;
	}
	.cp_timeline03 .desc {
		font-size: 0.8em;
	}
}
/* アクセス */

.access .container{
    width: 90%;
    margin: 0 auto;
    max-width: 1080px;
    position: relative;
    margin-bottom: 120px;
    margin-top: 100px;
}

.h2access {
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 60px;
    text-align: center; /* 親要素で中央寄せ */
    position: relative; /* 擬似要素の位置調整のために相対位置を設定 */
}

.h2access::before {
    content: attr(data-en);
    display: block;
    color: #498ee0;
    font-size: 18px;
    text-align: center; /* 擬似要素のテキストを中央寄せ */
}

.h2access::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background-color: #498ee0;
    margin: 10px auto 0; /* 擬似要素を中央に配置 */
}

/*アニメーション　*/

.h2go, .h2ju, .h2kara {
    transition: all 0.8s ease-out;
}

.h2go {
    opacity: 0;
    transform: translateY(50px);
}

.h2go.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

.h2ju {
    opacity: 0;
    transform: translateX(50px);
}

.h2ju.animate-visible {
    opacity: 1;
    transform: translateX(0);
}

.h2kara {
    opacity: 0;
    transform: translateX(-50px);
}

.h2kara.animate-visible {
    opacity: 1;
    transform: translateX(0);
}