@charset "utf-8";

/*
Theme Name: 株式会社I.T.Connect様専用
Description: 株式会社I.T.Connect様専用
Author: AliceStone.com
Version: 1.0
*/

/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, div, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, address, code, del, dfn, ins, kbd, q, s, samp, small, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption{
font-family:inherit;
font-size:100%;
font-style:inherit;
font-weight:inherit;
margin:0;
padding:0;
}

:focus {outline: 0;}

:after, :before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* wordpress　ハイライト操作でMacに限り背景が勝手に黄色になってしまう。そのため最初から透明を設定。 */
mark {
background-color:rgba(0, 0, 0, 0)
}


/* theme.json 導入時にCSS設定がリセットされる対策。ここから */
/* 画像ブロックやテキストの中央揃え */
.wp-block-image.aligncenter,
.wp-block-cover.aligncenter,
.wp-block-video.aligncenter,
.wp-block-table.aligncenter,
figure.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* 左揃え */
.wp-block-image.alignleft,
.wp-block-cover.alignleft,
.wp-block-video.alignleft,
.wp-block-table.alignleft,
figure.alignleft {
    float: left;
    margin-right: 1em; /* 必要に応じて調整 */
}

/* 右揃え */
.wp-block-image.alignright,
.wp-block-cover.alignright,
.wp-block-video.alignright,
.wp-block-table.alignright,
figure.alignright {
    float: right;
    margin-left: 1em; /* 必要に応じて調整 */
}

/* ワイド幅 (Wide Alignment) */
.wp-block-image.alignwide,
.wp-block-cover.alignwide,
.wp-block-video.alignwide,
.wp-block-table.alignwide {
    max-width: 100%;
    width: var(--wp--style--wide-size, 1200px); /* theme.jsonのwideSizeに基づく */
    margin-left: auto;
    margin-right: auto;
}

/* 全幅 (Full Alignment) */
.wp-block-image.alignfull,
.wp-block-cover.alignfull,
.wp-block-video.alignfull,
.wp-block-table.alignfull {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* テキストの中央揃え */
.wp-block-paragraph.aligncenter,
.wp-block-heading.aligncenter,
.wp-block-quote.aligncenter,
.wp-block-pullquote.aligncenter {
    text-align: center;
}

/* テキストの左揃え */
.wp-block-paragraph.alignleft,
.wp-block-heading.alignleft,
.wp-block-quote.alignleft,
.wp-block-pullquote.alignleft {
    text-align: left;
}

/* テキストの右揃え */
.wp-block-paragraph.alignright,
.wp-block-heading.alignright,
.wp-block-quote.alignright,
.wp-block-pullquote.alignright {
    text-align: right;
}

/* ワイド幅と全幅のサポート */
.wp-block-group.alignwide {
    max-width: var(--wp--style--wide-size, 1200px);
    margin-left: auto;
    margin-right: auto;
}

.wp-block-group.alignfull {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}
/* theme.json 導入時にCSS設定がリセットされる対策。ここまで */
/* WordPress「メディアとテキスト」ブロックでモバイル時縦並びになるとテキスト部分の左右余白を調整
------------------------------------------------------------*/

@media screen and (max-width: 600px) {
.wp-block-media-text .wp-block-media-text__content {
    padding: 0 2% !important;
}
}



/* html　body -------------------------------------------------------------- */
html {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	font-size: 62.5%; /* 16px x 0.625 = 10px(=1rem) */
}
body {
	font-size: 1.4rem;/* 14px★ */
	line-height: 2.4rem;
	padding: 0em 0px 0px;
	color:#555;/*カラーセット：灰555*/
}


@media screen and (min-width: 768px) {
body {
	margin-top: 70px; /* ヘッダー固定のため余白 */
}

  }






/* 共通
------------------------------------------------------------*/
.img-responsive {
  display: block;
  height: auto;
  max-width: 100%;
}
.centerblock{
	display:block;
	margin-left:auto;
	margin-right:auto;
}


/* 電話番号リンク調整 */
	a[href*="tel:"] {
	pointer-events: none;
}
@media only screen and (max-width: 1024px) {
	a[href*="tel:"] {
	pointer-events: initial;
	}
}

/*--------------ページトップ--------------*/
.pagetop {
	display: none;
	position: fixed;
	bottom: 30px;
	right: 55px;
}
.pagetop a {
	display: block;
	width: 50px;
	height: 50px;
	background-color: #000000;/*カラーセット：差し色濃*/
	text-align: center;
	color: #FFF;/*カラーセット：白*/
	font-size: 2.4rem;
	text-decoration: none;
	line-height: 50px;
	border-radius:100%;
	opacity:0.8;
}


/* リンク設定
------------------------------------------------------------*/

a{
margin:0;
padding:0;
text-decoration:none;
outline:0;
vertical-align:baseline;
background:transparent;
font-size:100%;
font-weight:bold;
color:#DFD500;/*カラーセット：メインカラー*/
}

a:hover, a:active{
outline:none;
color:#FFFF01;/*カラーセット：差し色明*/
}

a:hover img {
	opacity:0.5;
	filter: alpha(opacity=80);
	-ms-filter: "alpha(opacity=80)";
}






/* ヘッダー
*****************************************************/

#header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  gap: 10px;
}

.logo {
  flex-shrink: 1;
  flex-grow: 0;
  max-width: 70%;
  width: auto;
}

.logo img {
  width: 100%;
  height: auto;
  max-width: 293px;
}

/* ハンバーガーメニュー */
.menu-toggle {
  display: none;
}

.hamburger {
  display: block;
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: relative;
  flex-shrink: 0;
  margin-left: 10px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* 三本線の位置 */
.hamburger span:nth-child(1) {
  top: 0;
}
.hamburger span:nth-child(2) {
  top: 11px;
}
.hamburger span:nth-child(3) {
  bottom: 0;
}

/* チェック時にXに変形 */
.menu-toggle:checked + .hamburger span:nth-child(1) {
  transform: rotate(45deg);
  top: 11px;
}

.menu-toggle:checked + .hamburger span:nth-child(2) {
  opacity: 0;
}

.menu-toggle:checked + .hamburger span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 11px;
}

/* ナビゲーション（モバイル） */
.nav-menu {
  display: none;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.92);
  position: absolute;
  top: 56px;
  right: 0;
  width: 100%;
}

.menu-toggle:checked ~ .nav-menu {
  display: flex;
}

.nav-menu ul {
  list-style: none;
}

.nav-menu li {
  border-bottom: 1px solid #FFF100;
}

.nav-menu a {
  display: block;
  padding: 15px;
  text-decoration: none;
  color: #333;
  text-align:center;
  font-family: "Noto Sans JP", Sans-serif;
  font-weight: 400;
  font-size: 1.3rem;
}

/* =========================
   768px以上のスタイル
========================= */
@media screen and (min-width: 768px) {
  .hamburger {
    display: none;
  }

  .nav-menu {
    display: block;
    position: static;
    margin-left: auto;
  }

  .nav-menu ul {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
  }

  .nav-menu li {
    border: none;
  }

  .nav-menu a {
    padding: 10px 0;
    color: #333;
    text-decoration: none;
  }
}






/* トップページ　メイン画像
*****************************************************/
/* フルサイズ*/
#mainimg_large{
clear:both;
padding: 0px 0px 20px 0px;
margin:0px auto 20px auto;/
line-height:0;
text-align:center;
z-index:0;
background-size:100% auto;}
#mainimg_large img{width:100%;height:auto;}

@media only screen and (min-width:960px){
	#mainimg_large{
		max-width:100%;
}
}

/* グーグルマップ
*****************************************************/
.gmap{
    margin: 20px auto 0 auto;
    padding: 0 0 0 0;
    width: 100%;
	height:100%;
}
@media screen and (min-width: 768px) {
.gmap{
    margin: 50px auto 0 auto;
}
}
.gmap iframe {
    vertical-align: bottom;
}

/* フッター
*****************************************************/
/* フッター全体 */
.site-footer {
  padding: 20px;
  background-color: #fff;
  text-align: center;
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* 背景用：画面幅いっぱい */
.footer-cta {
  position: relative;
  padding: 20px 0;
  z-index: 1;
  margin: 0 -20px; 
}
.footer-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #FFF100 0%, #FFF100 70%, #FFFFFF 100%);
  z-index: -1;
}

/* コンテンツ用：中央寄せ＆最大幅 */
.cta-inner {
  display: flex;
  flex-direction: row; /* ← 常に横並び */
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
  height: 100px; /* モバイル高さ */
}

/* CTAブロック（共通） */
.cta-item {
  flex: 1; /* ← 均等幅 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100px;
  box-sizing: border-box;
  color: #000;
}

/* アイテムごとの縦線調整 */
.cta-item:first-child {
  border-right: 1px solid #FFFFFF;
}
.cta-item:nth-child(2) {
  border-left: 1px solid #FFFFFF;
  border-right: 1px solid #FFFFFF;
}
.cta-item:last-child {
  border-left: 1px solid #FFFFFF;
}

/* CTAリンク */
.cta-item a {
  color: #000 !important;
  text-decoration: none !important;
  font-weight: bold;
}
.cta-item a:hover {
  color: #000 !important;
  text-decoration: none !important;
}

/* アイコン */
.cta-icon {
  max-width: 100%;
  height: auto;
  margin-bottom: 5px;
}

/* テキスト */
.cta-text {
  margin: 0;
  font-size: 1.5rem;
  font-weight: bold;

}
.cta-text.desktop {
  display: none;
}

/* ロゴ（モバイル） */
.footer-logo {
  margin: 30px auto;
  width: 290px;
}
.footer-logo img {
}




/* コピーライト（モバイル） */
.footer-copy {
  font-size: 0.9em;
  color: #333;
  text-align: center;
}

/* デスクトップ用スタイル */
@media screen and (min-width: 768px) {
  .cta-inner {
    height: 120px; /* ← デスクトップ高さ */
  }

  .cta-item {
    height: 120px;
  }
.cta-text {
  font-size: 2.0rem;
}
  .cta-text.mobile {
    display: none;
  }

  .cta-text.desktop {
    display: block;
  }

  .footer-logo {
  margin: 30px 0;
  }

  .footer-copy {
    text-align: center;
    margin-top: 10px;
  }
}










/* 大枠
*****************************************************/
#wrapper{
margin:0 auto;
width:100%;
}

@media screen and (min-width: 961px) {
#wrapper{
margin:0 auto;
width:960px;
}
}


#content{
margin: 0 2%;
padding:0px 0 0 0;/*ヘッダーとのビタ付きを解除するにはここ*/
transition: margin-top 0.3s ease;
}
#sidebar{}



/*content内
------------------------------------------------------------*/
#content a{
text-decoration:underline;
}


.postwrap{
	font-size: 1.6rem;/* 16px★ */
	line-height: 3rem;
}

.postwrap ul{
margin:0 0 0 20px;
}
.postwrap ol{
margin:0 0 0 20px;
}

blockquote{
	position: relative;
	border-left: 3px double #000;/*カラーセット：黒*/
	padding-left: 10px;
	background-color: #ECECEC;
}
blockquote:before{
  position:absolute;
content:'”';
  font-size: 22px;
  color:#FFFF00;/*カラーセット：メインカラー*/
  padding-top:10px;
	font-weight:bold;
}
blockquote p{
  position:relative;
  padding: 10px 10px 10px 10px;
}
blockquote cite{
  display: block;
  color:#000;/*カラーセット：黒*/
  padding:10px;
}

.postwrap dt{
	font-size:1.5rem;
	font-weight:bold;
	margin:10px 0 5px 0;
}
.postwrap dd{
	margin:0px 0 5px 10px;
}


/*　記事の日付表示部
------------------------------------------------------------*/
.post_day{
	margin:5px 0 10px 0;
}

/*　左右　 https://suiq.jp/flex-layout-generator/
------------------------------------------------------------*/
.postbox{
	display: flex;
	flex-wrap: wrap;
	margin:10px 0px 20px 0;
}

.postbox_img {
margin:0 auto;
}
.postbox_text {
width:98%;
margin:20px auto 20px auto;
}

@media only screen and (min-width: 769px) {
.postbox_img {
width:420px;
	margin:0 20px 0 0; 
}

.postbox_text {
	width: calc( 100% - 440px );
margin:0 0 0 0;
}
}

/* フォント
------------------------------------------------------------*/
h1{
	color:#FFF;/*カラーセット：白*/
	font-size:1.1rem;
	margin:0px 0;
}
#content h1{
	color:#000;/*カラーセット：メインカラー*/
	font-size:2.2rem;
	margin:0px 0;
}
h2 {
	color: #FFF;/*カラーセット：白*/
	font-size: 2rem;
	padding: 10px 0 10px 10px;
    margin: 20px 0 10px 0;
	background-color:#000;/*カラーセット：メインカラー*/
	border-radius:5px;
}
@media screen and (min-width: 961px) {
h2 {
    margin: 40px 0 10px 0;
}
}
h3 {
	font-size:1.6rem;
	font-weight:bold;
	margin:0px 0px 10px 0;
	padding:5px;
	background-color: #FFF100;/*カラーセット：差し色濃*/
	color: #000;/*カラーセット：白*/
}
h4 {
	color:#000;/*カラーセット：メインカラー*/
	font-size:1.4rem;
	font-weight:bold;
	margin:10px 0px 10px 0;
	padding:5px;
	border-left:5px solid #FFF100;/*カラーセット：差し色濃*/
}
h5 {
	font-size: 1.2rem;
	font-weight: bold;
	margin: 10px 0px 10px 0;
	padding: 5px;
	border-bottom:3px solid #FFF100;/*カラーセット：メインカラー*/
}
h6 {
	font-size:1.4rem;
	font-weight:bold;
	margin:10px 0px 10px 0;
	padding:5px 5px 5px 0;
}



.redbold{
	font-weight:bold;
	color:#F00;
}
.font_link{
	color: #FF9C17;/*カラーセット：差し色濃*/
	text-decoration: underline
}

ul.kome li {
  list-style-type: none;
  text-indent: -1em;}

ul.kome li:before {
  display: inline;
  content: "※";
}

/*　縦３画像あり
------------------------------------------------------------*/
.news_wrap{
	display:flex;
	flex-wrap: wrap;
	margin:10px 0px 20px 0;
}

.news_box{
	display:flex;
	flex-direction: column;
	margin:10px 1% 20px 1%;
	width:98%;
}

.news_box_img{
	width:100%;
}
.news_box_img img{
	width:100%;
	max-height:180px;
	object-fit: cover;	
}


.news_box_title{
	margin:10px 0 10px 0;
	border-bottom:1px solid #CCC;
	font-size:1.4rem;
}
.news_box_time{
	margin:5px 0 10px 0;
	font-size:0.9rem;
}

.more_detail{
	margin-top:auto;
} 
.more_detail  a{
	display:block;
    background-color: #EEE;
    color: #333;
    padding: 2px 10px;
	margin:5px 0 5px auto;
	border:1px solid #CCC;
	max-width:200px;
	text-align:center;
	text-decoration:none;
}
.more_detail  a:hover{
    background-color: #94CDF9;/*カラーセット：同色薄色*/
    color: #FFF;/*カラーセット：白*/
	border:1px solid #CCC;/*カラーセット：灰CCC*/
}



@media only screen and (min-width: 480px) {
.news_box_img{
	width:48%;
	margin:10px 1% 20px 1%;
}
}
@media only screen and (min-width: 769px) {
.news_box{
	width:31%;
}
.news_box_img{
	width:100%;
	margin:0%;
}
}





/* テーブル
------------------------------------------------------------*/

/* 会社概要ページのみに適用されるテーブル
------------------------------------------------------------*/
#info table{
border:1px solid #CCC;/*カラーセット：灰CCC*/
border-collapse:collapse;
border-spacing:0;
margin:10px auto 30px;
width:90%;
}
#info table th{
padding:15px 15px 0px 10px;
font-weight:bold;
	display: block;
background-color:#eee;/*カラーセット：同色薄色*/
border-bottom:1px solid #FFF;/*カラーセット：白*/
text-align:left;
vertical-align: top;
}
#info table td{
padding:15px;
border:1px solid #CCC;/*カラーセット：灰CCC*/
border-width:0 0 1px 0px;
	display:block;
}
#info table tr:last-child td { 
  border-bottom: none;
}


@media screen and (min-width: 768px) {
#info table th{
padding:15px;
	white-space: nowrap;
	display:table-cell;
	width:20%;
}
#info table td{
	display:table-cell;
border-width:0 0 1px 1px;
}
#info table tr:last-child th { 
  border-bottom: 1px solid #CCC;
}
}



/* 送信関係------------------------------------------------------------*/
/* プライバシーポリシー*/

.privacy {
    position: relative;
    padding: 40px 10px 20px 10px;
    border: 1px solid #CCC;/*カラーセット：灰CCC*/
    margin: 50px auto 20px auto;
width:90%;
}


.privacy::after {
    content: "プライバシーポリシーについて";
    position: absolute;
    top: -13px;
    left: 10px;
    color: #333;/*カラーセット：灰333*/
    padding: 5px 10px;
    background-color: #EEE;/*カラーセット：灰EEE*/
}

.privacy p {
	margin:10px;
}



/* お問合せページ
------------------------------------------------------------*/

/* 可変 */
.kahen{
	width: 90% !important;
border:1px solid #CCC;
	padding:5px 0 5px 10px;
}
@media only screen and (min-width: 640px) {
.kahen{
	width: 70% !important;
border:1px solid #CCC;
	padding:5px 0 5px 10px;
}
}


/* Snow Monkey Forms */
/*テーブル部分の左側 */
.smf-form--business .smf-item__col--label {
background-color:#eee;/*カラーセット：灰eee*/
border-bottom:1px solid #ddd;/*カラーセット：灰ddd*/
color:#333;/*カラーセット：灰333*/
	display:flex;
	align-items: flex-start;
}
@media only screen and (min-width: 640px) {
.smf-form--business .smf-item__col--label {
	justify-content: space-between;
	align-items: flex-start;
}
}
/*テーブル部分の右側 */
.smf-form--business .smf-item__col--controls {
background-color:#FFF;/*カラーセット：白*/
border-bottom:1px solid #ddd;/*カラーセット：灰色*/

}
.smf-form--business .smf-item__label{

}

/* 必須ボタンデザイン */
.smf-item__description{
	padding: 3px 5px;
	background-color: #C82E2E;
	display: inline-block;
	color: #FFF !important;
	border-radius: 5px;
	margin: 0 0 5px 10px;
	font-size: 1.2rem !important;
	width:50px;
	text-align:center;
}





















/* WordPress
------------------------------------------------------------*/
/*ページネーション*/
.pagination {
  clear: both;
  padding: 20px 0;
  position: relative;
  font-size: 14px;
  line-height: 14px;
        text-align: center;
}
.pagination-box {
  display: inline-block;
}
.pagination span, .pagination a {
  display: block;
  float: left;
  margin: 2px 2px 2px 0;
  padding: 10px 15px 10px 15px;
  text-decoration: none;
  width: auto;
  color: #333;/*カラーセット：灰333*/
  background-color: #FFF;/*カラーセット：白*/
  border:1px solid #02406F;/*カラーセット：同色濃色*/
}
.pagination a:hover{
  color: #FFF;/*カラーセット：白*/
  background-color: #1C77BC;/*カラーセット：メインカラー*/
}
.pagination .current{
  padding: 10px 15px 10px 15px;
  color: #FFF;/*カラーセット：白*/
        background-color: #1C77BC;/*カラーセット：メインカラー*/
}
@media only screen and (max-width: 413px) {
.pagination {
  font-size: 12px;
  line-height: 12px;
}
.pagination span, .pagination a {
  padding: 8px 10px 8px 10px;
}
.pagination .current{
  padding: 8px 10px 8px 10px;
}
}

/*前後ページ送り*/
.prev_next {
    padding: 12px 0;
    margin: 50px 0;
    display: flex;
    flex-direction: column;
}

@media only screen and (min-width: 768px) {
    .prev_next {
        flex-direction: row;
        justify-content: space-between;
    }
}

.prev, .next {
    display: block;
    width: 80%;
    border: 1px solid #CCC; /* カラーセット：灰CCC */
    text-align: center;
    padding: 20px 5%;
    margin: 0 auto 40px;
    word-wrap: break-word;
    text-decoration: none !important; 
    color: #1C77BC;/*カラーセット：メインカラー*/
    transition: background-color 0.3s, color 0.3s; /* 背景色とテキスト色の変化を滑らかに */
    text-align: left;
}
    .next {
        text-align: right;
}

@media only screen and (min-width: 768px) {
    .prev, .next {
        width: 30%;
        padding: 20px 5%;
        margin: 0;
}
}

.prev:hover, .next:hover {
    background-color: #6495ED;/*カラーセット：メインカラー*/
    color: #FFF; /*カラーセット：白*/
    border: 1px solid #CCC; /* カラーセット：灰CCC */
}



/*tiktok用のiframeデザイン調整*/
blockquote.tiktok-embed {
  margin: 0;
  padding: 0;
  border: none;
}
blockquote.tiktok-embed:before {
    content: '';
}

