@charset "utf-8";


/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
:focus {outline: 0;}

ol, ul {list-style: none;}
table {border-collapse: separate;border-spacing: 0;}
caption, th, td {font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img{border: 0;}
figure{margin:0}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
/* -------------------------------------------------------------- */

body{
color:#333;
font:12px verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
line-height:1.5;
background:#fff;
-webkit-text-size-adjust: none;
}


/* リンク設定
------------------------------------------------------------*/
a{color:#555;text-decoration:none;}
a:hover{color:#1f1f1f;}
a:active, a:focus{outline:0;}


/* 全体
------------------------------------------------------------*/
#wrapper{
margin:0 auto;
padding:0 1%;
width:98%;
position:relative;
}

.inner{
margin:0 auto;
width:100%;
}


/*************
/* ヘッダー
*************/
#header{
padding:10px 0 15px;
overflow:hidden;
}

* html #header{height:1%;}

#header h1{
font-size:12px;
font-weight:normal;
}


/*************
/* ロゴ
*************/
#header .logo{
float:left;
padding:20px 0 0;
}

.logo a{
font-size:20px;
font-weight:bold;
line-height:1;
}

.logo span{
font-size:12px;
font-weight:normal;
}


/**************************
/* メイン画像（トップページ+サブページ）
**************************/
#mainBanner{
margin:30px auto;
padding:0;
width:100%;
position:relative;
line-height:0;
}

#mainBanner img{
max-width:100%;
height:auto;
padding:1px;
background:#eee;
}

.slogan{
position:absolute;
max-width:100%;
height:auto;
bottom:0;
left:0;
padding:5px 10px;
line-height:1.4;
z-index:100;
}

.slogan h2{
padding-bottom:5px;
color:#333;
font-size:20px;
}

.slogan h3{
font-size:14px;
color:#666;
}

/* サブページ スローガンの背景・黒*/
.subImg .slogan{left:auto;right:0;}

.subImg .slogan h2{color:#fff;}
.subImg .slogan h3{color:#ccc;}



/**************************
/* グリッド
**************************/
.gridWrapper{
padding-bottom:20px;
overflow: hidden;
}

* html .gridWrapper{height:1%;}
	
.grid{
float:left;
border-radius: 5px;
border: 1px solid #ccc;
background: #f5f5f5;   
}

.grid h3{
padding:10px 5px;
font-weight:bold;
text-align:center;
}

.grid p{
padding:5px 10px;
text-align:left;
}

.grid p.img{text-align:center;}

.gridWrapper img, img.frame{
max-width:100%;
height:auto;
margin-bottom:10px;
padding:1px;
border:1px solid #ccc;
background:#eee;
}

#sub img{
padding:0;
border:1px solid #ccc;
}

/* ===== フッターのグリッドレイアウト修正 ===== */
#footer .gridWrapper {
  width: 100%;
  margin: 0 auto 20px;
  overflow: hidden;
  padding: 0;
}

#footer .gridWrapper.two .grid {
  width: 48%;
  margin: 1%;
  float: left;
}

#footer .gridWrapper.three .grid {
  width: 30.66%;
  margin: 1%;
  float: left;
}

#footer .grid {
  background: transparent;
  color: #fff;
  border: none;
  padding: 8px;
  box-sizing: border-box;
  text-align: center;
}

#footer .grid p {
  margin-bottom: 10px;
  text-align: center;
}

#footer .grid a {
  color: #fff;
  text-decoration: none;
}

#footer .grid a:hover {
  color: #ccc;
}

#footer .logo {
  text-align: center;
  float: none; /* ← float解除（左右に寄せない） */
  padding: 10px 0;
}

#footer .copyright {
  text-align: center;
  font-size: 12px;
  color: #ccc;
}


/* ===== レスポンシブ（スマホ縦表示）時に縦並びに変更 ===== */
@media only screen and (max-width: 768px) {
  #footer .gridWrapper.two .grid,
  #footer .gridWrapper.three .grid {
    width: 100% !important;
    margin: 0 auto 15px;
    float: none;
    text-align: center;
  }

/* Copyrightを中央配置＆幅固定 */
#footer .gridWrapper .copyright {
  max-width: 960px;
  margin: 0 auto;
}
}


/* ===== フッター内SNSアイコン（Facebook・Instagram・YouTube） ===== */
#footer .sns-icons {
  display: flex;
  gap: 12px;
  margin-top: 5px;
  align-items: center;
  justify-content: center;
}

#footer .sns-icons img {
  width: 36px;
  height: 36px;
  border: none;
  padding: 0;
  background: none;
  transition: opacity 0.3s;
}


/* スマホ表示用の調整 */
@media only screen and (max-width: 768px) {
  #footer .sns-icons {
    justify-content: center;
  }
}

/*************
メイン コンテンツ
*************/
section.content{
padding:10px 0;
margin-bottom:20px;
border-radius:6px;
overflow:hidden;
font-size:14px;
}

* html section.content{height:1%;}

section.content p{margin-bottom:5px;}

.highlight-heading {
  font-size: 30px;
  font-weight: bold;
  background-color: yellow;
  padding: 6px 10px;
  display: inline-block;
  border-radius: 4px;
  text-align: center;
  margin: 10px auto; /* ← 上下30px、左右は中央寄せ */
}

.highlight-heading-wrapper {
  text-align: center;
}

.highlight-heading2 {
  font-size: 20px;
  font-weight: bold;
  background-color: yellow;
  padding: 6px 6px;
  display: inline-block;
  border-radius: 4px;
  text-align: center;
  margin: 5px auto; /* ← 上下15px、左右は中央寄せ */
}

.highlight-heading2-wrapper {
  text-align: center;
}

h3.heading{
padding-bottom:5px;
margin-bottom:10px;
font-size:16px;
border-bottom:3px solid #555;
color:#555;
}

section.content img{
max-width:90%;
height:auto;
}

.alignleft{
float:left;
clear:left;
margin:3px 10px 10px 0;
}

.alignright{
float:right;
clear:right;
margin:3px 0 10px 10px;
}

.two-column img {
  width: 80%;   /* 画像幅を80%に縮小 */
  height: auto; /* 縦横比は保持 */
  display: block;        /* インライン要素からブロックにする */
  margin: 0 auto;        /* 左右の余白を自動で均等にする */
}

#gallery .grid{
padding:5px 0 0;
border:0;
background:#fff;
}

.image-center {
  text-align: center;         /* 画像を中央に */
  margin: 10px 0;             /* 上下に余白（10px） */
}

.image-center img {
  max-width: 70%;            /* レスポンシブ対応（オーバーフロー防止） */
  height: auto;
}

.center-paragraph {
  font-size: 14px;
  text-align: center;
  padding: 10px;
  margin: 10px auto;
  line-height: 1.6;
  max-width: 700px; /* 任意で横幅制限 */
}

.row-flex {
  display: flex;
  align-items: center;
  justify-content: center; /* ← これで中央揃え */
  gap: 20px;
  flex-wrap: wrap; /* スマホ対応 */
  margin: 20px 0;
}

.logo img {
  height: 40px; /* 適宜調整 */
}

.button-wrapper {
  display: flex;
  gap: 10px;
}

.button-wrapper .btn {
  background-color: #007BFF;
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 5px;
  font-size: 14px;
}

.button-wrapper .btn:hover {
  background-color: #0056b3;
}

@media screen and (max-width: 600px) {
  .row-flex {
    flex-direction: column;
    align-items: flex-start;
  }

  .button-wrapper {
    flex-direction: column;
    width: 100%;
  }

  .button-wrapper .btn {
    width: 100%;
    text-align: center;
  }
}

.gif-container {
  display: flex;         /* ブロック要素化して横並びを防ぐ */
  clear: both;            /* float解除（前の要素の横並びをリセット） */
  background-color: #f0f0f0;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  margin: 50px auto;
  max-width: 350px;
  justify-content: center;
  align-items: center;
  width: 100%;          /* ページ幅いっぱいに */
  text-align: center;   /* 保険 */
}
.gif-container img {
  display: inline-block;  /* 画像を中央揃え */
  margin: 0 auto;
  max-width: 100%;        /* 幅をはみ出さないように */
  height: auto;
}

.intercom-text {
  font-size: 20px;       /* 文字サイズ */
  font-weight: bold;     /* 太字 */
  text-align: center;    /* （任意）中央揃えにしたい場合 */
  margin: 10px 0;        /* （任意）上下の余白 */
}

.compare-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  background-color: #007BFF; /* ブルー系ボタン */
  padding: 30px;
  border-radius: 10px;
  flex-wrap: wrap; /* スマホ対応 */
}

.compare-item img {
  width: auto;
  height: 250px;
  display: block;
}

/* スマホ画面（幅768px以下）で画像サイズを自動調整 */
@media screen and (max-width: 768px) {
  .compare-item img {
    width: 100%;
    height: auto;
  }
}

/* 写真を“親の幅いっぱい”で中央表示に */
.responsive-img {
  display: block;
  width: min(960px, 100%); /* PCは最大960px、スマホは100% */
  height: auto;
  margin: 0 auto;          /* 中央 */
}

/* スマホ・タブレットなど狭い画面では100%表示 */
@media screen and (max-width: 768px) {
  .responsive-image img {
    width: 100%;
  }
}

.info-section {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  background-color: #f9f9f9; /* 背景色はお好みで */
  padding: 20px;
  border-radius: 8px;
  flex-wrap: wrap; /* スマホ対応：縦並びに切替 */
 max-width: 960px;       /* 最大幅を設定 */
  margin: 0 auto;         /* 横中央に配置 */
}

.info-text {
  flex: 1;
  min-width: 280px;
  font-size: 18px;
  line-height: 1.6;
}

.info-text h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}

.info-text p {
  margin-bottom: 20px;
}

.info-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.info-image img {
  width: 100%;
  max-width: 300px;
  height: auto;
}

@media (max-width: 768px) {
  .info-image img {
    display: block;
    margin: 0 auto;      /* 中央寄せ */
    max-width: 80%;      /* 幅を少し広めに */
  }
}

.half-size-image img {
  width: 50%;        /* 横幅を元サイズの50%に縮小 */
  height: auto;      /* 縦横比を保つ */
  display: block;
  margin: 0 auto;    /* 中央揃え */
  max-width: 100%;   /* 親要素をはみ出さないように制限 */
}

.image-wrapper {
  text-align: center;
  margin: 20px 0;
}

.responsive-img {
  max-width: 100%;
  width: auto;
}

@media screen and (max-width: 768px) {
  .responsive-img {
    width: 100%;
    height: auto;
  }
}

.product-container {
  display: flex;
  flex-wrap: wrap;        /* 折り返しを許可 */
  justify-content: center;
  gap: 10px;
  background-color: #007BFF;
  padding: 30px;
}

.product-container .product-link {
  flex: 1 1 280px;        /* 最小幅300pxで伸縮 */
  max-width: 280px;       /* 最大幅制限（好みで） */
  display: flex;
  justify-content: center;
}

.product-container .product-link img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.product-container .product-link img:hover {
  transform: scale(1.05);
}

/* スマホ：1列表示で大きめ */
@media (max-width: 768px) {
  .product-container {
    flex-direction: column;
    align-items: center;
  }

  .product-container .product-link {
    flex: 1 1 auto;
    width: 100%;
    margin-bottom: 20px;
  }

  .product-container .product-link img {
    max-width: 80%;
    margin: 0 auto;
  }
}

.building-info {
  max-width: 500px;
  margin: 40px auto;         /* セクション全体を中央配置 */
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  text-align: left;          /* ← テキストは左寄せに */
}

.building-info h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}

.building-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.building-info li {
  font-size: 14px;
  margin-bottom: 8px;
}

.two-column-spec {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin: 20px auto;
  max-width: 960px;
}

.two-column-spec .column {
  flex: 1 1 300px;
  min-width: 280px;
  background-color: #f9f9f9;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 8px;
}

.two-column-spec h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.two-column-spec p {
  font-size: 14px;
  margin-bottom: 8px;
}

/*************
テーブル
*************/
table.table{
border-collapse:collapse;
width:100%;
margin:10px auto;
}

table.table th,table.table td{
padding:5px;
border:1px solid #1f1f1f;
}

table.table th{
text-align:right;
font-weight:bold;
letter-spacing:1px;
white-space:nowrap;
color:#fff;
background:#555;
border-left:#1f1f1f 5px solid
}

table.table td{border-left:#1f1f1f 3px double}

.two-column {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px; /* カラム間の余白 */
  flex-wrap: wrap; /* スマホ用：折り返し */
  padding: 20px;
}

.column.left img,
.column.right img {
  display: block;
  max-width: 100%; /* 念のため */
  height: auto;
}

.column.right img {
  margin-bottom: 12px; /* 画像同士の間隔 */
}

@media screen and (max-width: 768px) {
  .two-column {
    flex-direction: column;
    align-items: center;
  }

  .column.right img {
    margin-bottom: 16px;
  }
}

.two-column {
  background-color: #f0f0f0; /* 薄い灰色 */
  padding: 20px; /* 内側余白（任意） */
  border-radius: 8px; /* 角丸（任意） */
}


/*************
サブ（フッター前）コンテンツ
*************/
#sub ul{padding:10px;}

#sub li{
margin-bottom:10px;
padding-bottom:10px;
border-bottom:1px dashed #ebebeb;
}

#sub li:last-child{
border:0;
margin-bottom:0;
}

#sub li a{display:block;}

#sub ul.list{padding-bottom:7px;}

#sub ul.list li{
clear:both;
margin-bottom:4px;
padding:4px 0;
overflow:hidden;
}

* html #sub ul.list li{height:1%;}

#sub ul.list li img{
float:left;
margin:0 10px 0 0;
}

#sub ul.list li{
font-size:12px;
line-height:1.35;
}


/*************
/* フッター
*************/
#footer{
clear:both;
padding:20px 0;
overflow:hidden;
background:#1f1f1f;
border-top:1px solid #555;
}

* html #footer{height:1%;}

.tel strong{
font-size:20px;
font-weight:bold;
}

#footer a{color:#fff;}
#footer a:hover{color:#ccc;}

#footer .copyright{font-size:11px;}


/* PC用 */
@media only screen and (min-width:960px){	
	#wrapper,.inner{
	width:940px;
	padding:0;
	}
	
	#wrapper{padding-bottom:20px;}
	
  nav div.panel{
	display:block !important;
	float:right;
	}

	a#menu{display:none;}

	nav#mainNav ul{
	float:right;
	overflow:hidden;
	}

	* html nav#mainNav ul{height:1%;}

	nav#mainNav ul li{
	float:left;
	margin:0 5px;
	text-align:center;
	}

	nav#mainNav ul a{
	font-size:13px;
	display:block;
	padding:10px;
	border-bottom:3px solid #fff;
	}

	nav#mainNav ul span{
	color:#aaa;
	font-size:10px;
	}

	nav#mainNav ul li.active a,nav#mainNav ul a:hover{border-color:#1f1f1f;}
	
	#mainBanner img{max-width:936px;}
	
	/* グリッド全体 */
	.gridWrapper{
	width:960px;
	margin:0 0 0 -20px;
	}
	
	/* グリッド共通 ベース:トップページ4カラム */
	.grid{
	float:left;
	width:218px;
	margin-left:20px;
	}
	
	/* サブコンテンツ + フッター グリッド(3カラム) */
	#sub .grid, #footer .grid{width:298px;}
	#footer .grid{border:0;}
	
	#gallery{margin-left:-10px;}
  #gallery .grid{width:220px;}	
}

#footer .copyright {
  text-align: center;
  font-size: 12px;
  color: #ccc;
  padding: 10px 0;
}

#footer .gridWrapper.one .grid {
  width: 100%;
  float: none;
  margin: 0 auto;
  text-align: center;
}

/* モニター幅940px以下 */
@media only screen and (max-width:940px){
	*{
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
	}
	
	#header h1{text-align:center;}
	
	#header .logo,#footer .logo{
	float:none;
	text-align:center;
	padding:10px 5px;
	}
	
	nav#mainNav{
	clear:both;
	width:100%;
	margin:0 auto;
	padding:0;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1, #1f1f1f), color-stop(0.00, #555));
	background: -webkit-linear-gradient(top, #555 0%, #1f1f1f 100%);
	background: -moz-linear-gradient(top, #555 0%, #1f1f1f 100%);
	background: -o-linear-gradient(top, #555 0%, #1f1f1f 100%);
	background: -ms-linear-gradient(top, #555 0%, #1f1f1f 100%);
	background: linear-gradient(top, #555 0%, #1f1f1f 100%);
	}

	nav#mainNav a.menu{
	width:100%;
	display:block;
	height:40px;
	line-height:40px;
	font-weight: bold;
	text-align:left;
	color:#fff;
	}

	nav#mainNav a#menu span{padding-left:10px;}
	nav#mainNav a.menu span:before{content: "→ ";}
	nav#mainNav a.menuOpen span:before{content: "↓ ";}

	nav#mainNav a#menu:hover{cursor:pointer;}

	nav .panel{
	display: none;
	width:100%;
	position: relative;
	right: 0;
	top:0;
	z-index: 1;
	}

	nav#mainNav ul li{
	float: none;
	clear:both;
	width:100%;
	height:auto;
	line-height:1.2;
	}

	nav#mainNav ul li a,nav#mainNav ul li.current-menu-item li a{
	display: block;
	padding:15px 10px;
	text-align:left;
	border-bottom:1px dashed #fff;
	color:#fff;
	background:#1f1f1f;
	}
	
	nav#mainNav ul li a span{padding-left:10px;}
	
	nav#mainNav ul li:first-child a{border-top:1px dashed #fff;}
	
	nav#mainNav ul li:last-child a{border:0;}
	
	nav#mainNav ul li.active a,nav#mainNav ul li a:hover{background:#555;}

	nav div.panel{float:none;}
	
	.grid{
	float:left;
	width:48%;
	margin:10px 2% 0 0;
	}
	
	.grid img{
	float:left;
	margin-right:5px;
	}
	
	#gallery{padding-left:1px;}
	
	#gallery .grid{
	width:23%;
	margin:0 2% 0 0;
	padding:0;
	}
	
	#gallery .grid img{
	float:none;
	margin:0;
	}
	
	#sub .grid{
	width:32%;
	margin:10px 1%;
	}
	
	#sub .grid:first-child{
	margin-left:0;
	}
	
	#sub .grid:last-child{
	margin-right:0;
	}
	
	#footer .grid, #footer .grid p{
	float:none;
	width:100%;
	text-align:center;
	border:0;
	}
	
	#footer .grid:last-child{padding-top:20px;}
}


/* iPad 縦 */
@media only screen and (max-width:768px){
  #header{padding-bottom:0;}	

	#header h1{text-align:center;}
	
	#header .logo{
	float:none;
	text-align:center;
	padding:10px 5px 20px;
	}
	
	#sub ul.list{padding:10px 10px 11px;}
	
	#sub ul.list li{
	padding-bottom:10px;
	margin-bottom:8px;
	}
}


/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px){
	#footer .grid p{text-align:center;}
	
	.grid img{
	float:none;
	margin:0 auto;
	}
	
	.grid p,#sub .grid li{text-align:left;}

  .alignleft,.alignright{
	float:none;
	display:block;
	margin:0 auto 10px;
	}
	
	#sub ul.list li img{margin:0 5px 0 0;}
}


/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
	#mainBanner{margin-left:1px;}
	#mainBanner h2,#mainBanner h3{font-size:75%;}
	
	#sub .grid{
	float:none;
	width:98%;
	}
	
	#sub .grid h3{padding:10px 5px;}
	
	#sub ul.list{padding:10px;}
	
	#sub ul.list li{
	padding-bottom:3px;
	margin-bottom:3px;
	}
}