@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
*/

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

@media screen and (min-width: 960px) {
	.wide90{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 90%;
}
	.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: 1000px;
}
}

/*コンテンツ下余白なし*/
#content {
padding-top: 0;
margin-bottom: 0px;
}
.w-beforeFooter{
	margin: 0;
}

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

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

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

.m-center {
	margin: 0 auto;
}

.mt2 {
	margin-top: 20px;
}

.mt3 {
	margin-top: 30px;
}

.mt4 {
	margin-top: 40px;
}

.mt5 {
	margin-top: 50px;
}

.mb2 {
	margin-bottom: 20px;
}

.mb3 {
	margin-bottom: 30px;
}

.mb4 {
	margin-bottom: 40px;
}

.mb5 {
	margin-bottom: 50px;
}


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

.c_table td{
	height: 70px;
}

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



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

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(22, 30, 61, 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;
}


/* ローディングロゴ==================== */

:root {
  --opening-bg: #f7f7f7;      /* 背景色 */
  --opening-text: #ffffff;    /* テキスト色 */
  --opening-accent: #27acd9;  /* アクセントカラー */
}

.opening-loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: var(--opening-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
	width: 100vw;
	height: 100vh;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}

.opening-loader.is-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.opening-loader__inner {
  text-align: center;
  color: var(--opening-text);
  padding: 40px 24px;
}

/* ロゴ部分 */
.opening-loader__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  margin-bottom: 0.8em;
}

/* ロゴが画像の場合もふわっと */
.opening-loader__logo img {
  max-width: 300px;
  width: min(48vw, 300px);
  display: block;
  transform: translateY(16px);
  opacity: 0;
  animation: opening-fadeUp 0.9s cubic-bezier(0.25, 0.1, 0.25, 1) 0.1s forwards;
}

/* ラインアニメーション */
.opening-loader__line-wrap {
  position: relative;
  width: 160px;
  height: 2px;
  margin: 0 auto;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.opening-loader__line {
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--opening-accent),
    #ffffff
  );
  transform: translateX(-100%);
  animation: opening-lineMove 1.4s ease-in-out 0.7s 3 forwards;
}

/* アニメーション終了後の全体縮小フェードアウト */
.opening-loader.is-finish .opening-loader__inner {
  animation: opening-shrink 0.8s ease-in-out forwards;
}

/* ページ本体のスクロールロック解除 */
body.opening-active {
  overflow: hidden;
}
body.opening-finished {
  overflow: auto;
}

body.opening-active * {
  visibility: hidden;
}

body.opening-active .opening-loader,
body.opening-active .opening-loader * {
  visibility: visible;
}

/* =========================
   Keyframes
   ========================= */
@keyframes opening-fadeUp {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes opening-lineMove {
  0% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(20%);
  }
  100% {
    transform: translateX(200%);
  }
}

@keyframes opening-shrink {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.92);
    opacity: 0;
  }
}

/* =========================
   レスポンシブ微調整
   ========================= */
@media (max-width: 599px) {
  .opening-loader__inner {
    padding: 32px 18px;
  }

  .opening-loader__logo-text {
    letter-spacing: 0.18em;
  }

  .opening-loader__sub {
    letter-spacing: 0.15em;
    font-size: 0.8rem;
  }

  .opening-loader__line-wrap {
    width: 140px;
  }
}


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


.c-gnav>.menu-item>a .ttl {
font-size: 18px;
letter-spacing: .1rem;
  font-weight: bold;
}

/* メガメニュー */
.my-parent-menu-pc {
  position : unset !important;
}
.my-parent-menu-pc .sub-menu {
  width: calc(100vw - 16px);
  border-top : 3px solid #163f89;
	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;
}

.mega-nav li{
	padding: 10px 0;
}

.mega-nav li span{
	position: relative;
	left: 5px;
}

.mega-nav svg{
	position: relative;
	top: 4px;
}




/* お知らせ========================== */

.news-item {
}

.newsList {
  display: flex;
  flex-flow: row wrap;
  list-style: none;
  border-top: 1px dotted #999;
  align-items: flex-start; 
}

ul.newsList {
  padding: 1.5rem 0;
	width: 90%;
	margin: 0 auto;
}

ul.newsList li {
  margin: 0 10px;
}

.news_date {
  min-width: 100px;
  font-weight: bold;
}

.news_text {
  flex: 1; 
}

@media screen and (max-width: 768px) {
  .newsList {
    flex-direction: column;
  }
	.news_text p{
    margin-top: 0.8em;
  }
}

.scroll {
  overflow: auto;
  height: 100%;
  max-height: 300px;
  width: 100%;

  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: #ccc #f1f1f1;
}

/* WebKit */
.scroll::-webkit-scrollbar {
  width: 10px;
}
.scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.scroll::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}
.scroll::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* 詳細ページ */

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

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

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

.news_img_top{
	text-align: center;
}


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

.text_main{
	margin-top: 40px;
	margin-bottom: 30px;
}
@media screen and (max-width: 480px){
  .text_box{
    font-size: 17px;
  }
}

.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){
	.flex_news_img{
    flex-direction: column;
  }
  .news_img{
    width: 100%;
  }
}


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

.p-mainVisual__inner{
	position: relative;
	z-index: 1;
}

.p-mainVisual__inner::before{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 35vw;
	height: 100vh;
	clip-path: polygon(0 0, 100% 0, 70% 100%, 0% 100%);
	background-color: rgba(22, 63, 137, 0.8) ;
	z-index: 2;
}

.mv-copybox {
	
}

.mv-copy {
	font-size: clamp(2.5rem, 5vw, 4rem);
	line-height: 1.5;
}

.mv-subcopy {
	font-size: clamp(1.2rem, 3vw, 2rem);
	font-weight: bold;
}


@media screen and (max-width: 480px) {
	.mv-copybox {
		position: relative;
	left: 5%;
}
}



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

.image-wrapper {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
	box-shadow: 0px 0px 10px #2323;
  z-index: 0;
}

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

/* 画像ホバーで拡大（従来どおり） */
.image-wrapper:hover img {
  transform: scale(1.1);
}

.top-contents-item {
  position: relative;
}

.top-contents-text {
  width: 100%;
  /* pointer-events: none;  ← 親ホバーに統一したので不要。必要なら戻してOK */
  margin-top: 8px;
}

/* ふわっと色が変わるようにトランジションを追加 */
.top-contents-text h3 {
  font-size: clamp(1.2rem, 1.5vw, 1.3rem);
  margin: 0;
  transition: color 0.5s ease; /* ★追加 */
}

.title-with-arrow {
  display: flex;
  align-items: center;
  justify-content: left;
}

.arrow-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #163f89;
  color: #083b72;
  margin-left: .5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    background-color 0.5s ease,
    border-color 0.5s ease,
    transform 0.3s;
}

.arrow-icon {
  display: inline-block;
  font-size: 12px;
  color: #163f89;
  transition: color 0.5s ease, transform 0.5s ease; /* ★色変更＆スライドを滑らかに */
}

/* ───────── 親ボックスにホバーしたときの一括制御 ───────── */

/* h3 を #163f89 に“ふわっ”と */
.top-contents-item:hover .top-contents-text h3 {
  color: #163f89;
}

/* 矢印の円を塗りつぶし */
.top-contents-item:hover .arrow-circle {
  background-color: #163f89;
  border-color: #163f89;
}

/* 矢印（>）を白に、かつ右へスライド */
.top-contents-item:hover .arrow-icon {
  color: #fff;
  transform: translateX(3px);
}


@media screen and (max-width: 480px) {
	.arrow-circle {
		display: none;
	}
	.top-contents-text {
	pointer-events: none; 
		font-size: 14px;
}
	
.image-wrapper {
  aspect-ratio: 4 / 3;
}
}


/* 製品のご紹介============================ */

.l-main {
	margin-bottom: 100px;
}

.page-hero--products {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
	margin-bottom: 100px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 300px;
  overflow: hidden;
}

.page-hero--products {
	background-image: url('http://www.boushin.co.jp/wp-content/uploads/2025/12/⑤P03-ポンプ-現場写真4.jpg');
	background-position: center 30%;
}


.page-hero::before{
  content:"";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2); /* 暗さはお好みで */
  pointer-events: none;
}

.page-hero--products .page-hero__title{
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  place-content: center;   /* 縦横中央 */
  gap: 0.3em;              /* タイトルと英字の間 */
  padding: 0 4vw;
  color: #fff;
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.page-hero__subtitle{
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  opacity: 0.85;
}

@media (max-width: 768px){
  .page-hero--products {
  min-height: 165px;
}
}


/* 親カテゴリボタンのグリッド配置 */
.products-parent-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 15px 20px;
  max-width: 800px;
  margin: 0 auto 80px;
}

/* パネルの表示切り替え */
.products-panel {
  display: none;
}

.products-panel.is-active {
  display: block;
}

/* レイアウトイメージ用（適宜調整） */
.products-parent-title-wrap {
  text-align: center;
  margin-bottom: 40px; /* 線とサムネの距離 */
  position: relative;
}

.products-parent-title-wrap::after {
  content: "";
  display: block;
  width: 120px;        /* 線の長さ（調整OK） */
  height: 1px;         /* 線の太さ */
  background-color: #1f4e96; /* 今の青と合わせる */
  margin: 12px auto 0; /* タイトルとの間隔 */
}

.products-parent-title {
  display: inline-block;
  padding: 10px 30px;
	font-size: 1.5rem;
  font-weight: 700;
}

.products-children-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 20px;
}

/* クリック可能範囲 */
.products-child-thumb-link {
  display: block;
  text-decoration: none;
}

/* サムネイル枠（4:3固定） */
.products-child-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #fff;
  border: 2px solid #ccc;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products-child-thumb img {
  display: block;
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s ease;
}


/* ホバーでふわっと拡大 */
.products-child-thumb-link:hover img {
  transform: scale(1.08);
}

.products-child-title {
  margin-top: 10px;
  padding: 6px 10px;
	color: #333;
  font-weight: 600;
  text-align: center;
}

/* SPは2列 or 1列に落とすなど */
@media (max-width: 768px) {
  .products-children-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .products-children-grid {
    grid-template-columns: 1fr;
  }
	.products-parent-nav {
    grid-template-columns: repeat(2, 1fr);
    max-width: 500px;
  }
}


/* 詳細ページ全体のレイアウト */
.single-products #top_title_area {
	display: none;
}

/* ▼ 詳細ページレイアウト */
.product-detail {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.product-detail__media {
  flex: 0 0 50%;
  max-width: 520px;
}

.product-detail__info {
  flex: 1 1 auto;
	background: #fff;
	padding: clamp(1rem, 2vw, 2rem);
}

.product-detail__title {
	font-size: clamp(1.2rem, 1.8vw, 1.5rem);
	position: relative;
}

.product-detail__description p,
.product-detail__description ul,
.product-detail__description ol{
	margin-bottom: 20px;
}

.product-detail__description .is-style-btn_normal {
	--the-btn-color: #163f89;
}

@media (min-width: 600px) {
    [class*=is-style-btn_] {
        --the-min-width: 20%;
    }
}

.product-detail__file {
	margin-top: 50px;
}

.product-detail__title::after {
  content: "";
  display: block;
  width: 100%; 
  height: 1px;
  background-color: #1f4e96; 
  margin: 12px auto 30px; 
}

@media (max-width: 768px) {
  .product-detail {
    flex-direction: column;
  }

  .product-detail__media {
    max-width: none;
    width: 100%;
  }
}

/* ▼ メインスライド（4:3 白枠） */
.product-main-slide {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #fff;
  border: 2px solid #ccc;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-main-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 100%;
  object-fit: contain; /* 全体が見える */
}

/* Swiper 矢印をメイン枠の上に重ねる */
.product-main-swiper .swiper-button-prev,
.product-main-swiper .swiper-button-next {
  color: #1f4e96;
}

/* ▼ キャプション（画像名） */
.product-slider__caption {
  margin-top: 10px;
  font-size: 0.95rem;
  text-align: center;
}

/* ▼ サムネイルスライダー */
.product-thumb-swiper {
  margin-top: 12px;
}

.product-thumb-slide {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #fff;
  border: 2px solid #ddd;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-thumb-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* アクティブなサムネイルの枠を強調 */
.product-thumb-swiper .swiper-slide-thumb-active .product-thumb-slide {
  border-color: #1f4e96;
}




/*お問い合わせページ==================*/
.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:#163f89;
   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:#163f89;
	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: scroll;  /* 常にスクロールバーを表示 */
    height: 250px;
    border-radius: 3px;
    border: 1px solid #d8d8d8;
    padding: 10px;

    &::-webkit-scrollbar {
        width: 10px;
        height: 0;
    }

    &::-webkit-scrollbar-track {
        border-radius: 0px;
        height: 100%;
        background-color: #eeeeee;
    }

    &::-webkit-scrollbar-thumb {
        border-radius: 0px;
        background-color: #c0c0c0;
    }
}


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

#content{
	margin-bottom: 0px;
}
.w-beforeFooter{
	margin: 0;
}

#footer {
	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;
    }
}

/*フッターメニュー*/
.l-footer__nav>.menu-item>a {
font-size: 15px;
letter-spacing: 3px;
 padding: 0 1.5em;
}

@media screen and (max-width:767px) {
.l-footer__nav{
font-size: 15px;
letter-spacing: 3px;
padding: 0 1.5em;
        display:none !important;
    }
}

.l-footer__nav {
margin-top: -20px;
}

/* 「トップへ戻るボタン」の位置調整 */ 
.p-fixBtnWrap { 
	bottom: 85px;
	right: 10px
}
		
/*reCAPTCHA全面表示*/
.grecaptcha-badge {
	z-index: 99;
}

/* ぱんくずリスト=============== */

#breadcrumb {
	display: none;
}