@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

.hihyouji {
	display: none;
}

/* common======================= */

@media screen and (min-width: 960px) {
	.wide90{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 90%;
		min-width: 950px;
}
	.wide80{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 80%;
  min-width: 950px;
}
	.wide70{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 70%;
	min-width: 950px;
}
}

@media screen and (max-width: 768px) {
	.wide90-sp{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 90%;
}
}

.no-kaigyou {
	white-space: nowrap;
}

/* パンクズリスト非表示 */

#breadcrumb {
	display: none;
}

/* マージン======================= */

.m-left {
	margin-left: auto;
}

.m-right {
	margin-right: auto;
}

.m-center {
	margin: 0 auto;
}

/* テーブル========================= */

.c_table td{
	height: 70px;
}

/* 見出し========================== */

.content_title {
	align-items: center; /* 横線を上下中央 */
  display: flex; /* 文字と横線を横並び */
  justify-content: center; /* 文字を中央寄せ */
}

.content_title::before,
.content_title::after{
	background-color: #161e3d; /* 横線の色 */
  content: "";
  height: 1px; /* 横線の高さ */
  width: 100px; /* 横線の長さ */
}

.content_title::before {
  margin-right: 15px; /* 文字との余白 */
}
.content_title::after {
  margin-left: 15px; /* 文字との余白 */
}

.text_blue {
	background: linear-gradient(to right, #004394 ,#161e3d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.font_size {
	font-size: clamp(1.8em, 3vw, 3rem);
}

.font_size2 {
	font-size: clamp(1.2em, 2vw, 2.5rem);
}

@media screen and (max-width: 480px) {
	.content_title::before,
.content_title::after{
  width: 30px; /* 横線の長さ */
}
.font_size,
.font_size2	{
	text-align: center;
}
}

/* ボタン========================= */

a.c_btn {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	overflow: hidden;
	text-decoration: none;
	white-space: nowrap;
	height: 3.5rem;
	max-width: 300px;
	padding: 0 4rem;
	background: #232323;
	background-size: 400%;
	color: #fff;
	letter-spacing: 0.2rem;
}
a.c_btn:hover::before {
  transform: scaleX(1);
}
a.c_btn:hover {
	color: #fff;
}
a.c_btn span {
  position: relative;
  z-index: 1;
}
a.c_btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: 0 50%;
  width: 100%;
  height: inherit;
  border-radius: inherit;
  background: linear-gradient(
    82.3deg,
    rgba(0, 67, 148, 1) 10.8%,
    rgba(24, 73, 149, 1) 94.3%
  );
  transition: all 0.475s;
}

.contact_box_outer a.c_btn {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	overflow: hidden;
	text-decoration: none;
	white-space: nowrap;
	height: 3.5rem;
	max-width: 300px;
	padding: 0 4rem;
	border: 1px solid #fff;
	background: #232323;
	background-size: 400%;
	color: #fff;
}

.sp_menu_box a.c_btn {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	overflow: hidden;
	text-decoration: none;
	white-space: nowrap;
	height: 3.5rem;
	max-width: 300px;
	padding: 0 4rem;
	border: 1px solid #fff;
	background: #232323;
	background-size: 400%;
	color: #fff;
}


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


.c-gnav>.menu-item>a .ttl {
font-size: 15px;
letter-spacing: .1rem;   /*文字の間隔*/
  font-weight: bold;
}

/*ヘッダー電話番号*/
@media (min-width: 960px) {
.w-header__inner p {
line-height: 1.5;
}
}

.header_contact_phone {
font-family: Inter, "游ゴシック体", "Yu Gothic", YuGothic, sans-serif;
font-size: 1.4vw;
font-weight: 700;
color: #fff;
	white-space: nowrap;
letter-spacing: 1px;
}
.header_contact_phone span.icon-phone {
font-size: 1.2vw;
vertical-align: baseline;
margin-right: 2px;
}
.header_business_hours {
font-size: 0.7vw;
	color: #fff;
letter-spacing: 2px;
	white-space: nowrap;
text-align: center;
}

.header_phone_bg{
	background: #161e3d;
	padding: 0.5vw 1.2vw;
}

/* メガメニュー */
.my-parent-menu-pc {
  position : unset !important;
}
.my-parent-menu-pc .sub-menu {
  width: calc(100vw - 16px);
  border-top : 7px solid #161e3d;
	background-color: #f7f7f7;
	padding: 5%;
}
.my-parent-menu-pc .sub-menu a {
  padding: 0em;
}
.my-parent-menu-pc .sub-menu a:before {
  display : none;
}
.my-parent-menu-pc .sub-menu a:hover {
  background-color : unset;
}
.my-parent-menu-pc .sub-menu .ttl {
  left: 0 !important;
}

.megamenu_item {
	position: relative;
	overflow: hidden;
	width: 100%;
	box-shadow: 10px 5px 15px #2323;
}

.megamenu_item_text {
	position: absolute;
	top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
	width: 80%;
	color: #fff;
	background:rgba(0,0,0,0.6);
	padding: 10px;
}
.megamenu_item_text 
.megamenu_title {
	font-size: 1.2rem;
}
.megamenu_item_text p {
	font-size: 0.8rem;
	font-weight: bold;
	letter-spacing: 0.2rem;
}

.megamenu_item img {
	width: 100%;
  height: auto;
  transition: transform .6s ease; /* ゆっくり変化させる */
}

.megamenu_item :hover img {
	transform: scale(1.1);
}

/* メインビジュアル==================== */

.p-mainVisual {
	position: relative;
	padding: 100px 5% 100px;
	z-index: 1;
}

.p-mainVisual::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 400px;
	background: linear-gradient(to right, #164da0 ,#103975);
	z-index: -1;
}

.main-copy {
	 writing-mode: vertical-rl;
	color: #164da0;
	font-size: 2rem;
	line-height: 2;
}

@media screen and (max-width: 768px) {
	.p-mainVisual {
	padding: 70px 6.5% 40px;
}
	
.p-mainVisual::after {
	height: 50vh;
}
}

/* スクロールダウン */

.scroll_down{
  position:absolute;
  top: 0;
  right: 10%;
	z-index: 99;
}

.scroll_down p{
  position: absolute;
  left: 10px;
  bottom: 65px;
  color: #fff;
  font-size: 14px;
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: .2em;
  writing-mode: vertical-lr;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll_down:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background:#fff;
  animation:
    circlemove 2.3s ease-in-out infinite,
    cirlemovehide 2.3s ease-out infinite;
}

@keyframes circlemove{
  0%{bottom:140px;}
  100%{bottom:0px;}
}

@keyframes cirlemovehide{
  0%{opacity:0}
  50%{opacity:1;}
  80%{opacity:0.9;}
  100%{opacity:0;}
}

.scroll_down:after{
  content:"";
  position: absolute;
  bottom:0;
  left:0;
  width:1px;
  height: 140px;
  background:#fff;
}


/* ページ共通======================= */

.page-title {
  position: relative;
  display: inline-block; 
  font-size: clamp(1.5em, 2vw, 2rem);
  margin-right: 220px; 
}

.page-title::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 100%; 
  margin-left: 1rem; 
  width: 200px;
  height: 1px;
  background-color: black;
}

.contents-head {
	height: 35vh;
	border-radius: 30px 30px 0 0;
}

@media screen and (max-width: 480px){

.page-title::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 100%; 
  margin-left: 1rem; 
  width: 100px;
  height: 1px;
  background-color: black;
}
}

/* トップページ====================== */

@media screen and (min-width: 960px) {
.top-about img{
	position: relative;
	top: 0;
	left: -20px;
	width: 100%;
	max-width: 800px;
	min-width: 650px;
}
	
	.top-about-outer::after {
	content: "About";
	position: absolute;
	top: 30%;
  right: 0;
  transform: translateY(-30%);
	font-size: clamp(1.5rem, 4vw, 4rem);
	color: #4f84d3;
	writing-mode: vertical-rl;
	font-weight: bold;
	z-index: 1;
}
}

@media screen and (max-width: 768px) {
	.top-about-item {
	width: 90%;
		 margin: 0 auto;
}
}

.top-about h2{
	font-size: clamp(1.5rem, 2vw, 3rem);
}

.top-about {
	position: relative;
}

/* セクション2 */

.top-sec2-outer h2{
	font-size: clamp(1.5rem, 3vw, 3rem);
}

.top-sec2-outer {
	background-image:
    linear-gradient(rgba(6, 44, 90, 0.8), rgba(6, 44, 90, 0.9)), /* 上に乗せる透過カラー */
    url(https://www.mansion-r.com/wp-content/uploads/2025/06/top02-bg.jpg); /* 背景画像 */
  background-size: cover;
  background-position: center;
	background-attachment: fixed;
	border-radius: 50px 50px 0 0;
}

@supports (-webkit-touch-callout: none) {
  .top-sec2-outer {
    background-attachment: scroll;
  }
}


/* コンテンツ */

@media screen and (min-width: 960px) {
	.top-contents-outer::before {
	content: "Contents";
	position: absolute;
	top: 50%;
  left: 0;
  transform: translateY(-50%);
	font-size: clamp(1.5rem, 4vw, 4rem);
	color: #fff;
	writing-mode: vertical-rl;
	font-weight: bold;
	z-index: 1;
}
	.top-contents {
	position: relative;
	padding: 0 0 0 80px;
}
}

.top-contents-outer {
	border-radius: 0 0 50px 50px;
	background-image: url(https://www.mansion-r.com/wp-content/uploads/2025/06/background_texture_noize.jpg);
	background-repeat: repeat;
}

.top-contents-item {
  position: relative;
  width: 100%; /* 必要に応じて調整 */
  box-sizing: border-box;
}

.image-wrapper {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}


.image-wrapper:hover img {
  transform: scale(1.1);
}

.top-contents-text {
  position: absolute;
  bottom: 0;
  left: 0;
  background-image: url(https://www.mansion-r.com/wp-content/uploads/2025/06/background_texture_noize.jpg);
  border-radius: 0 20px 0 0;
  padding: 5px 30px 0 10px;
	transition: color 0.3s ease;
}

.top-contents-text p {
	color: #164da0;
}

.top-contents-text h3 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.2;
  margin-top: 0;
  text-align: left;
  transition: transform 0.3s ease;
  position: relative; /* 下線を相対位置で配置するため */
}

/* 下線のベース */
.top-contents-text h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px; /* テキストの下に配置 */
  width: 100%;
  height: 2px;
  background-color: #164da0;
  transform: scaleX(0); /* 初期状態：非表示 */
  transform-origin: left;
  transition: transform 0.3s ease;
}

/* 画像ホバー時に下線を伸ばす */
.top-contents-item:hover .top-contents-text h3::after {
  transform: scaleX(1); /* 全体に伸びる */
}

@media screen and (max-width: 768px) {
	.top-contents-outer {
	border-radius: 20px;
}
}

/* ピックアップ */

@media screen and (min-width: 960px) {
.top-picup-outer::after {
	content: "PICUP";
	position: absolute;
	top: 50%;
  right: 0;
  transform: translateY(-50%);
	font-size: clamp(1.5rem, 4vw, 4rem);
	color: #4f84d3;
	writing-mode: vertical-rl;
	font-weight: bold;
	z-index: 1;
}
	.top-picup-inner {
	position: relative;
	padding: 0 80px 0 0;
}
}

.top-picup-item {
	background-color: #fff;
	padding: 1rem 1.5rem;
	border-radius: 10px;
}

/* ニュース */

@media screen and (min-width: 960px) {

.top-news-outer::before {
	content: "News";
	position: absolute;
	top: 60%;
  left: 0;
  transform: translateY(-50%);
	font-size: clamp(1.5rem, 4vw, 4rem);
	color: #4f84d3;
	writing-mode: vertical-rl;
	font-weight: bold;
	z-index: 1;
}
}

.top-news-outer {
	position: relative;
	padding-left: 30px;
}

.top-news-outer::after {
	content: "";
	position: absolute;
top: 0;
	left: 0;
	width: 100%;
	height: 300px;
	background: #92cae0;
background: linear-gradient(140deg,rgba(146, 202, 224, 1) 0%, rgba(47, 101, 178, 1) 50%, rgba(22, 77, 160, 1) 100%);
	z-index: -1;
}

.news-item {
	position: relative;
	top: 80px;
	background-color: #f7f7f7;
	padding: 0 5%;
}

.newsList {
  display: flex;
  flex-flow: row wrap;
  list-style: none;
  align-items: flex-start;
  padding: 1.5rem 0;
  width: 90%;
  margin: 0 auto;
}

.newsList li {
  display: flex; 
  width: 100%;
  gap: 1rem;
	border-bottom: 1px dotted #999;
	padding: 20px 10px;
}

.newsList li:first-of-type {
  border-top: 1px dotted #999;
}

.news_date {
  min-width: 100px;
}

.news_text {
  flex: 1;
}

@media screen and (max-width: 768px) {
	.top-news-outer {
	padding-left: 0px;
}
	.news-item {
	padding: 0 0;
}
  .newsList li {
    flex-direction: column;
		padding: 10px 0;
  }
	.newsList {
		position: relative;
		right: 10px;
  padding: 0 0;
  width: 95%;
		margin-bottom: 30px;
}
}


/*news詳細ページ*/
.c-postTitle__ttl{
	display: none;
}

.text_h2{
	font-size: 1.5rem;
	margin-bottom: 10px;
}

.news-page .news_date{
		margin-bottom: 20px;
}
.news-box{
	max-width: 1200px;
	margin-bottom: 50px;
}

.news_img_top{
	text-align: center;
}


.text_main p{
	margin-bottom: 1.5em;
}

.text_main{
	margin-top: 40px;
	margin-bottom: 30px;
}

.flex_news_img{
width:100%;
  height:auto;
  display:flex;
  flex-direction:row; 
  flex-wrap:wrap; 
  justify-content:space-between;
	 gap: 10px 4px; /* 余白 */
	margin-top: 60px;
}
.flex_news_img::after{
  content:"";
  display: block;
  width:32%;
}

.news_img{
	width: 32.5%;
}
@media screen and (max-width: 480px){
.news_img {
    width: 48%;
  }

  .flex_news_img::after {
    width: 48%;
  }
}

/* ページネーション */

.pagination {
  text-align: center;
  margin: 2rem 0;
}

.pagination .page-numbers {
  display: inline-block;
  margin: 0 0.25rem;
  font-size: 0.9rem;
  color: #164da0;
  border: 1px solid #ccc;
  background: white;
  border-radius: 4px;
  transition: background .2s, color .2s;
}

.pagination .page-numbers:hover,
.pagination .current {
  color: #fff;
  background: #164da0;
  border-color: #164da0;
}

.pagination .prev.page-numbers,
.pagination .next.page-numbers {
  min-width: 3.5rem;
}


/* 改修レポート========================= */

.reportList {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem; 
	list-style: none;
	border-bottom: 1px dotted #aaa;
	padding: 30px 1rem;
}

.reportLink.first .reportList {
  border-top: 1px dotted #aaa;
}

.reportList .report_item:first-child {
	flex: 0 0 20%;
}

.reportList .report_item:last-child {
	flex: 1;
}

.reportLink {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.5s ease;
}

.reportLink:hover {
  background-color: #dce7f9;
}

.report_item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.report_date {
	color: #888;
}

.report_title {
	font-size: clamp(1.2rem, 2vw, 1.5rem);
	color: #164da0;
	border-bottom: 1px solid #164da0;
}

.report_text {
	margin-top: 20px;
}

/*report詳細ページ*/

.report-page .text_h2{
	font-size: clamp(1.2rem, 2vw, 1.5rem);
	color: #164da0;
	margin-bottom: 10px;
}

.report-page .report-date{
		margin-bottom: 20px;
}

.report-text p{
	margin-bottom: 0.5em;
}

.report-text{
	margin-top: 40px;
}


@media screen and (max-width: 480px){
 
}



/* 書籍ご案内========================== */

.flexbox {
	display: flex;
	flex-wrap: wrap;
  gap: 15px;
	padding: 50px 0 50px 0;
}

.flex-item {
  width: calc(25% - 12px); 
  box-sizing: border-box;
  background: #fff;
  padding: 15px;
	margin-bottom: 30px;
  text-align: center;
	box-shadow: 10px 5px 15px #2323;
}

.book_img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden; 
}

.book_img img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  transition: transform 0.3s ease;
}

.flex-item:hover .book_img img {
  transform: scale(1.05); 
}

.book-table {
	font-size: 15px;
	text-align: left;
	width: 100%;
	margin-top: 10px;
}

.book-title {
	border-bottom: 1px solid #e8e8e8;
	padding: 0 0 10px 0;
}

.book-text{
	padding: 10px 0 0 0;
}

.book-table td {
	width: 50%;
	font-weight: normal;
	color: #232323;
}


/* タンク倶楽部====================== */

.tank-page .flex-item {
  width: calc(33% - 6px); 
  box-sizing: border-box;
  background: #fff;
  padding: 15px;
	margin-bottom: 30px;
  text-align: center;
	box-shadow: 10px 5px 15px #2323;
}

.tank_img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden; 
}

.tank_img img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  transition: transform 0.3s ease;
}

.flex-item:hover .tank_img img {
  transform: scale(1.05); 
}

.tank-title {
	padding: 10px 0 0 0;
}


/* =============================
工事会社募集
業務実績
============================== */

.bosyu_item {

}

.bosyuList,
.worksList{
  display: flex;
  flex-flow: row wrap;
  list-style: none;
  align-items: flex-start;
  padding: 1.5rem 0;
  width: 90%;
  margin: 0 auto;
}

.bosyuList li,
.worksList li{
  display: flex; 
  width: 100%;
  gap: 1rem;
	padding: 20px 10px 50px 10px;
	margin-bottom: 50px;
	border-bottom: 1px dotted #999;
}

.bosyu_text,
.works_text{
  flex: 1;
}

.bosyu_text h3,
.works_text h3 {
	color: #164da0;
  font-size: 1.2rem;
	border-bottom: 2px solid #164da0;
	margin-bottom: 1rem;
}

.bosyu-btn,
.works-btn {
  display: inline-block;
  padding: 0.5em 1em;
  background: linear-gradient(to right, #164da0 0%, #164da0 50%, #232323 50%, #232323 100%);
  background-size: 200% 100%;
  background-position: right bottom;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  margin-top: 1rem;
  border: none;
  transition: background-position 0.4s ease;
}

.bosyu-btn:hover,
.works-btn:hover{
  background-position: left bottom;
}


/*お問い合わせページ==================*/
.CF7_contact{
	width:100%;
}

/*入力欄*/
.CF7_contact input, .CF7_contact textarea {
	width:100%;
	background-color: #fff;
	border-radius: 3px;
	border: 1px solid #d8d8d8;
	margin-top:10px;
	margin-bottom:25px
}

.CF7_honbun{
	width:100%;
}

/*入力欄*/
.CF7_honbun input, .CF7_honbun textarea {
	width:100%;
	background-color: #fff;
	border-radius: 3px;
	border: 1px solid #d8d8d8;
	margin-top:10px;
	margin-bottom:25px
}

/*タイトル左ライン*/
.title_contact{
   position:relative;
}

span.wpcf7-list-item {
  margin-top: 20px;
  margin-bottom: 20px
}

.title_contact::before{
   content:"";
   display:inline-block;
   width:3px;
   height:30px;
   background-color:#022257;
   position:absolute;
}

/*「必須」文字*/
.CF7_req{
	font-size:.8em;
	padding: 5px;
	background: #dc143c;/*レッド*/
	color: #fff;
	border-radius: 3px;
}

/*個人情報*/
.title01 {
	font-size:18px;
	font-weight: bold;
	margin-top: 20px;
	margin-bottom: 10px;
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
	background-color:#164da0;
	border:0;
	color:#fff;
	font-weight:bold;
	padding-right:50px;
	padding-left:50px;
	letter-spacing: 5px;
}

.CF7_btn{
	text-align:center;
	margin-top:30px;
}

.wpcf7-spinner{
	width:0;
	margin:0;
}

.scroll2 {
  overflow: auto; /* 常にスクロール可能 */
  height: 250px;
  border-radius: 3px;
  border: 1px solid #d8d8d8;
  padding: 10px;
}

/* スクロールバーの装飾（Webkit用：Chrome, Safari） */
.scroll2::-webkit-scrollbar {
  width: 10px;
  height: 0;
}
.scroll2::-webkit-scrollbar-track {
  border-radius: 0px;
  background-color: #eeeeee;
}
.scroll2::-webkit-scrollbar-thumb {
  border-radius: 0px;
  background-color: #c0c0c0;
}


/* フッター========================= */

#footer {
	background: linear-gradient(160deg, #164da0, #103975);

	padding: 50px 0;
}

@media not all and (min-width: 960px) {
    .w-footer__box + .w-footer__box {
        margin-top: 0;
    }
}
	@media not all and (min-width: 960px) {
    .w-footer__box {
        padding: 0 0px;
    }
}

/*reCAPTCHA全面表示*/
.grecaptcha-badge {
	z-index: 1; 
}

/* 「トップへ戻るボタン」の位置調整 */ 
.p-fixBtnWrap { 
	bottom: 85px;
	right: 10px
}