
@charset "utf-8";

.header{	
	width: 100%;
	text-align: left;
	font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	background-color: blue;
	
}

.headler{
	background-color: #B2E1F5;
	position: relative;
	width: 100%;
	top: auto;
	font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	border-top: 17px solid #B2E1F5;
	opacity: 0.9;
}
.logomark {
	margin-top: 20px;
}
.container {
	
}
.telno {
font-weight: bold;
color: red;
font: 30px Futura;
}
.osirase {
	background-color: #f6f6f6;
}

.double-divider1 {
  position: relative;
  width: 100%;
  height: 3px;               /* 上の線の太さ */
  background: #B2E1F5;          /* 上の線の色 */
}
.double-divider {
  position: relative;
  width: 100%;
  height: 1px;               /* 上の線の太さ */
  background: #fff;          /* 上の線の色 */
}

.double-divider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 3px;                  /* 線と線の間：1px + 2px間隔 = 3px下 */
  height: 1px;               /* 下の線の太さ */
  background: #fff;          /* 下の線の色 */
}
/* 3枚ギャラリー（roller / airshower2 / entrance） */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PCで3列 */
  gap: 16px;
  max-width: 1000px; /* クリーンルームと同じ幅感 */
  margin: 0 auto;
  padding: 16px;
}

.gallery figure {
  margin: 0;
}

.gallery figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* スマホ（768px以下）では1列表示 */
@media screen and (max-width: 768px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}
/*.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列 *!/
  gap: 16px;                              /* 各画像の間隔 *!/
  max-width: 1000px;                      /* 全体の幅制限 *!/
  margin: 0 auto;                         /* 中央寄せ *!/
  padding: 16px;
}
/* --- スマホ（768px以下）では1列表示 --- *!/
@media screen and (max-width: 768px) {
  .gallery {
    grid-template-columns: 1fr; /* ← スマホは1列に切り替え *!/
  }
}*/
.gallery figure {
  margin: 0;
  text-align: center;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.gallery figure:hover {
  transform: translateY(-3px);
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery figcaption {
  font-size: 0.9rem;
  color: #333;
  padding: 8px;
  line-height: 1.4;
}

.wrslide {
		overflow: hidden;
	}
.pinkbg {
	background-color: #D75774;
}
.snap {
	overflow: hidden;
}
.hoge-box {
	background-image: url(images/topslide.jpg);
}

.box {
    width:100%;
    height:130px;
    background: #52c6eb;
    margin: 0px auto 10px;
	
}
.textbox {
	overflow: scroll;
	text-align: left;
	padding-left: 10px;
	padding-right: 10px;
}
.effect4
{
  position: relative;
  background-image: -webkit-linear-gradient(top, #89d4fb 22.7%, #ade4fd 23.7%);
	background-image: -moz-linear-gradient(top, #89d4fb 22.7%, #ade4fd 23.7%);
  background-image: -ms-linear-gradient(top, #89d4fb 22.7%, #ade4fd 23.7%);
  background-image: linear-gradient(to bottom, #89d4fb 22.7%, #ade4fd 23.7%);
}
.effect4:after
{
  z-index: -1;
  position: absolute;
  content: "";
  bottom: 15px;
  right: 10px;
  left: auto;
  width: 50%;
  top: 80%;
  max-width:300px;
  background: #777;
  -webkit-box-shadow: 0 15px 10px #777;
  -moz-box-shadow: 0 15px 10px #777;
  box-shadow: 0 15px 10px #777;
  -webkit-transform: rotate(3deg);
  -moz-transform: rotate(3deg);
  -o-transform: rotate(3deg);
  -ms-transform: rotate(3deg);
  transform: rotate(3deg);
}
.link {
	display: block;
	text-decoration: none;
	white-space: nowrap;
	font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
}
#current {
	font-weight: bold;
}

.anim-box {
  background: linear-gradient(to right, #362ae0 0%,#3b79cc 50%,#42d3ed 100%);
  border-radius: 5px;
  max-width: 400px;
  height: 250px;
}

h3 {
	font: bold 16px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	padding-top: 10px;
}
.chushaku {
	font-size: 12px;
	
}

.single-item .card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 300px;
  background: #fff;
}
.single-item .card p {
  font-size: 2rem;
}

.fb-page {
	margin-top: 20px;
}

/*業務サービス*/
.gyoumuservice {
background-color: #2EA934;

}


.sinbox1 {
	padding: 0px;
	height: 268px;
	margin-bottom: 30px;
	display: block;
	background: url(../images/s1_zeiri.png) center top no-repeat #2EA934;
	background-size: 100% auto;
	}
	.sinbox2 {
	background-color: #2EA934;
	padding: 0px;
	height: 268px;
	margin-bottom: 30px;
	display: block;
	background: url(../images/s2_gyousei.png) center top no-repeat #2EA934;
	background-size: 100% auto;
	}
	.sinbox3 {
	background-color: #2EA934;
	padding: 0px;
	height: 268px;
	margin-bottom: 30px;
	display: block;
	background: url(../images/s3_keieicon.png) center top no-repeat #2EA934;
	background-size: 100% auto;
	}
	.sinbox4 {
	background-color: #2EA934;
	padding: 0px;
	height: 268px;
	margin-bottom: 30px;
	display: block;
	background: url(../images/s4_gyoumu.png) center top no-repeat #2EA934;
	background-size: 100% auto;
	}
	.sinbox5 {
	background-color: #2EA934;
	padding: 0px;
	height: 268px;
	margin-bottom: 30px;
	display: block;
	background: url(../images/s5_keieicon.png) center top no-repeat #2EA934;
	background-size: 100% auto;
	}
	.sinbox6 {
	background-color: #2EA934;
	padding: 0px;
	height: 268px;
	margin-bottom: 30px;
	display: block;
	background: url(../images/s6_outsou.png) center top no-repeat #2EA934;
	background-size: 100% auto;
	}
	.gyoumumenut {
	font: bold 24px 'ＭＳ Ｐゴシック';
	color: white;
	letter-spacing: -1px;
	text-align: center;
	background-color: #006837;
	background-repeat: repeat-x;
	background-position: 0 100%;
	padding: 10px;
	opacity: 0.8;
	}

	.gyoumu01 {
	font-size: 13px;
	color: white;
	padding-right: 10px;
	padding-left: 10px;
	background-color: #D75774;
	position: relative;
	height: 120px;
	padding-top: 10px;
	top: 40%;
	}
	
/*.bg1 {
	background: url(../images/s1_zeiri.png) center top no-repeat white;
	background-size: 100% auto;
}
.bg2 {
	background: url(../images/s2_gyousei.png) center top no-repeat white;
	background-size:100% auto;
}*/
/*.bg3 {
	background: url(../images/s3_keieicon.png) center top no-repeat white;
	background-size: 100% auto;
}*/
/*.bg4 {
	background: url(../images/s4_gyoumu.png) center top no-repeat white;
	background-size: 100% auto;
}
.bg5 {
	background: url(../images/s5_keieicon.png) center top no-repeat white;
	background-size: 100% auto;
}
.bg6 {
	background: url(../images/s6_outsou.png) center top no-repeat white;
	background-size: 100% auto;
}*/
.customer {
	width: 667px;
	max-width: 100%;
	max-height: 100%;
}

.tellmewithrun {
	width: 921px;
	max-width: 100%;
	}
.customervoice {
	background-repeat: no-repeat;
	background-color: #2EA934;
	padding-bottom: 0px;
}
.over {
	overflow: hidden;
}
.shaokuleft {
	background: url(../images/welcome.jpg) center top no-repeat;
	background-size: 100% auto;


}
.shaokubgimg {
	background: url(../images/withrunhiradomain.jpg) center top no-repeat;
	background-size: 100% auto;
}
.aboutlink {
	text-align: left;
	font-size: 13px;

}

.content1 {
visibility: visible;
z-index: 5;
}
.sdgstext {
	color: #E84B73;
	font-size: 21px;
	text-align: left;
	padding: 50px;
	font-weight: bold;
}
/*.footshamei {
		background-attachment: scroll;
		background: url(../images/higuchi_bottom_slide-image.png) center bottom no-repeat #52c6eb;
		height: 800px;
}*/
/* 旧来の背景指定を無効化（※既存にあった定義の上書き） */
.footshamei {

  background: #52c6eb;
}
.footer{


	padding-top: 20px;
	padding-right: 20px;
	padding-left: 20px;
	position: relative;
	width: 100%;
	top: auto;
	font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	background: url(../images/footerbg.png) #B2E1F5;

}
#footcopy{
	color: white;
	background-color: #5d837c;
	width: 100%;
	text-align: right;
	font-size: 13px;
	white-space: nowrap;
	line-height: 150%;
}
.pikabox {

	float: right;
	margin-right: 20px;

}
.pikamoji {
	font-size: 13px;
}
p {
	padding-left: 24px;
}
.colum {
	text-align: left;
	font-size: 12px;
	padding-left: 20px;
}

.bottomletter {
	padding: 30px;
	text-align: left;
	right: 20px;
	position: absolute;
}
.circle-logo {
	margin: 0 0 10px 20px;
}
#border1{
	border: 1px solid silver;
}
#border5{
	border: 1px solid silver;
	padding: 5px;
}
.boxshadowgs {
	width: 36px;
    font-size:15px;
    font-weight:normal;
    text-decoration:none;
    display:block;
    text-align:center;
    padding: 8px 0;
    color:#fff;
    background-color: #2EA934;
    border-radius:3px;
    box-shadow: 5px 5px hsl(335, 13%, 94%);
	float: left;
	margin-right: 20px;
	margin-top: 10px;
}
.boxshadows {
	width:36px;
    font-size:15px;
    font-weight:normal;
    text-decoration:none;
    display:block;
    text-align:center;
    padding: 10px 10px;
    color:#fff;
    background-color: #E84B73;
    border-radius:3px;
    box-shadow: 5px 5px hsl(335, 13%, 94%);
	float: left;
	margin-right: 13px;
	margin-top: 10px;
	margin-bottom: 10px;
	}
.link a {
	text-align: left;
	font-size: 13px;
	line-height: 22px;
	color: blue;
}
.adress {
	
	width: 350px;
	text-align: right;
	font-size: 13px;
	height: 280px;
	top: 20px;
}

.snsicon {
	margin: 10px 5px 2px 2px;
}
.bg-section{
	position: absolute;
    left: 0;
    top: 0;
	width: 100%;
	height: 100vh;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: center center; 
    -webkit-background-size: cover;
         -o-background-size: cover;
            background-size: cover;
}
.facility-gallery {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* 左側（大きな1枚） */
.facility-gallery .left {
  flex: 1;
  min-width: 260px;
}

.facility-gallery .left img {
  width: 100%;
  height: auto;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* 右側 */
.facility-gallery .right {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 上下段の共通 */
.facility-gallery .top,
.facility-gallery .bottom {
  display: flex;
  gap: 12px;
}

/* 各写真ブロック */
.facility-gallery figure {
  flex: 1;
  margin: 0;
}

.facility-gallery img {
  width: 100%;
  height: auto;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* キャプション */
.facility-gallery figcaption {
  font-size: 0.85rem;
  color: #333;
  text-align: center;
  margin-top: 4px;
  line-height: 1.4;
}

/* スマホ対応（縦並び） */
@media (max-width: 768px) {
  .facility-gallery {
    flex-direction: column;
  }
  .facility-gallery .top,
  .facility-gallery .bottom {
    flex-direction: column;
  }
}
#bg-section01{
    background-image: url('img/img01.jpg');
}
#bg-section02{
    background-image: url('images/withrunhiradomain.jpg');
}
#bg-section03{
    background-image: url('img/img03.jpg');
    top: 30vh;
}
#kifukin {
	color: black;
	font-family: メイリオ, Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", "ヒラギノ角ゴ Pro W3", Hiragino;
}
#kifukin td{
	border: 1px solid white;
	background-color:  #dfdede;
	padding: 10px;
}
/* ---------- スマホ時の facility-gallery レイアウト調整 ---------- */
@media screen and (max-width: 768px) {
  .facility-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px; /* 各画像の間に適度な余白 */
  }

  .facility-gallery .left,
  .facility-gallery .right,
  .facility-gallery .right .top,
  .facility-gallery .right .bottom {
    width: 100%;  /* 画面幅いっぱいに */
  }

  .facility-gallery figure {
    width: 100%;
    margin: 0;
  }

  .facility-gallery figure img {
    width: 100%;        /* 横幅100%で揃える */
    height: auto;       /* 比率は維持 */
    object-fit: contain; /* 縦横比を崩さず収める */
    display: block;
  }
}
/* -------------------------------
   設備ギャラリーの画像サイズ統一
--------------------------------*/
.row.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 自動で列調整 */
  gap: 16px;
  margin-top: 24px;
}

/* 各画像を同じサイズ比で揃える */
.row.gallery figure {
  margin: 0;
}

.row.gallery figure img {
  width: 100%;
  aspect-ratio: 4 / 3;   /* 比率を固定して見た目を揃える */
  object-fit: cover;      /* はみ出す部分はトリミング（縦横比は維持） */
  border-radius: 4px;
  display: block;
}

/* キャプションの整形 */
.row.gallery figure figcaption {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 4px;
  line-height: 1.4;
}

/* スマホでは1列に */
@media screen and (max-width: 768px) {
  .row.gallery {
    grid-template-columns: 1fr;
  }
}

/* フッター背面に背景を敷き、クラスでせり上げる */
.container-fluid.footshamei {
  position: relative;
  overflow: hidden;
}

/* フッターを十分な高さに。背景が見切れないように最低高さを確保 */
.container-fluid.footshamei {
  position: relative;
  overflow: hidden;
  min-height: 60vh;                 /* ← ここが重要：とりあえず 60vh 確保 */
  /*background: transparent !important;*/ /* 旧背景の打ち消し（残っているなら） */
}

.container-fluid.footshamei::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/higuchi_bottom_slide-image.png") center bottom / cover no-repeat;
  transform: translateY(20%);              /* 初期は下に隠す */
  opacity: 0;                              /* 初期は透明 */
  transition:
    transform 1.8s ease-out,
    opacity 1.8s ease-out;                 /* ← フェード追加 */
  will-change: transform, opacity;
  z-index: 0;
}

/* 画面内に入ったらフェード＋せり上げ */
.container-fluid.footshamei.is-inview::before {
  transform: translateY(0%);
  opacity: 1;                              /* ← フェードイン */
}
/* =====================
   上に戻るボタン設定
===================== */
.scroll-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 1000;
}

.scroll-top img {
  width: 100%;
  height: auto;
  display: block;
}

/* 表示状態 */
.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

/* ホバー効果（お好みで） */
.scroll-top:hover {
  transform: translateY(-4px);
  transition: transform 0.3s ease;
}
/* ========== 共通 ========== */
.navbar-wrap {
  display: flex;
  align-items: center;
  justify-content: center; /* PCでは中央配置のまま */
  position: relative;
}

/* ハンバーガーボタン（初期は非表示：スマホで表示） */
.hamburger {
  display: none;
  position: absolute;
  left: 0; /* 左に置く。右にしたければ right:0; に */
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 24px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1500;
}
.hamburger span {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: #222;
  transition: transform .3s ease, opacity .3s ease, top .3s ease;
}
.hamburger span:nth-child(1){ top: 0; }
.hamburger span:nth-child(2){ top: 11px; }
.hamburger span:nth-child(3){ top: 22px; }
.hamburger.open span:nth-child(1){ top:11px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity: 0; }
.hamburger.open span:nth-child(3){ top:11px; transform: rotate(-45deg); }

/* オーバーレイ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  z-index: 1200;
}
.nav-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* ========== メニュー ========== */
/* PC：今まで通り横並び（既存の .menu のスタイルがあればそれ優先でOK） */

/* スマホ：ドロワー化 */
@media (max-width: 768px) {
  .hamburger { display: block; }

  /* 親の中央寄せは崩さず、メニュー自体は右からスライドイン */
  .navbar-wrap { justify-content: center; }

  .menu {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 80vw; max-width: 320px;
    background: #fff;
    padding: 80px 20px 24px;
    margin: 0;
    list-style: none;
    overflow-y: auto;
    box-shadow: -8px 0 24px rgba(0,0,0,.15);
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 1400;
    text-align: left;         /* スマホでは左寄せ */
  }
  .menu.open { transform: translateX(0); }

  .menu li { margin: 0 0 16px; }
  .menu a { display: block; font-size: 16px; padding: 8px 0; color: #222; }
}
@media (max-width: 768px) {
  .hamburger { display: block; }

  .navbar-wrap { justify-content: center; }

  .menu {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 80vw; max-width: 320px;
    background: #001f3f; /* ← 背景を紺色に変更（例: 深いネイビー） */
    padding: 80px 20px 24px;
    margin: 0;
    list-style: none;
    overflow-y: auto;
    box-shadow: -8px 0 24px rgba(0,0,0,.15);
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 1400;
    text-align: left;
  }

  .menu.open { transform: translateX(0); }

  .menu li { margin: 0 0 16px; }

  .menu a {
    display: block;
    font-size: 16px;
    padding: 8px 0;
    color: #fff; /* ← テキストを白にして読みやすく */
    text-decoration: none;
  }

  .menu a:hover {
    opacity: 0.8; /* ホバー時に少し明るく */
  }
}/* スマホ用ハンバーガーメニュー設定 */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    position: fixed;      /* ← fixedで常に左上に固定 */
    top: 20px;            /* 上からの余白 */
    left: 20px;           /* 左からの余白 */
    width: 32px;
    height: 24px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000;        /* すべての要素より前に出す */
  }

  .hamburger span {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #001f3f;  /* 紺色または白などに調整可 */
    transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
  }

  .hamburger span:nth-child(1) { top: 0; }
  .hamburger span:nth-child(2) { top: 11px; }
  .hamburger span:nth-child(3) { top: 22px; }

  .hamburger.open span:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    top: 11px;
    transform: rotate(-45deg);
  }
}
/* スマホでは旧メニューバーを消す */
@media (max-width: 768px) {
  .topmenu {
    background: transparent !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
  }
  .topmenu .container {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
  }
  /* 念のため .menu に色が残っていても見えないように */
  .topmenu .menu {
    background: transparent !important;
    box-shadow: none !important;
  }
}
/* ==========================
   お問い合わせフォームのレスポンシブ対応
========================== */
#contact-form-block,#contact-form-block form {
	text-align: center;
}
#contact-form-block,
#contact-form-block form,
#contact-form-block ul,
#contact-form-block li {
  width: 100%;
  max-width: 768px;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* 各入力フィールドを親幅いっぱいに */
#contact-form-block input[type="text"],
#contact-form-block input[type="email"],
#contact-form-block input[type="tel"],
#contact-form-block textarea,
#contact-form-block select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 1rem;
}

/* 送信ボタンを横並びで中央寄せ */
#contact-form-block input[type="submit"],
#contact-form-block input[type="reset"] {
  width: 48%;
  max-width: 200px;
  display: inline-block;
  margin: 8px 1%;
}

/* スマホ幅で余白を減らす */
@media (max-width: 768px) {
  #contact-form-block {
    padding: 0 12px;
  }
  #contact-form-block ul {
    padding: 0;
    margin: 0;
  }
  #contact-form-block li {
    margin-bottom: 12px;
  }
}
/* --- Gallery columns fix --- */
.row.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;            /* 余白はお好みで */
}
.row.gallery figure {
  width: 100%;
  margin: 0;            /* 余計な余白を打消し */
}
.row.gallery figure img {
  width: 100%;
  height: auto;
  display: block;
}

/* >= 768px: 2列 */
@media (min-width: 768px) {
  .row.gallery figure {
    flex: 0 0 calc(50% - 16px);
    max-width: calc(50% - 16px);
  }
}

/* >= 1200px: 3列（ここが今回の修正ポイント） */
@media (min-width: 1200px) {
  .row.gallery figure {
    flex: 0 0 calc(33.333% - 16px);
    max-width: calc(33.333% - 16px);
  }
}
