#logo img {
  width: 150px;  /* 横幅を150pxに指定 */
  height: auto;  /* 縦横比を維持 */
}

/* スマホ時に表示するヘッダー */
.mobile-header {
  display: none; /* PCでは非表示 */
  position: absolute;
  top: 3px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  z-index: 100;
}

/* ロゴのスタイル */
#mobile-logo img {
  display: none;
  width: 150px;
  height: auto;
}

#mobile-menu-btn{
  display: none;
}

/* スマホ対応 */
@media (max-width: 768px) {
  #mobile-logo img {
    display: block;
    width: 70px;
    height: auto;
  }


  /* ハンバーガーメニューのボタン */
  #mobile-menu-btn {
    width: 35px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
  }

  #mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 5px;
    background-color: #333;
    transition: 0.3s;
  }
}

/* スマホ時のナビゲーションメニュー */
#mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  padding-top: 60px;
  transition: 0.3s;
  z-index: 200;
}

#mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#mobile-nav ul li {
  padding: 15px;
  text-align: center;
}

#mobile-nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

/* メニューが開いた状態 */
#mobile-nav.active {
  left: 0;
}

/* スマホ時に表示 */
@media screen and (max-width: 768px) {
  .mobile-header {
      display: flex;
  }
}

/* フッター */
.footer-links li a{
  color: #ffffff; /* 好きな色を指定 */
  text-decoration: none;
}


/* 会社理念ページのスタイル */
.philosophy-intro{
  text-align: center;
}

.philosophy-intro ul li{
    padding: 10px;
    background: #f7f7f7;
    margin-bottom: 10px;
    border-radius: 5px;
    display: inline-block;
    width: 90%;
}

.philosophy-page {
  max-width: 900px;
  margin: 0px auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
}
@media (max-width: 768px) {
.philosophy-page {
  padding: 8px;
}
}

.philosophy .inner {
  padding: 20px;
}

.philosophy h2 {
  text-align: center;
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
}

.philosophy h3 {
  font-size: 22px;
  color: #333333;
  margin-top: 56px;
  text-align: center;
}

.philosophy p {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
  text-align: center;
}

.philosophy ul {
  list-style-type: disc;
  margin-left: 20px;
  font-size: 16px;
}
@media (max-width: 768px) {
.philosophy ul {
  margin: 16px 0px;
}
}

.philosophy ul li {
  margin-bottom: 10px;
}

.philosophy-image {
  text-align: center;
  margin: 20px 0;
}

.philosophy-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}


.dl-button{
  text-align: center;
  margin-top: 50px;
}

.dl-button ul li{
    padding: 10px;
	color: #FFF;
	background: #333;
    margin-bottom: 10px;
    border-radius: 5px;
    display: inline-block;
    width: 90%;
}




/* こんな会社ですページ */
.company-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 20px;
  background: #fff;
}

.company .inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* セクションタイトル */
.company h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 40px;
  font-weight: bold;
  border-bottom: 2px solid #0073aa;
  display: inline-block;
  padding-bottom: 10px;
}

/* 小見出し */
.company h3 {
  font-size: 24px;
  color: #0073aa;
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: bold;
}

/* テキスト */
.company p {
  font-size: 18px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* 箇条書き */
.company ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.company ul li {
  font-size: 18px;
  padding: 10px;
  background: #f7f7f7;
  margin-bottom: 10px;
  border-radius: 5px;
  display: inline-block;
  width: 80%;
  text-align: center;
}

/* 画像 */
.company-image {
  text-align: center;
  margin: 40px 0;
}

.company-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* スマホ対応 */
@media (max-width: 768px) {
  .company h2 {
      font-size: 26px;
  }

  .company h3 {
      font-size: 20px;
  }

  .company p {
      font-size: 16px;
  }

  .company ul li {
      font-size: 16px;
      width: 100%;
  }
}




/* 主要顧客・納入実績ページ */
.customers-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 20px;
  background: #fff;
}

.customers .inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.bx-wrapper-customers img {
	position: relative;
	z-index: 0;
	height: 480px;
    object-fit: cover;
    object-position: center;

}

@media (max-width: 768px) {
	.bx-wrapper-customers img {
		height: auto;
	}
}

/* セクションタイトル */
.customers h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 40px;
  font-weight: bold;
  border-bottom: 2px solid #0073aa;
  display: inline-block;
  padding-bottom: 10px;
}

/* 小見出し */
.customers h3 {
  font-size: 24px;
  color: #0073aa;
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: bold;
}

/* テキスト */
.customers p {
  font-size: 18px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* 取引先リスト */
.customers-list {
  width: 60%;
  margin: auto;
}

.customers ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.customers ul li {
  font-size: 18px;
  margin-bottom: 5px;
  border-radius: 5px;
  display: inline-block;
  width: 80%;
  text-align: left;
}

#sonota{
  text-align: right;
}

/* 画像 */
.customers-image {
  text-align: center;
  margin: 40px 0;
}

.customers-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* スマホ対応 */
@media (max-width: 1200px) {
  .customers-list {
    width: 100%;
    margin: auto;
  }
}

@media (max-width: 768px) {
  .customers h2 {
      font-size: 26px;
  }

  .customers h3 {
      font-size: 20px;
  }

  .customers p {
      font-size: 16px;
  }

  .customers ul li {
      font-size: 15px;
      margin:0;
  }
}




/* 会社概要ページ */
.corporate-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 20px;
  background: #fff;
}

.corporate .inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

/* セクションタイトル */
.corporate h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 40px;
  font-weight: bold;
  border-bottom: 2px solid #0073aa;
  display: inline-block;
  padding-bottom: 10px;
}

/* 小見出し */
.corporate h3 {
  font-size: 24px;
  color: #333333;
  margin-top: 40px;
  margin-bottom: 15px;
}

.corporate-info{
  margin-bottom: 40px;
}


/* 会社情報（表形式） */
.corporate-info dl {
  display: flex;
  /* flex-wrap: wrap; */
  /* padding: 10px; */
  border-bottom: 1px solid #ddd;
}
@media (max-width: 768px) {
	.corporate-info dl {
		display: block;
	}
}

.corporate-info dt {
  width: 30%;
  font-weight: bold;
  text-align: left;
  color: #333;
}

.corporate-info dd {
  width: 70%;
  text-align: right;
  color: #444;
}
@media (max-width: 768px) {
	.corporate-info dd {
		width: 100%;;
	}
}

.corporate-info a {
  color: #0073aa;
  text-decoration: none;
}

.corporate-info a:hover {
  text-decoration: underline;
}

.company-history dd{
  text-align: left;
}

/* アクセス情報 */
.access-map {
  margin-top: 40px;
}

.root dl {
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.root dt {
  width: 30%;
  font-weight: bold;
  text-align: left;
  color: #333;
}

.root dd {
  width: 70%;
  text-align: left;
  color: #000 !important;
  text-decoration: none;
  font-size: inherit;
  font-weight: normal;
  display: inline;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .corporate h2 {
      font-size: 26px;
  }

  .corporate h3 {
      font-size: 20px;
  }

  .corporate-info dt,
  .root dt,
  .root dd {
      width: 100%;
      text-align: left;
  }

  .corporate-info dd{
    text-align: right;
  }
}




/* 社長挨拶ページ */
.president-message-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 20px;
  background: #fff;
}

.president-message .inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* セクションタイトル */
.president-message h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 40px;
  font-weight: bold;
  border-bottom: 2px solid #0073aa;
  display: inline-block;
  padding-bottom: 10px;
}

/* 挨拶メッセージ */
.president-message-content p {
  font-size: 18px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: left;
}

/* 社長写真 */
.president-photo {
  text-align: center;
  margin-top: 40px;
}

.president-photo img {
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.president-name {
  font-size: 18px;
  /* font-weight: bold; */
  margin-top: 10px;
  color: #333;
  text-align: right;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .president-message h2 {
      font-size: 26px;
  }

  .president-message-content p {
      font-size: 16px;
  }

  .president-photo img {
      max-width: 200px;
  }

  .president-name {
      font-size: 18px;
  }
}

/* プライバシーポリシーページ */
.privacy-policy-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 20px;
  background: #fff;
}

.privacy-policy .inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* セクションタイトル */
.privacy-policy h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 40px;
  font-weight: bold;
  border-bottom: 2px solid #0073aa;
  display: inline-block;
  padding-bottom: 10px;
}

/* プライバシーポリシー本文 */
.privacy-policy p {
  font-size: 18px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: left;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .privacy-policy h2 {
      font-size: 26px;
  }

  .privacy-policy-content p {
      font-size: 16px;
  }

}


/* 社員の声ページ */
.employees-voice-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 20px;
  background: #fff;
}

.employees-voice .inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* セクションタイトル */
.employees-voice h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 40px;
  font-weight: bold;
  border-bottom: 2px solid #0073aa;
  display: inline-block;
  padding-bottom: 10px;
}

/* イントロダクション */
.employees-intro p {
  font-size: 18px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* 社員コメントリスト */
.employees-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

/* コメントボックス */
.employee-box {
  width: 45%;
  background: #f7f7f7;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.employee-box p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .employees-voice h2 {
      font-size: 26px;
  }

  .employees-intro p {
      font-size: 16px;
  }

  .employee-box {
      width: 100%;
  }

  .employee-box p {
      font-size: 14px;
  }
}




/* 所在地・連絡先ページ */
.contact-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 20px;
  background: #fff;
}

.contact-info{
  margin-bottom: 40px;
}

.contact .inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.annaizu{
  margin-bottom: 40px;
}

.annaizu img{
  width: 100%;
  margin: auto;
  border: 1px solid #333333;
}

/* セクションタイトル */
.contact h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 40px;
  font-weight: bold;
  border-bottom: 2px solid #0073aa;
  display: inline-block;
  padding-bottom: 10px;
}

/* 会社情報（表形式） */
.contact-info dl {
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.contact-info dt {
  width: 30%;
  font-weight: bold;
  text-align: left;
  color: #333;
}

.contact-info dd {
  width: 70%;
  text-align: left;
  color: #444;
}

.contact-info a {
  color: #0073aa;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.access-map h3{
  font-size: 24px;
  margin-bottom: 24px;
}

/* Googleマップ */
.access-map {
  margin-top: 16px;
}

.access-map iframe {
  width: 100%;
  height: 450px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* 地図ボタン */
.map-links {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 80px;
}

.btn-map {
  display: inline-block;
  background: #0073aa;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
}

.btn-map:hover {
  background: #005f8d;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .contact h2 {
      font-size: 26px;
  }

  .contact-info dt,
  .contact-info dd {
      width: 100%;
      text-align: left;
  }

  .btn-map {
      width: 100%;
      text-align: center;
      padding: 12px 0;
  }

  .map-links {
      flex-direction: column;
      align-items: center;
  }
}




/* 採用情報ページ */
.recruitment-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 20px;
  background: #fff;
}

.recruitment .inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* セクションタイトル */
.recruitment h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 40px;
  font-weight: bold;
  border-bottom: 2px solid #0073aa;
  display: inline-block;
  padding-bottom: 10px;
}

/* 募集要項 */
.recruitment-details h3 {
  font-size: 24px;
  color: #0073aa;
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: bold;
}

.recruitment-details dl {
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.recruitment-details dt {
  width: 30%;
  font-weight: bold;
  text-align: left;
  color: #333;
}

.recruitment-details dd {
  width: 70%;
  text-align: left;
  color: #444;
}

/* メッセージ */
.recruitment-message p {
  font-size: 18px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* お問い合わせ情報 */
.contact-section {
  margin-top: 40px;
  text-align: left;
}

.contact-section p {
  font-size: 18px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 10px;
}

.contact-section a {
  color: #0073aa;
  text-decoration: none;
}

.contact-section a:hover {
  text-decoration: underline;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .recruitment h2 {
      font-size: 26px;
  }

  .recruitment-details dt,
  .recruitment-details dd {
      width: 100%;
      text-align: left;
  }
}


/* 問い合わせフォーム */
.contact-form {
  background: #f7f7f7;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.contact-form label {
  text-align: left;
  display: block;
  font-weight: bold;
  margin-top: 10px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.contact-form button {
  display: block;
  width: 100%;
  padding: 12px;
  background: #0073aa;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  margin-top: 20px;
}

.contact-form button:hover {
  background: #005f8d;
}




/* 完了ページ */
.thanks-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 20px;
  text-align: center;
  background: #fff;
}

.thanks h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 20px;
}

.thanks p {
  font-size: 18px;
  color: #555;
  line-height: 1.8;
}

.btn-home {
  display: inline-block;
  background: #0073aa;
  color: #fff;
  padding: 12px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 18px;
  margin-top: 20px;
}

.btn-home:hover {
  background: #005f8d;
}



/* エラーページ */
.error-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 20px;
  text-align: center;
  background: #fff;
}

.error h2 {
  font-size: 32px;
  color: #d9534f;
  margin-bottom: 20px;
}

.error p {
  font-size: 18px;
  color: #555;
  line-height: 1.8;
}

.error-details {
  background: #f8d7da;
  color: #721c24;
  padding: 15px;
  border-radius: 5px;
  margin: 20px 0;
}

.btn-retry,
.btn-home {
  display: inline-block;
  background: #0073aa;
  color: #fff;
  padding: 12px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 18px;
  margin-top: 20px;
}

.btn-retry:hover,
.btn-home:hover {
  background: #005f8d;
}



.employees-voice-image {
  text-align: center;
  margin: 30px 0;
}

.employees-voice-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px; /* 角を少し丸める（好みに応じて） */
}


.banners {
  text-align: center; /* バナー全体を中央寄せ */
}

.banner-title {
  font-size: 24px; /* タイトルの文字サイズ */
  font-weight: bold; /* 太字 */
  margin-bottom: 15px; /* バナーとの間に余白 */
  color: #333; /* 文字色（好みに応じて変更） */
  margin-top: 36px;
}
/* ===== レスポンシブ ===== */
@media screen and (max-width: 768px) {
.banner-title {
  font-size: 20px;
}
}

/* ===== 商品info ===== */
.product-text{
  font-size: 20px;
}

.custom-page{
  text-align: center;
}

.goods-info{
  text-align: center;
  background-color: #eeeeee;
}

/* ===== 特注品の申込み ===== */
.order-process{
  text-align: left;
  margin-bottom: 32px;
}

.order-step{
  text-align: left;
  font-size: 0.95em;
  color: #555;
  background-color: #f9f9f9;
  border-left: 4px solid #ccc;
  padding: 12px 16px;
  margin-bottom: 16px;
  line-height: 1.6;
  border-radius: 4px;
}

.product-link:link,
.product-link:visited,
.product-link:hover,
.product-link:active {
  color: rgba(128, 0, 128, 1); 
  text-decoration: none; /* 必要に応じて下線を消す（任意） */
}

.form-link:link,
.form-link:visited,
.form-link:hover,
.form-link:active {
  color:  rgba(128, 0, 128, 1); 
  text-decoration: none; /* 必要に応じて下線を消す（任意） */
}

/* ===== 商品グリッド ===== */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 160px;
}

.product-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: calc(33.333% - 20px);
  padding: 16px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.2s;
}

.product-card:hover {
  transform: scale(1.02);
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 12px;
}

.product-card h3 {
  font-size: 1.1em;
  margin: 10px 0 6px;
}

.product-card .summary {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 8px;
}

.product-card .price {
  font-weight: bold;
  font-size: 1.1em;
  color: #d9534f;
}

/* ===== 特注リンクボタン ===== */
.custom-page {
  text-align: center;
  margin: 12px 0 30px 0;
}

.custom-page .product {
  display: inline-block;
  padding: 12px 24px;
  background-color: #007bff;
  color: #fff;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.2s;
}

.custom-page .product:hover {
  background-color: #0056b3;
}

/* ===== レスポンシブ ===== */
@media screen and (max-width: 768px) {
  .product-card {
    width: 100%;
    margin-bottom: 129px;
  }

  .custom-page .product {
    display: block;
    width: 90%;
    margin: 10px auto;
  }
}

.note-text {
  font-size: 0.95em;
  color: #555;
  background-color: #f9f9f9;
  border-left: 4px solid #ccc;
  padding: 12px 16px;
  margin-bottom: 32px;
  line-height: 1.6;
  border-radius: 4px;
}

/* 主要顧客・納入実績ページ */
.photos-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 20px;
    background: #fff;
}

section.base .inner {
    width: 70%;
    margin: 0 auto;
}

.photos .inner {
    max-width: 900px;
    text-align: center;
}

@media (max-width: 768px) {
section.base .inner {
    width: 100%;
    margin: 0 auto;
}
}

/* セクションタイトル */
.photos h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 40px;
  font-weight: bold;
  border-bottom: 2px solid #0073aa;
  display: inline-block;
  padding-bottom: 10px;
}

/* 写真一覧 */
.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* PC：3列 */
  gap: 10px;
  padding: 10px;
}

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

.image-grid-vertical {
  column-count: 2; /* PCで2列 */
  column-gap: 10px;
  padding: 10px;
}

.image-grid-vertical img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  display: block;
  break-inside: avoid;
}

@media (max-width: 768px) {
  .image-grid {
    grid-template-columns: 1fr;
  }
  .image-grid-vertical {
    column-count: 1;
  }
}