@charset "UTF-8";

/*
Theme Name:桜井建工
*/
:root{
    --sakurai:#004098;
}

:root{
    --ja:"Noto Sans JP", sans-serif;
}

body{  font-size: 16px; background-color: #F9F5EA; font-family: var(--ja)}
h1{ font-size:28px; font-weight: bold;}
h2{ font-size:20px;}
h3{ font-size:18px;}
img{ max-width:100%;  }
#content{
  background:url(images/pattern-diamond.png);
  padding-top:20px;
  padding-bottom:20px;
}
#content-wrap{
  background-color: white;
  box-shadow: 2px 2px 2px rgba(0,0,0,.3);
}
#sidebar{ text-align: center;}
footer{ background-color: #222; }
footer p{
  padding:15px 0;
  color: white;
}

/*-------------------------
　-------------------------

  TOPページコンテンツ

　0.ページ共通
　1.ヘッダー、ナビ
　2.ヒーロー
　3.TOP事業内容
　4.トピックス
　5.フッター

-------------------------
-------------------------*/

/*-------------------------

  TOPページコンテンツ
  0.ページ共通

-------------------------*/
.container{
    padding: 0;
    width: 100%;
}


/*-------------------------

  TOPページコンテンツ
  1.ヘッダー、ナビ

-------------------------*/

.head{
	display: block;
	position: relative;
	top: 30px;
}

.header-logo{
	width: 500px;
    margin: 20px 0;
}

.header-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo a img{
	width: 90%;
}

.head{
	width: 95%;
	display: flex;
	margin: 0 auto;
}

.navbar-nav{
	display: flex;
}

#bs-navbar-collapse-1 img{
	width: 200px;
}

.headnav{
	margin: 0 0 0 auto;
	display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 15px;
}

.headnav .nav {
  list-style: none;
  margin: 0;
  padding: 8px 24px;
  background-color: #ffffff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

#slideshow {
   position: relative;
   width:  auto;
   height: 500px; 
}

#slideshow img {
   position: absolute;
   top: 0;
   left:0;
   z-index: 8;
   opacity: 0.0;
	object-fit: cover;
	object-position: center;
	width: 100%;
	height: 500px;
}

#slideshow img.active {
   z-index: 10;
   opacity: 1.0;
}
#slideshow img.last-active {
   z-index: 9;
}

#main{
	width: 100%;
}

@media only screen and (max-width: 767px){
	#head{
		display: none;
	}
}

.navbar-header{
	display: none;
}
@media only screen and (max-width: 767px){
	.navbar-header{
		align-items: center;
		background-color: #ffffff;
		display: flex;
		height: 6rem !important;
		margin: 0;
		padding: 8px 16px;
		position: fixed;
		width: 100%;
		z-index: 1000;
	}
}

.navbar-nav li a{
	line-height: 30px;
}

.navbar-nav li:hover{
	background-color: #000000;
	transition: 0.2s;
}

.navbar-nav li a:hover{
	color: #fff;
}

.nav>li{
	line-height: 90px;
}

.btn-recruit {
  background-color: #00449E;
  color: #ffffff !important;
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease;
	line-height: 30px;
	padding: 18px 39px;
}

.btn-recruit:hover {
  background-color: #003377;
}

/*-------------------------

  TOPページコンテンツ
  2.ヒーロー

-------------------------*/

#top-vg{
	position: relative;
    top: -100px;
    z-index: -1;
}

#top-vg img{
	max-width: 100%;
	padding: 10px
}

#top-vg .hero-copy {
  position: absolute;
  left: 60px;
  top: 55%;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  z-index: 5;
  margin: 0;
}

@media (max-width: 960px) {
	#top-vg .hero-copy {
		font-size: 18px;
		left: 40px;
	}
}

/*-------------------------

  TOPページコンテンツ
  3.3つ

-------------------------*/

/* --- WHY CHOOSE US セクション --- */
.why-choose-us {
  padding: 80px 0; /* セクション全体の上下パディング */
}
.why-choose-us .inner {
  max-width: 1100px; /* 全体の幅 */
  margin: 0 auto;
  padding: 0 20px;
}

/* --- タイトル部分 --- */
.why-choose-us .section-title {
  text-align: center;
  margin-bottom: 80px; /* タイトル下の余白。アイコンが少し被るように配置するため、大きめに設定 */
  position: relative;
}
.why-choose-us .section-title .en-title {
  font-size: 14px;
  font-weight: bold;
  color: var(--sakurai); /* 英語タイトルの青色 */
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}
.why-choose-us .section-title h2 {
  font-size: 28px;
  font-weight: bold;
  margin: 0;
  color: #000;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}
/* 下線 */
.why-choose-us .section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px; /* 下線の幅 */
  height: 2px; /* 下線の太さ */
  background-color: var(--sakurai); /* 下線の色 */
}

/* --- 強みコンテナ --- */
.why-choose-us .feature-container {
  display: flex;
  justify-content: space-between;
  gap: 20px; /* 項目間の余白 */
}

/* --- 強み項目単体 --- */
.why-choose-us .feature-item {
  flex: 1; /* 3等分 */
  background-color: var(--sakurai); /* カードの紺色背景 */
  border-radius: 15px;
  position: relative; /* アイコンを絶対配置するため */
  padding: 80px 30px 40px; /* アイコン分のpaddingを加味（上80px） */
  color: #fff; /* 文字色を白に */
  text-align: center;
}

/* --- アイコン画像 --- */
.why-choose-us .feature-icon {
  position: absolute;
  top: -60px; /* カードの上からはみ出させる調整 */
  left: 50%;
  transform: translateX(-50%);
  width: 120px; /* アイコンを囲む円のサイズ */
  height: 120px;
  background-color: #fff; /* 円の白背景 */
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* 軽い影 */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
.why-choose-us .feature-icon img {
  width: 50%; /* 円の中でのアイコン画像のサイズ調整 */
  height: auto;
  display: block;
}

/* --- 強みコンテンツ部分 --- */
.why-choose-us .feature-content h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 20px 0 15px;
}
.why-choose-us .feature-content p {
  font-size: 14px;
  line-height: 1.8;
  text-align: left; /* テキストを左寄せに */
  margin: 0;
}

/* --- ラベル (品質, 一貫対応, 親切) --- */
.why-choose-us .feature-content .label {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
}
/* ラベルの色分け（共通の色） */
.why-choose-us .feature-content .label.quality,
.why-choose-us .feature-content .label.allinone,
.why-choose-us .feature-content .label.approachable {
  background-color: #e67e22; /* オレンジ色 */
}

/* --- レスポンシブ対応 (タブレット・スマホ) --- */
@media screen and (max-width: 960px) {
  .why-choose-us .feature-container {
    flex-wrap: wrap; /* 折り返しを許可 */
  }
  .why-choose-us .feature-item {
    flex: 0 0 calc(50% - 10px); /* 2並び */
    margin-bottom: 80px; /* 2段目のための余白 */
  }
}
@media screen and (max-width: 640px) {
  .why-choose-us .feature-item {
    flex: 0 0 100%; /* 1並び */
  }
}


/*-------------------------

  TOPページコンテンツ
  4.施工事例

-------------------------*/
.works-section {
  width: 100%;
  padding: 0; /* 画面端の余白 */
  box-sizing: border-box;
}

/* 左上が大きく丸まったクリーム色の背景カード */
.works-container {
  max-width: 100%;
  margin: 0 auto;
  background-color: #fff; /* デザインのベージュ・クリーム色 */
  border-top-left-radius: 250px; /* 左上の大きな角丸 */
  padding: 60px; /* 内部の余白 */
  box-sizing: border-box;
}

/* --- タイトルエリア --- */
.works-section .section-title {
  text-align: center;
  margin-bottom: 40px;
}

/* 英語サブタイトル (CASE) */
.works-section .en-title {
  font-size: 13px;
  font-weight: 800;
  color: #00449E; /* テーマカラーの青 */
  letter-spacing: 0.1em;
  margin: 0 0 6px 0;
}

/* 日本語メインタイトル (施工事例) */
.works-section h2 {
  font-size: 26px;
  font-weight: bold;
  color: #111111;
  margin: 0;
  padding-bottom: 12px;
  position: relative;
  display: inline-block;
}

/* 下の青ライン */
.works-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px; /* ラインの長さ */
  height: 3px;  /* ラインの太さ */
  background-color: #00449E; /* テーマカラーの青 */
  border-radius: 2px;
}

/* --- レスポンシブ対応 (スマホ表示時) --- */
@media (max-width: 768px) {
  .works-container {
    border-top-left-radius: 40px; /* スマホでは角丸を少し小さく調整 */
    padding: 40px 20px;
  }
  
  .works-section h2 {
    font-size: 20px;
  }
}

/* --- 施工事例カード外枠 --- */
.case-card {
  background-color: #F9F5EA; /* 白背景 */
  border-radius: 24px; /* カード外枠の角丸 */
  padding: 32px 24px;
  max-width: 400px; /* カードの幅（グリッドや横並びにする場合は適宜調整） */
    width: 400px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); /* ほんのり影をつけて立体感を出す */
  box-sizing: border-box;
}

/* --- カード内タイトル --- */
.case-card .case-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 24px 0;
}

/* --- 画像＋説明文のセット --- */
.case-card .case-item {
  margin-bottom: 24px;
}
.case-card .case-item:last-child {
  margin-bottom: 0; /* 最後の要素の下余白は消す */
}

/* 画像を囲む枠（角丸の適用） */
.case-card .case-img-wrap {
  width: 100%;
  border-radius: 20px; /* 写真の角丸 */
  overflow: hidden;
  line-height: 0;
  margin-bottom: 12px;
}

.case-card .case-img-wrap img {
  width: 100%;
  height: 220px; /* 高さを統一したい場合は指定（要調整） */
  object-fit: cover;
  display: block;
}

/* --- 施工箇所テキスト --- */
.case-card .case-location {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  margin: 0;
  display: flex;
  align-items: center;
}

.case-card .case-location .label {
  font-weight: 700;
    font-size: 16px;
    color: #000;
  margin-right: 4px;
}

/* --- スマホ調整 --- */
@media (max-width: 480px) {
  .case-card {
    padding: 24px 16px;
    border-radius: 16px;
  }
  .case-card .case-title {
    font-size: 18px;
  }
  .case-card .case-img-wrap {
    border-radius: 14px;
  }
}

/* --- 施工箇所slick --- */
.sliderArea {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}
.sliderArea.w300 {
  max-width: 300px;
}
.slick-slide {
  margin: 0 5px;
    transition: all ease-in-out .3s;
  opacity: .3; /* 非アクティブ（両端4枚）の薄さをほんのり調整 */
}
.slick-slide img {
  width: 100%;
  height: auto;
}
.slick-prev, .slick-next {
  z-index: 1;
}
.slick-prev:before, .slick-next:before {
  color: #000;
}
.slick-slide {
  transition: all ease-in-out .3s;
  opacity: .2;
}
.slick-active {
  opacity: 1;
}
.slick-current {
  opacity: 1;
}
.thumb {
  margin: 20px 0 0;
}
.thumb .slick-slide {
  cursor: pointer;
}
.thumb .slick-slide:hover {
  opacity: .7;
}

/* --- スライダー全体の囲み幅制限（ここが一番重要です） --- */
.regular_3 {
  max-width: 100%; /* カードが綺麗に収まる幅に制限（必要に応じて900px〜1100pxで調整） */
  margin: 0 auto;    /* 中央寄せ */
  padding: 20px 0;
}

/* スライドカード同士の間隔 */
.regular_3 .slick-slide {
  margin: 0 35px; /* カードとカードの間の隙間 */
  box-sizing: border-box;
  transition: all 0.3s ease;
}

/* カード自体の幅が崩れないように固定 */
.regular_3 .case-card {
  width: 100%;
  box-sizing: border-box;
}

/* 矢印の位置調整（はみ出し防止） */
.regular_3 .slick-prev {
  left: -10px;
  z-index: 10;
}
.regular_3 .slick-next {
  right: -10px;
  z-index: 10;
}