@charset "UTF-8";

/*!
Theme Name: NANO Child
Description: NANO専用の子テーマ
Theme URI: 
Template: nano_tcd065
Version:
*/

{display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;}



.marker-under-blue {background: linear-gradient(transparent 60%, #a8dafb 60%);}
.bold-red {
    font-weight: bold;
  .  color: var(--cocoon-red-color);
}

/** ヘッダー **/
.header_contact {padding: 10px 0;}
.header_contact_tell {
	font-size: 30px;
	margin-bottom: 5px;
}
.header_contact_link {}
.button-56 {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 250px;
    margin: 0 auto;
    padding: .7em 1em;
    border: none;
    border-radius: 5px;
    background-color: #2589d0;
    color: #fff;
    font-weight: 600;
    font-size: .8em;
	cursor : pointer;
}

.button-56:hover {
    background-color: #1579c0;
}

.button-56::before {
    width: 1.25em;
    height: 1.25em;
    margin-right: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM12.0606 11.6829L5.64722 6.2377L4.35278 7.7623L12.0731 14.3171L19.6544 7.75616L18.3456 6.24384L12.0606 11.6829Z' fill='%23fff'%3E%3C/path%3E%3C/svg%3E");
    content: '';
}
@media only screen and (max-width: 1199px) {
.header_contact {display: none;}
}


.o_content .p-btn {margin-top: 80px;}


.o_content {margin-bottom: 100px;}
.o_content h2 {
	color: #000000;
    font-size: 46px;
    line-height: 1.4;
    margin-bottom: 24.2px;
	text-align: center;

}
.o_content h2 span {
	display: block;
margin: 24px 0 50px;
font-size: 16px !important;
    line-height: 2.2;
    word-wrap: break-word;
	font-weight: normal;
}




.o_top01 {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.o_top01_right {
	width: 40%;
	order: 2;
}
.o_top01_right_img {
	margin-bottom: 30px;
}
.o_top01_right_content {line-height: 160%;}
.o_top01_right_content p {margin-bottom: 10px;}
.o_top01_right_content_title {text-align: center; font-size: 24px;}
.o_top01_right_content_title span {font-size: 24px;}
.o_top01_left {
	order: 1;
	flex: 1;
	margin-right: 50px;
}
@media screen and (max-width: 767px) {
.o_top01_right {
	width: 100%;
margin-bottom: 30px;
	order: 1;
}
.o_top01_left {order: 2;}
}


.o_fotter_data {margin-bottom: 30px;}
.o_fotter_google_map {}
.footer_construction_area img {
	  max-width: 100%;
  height: auto;
}
.footer_construction_area ul {
margin-top: 50px;
  list-style: none;
  padding-left: 1.5em;
	font-size: 130%;
}
.footer_construction_area ul li::marker {
  content: "✔ ";
  color: #2ecc71; /* 好きな色に */
}


/** TOP：施工実績 **/
.top_construction_list {}
.top_construction_list article {padding: 80px 0; border-bottom: 1px dotted #ccc;}
.top_construction_list h3 {}
.top_construction_list .before_after {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
position: relative;
}
.top_construction_list .before_after:before {
display: block;
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900; /* Solid */
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
margin: -4px 0 0 0;
font-size: 50px;
}
.top_construction_list .before_after_in {
	width: 40%;
}





/** お問い合わせ（フッター） **/
.footer_contact_link {
background: #333;
padding: 80px 0;
    text-align: center;
}
.footer_contact_link .btn,
.footer_contact_link a.btn,
.footer_contact_link button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}
.footer_contact_link a.btn--orange {
  color: #fff;
  background-color: #2589d0;
  border-bottom: 5px solid #0f6bad;
}
.footer_contact_link a.btn--orange:hover {
  margin-top: 3px;
  color: #fff;
  background: #2589d0;
  border-bottom: 2px solid #0f6bad;
}
.footer_contact_link a.btn--shadow {
  -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
  box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
}



/** 料金テーブル **/
/*====================================
  価格表テーブル
====================================*/
.o_price_table {
  width: 100%;
  box-sizing: border-box;
  font-family: "IBM Plex Sans JP", sans-serif;
  color: #32454D;
  line-height: 1.6;
  overflow-x: auto; /* スマホ横スクロール対応 */
  margin: 0 0 20px;
}

.o_price_table table {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden; /* 丸角を反映 */
  table-layout: fixed;
}

/* テーブル全体のセル */
.o_price_table td,
.o_price_table th {
  padding: 15px;
  text-align: left;
  vertical-align: middle;
  border: 1px solid #ccc;
  word-wrap: break-word;
  box-sizing: border-box;
  font-size: 15px;
}

/* 最上段（ヘッダー）のスタイル */
.o_price_table tr:first-child td {
  background-color: #978b7c;
  color: #fff;
  text-align: center;
  font-weight: bold;
}

/* 左列（1列目）の背景色 */
.o_price_table td:first-child {
  background-color: #f4f4f4;
}

/* 2列目・3列目は中央寄せ（任意） */
.o_price_table td:nth-child(2),
.o_price_table td:nth-child(3) {
  text-align: center;
}

/* 左列（1列目）の2行目以降にチェックアイコンを挿入 */
.o_price_table tr:not(:first-child) td:first-child::before {
  content: "\f058";           /* Font Awesome Unicode */
  font-family: "Font Awesome 5 Free"; /* Free版の場合 */
  font-weight: 400;           /* regularの場合 */
  display: inline-block;
  margin-right: 8px;          /* アイコンとテキストの間隔 */
  color: #4caf50;             /* 緑色に変更可能 */
  font-size: 20px;
  vertical-align: middle;
    margin-top: -2px;
}

/* スマホ対応 */
@media screen and (max-width: 640px) {
  .o_price_table table {
    width: 100%;
  }

  .o_price_table tr,
  .o_price_table td {
    display: block;
    width: 100%;
  }

  .o_price_table td {
    text-align: left;
    padding: 10px 5px;
  }

  .o_price_table td:nth-child(2),
  .o_price_table td:nth-child(3) {
    text-align: left;
  }

  /* ヘッダー背景はスマホでも残す */
  .o_price_table tr:first-child td {
    text-align: left;
    padding: 10px 5px;
  }
}





/** 会社概要テーブル **/
.o_company_table {
  width: 100%;
  box-sizing: border-box;
  font-family: "IBM Plex Sans JP", sans-serif;
  color: #32454D;
  line-height: 1.8;
  overflow-x: auto; /* 横スクロールで対応 */
padding: 0;
	margin: 0;
}

/* テーブル本体 */
.o_company_table table {
  width: 100%;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 20px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1;
  table-layout: fixed; /* はみ出し防止 */
}

/* 行の下線 */
.o_company_table tr {
  border-bottom: 1px solid #565656;
}

.o_company_table tr:first-child {
  border-top: 1px solid #565656;
}

/* セル共通 */
.o_company_table td {
  padding: 30px; /* 内側余白は減らす */
  text-align: left;
  vertical-align: top;
  position: relative;
  box-sizing: border-box;
  word-wrap: break-word; /* 長いURLや住所を折り返す */
	border: none;
}

/* 左カラム（項目名）＝ th扱い */
.o_company_table td:first-child {
  font-weight: bold;
  width: 30%; /* 左列の幅固定 */
}

/* 縦線 */
.o_company_table td:first-child::after {
  content: "";
  display: block;
  width: 2px;
  height: 50%;
  background-color: #565656;
  position: absolute;
  right: 0;
  top: 25%;
  border-radius: 40px;
}

/* スマホ対応 */
@media screen and (max-width: 640px) {

  .o_company_table table {
    width: 100%;
  }

  .o_company_table tr,
  .o_company_table td {
    display: block;
    width: 100%;
  }

  .o_company_table tr {
    margin-bottom: 5px;
    border-bottom: 1px solid #565656;
  }



  .o_company_table td:first-child {
    padding: 10px 0 5px;
    width: 100%;
  }

  .o_company_table td:last-child {
    padding: 0 0 10px;
  }

  .o_company_table td:first-child::after {
    display: none;
  }
}




/** 施工実績（個別ページ） **/
.single_construction {
	width: 100%;
	max-width: 1180px;
	margin: 80px auto;
	padding: 80px;
	border: 1px solid #ccc;
}
.single_construction h1 {
	font-size: 150%;
  padding: 20px;
  border-bottom: 3px solid #000;
  background: #f4f4f4;
}
.single_construction .single_time {
	text-align: right;
	margin-bottom: 50px;
}
.single_construction .single_before_after {
display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
	margin-bottom: 50px;
}
.single_construction .single_before_after:before {
    display: block;
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    margin: -4px 0 0 0;
    font-size: 50px;
}
.single_construction .single_before_after_in {width: 40%;}
.single_construction .single_before_after_in img {
max-width: 100%;
height: auto;
width /***/:auto;
}
.construction_content_text {margin-bottom: 80px;}



/** 関連記事 **/
.single_construction .related_posts h2 {
	font-size: 150%;
  padding: 20px;
  border-bottom: 3px solid #000;
  background: #f4f4f4;
}
.single_construction .related_posts ul {margin: 0;}
.single_construction .related_posts li {}
.single_construction .related_posts a {
  text-decoration: none;
  color: #333;
	display: block;
	padding: 15px;
	border-bottom: 1px dotted #ccc;
}

.single_construction .related_posts a:hover {
  text-decoration: underline;
}


/** 施工実績一覧 **/
.o_archive_construction {
	width: 100%;
	max-width: 1180px;
	margin: 80px auto;
}
.o_archive_construction article {padding: 80px 0; border-bottom: 1px dotted #ccc;}
.o_archive_construction .before_after {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
position: relative;
}
.o_archive_construction .before_after:before {
display: block;
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900; /* Solid */
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
margin: -4px 0 0 0;
font-size: 50px;
}
.o_archive_construction .before_after_in {
	width: 40%;
}
.o_archive_construction .before_after_in img {
max-width: 100%;
height: auto;
width /***/:auto;
}


#pagination {
    text-align: center;
    margin: 40px 0;
}

#pagination .page-numbers {
    display: inline-block;
    min-width: 36px;
    height: 36px;
    line-height: 36px;
    margin: 0 4px;
    padding: 0 10px;
    border: 1px solid #ccc;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    box-sizing: border-box;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* hover（全ページ共通） */
#pagination .page-numbers:hover {
    background-color: #333;
    color: #fff;
}

/* current */
#pagination .page-numbers.current {
    background-color: #333;
    color: #fff;
    border-color: #333;
    font-weight: 700;
    cursor: default;
}

/* 次へ */
#pagination .next {
    padding: 0 14px;
}



/** 調整 **/
.p-footer-widgets__item {width: 50%;}
.marker-under-red {background: linear-gradient(transparent 60%, #ffd0d1 60%);}
.marker-under-blue {background: linear-gradient(transparent 60%, #a8dafb 60%);}
.marker-under {background: linear-gradient(transparent 60%, #ff9 60%);}

.p-menu-btn {color: #333 !important;}
.p-close-btn::before,
.p-close-btn {color: #fff !important;}





