@charset "UTF-8";
/* main
-------------------------------------*/



.Inner {
 margin: 0 auto;
}
/*見出し
------------------------------------------------*/
.subtitle_wrap {
 display: flex;
 /*justify-content: center;*/
 align-items: center;
 margin-bottom: 3em;
}
@media (max-width:820px) {
 .subtitle_wrap {
  margin-bottom: 2em;
 }
}
.subtitle_wrap > h2 {
 font-size: clamp(24px, 6.5vw, 30px);
 position: relative;
 display: block;
 font-weight: bold;
 padding: 0;
 letter-spacing: .05em;
 line-height: 1.1;
 text-align: center;
}

.subtitle_wrap > h2 span {
 font-size: 24px;
 color: #0d4394;
 display: block;
 margin: 0 0 0.4em;
 padding: 0;
 text-align: left;
 letter-spacing: normal;
}
@media screen and (max-width: 820px) {
 div.subtitle_wrap > h2 span {
  font-size: 16px;
 }
}

/*-----------------------------------
  コンテンツ
-----------------------------------*/
.contents_box {
 max-width: 1000px;
 margin: 0 auto;
	padding: 0 2%;
}
.news_blogs .contents_box,
.search .contents_box,
.service .contents_box {
	padding: 0 2%;
}
@media (max-width:820px) {
 .contents_box {
  width: 90%;
	 padding: 0;
 }
}
.top_section {
 padding: 8em 0;
}
.trust.top_section, 
.search.top_section{
 padding: 0 0 8em 0;
}
@media (max-width:820px) {
 .top_section {
  padding: 4em 0;
 }
}
.trust.top_section, 
.search.top_section{
 padding: 0 0 8em 0;
}
@media (max-width:820px) {
.trust.top_section, 
.search.top_section{
 padding: 0 0 4em 0;
}
}


.qa_contents h2 {
    padding: 0 0 .5em;
    border-bottom: 3px solid red;
    max-width: 1000px;
    width: 92%;
}
@media (max-width:820px) {
  .qa_contents h2 {

  }
}
/*-----------------------------------
  Mind 私たちの思い
-----------------------------------*/
.mind .both{
	display: flex;
}
.mind .left,
.mind .right{
	flex: 1;
	/*padding: 10px;*/
}
.mind .wide{
	position: relative;
	overflow: visible;
}
.mind .wide::after {
  content: "";
  display: block;
  width: 40%;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  border-radius: 10px;
  background-size: cover;
  background: url(../img/top/mind_01.jpg) no-repeat center/cover;
	 box-shadow: -20px 20px 0 #0d4394;
}
.mind p{
	margin-bottom: 5em;
}
/*スマホ-----------------------------*/
@media (max-width:820px) {
.mind .both{
	display: block;
}
.mind .wide::after {
    position: static;       /* ← absolute解除 */
    display: block;         /* フローに従って表示 */
    width: 95%;
    height: 200px;
    margin-top: 2em;
	box-shadow: -10px 10px 0 #0d4394;
	margin: 2em 0 0 auto; 
  }
.mind .button-1 {
    display: block;
  margin: 0 auto;
	width: 200px
}
.mind p{
	margin-bottom: 2em;
}
}
/*-----------------------------------
  Trust 確かな実績
-----------------------------------*/
.trust{
	position: relative;
	background: linear-gradient(to bottom, #fff 60%, #0d4394 40%);
}
/*.trust::after{
	content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  background: linear-gradient(to bottom, #fff 60%, #0d4394 40%);
z-index: -1;
}*/
.trust p{
	margin-bottom: 3em;
}
.trust ul{
	display: flex;
	justify-content: space-between;
	position: relative;
}
.trust ul li{
	box-shadow: 3px 3px 6px rgba(51,51, 51, 0.3);
}
/*スマホ-----------------------------*/
@media (max-width:820px) {
	.trust{
  background: linear-gradient(to bottom, #fff 75%, #0d4394 75%);
}
	.trust p{
	margin-bottom: 2em;
}	
	.trust ul{
	gap: 2%;
}
}
/*-----------------------------------
  service サービス
-----------------------------------*/
.service .contents_box {
      max-width: 1300px;
}
.service .customer {
  display: flex;
  gap: 20px;
}

/* アイテム共通 */
.service .customer .item {
  display: block;
  width: 50%;
  height: 350px;
  text-align: center;
  position: relative;
  transition: .4s;
  border-radius: 10px;
  overflow: hidden;
}

/* 背景を ::before に配置 */
.service .customer .item.kojin::before,
.service .customer .item.hojin::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
  will-change: transform;
  z-index: 0;
}

/* 各アイテムの背景 */
.service .customer .item.kojin::before {
  background-image:
    linear-gradient(90deg, rgba(0,141,241,0.3) 0%, rgba(0,141,241,0.6) 100%),
    url(../img/top/service_01.png);
}
.service .customer .item.hojin::before {
  background-image:
    linear-gradient(90deg, rgba(13,67,148,0.3) 0%, rgba(13,67,148,0.6) 100%),
    url(../img/top/service_02.png);
}

/* ホバーで背景ズーム */
.service .customer .item:hover::before {
  transform: scale(1.08);
}

/* 中央配置 */
.service .customer .item-text {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* ボタン風テキスト */
.service .customer .btn {
  position: relative;
  color: #fff;
  border: 2px solid #fff;
  padding: 0.8em 4em;
  border-radius: 100px;
  font-size: 1.1em;
  font-weight: 600;
  display: inline-block;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: background-color .3s, color .3s, transform .3s;
}

/* hover時の色反転＆少し浮かせる */
.service .customer .item:hover .btn {
  background-color: #fff;
  color: #2589d0;
  /*transform: translateY(-1px);*/
}

/* 矢印アイコンを右寄せ配置 */
.service .customer .item .btn i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1em;
  pointer-events: none;
	transition: color .2s ease;
}
  .service .customer .item:hover .btn i {
    color: #2589d0;
  }

/*スマホ-----------------------------*/
@media (max-width:1299px) {
.service .fa-arrow-right {
         color: #fff; 
    }
}
@media (max-width:820px) {
.service .customer {
  display: block;
}
.service .customer .item {
  width: 100%;
  height: 200px;
}
.service .customer .item.kojin{
  margin-bottom: 1em;
}
}

/*-----------------------------------
  Search 業種から探す
-----------------------------------*/
.search{
  position: relative;
	background: linear-gradient(to bottom, #fff 50%, #0d4394 50%);
}
.search .contents_box{
  max-width: 1300px;
}

.search .industry{
  display:flex;
  justify-content:center;
  gap:20px;
}

.search .industry .industry-card{
  display:block;
  text-decoration:none;
  color:inherit;
  border-radius:10px;
  overflow:hidden;
  box-shadow:3px 3px 6px rgba(51,51,51,.3);
	background-color: #fff;
}
.search .industry .industry-card:focus-visible{
  outline:3px solid #1AAEC3;
  outline-offset:3px;
}

/* figure デフォルト余白リセット（必要最低限のみ） */
.search .industry .industry-card figure{ margin:0; }

/* キャプション */
.search .industry figure figcaption{
  background:#fff;
  text-align:center;
  padding:1em 0;
  font-size:17px;
  font-weight:500;
  position:relative;
}
.search .industry figure figcaption::after{
  content:'';
  position:absolute;
  right:20px; top:0; bottom:0; margin:auto;
  width:7px; height:7px;
  border-top:3px solid #0d4394;
  border-right:3px solid #0d4394;
  transform:rotate(45deg);
}
/* 画像：ホバー拡大用のベース */
.search .industry .industry-card img{
  display:block;
  width:100%;
  height:auto;
  transition: transform .4s;
  transform-origin:center center;
  will-change: transform;
}
.search .industry .industry-card img:hover {
    filter: none;
}

/* ホバー時に画像だけズーム */
@media (hover:hover) and (pointer:fine){
  .search .industry .industry-card:hover img{
    transform: scale(1.06);
	  opacity: 1;
  filter: none;   
  }
}
/* スマホ（タッチ）＝タップ中だけズーム */
@media (hover:none) and (pointer:coarse){
  .search .industry .industry-card:active img{
    transform: scale(1.1);
    transition-duration: 500ms;
  }
}

/*スマホ-----------------------------*/
@media (max-width: 820px) {
  .search {
    background: linear-gradient(to bottom, #fff 30%, #0d4394 30%);
  }
  .search .industry {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .search .industry figure {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
  }
  .search .industry figure img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;     /* 画像を均一に */
    object-fit: cover;
  }
  .search .industry figure figcaption::after {
    right: 30px;
    width: 6px;
    height: 6px;
    border-top: 2px solid #0d4394;
    border-right: 2px solid #0d4394;
  }
}

/* さらに狭い端末（～500px）だけ“差分”を上書き */
@media (max-width: 500px) {
  .search {
    background: linear-gradient(to bottom, #fff 35%, #0d4394 35%);
  }
  /* Gridのまま1列に変更（display切り替え不要） */
/*  .search .industry {
    grid-template-columns: 1fr;
  }*/
  /* もし自然比率に戻したいなら下2行を有効化 */
  .search .industry figure img {
    aspect-ratio: auto;
    object-fit: initial;
  }
	.search .industry figure figcaption{
  font-size:13px;
}
	 .search .industry figure figcaption::after {
    right: 10px;
  }
}




/*-----------------------------------
  Company　当社について
-----------------------------------*/
.company .both{
	display: flex;
}
.company .left,
.company .right{
	flex: 1;
	/*padding: 10px;*/
}
.company .wide{
	position: relative;
	overflow: visible; /* ← 影を表示させるために必要 */
}
.company .wide::after {
  content: "";
  display: block;
  width: 40%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 10px;
  background-size: cover;
  background: url(../img/top/company_01.jpg) no-repeat center/cover;
	 box-shadow: 20px 20px 0 #0d4394;
}
.company p {
	margin-bottom: 5em;
}
.company .company_btn {
	margin-bottom: 5em;
	display: flex;
	gap: 10px;
}
.company_btn a {
	display: block; margin-top: 10px;
}

/*スマホ-----------------------------*/
@media (max-width:930px) {
.company .wide::after {
  width: 30%;
}
}

@media (max-width:820px) {
.company .both{
	display: block;
}
.company .wide::after {
    position: static;       /* ← absolute解除 */
    display: block;         /* フローに従って表示 */
    width: 95%;
    height: 200px;
    margin-top: 2em;
	box-shadow: 10px 10px 0 #0d4394;
  }
.company .button-1 {
    display: block;
  margin: 0 auto;
	width: 200px
}
.company p{
	margin-bottom: 2em;
}
.company .company_btn {
	margin-bottom: 2em;
}
}
/*-----------------------------------
  News&Blogs
-----------------------------------*/
.news_blogs {
  background: url(../img/top/news_blogs_01.webp) no-repeat center/cover;
  background-attachment: fixed;
  position: relative;
  z-index: 0;
}
.news_blogs::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(63, 169, 245, 0.15) 0%, rgba(63, 169, 245, 0.15) 100%);
  z-index: 0;
  pointer-events: none;
}
.news_blogs .subtitle_wrap_2 > h2 span {
  color: #ffffff;
}
/*記事部分----------------------------*/
.top-dual-posts {
  margin-block: 40px;
	background-color: #fff;
	border-radius: 10px; 
	position: relative;
	z-index: 1;
	padding: 3em;
}
.top-dual-posts__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
	align-items: stretch;
}
.top-dual-posts__col{
  display: flex;
  flex-direction: column;
}
.top-dual-posts__head {
  margin-bottom: 12px;
}
.top-dual-posts__title {
  font-size: 2rem;
  font-weight: 700;
}
.top-dual-posts__more {
  /*font-size: .875rem;*/
  /*text-decoration: underline;*/
}
.top-dual-posts__more-wrap {
  margin-top: 16px;
  text-align: center;
}
.top-dual-posts__list {
  flex: 1 1 auto;
	padding-bottom: 1em;
}
.top-dual-posts__item + .top-dual-posts__item {
  border-top: 1px solid #d8ecfa;
}
.top-dual-posts__link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 18px 0;
  text-decoration: none;
	color: unset;
}
.top-dual-posts__date {
  /*font-size: .9rem;*/
  opacity: .8;
  white-space: nowrap;
}
.top-dual-posts__text {
  line-height: 1.5;
	font-weight: 500;
	color: #0d4394;
}
.top-dual-posts__empty {
  padding: 10px 0;
  color: #888;
}
.top-dual-posts__link {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}
.top-dual-posts__item, .top-dual-posts__col {
  position: relative;
}
.top-dual-posts__more-wrap{
  margin-top: auto;
  text-align: center;
  padding-top: 12px;
}
.news_blogs .button-1 {
  padding: .7em 4em;
}
/*スマホ-----------------------------*/
@media (max-width:820px) {
	.news_blogs {
  background-attachment: scroll;

}
	.top-dual-posts__link {
  grid-template-columns: unset;
}
.top-dual-posts {
  margin-block: 0;
	
}
	.top-dual-posts__inner {
    grid-template-columns: 1fr;
	  gap: 55px;
  }
	
}
/*-----------------------------------
  Insurance Partners 取り扱い保険会社
-----------------------------------*/
.partners ul{
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}
/*スマホ-----------------------------*/
@media (max-width:820px) {
	.partners ul{
    justify-content:space-between;
		gap: 0;
  }
  .partners li{
    flex: 0 0 calc((100% - 16px)/2); /* （100% - 列間gap）/ 2 */
  }
}
