@import url("/css/base_new.css"); /*header-footer*/

.navi_text{
	margin: -20px 0px 0px;
	padding: 0px;
	text-align: right;
}

/*後から削除*/
.main_area{
	background-repeat: no-repeat;
	background-size: 986px;
	font-family: "Meiryo", sans-serif;
}


/* ------------------------------------------- */
/* all CSS */
/* ------------------------------------------- */

.pankuzu p{
	padding: 0px;
	font-size: 11px;
	line-height: 200%;
	margin: 0px;
}

.main_area{
	width: 986px;
	border: 1px solid #004271;
	margin: 0 auto;
}

.main_area .contents{
	padding: 0 30px 30px;
}
ul{
	list-style: none;
    padding: 0;
    margin: 0;
}
h2{
	margin: 0;
}


/* ------------------------------------------- */
/* content CSS */
/* ------------------------------------------- */

.main ul{
	display: flex;
    flex-wrap: wrap;
    gap: calc(4%);
    padding: 30px 0;
}
.main ul li{
    width: calc(22%);
}
.main ul li a:hover{
	cursor: pointer;
	opacity: 0.68;
	filter: alpha(opacity=68);
	color: #004271;
}

.main ul li img{
	width: 100%;
	margin-bottom: 6px;
}
.main ul li .title{
	display: flex;
	justify-content: center;
}
.main ul li .title h2{
	font-size: 16px;
	color: #004271;
}
.main ul li .title svg{
	margin-right: 8px;
}
.main ul li p{
	color: #004271;
}

.main ul li .cs{
	text-align: center;
}


/* ------------------------------------------- */
/* contact（問い合わせ） CSS */
/* ------------------------------------------- */

.contact {
	font-family: "Meiryo", sans-serif;
	width: 926px;

}

.contact h2{
	font-size: 28px;
	color: #ffffff;
	font-weight: bold;
	background-color: #b8ad3a;
	text-align: center;
	padding:10px 0;
	margin: 0 auto;
}

.contact .com-info{
	padding: 35px 0;
	background-color: #ebefd9;
}

.contact .cominfo-inner{
	width: 480px;
	line-height: 180%;
	color: #282828;
	margin: 0 auto;
}

.contact .com-info .cominfo-inner p{
	font-size: 16px;
	line-height: 163%;
}

.contact .com-info .com-name{
	font-weight: bold;
}





/*** 問い合わせボタン ***/
.contact-button{
	width: 320px;
	height: 55px;
	margin: 0 auto;
    margin-top: 20px;
}

.contact-button a{
	display: block;
}

.contact-button a:hover img{
	visibility: hidden;
	background-image: url(/information/robertet_group/img/button_hover.gif);
	background-repeat: no-repeat;
}

.contact-button a:hover{
	background: url(/information/robertet_group/img/button_hover.gif);
	background-repeat: no-repeat;
}



/* ------------------------------------------- */
/* news-letter CSS */
/* ------------------------------------------- */


/* 全体の背景 */
.newsletter-section {
  background-color: #d9e5ee; /* 画像に近い薄いブルー */
  padding: 40px 20px;
}

.main-title {
  text-align: center;
  color: #004271;
  margin-top: 15px;
  margin-bottom: 5px;
  font-size: 1.2rem;
}

/* 2月と3月を横に並べるコンテナ */
.newsletter-container {
  display: flex;
  justify-content: center;
  gap: 40px; /* 左右のブロックの間隔 */
  max-width: 1000px;
  margin: 0 auto;
}

/* 各カードの設定 */
.newsletter-card {
  flex: 1;
  max-width: 450px;
  text-decoration: none; /* リンクの下線を消す */
  color: inherit;
  display: block;
}

/* 2枚の画像を横に並べる */
.img-flex {
  display: flex;
  gap: 0px; /* 画像同士の隙間 */
  margin-bottom: 15px;
}

.img-flex img {
  width: calc(50% - 5px); /* 2枚で50%ずつ */
  height: auto;
  border: 1px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* アイコンと年月の並び */
.title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.title h2 {
  font-size: 1.1rem;
  color: #004271;
  margin: 0;
}

/* テキスト部分 */
.newsletter-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #004271;
  text-align: left;
}

/* --- ホバー設定の追加 --- */

.newsletter-card {
  /* ふわっと変化させるための設定（元々のクラスに追加） */
  transition: opacity 0.3s, color 0.3s;
}

.newsletter-card:hover {
  cursor: pointer;
  opacity: 0.68;
  /* IE対策が必要な場合のみ記述（現在はほぼ不要です） */
  filter: alpha(opacity=68); 
  /* テキストの色を明示的に指定 */
  color: #004271;
}

