/* ==============================================
   株式会社ヨコヤマ - 共通スタイルシート
   ============================================== */

/* ===== リセット・基本 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', 'Yu Gothic', sans-serif;
  line-height: 1.6;
  color: #333;
}

/* ===== ヘッダー ===== */
.header {
  width: 100%;
}

.header-logo-area {
  background-color: #3d9bd4;
  width: 100%;
  padding: 18px 30px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.header-logo-area img {
  height: 48px;
  width: auto;
  display: block;
}

.header-nav-area {
  background-color: #fff;
  width: 100%;
  border-bottom: 1px solid #e0e0e0;
}

.header-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
}

.header-nav-area nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.header-nav-area nav ul li {
  flex: 1;
  border-left: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-nav-area nav ul li:last-child {
  border-right: 1px solid #ccc;
}

.header-nav-area nav ul li a {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 8px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: background-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.header-nav-area nav ul li a:hover,
.header-nav-area nav ul li a.active {
  background-color: #3d9bd4;
  color: #fff;
}

/* ===== フッター ===== */
.footer {
  width: 100%;
  background-color: #3d9bd4;
  color: #fff;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 40px 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-logo img {
  height: 40px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-nav {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.05em;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.footer-nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 20px;
  text-align: center;
}

.footer-bottom small {
  font-size: 12px;
  opacity: 0.8;
  letter-spacing: 0.03em;
}

/* ===== ヒーローセクション（共通） ===== */
.hero-section {
  position: relative;
  width: 100%;
  height: 400px;
  background-color: #C6C6C6;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  left: 50%;
  top: 0;
  width: 800px;
  height: 400px;
}

.hero-image img {
  width: 800px;
  height: 400px;
  display: block;
  object-fit: cover;
}

.hero-title {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #0088cc;
  color: white;
  padding: 30px 60px;
  width: 420px;
  box-sizing: border-box;
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 0.1em;
  z-index: 10;
}

/* ===== セクションタイトルバー（共通） ===== */
.section-title-bar {
  background-color: #0088cc;
  color: white;
  padding: 14px 30px;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 0;
}

/* ==============================================
   TOPページ専用
   ============================================== */

/* スクロールギャラリー */
.scroll-gallery-section {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.gallery-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #fff;
}

.gallery-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-slide.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.gallery-slide.prev {
  transform: translate(-50%, -50%) scale(1.2);
  opacity: 0;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.indicator-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.indicator-dot.active {
  background-color: rgba(0, 0, 0, 0.8);
  transform: scale(1.2);
}

/* 90周年セクション */
.anniversary-section {
  background-color: #C6C6C6;
  padding: 100px 20px;
}

.anniversary-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;
}

.anniversary-content {
  flex-shrink: 0;
}

.anniversary-content img {
  width: 280px;
  height: auto;
  display: block;
}

.anniversary-text {
  flex: 1;
}

.anniversary-text p {
  font-size: 17px;
  line-height: 2.2;
  color: #555;
  margin-bottom: 0;
}

/* スプリットセクション */
.split-section {
  width: 100%;
  display: flex;
  height: 300px;
  position: relative;
}

.split-half {
  width: 50%;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.split-half.text-side {
  padding: 40px 60px;
  justify-content: center;
}

.split-half.image-side {
  padding: 0;
}

.split-left {
  background-color: #C6C6C6;
}

.split-right {
  background-color: #ffffff;
}

.content-text {
  max-width: 500px;
}

.content-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #333;
  letter-spacing: 0.05em;
}

.content-description {
  font-size: 17px;
  line-height: 2;
  color: #555;
}

.content-image-left-align {
  position: absolute;
  left: 0;
  width: 600px;
  height: 300px;
}

.content-image-left-align img {
  width: 600px;
  height: 300px;
  display: block;
  object-fit: cover;
}

.content-image-right-align {
  position: absolute;
  right: 0;
  width: 600px;
  height: 300px;
}

.content-image-right-align img {
  width: 600px;
  height: 300px;
  display: block;
  object-fit: cover;
}

/* ソリューションセクション */
.solution-section {
  background-color: #C6C6C6;
  padding: 0;
}

.solution-image-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: #C6C6C6;
}

.solution-image {
  width: 1500px;
  height: 300px;
}

.solution-image img {
  width: 1500px;
  height: 300px;
  display: block;
  object-fit: cover;
}

.solution-text-wrapper {
  width: 100%;
  background-color: #C6C6C6;
  padding: 60px 20px 100px;
  text-align: center;
}

.solution-content {
  max-width: 1200px;
  margin: 0 auto;
}

.solution-title {
  font-size: 36px;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
  letter-spacing: 0.1em;
}

.solution-description {
  font-size: 17px;
  line-height: 2;
  color: #555;
}

.solution-badge img {
  width: 200px;
  height: auto;
  display: block;
}

/* ==============================================
   取扱商材ページ専用
   ============================================== */

.intro-section {
  background-color: #C6C6C6;
  padding: 60px 20px;
}

.intro-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.intro-icon {
  flex-shrink: 0;
  width: 200px;
}

.intro-icon img {
  width: 200px;
  height: auto;
  display: block;
}

.intro-text {
  flex: 1;
}

.intro-text p {
  font-size: 17px;
  line-height: 2;
  color: #555;
}

.products-section {
  background-color: #ffffff;
  padding: 80px 20px;
}

.products-container {
  max-width: 1200px;
  margin: 0 auto;
}

.image-products {
  display: grid;
  grid-template-columns: repeat(3, 400px);
  gap: 0;
  margin-bottom: 60px;
  justify-content: center;
}

.product-card {
  position: relative;
  width: 400px;
  height: 400px;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
  padding: 30px 25px;
}

.product-title {
  color: white;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.product-subtitle {
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  letter-spacing: 0.05em;
}

.text-products {
  background-color: #f8f8f8;
  border-radius: 4px;
  padding: 40px;
}

.product-table {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-item {
  display: flex;
  flex-direction: column;
}

.product-item-title {
  background-color: #0088cc;
  color: white;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 15px;
  border-radius: 2px;
  text-align: center;
}

.maker-image {
  width: 100%;
  display: block;
}

/* ==============================================
   事業案内ページ専用
   ============================================== */

.content-sections {
  width: 100%;
}

.content-section {
  position: relative;
  width: 100%;
  min-height: 300px;
  display: flex;
  align-items: stretch;
}

.section-container {
  width: 100%;
  display: flex;
  align-items: stretch;
  position: relative;
}

.side-block {
  flex: 1;
  min-width: 100px;
}

.side-white {
  background-color: #ffffff;
}

.side-gray {
  background-color: #C6C6C6;
}

.section-image {
  width: 600px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.section-image-inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.section-photo {
  width: 600px;
  height: 300px;
  flex-shrink: 0;
}

.section-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-text {
  width: 400px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 40px;
  background-color: #ffffff;
}

.section-text p {
  font-size: 16px;
  line-height: 2;
  color: #555;
  width: 100%;
}

.section-right .section-container { flex-direction: row; }
.section-right .side-block:first-child { order: 1; }
.section-right .section-text { order: 2; text-align: right; }
.section-right .section-image { order: 3; }
.section-right .side-block:last-child { order: 4; }

.section-left .section-container { flex-direction: row; }
.section-left .side-block:first-child { order: 1; }
.section-left .section-image { order: 2; }
.section-left .section-text { order: 3; text-align: left; }
.section-left .side-block:last-child { order: 4; }

/* 事業案内 intro-text 上書き */
.business-intro .intro-text p {
  font-size: 18px;
  color: #0088cc;
}

/* ==============================================
   アクセスページ専用
   ============================================== */

.headquarters-section {
  background-color: #ffffff;
  padding: 0;
  display: flex;
  align-items: stretch;
}

.hq-side-left {
  flex: 1;
  background-color: #C6C6C6;
}

.hq-side-right {
  flex: 1;
  background-color: #ffffff;
}

.hq-container {
  max-width: 1400px;
  flex-shrink: 0;
  display: flex;
  align-items: stretch;
}

.hq-icon-wrapper {
  width: 300px;
  flex-shrink: 0;
  background-color: #C6C6C6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
}

.hq-title-bar {
  background-color: #0088cc;
  color: white;
  padding: 15px 30px;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.1em;
  width: 100%;
  text-align: center;
}

.hq-icon-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hq-icon {
  width: 200px;
}

.hq-icon img {
  width: 200px;
  height: auto;
  display: block;
}

.hq-content {
  flex: 1;
  background-color: #ffffff;
  padding: 80px 60px 80px 40px;
  max-width: 1100px;
}

.hq-info {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.hq-details {
  flex: 1;
}

.hq-label {
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  font-size: 16px;
}

.hq-text {
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 15px;
}

.hq-map {
  flex-shrink: 0;
  width: 400px;
}

.hq-map iframe,
.hq-map img {
  width: 100%;
  height: 300px;
  border: none;
  display: block;
}

.branches-section {
  background-color: #ffffff;
  padding: 0;
  display: flex;
  align-items: stretch;
}

.branches-side-left,
.branches-side-right {
  flex: 1;
  background-color: #ffffff;
}

.branches-container {
  max-width: 1200px;
  flex-shrink: 0;
  background-color: #ffffff;
  padding: 0 40px 80px;
}

.branches-title-bar {
  background-color: #0088cc;
  color: white;
  padding: 20px 40px;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 60px;
}

.branch-item {
  margin-bottom: 80px;
  padding-bottom: 40px;
  border-bottom: 1px solid #ddd;
}

.branch-item:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.branch-name {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
}

.branch-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.branch-details {
  flex: 1;
}

.branch-details dl {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
}

.branch-details dt {
  width: 100px;
  font-weight: bold;
  color: #333;
  padding: 10px 0;
  font-size: 15px;
}

.branch-details dd {
  width: calc(100% - 100px);
  margin: 0;
  padding: 10px 0;
  color: #555;
  line-height: 1.8;
  font-size: 15px;
}

.branch-map {
  flex-shrink: 0;
  width: 400px;
}

.branch-map iframe,
.branch-map img {
  width: 100%;
  height: 300px;
  border: none;
  display: block;
}

/* ==============================================
   会社概要ページ専用
   ============================================== */

.message-section {
  background-color: #ffffff;
  padding: 0;
  display: flex;
  align-items: stretch;
}

.message-side-left {
  flex: 1;
  background-color: #C6C6C6;
}

.message-side-right {
  flex: 1;
  background-color: #ffffff;
}

.message-container {
  max-width: 1400px;
  flex-shrink: 0;
  display: flex;
  align-items: stretch;
}

.message-logo-wrapper {
  width: 300px;
  flex-shrink: 0;
  background-color: #C6C6C6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
}

.message-logo {
  width: 200px;
}

.message-logo img {
  width: 200px;
  height: auto;
  display: block;
}

.message-content {
  flex: 1;
  background-color: #ffffff;
  padding: 80px 60px 80px 40px;
  max-width: 1100px;
}

.message-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #333;
}

.message-body {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.message-text {
  flex: 1;
}

.message-text p {
  font-size: 16px;
  line-height: 2;
  color: #555;
  margin-bottom: 20px;
}

.message-signature {
  font-size: 16px;
  color: #555;
  margin-top: 30px;
}

.message-photo {
  flex-shrink: 0;
  width: 200px;
}

.message-photo img {
  width: 200px;
  height: 300px;
  object-fit: cover;
  display: block;
}

.overview-section {
  background-color: #ffffff;
  padding: 0 20px 80px;
}

.overview-container {
  max-width: 1200px;
  margin: 0 auto;
}

.overview-title-bar {
  background-color: #0088cc;
  color: white;
  padding: 20px 40px;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}

.overview-content {
  background-color: #ffffff;
  padding: 40px;
}

.overview-table {
  width: 100%;
}

.overview-row {
  display: flex;
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
}

.overview-row:last-child {
  border-bottom: none;
}

.overview-label {
  width: 200px;
  flex-shrink: 0;
  font-weight: bold;
  color: #333;
  padding-right: 20px;
}

.overview-value {
  flex: 1;
  color: #555;
  line-height: 1.8;
}

.history-section {
  background-color: #ffffff;
  padding: 0 20px 80px;
}

.history-container {
  max-width: 1200px;
  margin: 0 auto;
}

.history-title-bar {
  background-color: #0088cc;
  color: white;
  padding: 20px 40px;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}

.history-content {
  background-color: #ffffff;
  padding: 40px;
}

.history-item {
  display: flex;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}

.history-item:last-child {
  border-bottom: none;
}

.history-date {
  width: 200px;
  flex-shrink: 0;
  color: #555;
  font-size: 15px;
}

.history-description {
  flex: 1;
  color: #555;
  font-size: 15px;
  line-height: 1.8;
}

/* ==============================================
   採用情報ページ専用
   ============================================== */

.recruit-top-section {
  display: flex;
  align-items: stretch;
}

.recruit-top-side-left {
  flex: 1;
  background-color: #C6C6C6;
}

.recruit-top-side-right {
  flex: 1;
  background-color: #ffffff;
}

.recruit-top-container {
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
  width: 1200px;
}

.recruit-badge-wrapper {
  width: 280px;
  flex-shrink: 0;
  background-color: #C6C6C6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 30px;
  gap: 10px;
}

.recruit-badge-wrapper img {
  width: 160px;
  height: auto;
  display: block;
}

.recruit-title-content {
  flex: 1;
  background-color: #ffffff;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.recruit-main-title {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  margin-bottom: 12px;
  line-height: 1.6;
}

.recruit-sub-title {
  font-size: 18px;
  color: #555;
  font-weight: bold;
}

.recruit-body-section {
  background-color: #ffffff;
  padding: 0 60px 80px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.recruit-table {
  width: 100%;
  margin-bottom: 20px;
}

.recruit-row {
  display: flex;
  border-bottom: 1px solid #e8e8e8;
  padding: 18px 0;
}

.recruit-row:first-child {
  border-top: 1px solid #e8e8e8;
}

.recruit-label {
  width: 200px;
  flex-shrink: 0;
  font-weight: bold;
  color: #333;
  padding-right: 20px;
  font-size: 15px;
  padding-top: 2px;
}

.recruit-value {
  flex: 1;
  color: #555;
  line-height: 1.9;
  font-size: 15px;
}

.recruit-value .small-note {
  font-size: 13px;
  color: #777;
  display: block;
  margin-top: 4px;
}

.job-desc {
  margin-top: 8px;
  font-size: 14px;
  color: #666;
  line-height: 1.9;
}

.branch-list {
  margin-top: 10px;
}

.branch-access {
  font-size: 13px;
  color: #777;
  margin-left: 1em;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefit-list li {
  padding: 2px 0;
}

.contact-box {
  background-color: #f5f5f5;
  padding: 30px 40px;
  margin-top: 40px;
  border-left: 4px solid #0088cc;
}

.contact-box p {
  font-size: 14px;
  color: #555;
  line-height: 2;
}

.contact-box .contact-note {
  margin-top: 15px;
  font-size: 13px;
  color: #888;
}

/* ==============================================
   レスポンシブ
   ============================================== */

/* --- 1024px以下 --- */
@media (max-width: 1024px) {
  /* ヒーロー */
  .hero-section { height: 300px; }
  .hero-image { width: 600px; height: 300px; }
  .hero-image img { width: 600px; height: 300px; }
  .hero-title { font-size: 26px; padding: 20px 40px; }

  /* TOP */
  .split-half { padding: 60px 40px; }
  .content-title { font-size: 30px; }
  .anniversary-section { padding: 80px 20px; }
  .anniversary-container { gap: 60px; }
  .anniversary-content img { width: 220px; }
  .solution-section { padding: 0; }

  /* 取扱商材 */
  .image-products {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }
  .product-card { width: 100%; height: 320px; }
  .product-title { font-size: 20px; }

  /* 事業案内 */
  .section-text { width: 350px; padding: 30px; }
  .side-block { min-width: 50px; }

  /* アクセス */
  .hq-icon-wrapper { width: 250px; padding: 0; }
  .hq-icon-area { padding: 40px 20px; }
  .hq-content { padding: 60px 40px 60px 30px; }
  .hq-map, .branch-map { width: 350px; }

  /* 会社概要 */
  .message-logo-wrapper { width: 250px; padding: 60px 20px; }
  .message-content { padding: 60px 40px 60px 30px; }
  .message-photo { width: 300px; }
  .message-photo img { width: 300px; height: 450px; }
  .history-section { padding: 0 40px 60px; }

  /* 採用情報 */
  .hero-title { width: 380px; }
  .recruit-badge-wrapper { width: 200px; padding: 40px 15px; }
  .recruit-badge-wrapper img { width: 130px; }
  .recruit-title-content { padding: 40px 40px 40px 30px; }
  .recruit-body-section { padding: 0 40px 60px; }
}

/* --- 1200px以下（採用情報のみ） --- */
@media (max-width: 1200px) {
  .recruit-top-container { width: 100%; }
}

/* --- 768px以下 --- */
@media (max-width: 768px) {
  /* ヘッダー */
  .header-logo-area img { height: 36px; }
  .header-nav-area nav ul li a { font-size: 12px; padding: 12px 4px; }

  /* フッター */
  .footer-top { flex-direction: column; align-items: center; gap: 24px; }
  .footer-nav { justify-content: center; gap: 20px; }

  /* ヒーロー */
  .hero-section { height: auto; }
  .hero-image { position: static; width: 100%; height: 250px; }
  .hero-image img { width: 100%; height: 250px; }
  .hero-title { position: static; transform: none; width: 100%; text-align: center; font-size: 24px; padding: 20px; }

  /* TOP */
  .scroll-gallery-section { height: 300px; }
  .split-section { flex-direction: column; height: auto; }
  .split-half { width: 100%; padding: 50px 30px; }
  .split-left, .split-right { background-color: #ffffff; }
  .split-section:nth-child(odd) .split-half:first-child { background-color: #C6C6C6; }
  .split-section:nth-child(even) .split-half:last-child { background-color: #C6C6C6; }
  .split-half.text-side, .split-half.image-side { padding: 50px 30px; }
  .content-image-left-align, .content-image-right-align { position: static; width: 100%; height: auto; margin: 0 auto; }
  .content-image-left-align img, .content-image-right-align img { width: 100%; height: auto; }
  .anniversary-section { padding: 60px 20px; }
  .anniversary-container { flex-direction: column; gap: 30px; text-align: center; }
  .anniversary-content img { width: 180px; margin: 0 auto; }
  .anniversary-text { text-align: center; }
  .anniversary-text p { font-size: 15px; }
  .content-title { font-size: 26px; margin-bottom: 20px; }
  .content-description { font-size: 15px; }
  .solution-image { width: 100%; height: auto; }
  .solution-image img { width: 100%; height: auto; }
  .solution-text-wrapper { padding: 50px 20px 60px; }
  .solution-title { font-size: 26px; margin-bottom: 20px; }
  .solution-description { font-size: 15px; }

  /* 取扱商材 */
  .intro-container { flex-direction: column; text-align: center; gap: 25px; }
  .intro-icon { width: 140px; }
  .intro-icon img { width: 140px; }
  .intro-text p { font-size: 15px; }
  .products-section { padding: 60px 20px; }
  .image-products { grid-template-columns: 1fr; margin-bottom: 50px; }
  .product-card { height: 300px; }
  .product-title { font-size: 22px; }
  .text-products { padding: 30px 20px; }

  /* 事業案内 */
  .content-section { min-height: auto; }
  .section-container { flex-direction: column !important; }
  .side-block { display: none; }
  .section-image { width: 100%; order: 1 !important; }
  .section-photo { width: 100%; height: auto; }
  .section-text { order: 2 !important; width: 100%; padding: 30px 20px; text-align: left !important; }
  .section-text p { font-size: 15px; }
  .section-title-bar { font-size: 18px; padding: 12px 20px; }
  .intro-section { padding: 60px 20px; }
  .intro-container { gap: 30px; }
  .intro-icon { width: 160px; }
  .intro-icon img { width: 160px; }

  /* アクセス */
  .headquarters-section { flex-direction: column; }
  .hq-side-left, .hq-side-right { display: none; }
  .hq-container { flex-direction: column; max-width: 100%; }
  .hq-icon-wrapper { width: 100%; padding: 0; }
  .hq-icon-area { padding: 60px 20px; }
  .hq-icon { width: 150px; margin: 0 auto; }
  .hq-icon img { width: 150px; }
  .hq-content { padding: 60px 20px; }
  .hq-info, .branch-content { flex-direction: column; gap: 30px; }
  .hq-map, .branch-map { width: 100%; }
  .branches-section { flex-direction: column; }
  .branches-side-left, .branches-side-right { display: none; }
  .branches-container { max-width: 100%; padding: 0 20px 60px; }
  .branches-title-bar { font-size: 20px; padding: 15px 25px; margin-bottom: 40px; }
  .branch-name { font-size: 20px; }
  .branch-item { margin-bottom: 60px; padding-bottom: 30px; }

  /* 会社概要 */
  .message-section { flex-direction: column; }
  .message-side-left, .message-side-right { display: none; }
  .message-container { flex-direction: column; max-width: 100%; }
  .message-logo-wrapper { width: 100%; padding: 60px 20px; }
  .message-logo { width: 150px; margin: 0 auto; }
  .message-logo img { width: 150px; }
  .message-content { padding: 60px 20px; }
  .message-body { flex-direction: column; gap: 30px; }
  .message-photo { width: 100%; max-width: 400px; margin: 0 auto; }
  .message-photo img { width: 100%; height: auto; }
  .overview-section { padding: 0 20px 60px; }
  .overview-container { padding: 0; }
  .overview-title-bar, .history-title-bar { font-size: 20px; padding: 15px 25px; margin-bottom: 30px; }
  .overview-content, .history-content { padding: 25px; }
  .overview-row { flex-direction: column; padding: 20px 0; }
  .overview-label { width: 100%; padding-right: 0; margin-bottom: 10px; }
  .history-section { padding: 0 20px 60px; }
  .history-item { flex-direction: column; padding: 20px 0; }
  .history-date { width: 100%; margin-bottom: 10px; font-weight: bold; }

  /* 採用情報 */
  .recruit-top-side-left, .recruit-top-side-right { display: none; }
  .recruit-top-container { width: 100%; }
  .recruit-badge-wrapper { width: 110px; padding: 25px 12px; }
  .recruit-badge-wrapper img { width: 80px; }
  .recruit-title-content { padding: 25px 20px; }
  .recruit-main-title { font-size: 17px; }
  .recruit-sub-title { font-size: 15px; }
  .recruit-body-section { padding: 0 20px 50px; }
  .recruit-row { flex-direction: column; padding: 16px 0; }
  .recruit-label { width: 100%; margin-bottom: 6px; padding-right: 0; }
  .contact-box { padding: 20px; }
}

/* --- 480px以下 --- */
@media (max-width: 480px) {
  /* ヘッダー */
  .header-nav-area nav ul { flex-wrap: wrap; }
  .header-nav-area nav ul li { flex: 1 1 calc(33.333% - 1px); border-right: 1px solid #ccc; }
  .header-nav-area nav ul li a { font-size: 11px; padding: 10px 4px; }

  /* ヒーロー */
  .hero-title { font-size: 20px; padding: 15px; }

  /* TOP */
  .scroll-gallery-section { height: 250px; }
  .split-half { padding: 40px 20px; }
  .anniversary-section { padding: 50px 15px; }
  .anniversary-content img { width: 150px; }
  .anniversary-text p { font-size: 14px; line-height: 2; }
  .content-title { font-size: 22px; }
  .content-description, .solution-description { font-size: 14px; }
  .solution-title { font-size: 20px; }
  .solution-badge img { width: 140px; }

  /* 取扱商材 */
  .product-card { height: 250px; }
  .product-title { font-size: 18px; }
  .product-item-title { font-size: 15px; padding: 10px 15px; }
  .intro-text p { font-size: 14px; }

  /* 事業案内 */
  .section-text { padding: 25px 15px; }
  .section-text p { font-size: 14px; }
  .section-title-bar { font-size: 16px; }
  .intro-icon { width: 140px; }
  .intro-icon img { width: 140px; }

  /* アクセス */
  .hq-title-bar, .branch-title-bar { font-size: 16px; }

  /* 会社概要 */
  .message-title { font-size: 20px; }
  .message-text p { font-size: 14px; }
  .overview-content, .history-content { padding: 20px; }
  .overview-label, .overview-value, .history-date, .history-description { font-size: 14px; }

  /* 採用情報 */
  .recruit-body-section { padding: 0 15px 40px; }
  .recruit-label, .recruit-value { font-size: 14px; }
}
