/* ===================================================
   company.css - グリフォト 運営会社ページ
   全クラスに company- プレフィックスでテーマとの衝突を回避
   =================================================== */

/* ===== パンくず ===== */
.company-breadcrumb {
  max-width: 1040px;
  margin: 0 auto;
  padding: 14px 40px;
  font-size: 12px;
  color: #999;
}
.company-breadcrumb a {
  color: #999;
  text-decoration: none;
  transition: color 0.3s;
}
.company-breadcrumb a:hover { color: #4a7c59; }
.company-breadcrumb span { margin: 0 6px; }
.company-breadcrumb .current { color: #555; }

/* ===== HERO ===== */
.company-hero {
  position: relative;
  width: 100%;
  height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #333;
  background-size: cover;
  background-position: center;
}

.company-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.company-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.company-hero__en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 18px;
  opacity: 0.7;
}

.company-hero__title {
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 900;
  letter-spacing: 0.14em;
  margin-bottom: 28px;
  line-height: 1.3;
  color: #fff;
}

.company-hero__sub {
  font-size: 15px;
  font-weight: 300;
  line-height: 2.2;
  opacity: 0.85;
  letter-spacing: 0.06em;
}

.company-hero__line {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.35);
  margin: 36px auto 0;
}

/* ===== SECTION COMMON ===== */
.company-section-header {
  text-align: center;
  margin-bottom: 52px;
}

.company-section-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #4a7c59;
  margin-bottom: 10px;
}

.company-section-title {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #1a1a1a;
}

/* ===== GREETING ===== */
.company-greeting {
  background: #fff;
}

.company-greeting__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 100px 40px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 70px;
  align-items: start;
}

.company-greeting__label {
  font-size: 13px;
  color: #4a7c59;
  letter-spacing: 0.15em;
  font-weight: 500;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.company-greeting__label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4a7c59;
  display: inline-block;
}

.company-greeting__title {
  font-size: clamp(24px, 3.8vw, 32px);
  font-weight: 900;
  line-height: 1.7;
  letter-spacing: 0.06em;
  margin-bottom: 40px;
  color: #1a1a1a;
}

.company-greeting__text {
  font-size: 15px;
  color: #555;
  line-height: 2.3;
  font-weight: 400;
}

.company-greeting__text p { margin-bottom: 26px; }
.company-greeting__text p:last-child { margin-bottom: 0; }

.company-greeting__sign {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
  text-align: right;
}

.company-greeting__sign-company { font-size: 11px; color: #999; letter-spacing: 0.1em; margin-bottom: 2px; }
.company-greeting__sign-role { font-size: 12px; color: #999; letter-spacing: 0.1em; margin-bottom: 6px; }
.company-greeting__sign-name { font-size: 22px; font-weight: 700; letter-spacing: 0.14em; color: #222; }

.company-greeting__photo { position: relative; padding-top: 20px; }

.company-greeting__photo-frame {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 16px 16px 0 #f8f8f6;
}

.company-greeting__photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.company-greeting__photo-caption { margin-top: 20px; text-align: center; }
.company-greeting__photo-caption-role { font-size: 11px; color: #999; letter-spacing: 0.1em; }
.company-greeting__photo-caption-name { font-size: 17px; font-weight: 700; letter-spacing: 0.1em; margin-top: 4px; color: #222; }

/* ===== STORY ===== */
.company-story {
  background: linear-gradient(160deg, #2a5e3a 0%, #3d7a50 30%, #4a8c5c 60%, #2d5a3a 100%);
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}

.company-story::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.company-story__inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.company-story__intro {
  text-align: center;
  margin-bottom: 80px;
  color: #fff;
}

.company-story__intro-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 12px;
}

.company-story__intro h2 {
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.5;
  margin-bottom: 24px;
  color: #fff;
}

.company-story__intro-sub {
  font-size: 15px;
  font-weight: 300;
  opacity: 0.8;
  line-height: 2;
  max-width: 600px;
  margin: 0 auto;
}

.company-story__block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 50px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.company-story__block:last-child { padding-bottom: 0; }

.company-story__block--reverse .company-story__block-text { order: 2; }
.company-story__block--reverse .company-story__block-photo { order: 1; }

.company-story__block-text { color: #fff; }

.company-story__block-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  opacity: 0.5;
  margin-bottom: 14px;
}

.company-story__block-title {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  color: #fff;
}

.company-story__block-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 2.2;
  opacity: 0.85;
}

.company-story__block-photo {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

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

/* ===== COMPANY TABLE ===== */
.company-table {
  background: #f8f8f6;
  padding: 100px 40px;
}

.company-info-table {
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
  border-collapse: collapse;
}

.company-info-table tr { border-bottom: 1px solid #e0e0e0; }
.company-info-table tr:first-child { border-top: 1px solid #e0e0e0; }

.company-info-table th {
  font-size: 13px;
  font-weight: 700;
  color: #222;
  text-align: left;
  padding: 22px 24px;
  width: 170px;
  vertical-align: top;
  letter-spacing: 0.06em;
  white-space: nowrap;
  background: #f2f2ef;
}

.company-info-table td {
  font-size: 14px;
  padding: 22px 24px;
  color: #555;
  font-weight: 400;
  line-height: 1.9;
  background: #fff;
}

.company-info-table td a {
  color: #4a7c59;
  text-decoration: none;
  border-bottom: 1px solid rgba(74,124,89,0.3);
  transition: border-color 0.3s;
}

.company-info-table td a:hover { border-color: #4a7c59; }

/* ===== ACCESS ===== */
.company-access {
  background: #fff;
  padding: 100px 40px;
}

.company-access__inner { max-width: 900px; margin: 0 auto; }

.company-access__map {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.company-access__map iframe { width: 100%; height: 400px; display: block; }

.company-access__info {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.company-access__block-label {
  font-size: 12px;
  font-weight: 700;
  color: #999;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.company-access__block-text {
  font-size: 14px;
  color: #555;
  line-height: 2;
  font-weight: 400;
  font-style: normal;
}

.company-access__block-text a {
  color: #555;
  text-decoration: none;
}

/* ===== CTA ===== */
.company-cta {
  background: #f8f8f6;
  padding: 90px 40px;
  text-align: center;
  border-top: 1px solid #e0e0e0;
}

.company-cta__title {
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: 0.08em;
  color: #1a1a1a;
}

.company-cta__text {
  font-size: 14px;
  color: #999;
  margin-bottom: 36px;
  font-weight: 400;
}

.company-cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.company-btn--primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #4a7c59;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 18px 44px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.company-btn--primary:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  color: #fff;
}

.company-btn--secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #222;
  font-size: 14px;
  font-weight: 500;
  padding: 18px 44px;
  border-radius: 50px;
  border: 1px solid #e0e0e0;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.company-btn--secondary:hover {
  border-color: #4a7c59;
  transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .company-hero { height: 420px; }
  .company-breadcrumb { padding: 14px 20px; }

  .company-greeting__inner {
    grid-template-columns: 1fr;
    padding: 60px 24px;
    gap: 40px;
  }

  .company-greeting__photo {
    order: -1;
    max-width: 280px;
    margin: 0 auto;
    padding-top: 0;
  }

  .company-greeting__photo-frame { box-shadow: 10px 10px 0 #f8f8f6; }

  .company-story { padding: 60px 20px; }

  .company-story__block {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0;
  }

  .company-story__block--reverse .company-story__block-text { order: 1; }
  .company-story__block--reverse .company-story__block-photo { order: 2; }

  .company-story__block-photo { aspect-ratio: 16 / 10; }

  .company-table { padding: 60px 20px; }

  .company-info-table th {
    display: block;
    padding: 16px 16px 6px;
    width: 100%;
    background: #f2f2ef;
  }

  .company-info-table td {
    display: block;
    padding: 6px 16px 16px;
  }

  .company-access { padding: 60px 20px; }
  .company-access__info { grid-template-columns: 1fr; gap: 20px; }
  .company-access__map iframe { height: 280px; }

  .company-cta { padding: 60px 20px; }
  .company-cta__buttons { flex-direction: column; align-items: center; }
}

/* end */
