@charset "UTF-8";


/*=======================================================*/
/*      		セクション毎のCSS   			  		  */
/*======================================================*/


/*======= 共通 ======*/

/* 親要素からはみ出して画面いっぱいに */
.full {
	margin: 0 calc(50% - 50vw);
	width: 100vw;
}



/*======= TOP ======*/
/*ご挨拶*/
.greeting {
	padding: clamp(40px, 6vw, 90px) 0 var(--v-space);
	background-color: var(--base-color);
	position: relative; /* sectionの位置を相対的にする*/
	z-index: 1; /* 背景画像より上に表示 */
}

.greeting-spot {
	color: var(--accent-color1);
	font-size: 1.2em;
}



/*======= コンテンツ ======*/

/*======= Service ======*/
/*section1*/
.sec1 {
	padding: var(--v-space) 0;
    background-color: #FFF;
    background-image: url(../img/bg_01a.png), url(../img/bg_01b.png);
    background-repeat: no-repeat, no-repeat ;
    background-position: top center, bottom center ;
    background-size: 100%, 100%;
}

@media screen and (max-width: 568px) { 
	h3.sptxt{
		font-size:21px;
	}
}

/*======= MENU ======*/
/*section2*/
.sec2 {
	padding: var(--v-space) 0;
	background-color: #FFF;
	background-image: url(../img/bg_03.png);
	background-size:cover;
	background-position: bottom;
	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}

/*カード*/
.sec2-card__item{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap:10px;
}
@media only screen and (max-width: 968px) {
	.sec2-card__item{
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
}
@media only screen and (max-width: 568px) {
	.sec2-card__item{
		display: grid;
		grid-template-columns: repeat(1, 1fr);
	}
}
.sec2-card__item div{
	/*子要素のそれぞれのdivの高さを揃える記述*/
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
	/*ここまで*/

	padding: 10px;
	background-color: var(--base-color);
	border-radius: 10px;
	box-sizing: border-box;
	border: solid 1px var(--main-color);
}
.sec2-card__item H4{
	padding: 5px 0;
	font-size: clamp(16px,1.5vw,20px);
	font-weight: bold;
	line-height: 1.3;
	text-align: center;
	border-bottom: 2px dotted var(--main-color);
}
.sec2-card__item p{
	display: inline-block;
    font-size: 15px;
    line-height: 1.5;
}


/*======= FLOW ======*/

/*section3*/
.sec3 {
	padding: var(--v-space) 0;
	background:
		linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3)),
		url(../img/bg_03.png);
	background-size: cover;
	background-position: center center;
	position: relative;
	z-index: 1;
}

/*======= FAQ ======*/
.faq_sec1 {
	padding: var(--v-space) 0;
	background-color: #FFF;
	
	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}
div.faq2 p.b {
	font-weight: bold;
	color: #444;
}
div.faq2 p.b::first-letter {
	color: #888;
	font-size: 130%;
}
div.faq2 p {
	margin-top: 5px;
	line-height: 1.4;
	text-align: left;
	text-indent: -1.4em;
	padding-left: 1.4em;
	display: block;
}
div.faq2 p::first-letter {
	color: var(--accent-color1);
	font-size: 130%;
	font-weight: bold;
}
hr.faqHr{
	height: 0px;
	border: 1px solid #eee;
	margin: 20px auto;
}


/*======= 会社案内ページ ======*/
/*会社案内*/
.info_sec1{
	padding: var(--v-space) 0;
	background-color: #FFF;
	background-image: url(../img/bg_04.png);
	background-size:cover;
	background-position: bottom;

    background-color: rgba(250,250,251, 0.8) !important;
    background-blend-mode: overlay;
	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}
/* 概要・アクセス部分のテーブル */
.info1 {
	font-weight: bold;
	border-bottom: 1px dashed var(--accent-color2);
	padding: 5px;
	width: 5.25em;
}
.info2 {
	border-bottom: 1px dashed var(--accent-color2);
	padding: 5px;
	width: 400px;
}
@media screen and (max-width: 568px) {
	.info1 {
		display: block;
		padding: 8px 2px 2px 2px;
		width: 100%;
		border-bottom: 1px solid rgba(255,255,255,0);
	}
	.info2 {
		display: block;
		padding: 2px;
		width: 99%;
	}
}

.info-sec1-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 5px 5px;
}

@media (min-width: 568px) {
	.info-sec1-container {
		grid-template-columns: repeat(6, 1fr);
	}
}

.bg_b{
		background-color: rgba(0,18,58, 0.7); /* 50%透過 */
	padding:40px;
}
@media screen and (max-width: 568px) {
	.bg_b {
		padding: 20px;
	}
}

.access_sec1{
	padding: var(--v-space) 0;
	background-color: #FFF;
	
	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}



/*======= リスト ======*/
@media (max-width: 1024px) {
	ul.sidelist2 li {
		font-size: 13px;
		padding: 5px 4px;
	}
}

ul.sidelist2 li {
    box-sizing: border-box;
    list-style-type: none;
    float: left;
    --widthA: calc(100% - 10px);
    --widthB: calc(var(--widthA) / 2);
    width: var(--widthB);
    margin: 2.5px 5px 2.5px 0;
    text-align: left;
    text-decoration: none;
    font-size: 15px;
    padding: 5px;
	color: --txt-color;
    border: dashed 1px var(--main-color);
    background: #fff;
}

 .mb-20 {
	margin-bottom: 20px !important;
 }

 .cleafix {
	content: '';
    display: block;
    clear: both;
    padding-top: 20px;
 }


/*======= 電話 ======*/
 .sec3-heading {
    display: flex
;
    justify-content: center;
    align-items: center;
    font-size: clamp(14px, 1vw, 18px);
    text-align: center;
    border: 0;
    color: var(--txt-color);
    margin: 10px;
}

.sec3-heading::before {
    margin-right: 30px;
    transform: rotate(-35deg);
    content: '';
    width: 1px;
    height: 40px;
    background-color: var(--main-color);
}

.sec3-heading::after {
    margin-left: 30px;
    transform: rotate(35deg);
    content: '';
    width: 1px;
    height: 40px;
    background-color: var(--main-color);
}

a.btn_01 {
    display: block;
    text-align: center;
    text-decoration: none;
    position: relative;
    width: 200px;
    margin: 0 auto;
    padding: 1rem 4rem;
    font-weight: bold;
    color: #fff;
    background: var(--main-color);
    transition: 0.3s ease-in-out;
}

a.btn_01::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    border: 1px solid var(--accent-color1);
    transition: 0.2s;
}

/*======= 調整 ======*/
.l-c {
    margin-right: auto;
    margin-left: auto;
}

/*-----------*/
.spot-heading01 {
    font-size: clamp(40px, 6vw, 60px);
    font-style: italic;
    text-align: center;
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
.spot-heading02 {
    font-size: clamp(22px, 2.7vw, 30px);
    line-height: 1em;
    font-weight: 700;
    text-align: center;
    font-family: 'YakuHanJPs', 'Noto Sans Japanese', sans-serif, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "MS Pゴシック", "MS PGothic", Arial, Helvetica, Verdana;
}


/*漢方用*/
  .small-grid-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: stretch;
  }

  .small-grid-item {
    flex: 0 0 50%; /* 画像幅を常に50%に固定 */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8; /* 任意 */
  }

  .small-grid-container.single {
    justify-content: center; /* 1枚の時も中央寄せ */
  }


/*----------------------------------------------------*/
/*-----カード要素の上に半透明説明文のセット-----------*/
/*----------------------------------------------------*/

/* 親要素 */
.grid-overlay-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3列のグリッド */
    gap: 10px; /* グリッドアイテム間の隙間 */
	/*
  padding: 10px;
   width: 100%;
   max-width: 1200px; /* 最大幅 */
   */
    margin: 0 auto; /* 中央揃え */
}

/* 子要素（無記名div） */
.grid-overlay-container > div {
    position: relative; /* 説明文を重ねるためにrelative */
    overflow: hidden;
}

.grid-overlay-container > div img {
    width: 100%;
    height: auto;
    display: block;
}

/* 説明文のスタイル */
.overlay-text {
    position: absolute;
    bottom: 0; /* 画像の下部に配置（幅を広げるため0に） */
    left: 0; /* 左端から */
    width: 100%; /* 画像の幅と同じに */
    color: black;
    font-size: 1.2rem;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.3); /* 背景を半透明に */
    padding: 5px 0; /* 上下のpaddingのみ */
    text-align: center;
    transform: none; /* 中央揃えのtransformを解除 */
}

/* スマートフォン対応（画面幅が768px以下のとき） */
@media (max-width: 768px) {
    .grid-overlay-container {
        grid-template-columns: 1fr; /* 1列に変更 */
    }

    .grid-overlay-container > div {
        margin-bottom: 10px; /* ブロック間の隙間 */
    }

    .overlay-text {
        font-size: 1rem; /* フォントサイズを調整 */
    }
}

/*その他*/
strong{
	font-weight:normal;
}

p.swaku span {
    padding: 3px 10px 2px 10px;
    margin: 4px 3px;
    border: 1px solid #aaa;
    /* border-radius: 5px; */
    text-align: left;
    display: inline-block;
    font-size: clamp(14px, 1.3vw, 14px);
}

/*---------------------*/
/*電話､FAX､メール*/
/*---------------------*/

/*カード*/
.top-card__item{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap:10px;
}



@media only screen and (max-width: 968px) {
	.top-card__item{
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
}
@media only screen and (max-width: 568px) {
	.top-card__item{
		display: grid;
		grid-template-columns: repeat(1, 1fr);
	}
}
.top-card__item div{
	/*子要素のそれぞれのdivの高さを揃える記述*/
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 1;
	/*ここまで*/

	padding: 10px;
	border-radius: 0px;
	box-sizing: border-box;
	border: solid 1px #999;
}

.top-card__item3f div{
	/*子要素のそれぞれのdivの高さを揃える記述*/
	grid-row: span 1;
}

.top-card__item-ng div{
	/*子要素のそれぞれのdivの高さを揃える記述*/
	display: initial;
	text-align:left;
}

.top-card__item H4{
	padding: 5px 0;
	font-size: clamp(16px,1.5vw,20px);
	font-weight: bold;
	line-height: 1.3;
	border-bottom: 2px dotted var(--main-color);
}
.top-card__item p{
	display: inline-block;
    font-size: 15px;
    line-height: 1.5;
}

/*LAN工事・ネットワーク工事・周辺機器の設置*/
@media screen and (min-width: 568px) { 
	h3.sp-sm{
		font-size:19px;
	}
}


/*Handling 取扱機器・メーカー*/
.sec-h {
	padding: var(--v-space) 0;
	background:
		linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3)),
		url(../img/bg_05.png);
	background-size: cover;
	background-position: bottom;
	position: relative;
	z-index: 1;
}


/* スマートフォン対応（画面幅が768px以下のとき） */
@media (max-width: 768px) {
    .grid-overlay-container {
        grid-template-columns: 1fr; /* 1列に変更 */
    }

    .grid-overlay-container > div {
        margin-bottom: 10px; /* ブロック間の隙間 */
    }

    .overlay-text {
        font-size: 1rem; /* フォントサイズを調整 */
    }
}


/* マウスオーバー時のスタイル */
.image-link img:hover {
  opacity: 0.5; /* マウスオーバー時の透明度 */
}
