@charset "utf-8";
/*-----------------------------------------------
　■TOPIMAGE
-----------------------------------------------*/
.section#topimg {
	overflow:hidden;
	padding:0;
	width:100%;
	position:relative;
	background-color:black;
	text-align:center;
	padding-top:100px;
}
.section#topimg .inner {
	display:flex;
	align-items:flex-end;
	box-sizing:border-box;
	padding:3.5% 2.4%;
	margin:auto;
	width:100%;
	max-width:1600px;
	aspect-ratio: 103.5 / 38;
	background-image: url(../../index/img/main_01.webp);
	background-size:cover;
	background-repeat: no-repeat;
	background-position:center;
	vertical-align:bottom;
}
.section#topimg .inner #cover {
	box-sizing:border-box;
	display:inline-block;
	width:100%;
	text-align:left;
	padding:0 3%;
	-webkit-animation:cover_text 1s ease-out 1s both;
	animation:cover_text 1s ease-out 1s both
}
@-webkit-keyframes cover_text {
0% {
opacity:0;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"
}
100% {
opacity:1;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"
}
}
@keyframes cover_text {
0% {
opacity:0;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"
}
100% {
opacity:1;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"
}
}
.section#topimg .cover_text{ 
	display:inline-block;
	background-color:rgba(10, 72, 200, 0.8);
	padding:1.5%;
	-webkit-animation:cover_text 1s ease-out 1s both;
	animation:cover_text 1s ease-out 1s both
}
:root {
 --white-shadow: rgba(255, 255, 255, 0.3);
}
.section#topimg .inner .stitle {
	font-size: clamp(9.6px, 3vw, 48px);
	white-space:nowrap;
	font-weight:500;
	color:white;
	line-height:1;
}
.section#topimg .inner p {
	font-size: clamp(6px, 1.875vw, 30px);
	white-space:nowrap;
	color:white;
	margin-top:0.5em;
	line-height:1;
}
.section#topimg .inner #cover .btn_L {
	width:200px;
	padding:0;
	height:36px;
	line-height:36px;
	transition:background-color 0.5s;
}
.section#topimg .inner #cover .btn_L:after {
	display:none !important;
}

.section#topimg .inner #cover .btn_L:hover {
	background-color:white;
}
@media all and (max-width:767px) {
.section#topimg	{ padding-top:70px;
}
}
@media all and (max-width:640px) {
.section#topimg .inner {
	aspect-ratio: 1.6 / 1 !important;
	background-image: url(../../index/img/main_01_sp.webp);
	background-size: cover;
	padding:15px 15px;
	justify-content:center;
}
.section#topimg .inner #cover {
	text-align:center;
	margin-left:auto;
	margin-right:auto;
}
.section#topimg .inner .stitle {
	font-size: clamp(9.6px, 5vw, 48px);
	white-space:nowrap;
	font-weight:500;
	color:white;
	line-height:1;
}
.section#topimg .inner p {
	font-size: clamp(6px, 3.125vw, 30px);
	white-space:nowrap;
	color:white;
	margin-top:0.5em;
	line-height:1;
}
.section#topimg .inner .stitle {
	display:inline-block;
}
.section#topimg .inner #cover .btn_L {
	width:150px
}
}
/*-----------------------------------------------
　■アイコンズ
-----------------------------------------------*/
.section#icons h2.title {
  display: none;
}

.section#icons ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 1200px; /* 必要に応じて調整してください */
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.section#icons ul li {
  text-align: center;
  flex: 1;
  max-width: 245px;
  opacity: 1;
  transition: color 0.3s ease;
}

/* アイコン画像ボックス */
.section#icons ul li .img_box {
  display: block;
  width:100%;
  max-width:128px;
  aspect-ratio: 4 / 3;
  margin: 0 auto 20px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}

/* 背景画像（変更なし） */
.section#icons ul li.about .img_box     { background-image: url('../img/icon_about.svg'); }
.section#icons ul li.business .img_box  { background-image: url('../img/icon_business.svg'); }
.section#icons ul li.activity .img_box  { background-image: url('../img/icon_activity.svg'); }
.section#icons ul li.gallery .img_box   { background-image: url('../img/icon_gallery.svg'); }
.section#icons ul li.system .img_box    { background-image: url('../img/icon_system.svg'); }

/* テキスト（タイトル）：clampで画面幅に合わせて可変（767px以下で縮小） */
.section#icons ul li .text .sTitle {
  font-size: clamp(19px, 1.6vw + 12px, 28px);
  line-height: 1;
  margin-bottom: 13px;
}

.section#icons ul li .text .sDescription {
  font-family: 'Arial', sans-serif;
  font-size: 14px;
  line-height: 1;
}

/* 矢印アイコン：疑似要素のインラインSVG化などでさらに軽量化も可能 */
.section#icons ul li .text .service-arrow {
  display: block;
  width: 20px;
  height: 20px;
  margin: 14px auto 0;
  background-color: black;
  border-radius: 50%;
  position: relative;
  transition: background-color 0.3s ease;
}

.section#icons ul li .text .service-arrow::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 7px;
  width: 8px;
  height: 10px;
  background-image: url(../../common/img/arrow_W.png);
  background-repeat: no-repeat;
  background-size: 7px;
}

/* ホバーエフェクト（transitionで滑らかに） */
.section#icons ul li:hover .text {
  color: #555;
}

.section#icons ul li:hover .text .service-arrow {
  background-color: #555;
}

/* ==========================================
   メディアクエリ：560px以下（スマホ表示）
   ========================================== */
@media screen and (max-width: 560px) {
  .section#icons {
    padding: 30px 15px;
  }

  /* Gridに切り替えて、変則的な列（上段3列 / 下段2列）に対応 */
  .section#icons ul {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6小枠を作って結合する */
    gap: 25px 10px;
    margin: 25px auto;
    padding: 0 10px;
  }
  .section#icons ul li{
  }

  /* 1〜3番目の子要素：2つの枠を使って3段組にする (6枠 ÷ 3 = 2) */
  .section#icons ul li:nth-child(-n+3) {
    grid-column: span 2;
    max-width: 100%;
  }

  /* 4〜5番目の子要素：3つの枠を使って2段組にする (6枠 ÷ 2 = 3) */
  .section#icons ul li:nth-child(n+4) {
    grid-column: span 3;
    max-width: 100%;
  }

  .section#icons ul li .img_box {
    margin: 0 auto 10px;
  }

  .section#icons ul li .text .sTitle {
    font-size: 18px; /* もしくは 1.125rem */
    margin-bottom: 2px;
  }

  .section#icons ul li .text .sDescription {
    font-size: 11px; /* 元の8pxは視認性が低すぎるため、少し調整することをおすすめします（一応元コードに合わせる場合は8pxに） */
  }

  .section#icons ul li .text .service-arrow {
    width: 10px;
    height: 10px;
    margin: 8px auto 0;
  }

  .section#icons ul li .text .service-arrow::after {
    top: 2px;
    left: 4px;
    width: 3px;
    height: 6px;
    background-image: url('../../common/img/arrow_white_small.png');
    background-size: 3px;
  }
}
/*.section#icons h1 {
	display:none;
}
.section#icons ul {
	margin: 0 auto;
	display: table;
	box-sizing: border-box;
}
.section#icons ul li {
	display: table-cell;
	text-align: center;
	width: 245px;
	opacity: 1;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
.section#icons ul li .img_box {
	height: 95px;
	margin: 0 auto 20px;
	background-position: center;
	background-repeat: no-repeat;
	background-size:contain;
	display: block;
	font-size: 1px;
	line-height: 1px;
	overflow: hidden;
	text-align: left;
	text-indent: 100%;
	white-space: nowrap;
}
.section#icons ul li.about .img_box {
	background-image: url('../img/icon_about.png')
}
.section#icons ul li.business .img_box {
	background-image: url('../img/icon_business.png')
}
.section#icons ul li.activity .img_box {
	background-image: url('../img/icon_activity.png');
}
.section#icons ul li.gallery .img_box {
	background-image: url('../img/icon_gallery.png');
}
.section#icons ul li.system .img_box {
	background-image: url('../img/icon_system.png');
}
.section#icons ul li .text {
}
.section#icons ul li .text .sTitle {
	font-size: 28px;
	line-height: 1;
	margin-bottom: 13px;
}
.section#icons ul li .text .sDescription {
	font-family: 'Arial', sans-serif;
	font-size: 14px;
	line-height: 1;
}
.section#icons ul li .text .service-arrow {
	background-color: black;
	border-radius: 10px;
	display: block;
	height: 20px;
	margin: 14px auto 0;
	width: 20px;
	position: relative;
}
.section#icons ul li .text .service-arrow:after {
	background-repeat: no-repeat;
	display: block;
	font-size: 1px;
	line-height: 1px;
	overflow: hidden;
	text-align: left;
	text-indent: 100%;
	white-space: nowrap;
	background-image: url(../../common/img/arrow_W.png);
	background-size: 7px;
	content: "";
	position: absolute;
	width: 8px;
	height: 10px;
	top: 5px;
	left: 7px;
}
.section#icons ul li:hover .text {
	color:#555;
}
.section#icons ul li:hover .text .service-arrow {
	background-color: #555;
}
@media only screen and (max-width: 767px) {
.section#icons ul li .text .sTitle {
	font-size: 19px;
}
}
@media only screen and (max-width: 560px) {
.section#icons {
	padding: 30px 15px;
	height: auto;
	min-height: 0;
}
	.section#icons ul {
	overflow: hidden;
	zoom: 1;
	display: block;
	margin: 25px auto -25px;
	padding: 0 10px;
	width: 100%;
	height: auto;
}
	.section#icons ul li {
	display: block;
	float: left;
	margin-bottom: 25px;
}
	.section#icons ul li:nth-child(-n+3) {
	width: 33.33%;
}
	.section#icons ul li:nth-child(n+4) {
	width: 50%;
}
	.section#icons ul li .img_box {
	background-size: auto 50px;
	margin: 0 auto 10px;
	height: 50px;
}
	.section#icons ul li .text .sTitle {
	font-size: 18px;
	font-size: 1.125rem;
	margin-bottom: 2px;
}
	.section#icons ul li .text .sDescription {
	font-size: 8px;
}
	.section#icons ul li .text .service-arrow {
	margin: 8px auto 0;
	height: 10px;
	width: 10px;
	border-radius: 5px;
}
	.section#icons ul li .text .service-arrow:after {
	background-repeat: no-repeat;
	display: block;
	font-size: 1px;
	line-height: 1px;
	overflow: hidden;
	text-align: left;
	text-indent: 100%;
	white-space: nowrap;
	background-image: url('../../common/img/arrow_white_small.png');
	background-size: 3px;
	height: 6px;
	left: 4px;
	top: 2px;
	width: 3px;
}
}*/

/*-----------------------------------------------
　■制作実績
-----------------------------------------------*/
.section#portfolio h2{ margin-bottom:30px;}
.section#portfolio ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3等分 */
  gap: 20px 4.1%; /* 行間20px、列間4.1% */
  width: 100%;
  margin-bottom: 20px;
}

.section#portfolio ul li {
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 1 / 1; 
  overflow: hidden;
  position: relative;
}
.section#portfolio ul li .topics_img img {
	vertical-align: top;
	width: 100%;
	height: auto;
	border:1px solid #CCC;
}
@media only screen and (max-width: 480px) {
.section#portfolio {}
.section#portfolio ul {
	border-top: 1px solid #999;
  grid-template-columns: repeat(1, 1fr);
  gap: 0;
}
.section#portfolio ul li {
	padding: 15px 0;
	height: auto;
	aspect-ratio: auto; 
	border-bottom: 1px solid #999;
	position: relative;
	display: flex;
	width: 100%;
	gap:15px;
}
.section#portfolio ul li .topics_img {
	width: 100px;
	height: 100px;
	display: inline-block;
	vertical-align: top;
}
.section#portfolio ul li .topics_text {
	width:calc(100% - 115px);
	background-color: transparent;
	color: black;
	display: flex;
	flex-direction:column;
	justify-content:space-between;
	opacity: 1;
	position: relative;
	text-align: left;
	visibility: visible;
}
.section#portfolio ul li .topics_text .topics_title {
	font-size: 13px;
	line-height: 1.63636;
	padding: 0;
	width: auto;
}
.section#portfolio ul li .topics_text .topics_date {
	font-size: 10px;
	line-height: 1.8;
}
}

