/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@400;700&display=swap');

:root {
  /* Backgrounds (Match BINSsign) */
  --bg-accent: #f8fafc; /* BINSsign Cream 50 */
  --bg-light: #ffffff; /* Clean white like BINSics */
  --bg-white: #ffffff;
  
  /* Text & Brand Colors (Match BINSics exactly) */
  --text-main: #1e293b; /* BINSics body text */
  --text-light: #64748b; /* BINSics muted text */
  --text-brand: #0f172a; /* BINSics Midnight Blue for headings */
  --text-white: #ffffff;
  
  /* iBins Accents (Match BINSsign identity) */
  --accent-main: #d4af37; /* BINSsign Gold */
  --accent-orange: #d4af37; /* BINSics Gold */
  --accent-green: #93A29B; 
  --accent-brown: #A18D82; 
  
  /* Typography (Match BINSics) */
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --shadow-sm: 0 4px 10px rgba(74, 59, 57, 0.05);
  --shadow-md: 0 8px 24px rgba(74, 59, 57, 0.08);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }
.text-white { color: var(--text-white); }
.script-font { font-family: var(--font-serif); font-style: italic; }
.br-sp { display: none; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 30px;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, #475569 0%, #1e293b 100%);
  color: var(--text-white);
  box-shadow: 0 4px 20px rgba(51, 65, 85, 0.4);
  border: none;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #334155 0%, #0f172a 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(51, 65, 85, 0.5);
}
.btn-large {
  padding: 16px 40px;
  font-size: 1.1rem;
}
.btn-outline {
  background-color: transparent;
  border-color: var(--accent-main);
  color: var(--accent-main);
}
.btn-outline:hover {
  background-color: var(--accent-main);
  color: var(--text-white);
}

/* Header (旧・未使用。サイト共通ヘッダー includes/header.php に置き換え) */
.legacy-header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.logo {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-brand);
}
.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: var(--accent-main);
}

/* Hero Section */
.hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  /* justify-content: center; 蜑企勁縺励※蟾ｦ蟇・○縺ｫ */
  text-align: left;
  background-color: #e5d8cf;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/ibins_kabe.png');
  background-size: cover;
  background-position: calc(50% + clamp(2rem, 5vw, 3.5rem)) center; /* Shift right by 1 title char */
  opacity: 1;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  color: var(--text-brand);
}
.hero-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: var(--text-main);
  opacity: 0.9;
}

/* 縺翫☆縺吶ａ讌ｭ遞ｮ4驕ｸ (Industries) */
.industries {
  background-color: var(--bg-white);
  padding: 80px 0;
}
.industries .section-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  color: var(--text-brand);
}
.industries .highlight-num {
  font-size: 3rem;
  margin: 0 4px;
}
.industries .section-subtitle {
  font-size: 3rem;
  margin-bottom: 50px;
  opacity: 0.9;
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}
.industry-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 40px 20px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}
.industry-card:hover {
  transform: translateY(-5px);
}
.card-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-main);
  color: var(--text-white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-family: var(--font-serif);
}
.card-title {
  color: var(--accent-main);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 30px;
  margin-top: 10px;
}
.card-icon {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dummy-icon {
  width: 80px;
  height: 80px;
  background-color: #f0f0f0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.8rem;
}
.dummy-icon-sm {
  width: 40px;
  height: 40px;
  background-color: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.7rem;
}

/* 讖溯・繧ｻ繧ｯ繧ｷ繝ｧ繝ｳ (Features) */
.feature-section {
  padding: 80px 0;
  background-color: #F9F3F2; /* Soft warm color for the surrounding area */
}
.bg-light {
  background-color: #F2EBE9; /* Slightly darker warm color for alternating sections */
}
.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.feature-layout {
  display: flex;
  gap: 40px;
  align-items: center;
}
.feature-image-col {
  flex: 1;
  text-align: center;
}
.feature-image-col img {
  max-width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
}
.feature-text-col {
  flex: 1;
}
.feature-title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-brand);
  margin-bottom: 50px;
  letter-spacing: 0.1em;
}
.feature-steps {
  display: flex;
  justify-content: space-around;
  margin-bottom: 40px;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 30%;
}
.step-num {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}
.step-icon-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: #fff;
}
.border-orange { border-color: var(--accent-orange); }
.border-green { border-color: var(--accent-green); }
.border-brown { border-color: var(--accent-brown); }

.step-label {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}
.feature-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  padding: 0 40px;
}
.option-badge {
  display: inline-block;
  background: #eee;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

/* Before After */
.before-after {
  padding: 80px 0;
}
.ba-subtitle {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  color: var(--text-brand);
  margin-top: 10px;
  margin-bottom: 50px;
}
.ba-subtitle .arrow {
  font-family: var(--font-sans);
  font-size: 3rem;
  vertical-align: middle;
}
.ba-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.ba-card {
  width: 45%;
  border-radius: var(--radius-md);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  min-height: 480px;
}
.before-card {
  background-color: #F0EAE9; /* Soft Taupe */
}
.after-card {
  background-color: var(--bg-accent); /* Soft Rose Champagne */
}
.ba-card-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 24px;
}
.before-card .ba-card-title { color: #6b5c59; }
.after-card .ba-card-title { color: #6b4d53; }

.ba-img-placeholder {
  width: 100%;
  height: 180px;
  background-color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  border-radius: var(--radius-sm);
}
.ba-list {
  padding-left: 10px;
}
.ba-list li {
  font-size: 0.95rem;
  margin-bottom: 8px;
  line-height: 1.5;
}
.before-card .ba-list li { color: #555; }
.after-card .ba-list li { color: #443338; }

.ba-arrow {
  color: #8c7673;
  font-size: 2rem;
}

.ba-footer {
  text-align: center;
  margin-top: 50px;
  font-size: 1.2rem;
  color: var(--text-main);
  font-weight: 500;
}

/* Footer */
.footer {
  background: var(--text-main);
  color: var(--text-white);
  padding: 40px 0;
}
.footer .logo {
  color: var(--text-white);
  margin-bottom: 10px;
}
.copyright {
  font-size: 0.85rem;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
  .hide-sp { display: none; }
  .br-pc { display: none; }
  .br-sp { display: inline; }
  .nav-links { display: none; }
  .industry-grid { grid-template-columns: 1fr; }
  .feature-steps { flex-direction: column; gap: 30px; }
  .step-item { width: 100%; }
  .feature-layout { flex-direction: column; }
  .feature-desc { padding: 0; }
  .ba-grid { flex-direction: column; }
  .ba-card { width: 100%; min-height: auto; }
  .ba-arrow { transform: rotate(90deg); margin: 20px 0; }
  .ba-subtitle { font-size: 3rem; }
  .hero-title { font-size: 2rem; }
  .industries .section-title { font-size: 1.8rem; }
  .industries .highlight-num { font-size: 2.5rem; }
  
  .hero {
    min-height: 650px;
  }
  .hero-content {
    padding-top: 40px;
  }
  
  .hero-bg {
    background-position: 60% center !important;
  }
  .hero-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.75) !important;
    display: block;
  }
}
