/* ========================================
   会社情報ページ専用スタイル
   ======================================== */

/* ========================================
   会社紹介セクション（黄色背景）
   ※ヒーローは 2nd.css の .second-hero で共通
   ======================================== */
.company-lead {
  background: var(--yellow);
  position: relative;
  padding: 60px 20px 80px;
  text-align: center;
}
.company-lead .en-label { color: #fff; }

.company-lead .lead-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.company-title {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--base);
  margin-bottom: 24px;
  letter-spacing: 1px;
  line-height: 1.6;
}

.company-lead .lead-sub {
  margin-bottom: 30px;
  font-weight: normal;
}

.company-about-text {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}

.company-about-text p {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Meiryo', sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: var(--base);
  font-weight: normal;
  margin-bottom: 20px;
}

.company-about-text p:last-child {
  margin-bottom: 0;
}

.company-cta {
  text-align: center;
}

.company-cta .flow-btn {
  background: var(--base);
  color: #fff;
  border: 2px solid var(--base);
}

.company-cta .flow-btn:hover {
  background: var(--deep-red);
  border-color: var(--deep-red);
}

/* ========================================
   社是セクション
   ======================================== */
.company-slogan {
  background: var(--light-yellow);
  padding: 80px 20px 20px;
  text-align: center;
}

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

.company-slogan-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 20px;
}

.company-slogan-img {
  flex-shrink: 0;
}

.company-slogan-img img {
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.company-slogan-title {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--base);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.company-slogan-text {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 2.0;
  color: var(--base);
  font-weight: normal;
  text-align: left;
}

/* ========================================
   理念セクション（3カード）
   ======================================== */
.company-policy {
  background: var(--light-yellow);
  padding: 30px 20px 60px;
}

.company-policy-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.company-policy-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  transition: transform 0.3s ease;
}

.company-policy-card:hover {
  transform: translateY(-4px);
}

.company-policy-head {
  text-align: center;
  margin-bottom: 0;
  flex-shrink: 0;
  min-width: 140px;
}

.company-policy-head img {
  width: 80px;
  height: auto;
  margin: 0 auto 16px;
  display: block;
  cursor: pointer;
}
.company-policy-head img:hover {
  animation: policyIconBounce 0.3s ease 2;
}
@keyframes policyIconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.company-policy-head h3 {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--base);
  margin: 0;
}

.company-policy-body {
  text-align: left;
}

.company-policy-body p {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Meiryo', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--base);
  font-weight: normal;
  margin: 0;
}

.second-layer .company-policy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.company-policy-list li {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Meiryo', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--base);
  font-weight: normal;
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
  border-bottom: 1px solid #fffef5;
}

.company-policy-list li:last-child {
  border-bottom: none;
}

.company-policy-list li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-size: 12px;
}

/* ========================================
   代表挨拶セクション（紙風）
   ======================================== */
.company-message {
  background: #fff;
  padding: 80px 20px 80px;
}

.company-message-inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.company-message-paper {
  background: transparent;
  padding: 0;
  border-radius: 0;
  position: relative;
}

.company-message-head {
  text-align: center;
  margin-bottom: 30px;
}

.company-message-head .en-label {
  color: var(--yellow);
}

.second-layer p.company-message-lead {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Meiryo', sans-serif;
  font-size: 22px;
  line-height: 1.7;
  color: var(--base);
  font-weight: 500;
  margin-bottom: 50px;
  text-indent: 0;
  letter-spacing: 0.5px;
  text-align: center;
}

.company-message-head h2 {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--base);
  margin: 0 0 4px;
  letter-spacing: 1px;
  line-height: 1.6;
}

.company-message-body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Meiryo', sans-serif;
  font-size: 15px;
  line-height: 2.0;
  color: var(--base);
  font-weight: normal;
}

.company-message-row {
  overflow: hidden;
}

.company-message-side {
  float: right;
  width: 35%;
  margin: 0 0 30px 40px;
}

.company-message-photo {
  margin-bottom: 0;
}

.company-message-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.company-message-body p {
  margin-bottom: 24px;
  text-indent: 1em;
}


.company-message-body p:last-child {
  margin-bottom: 0;
}

.company-message-foot {
  text-align: right;
  margin-top: 40px;
  clear: both;
}

.company-message-foot p {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700;
  color: var(--base);
  margin: 0;
}

.company-message-foot .company-message-company {
  font-size: 13px !important;
  font-weight: 500 !important;
  margin-bottom: 4px;
}

.company-message-foot .company-message-name {
  font-size: 26px !important;
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
}

.company-message-foot .company-message-name-en {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* ========================================
   会社概要セクション（テーブル）
   ======================================== */
.company-profile {
  background: var(--light-beige);
  padding: 50px 20px 60px;
}

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

.company-profile-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.company-profile-table th {
  background: var(--yellow);
  color: var(--base);
  font-weight: 700;
  padding: 20px;
  text-align: left;
  width: 200px;
  vertical-align: top;
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: 16px;
  border-bottom: 1px solid #fffef5;
}

.company-profile-table td {
  padding: 20px;
  border-top: 1px solid #fffef5;
  line-height: 1.8;
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Meiryo', sans-serif;
  font-size: 16px;
  font-weight: normal;
  color: var(--base);
}

.company-profile-table tr:first-child th,
.company-profile-table tr:first-child td {
  border-top: none;
}
.company-profile-table tr:last-child th {
  border-bottom: none;
}
.company-profile-table tr:last-child td {
  border-bottom: none;
}
.company-profile-table {
  border-bottom: none;
}

.company-note {
  font-size: 13px;
  color: #666;
  display: block;
  margin-top: 8px;
}

/* ========================================
   沿革セクション（リスト）
   ======================================== */
.company-history {
  background: var(--light-yellow);
  padding: 50px 20px 60px;
}

.company-history-list {
  max-width: 900px;
  margin: 0 auto;
}
.company-history-list .news-row {
  background: #fff;
  grid-template-columns: 80px 90px 1fr;
}
.company-history-list .news-row .date {
  font-weight: 700;
  text-align: right;
}

/* ========================================
   アクセスセクション（2カラム）
   ======================================== */
.company-access {
  background: var(--light-beige);
  padding: 50px 20px 100px;
}

.company-access-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.company-access-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.company-access-card:hover {
  transform: translateY(-4px);
}

.company-access-photo {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f5f5f5;
}

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

.company-access-body {
  padding: 24px;
}

.company-access-body h3 {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--base);
  margin-bottom: 5px;
  margin-top: 0;
}

.company-access-body p {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Meiryo', sans-serif;
  font-size: 15px;
  line-height: 1.4;
  color: var(--base);
  font-weight: normal;
  margin-bottom: 0 !important;
}

.company-access-body p:last-child {
  margin-bottom: 0;
}

/* ========================================
   レスポンシブ：タブレット（768px～1023px）
   ======================================== */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .company-title {
    font-size: 32px;
  }
  
  .company-lead {
    padding: 50px 20px;
  }
  
  
  .company-slogan {
    padding: 50px 20px;
  }

  .company-slogan-title {
    font-size: 28px;
  }

  .company-slogan-text {
    font-size: 15px;
  }
  
  .company-policy {
    padding: 50px 20px;
  }
  
  .company-policy-inner {
    gap: 24px;
  }

  .company-policy-card {
    padding: 24px 24px;
    gap: 24px;
  }

  .company-policy-head h3 {
    font-size: 20px;
  }
  
  .company-message {
    padding: 50px 20px;
  }

  .company-message-paper {
    padding: 0;
  }

  .company-message-head h2 {
    font-size: 26px;
  }

  .second-layer p.company-message-lead {
    font-size: 20px;
    margin-bottom: 40px;
  }

  .company-message-side {
    width: 38%;
    margin: 0 0 20px 30px;
  }

  .company-message-body {
    font-size: 15px;
  }
  
  .company-profile {
    padding: 50px 20px;
  }
  
  .company-profile-table th,
  .company-profile-table td {
    padding: 16px;
    font-size: 15px;
  }
  
  .company-history {
    padding: 50px 20px;
  }
  
  .company-access {
    padding: 50px 20px;
  }
  
  .company-access-inner {
    gap: 30px;
  }
  
  .company-access-photo {
    height: 180px;
  }
  
  .company-access-body h3 {
    font-size: 20px;
  }
}

/* ========================================
   レスポンシブ：スマホ（～767px）
   ======================================== */
@media (max-width: 767px) {
  .company-title {
    font-size: 22px;
    margin-bottom: 20px;
  }
  
  .company-lead {
    padding: 20px 16px 50px;
  }

  .company-lead .lead-sub {
    margin-bottom: 24px;
    text-align: left;
  }

  .company-about-text {
    margin-bottom: 20px;
    text-align: left;
  }

  .company-about-text p {
    font-size: 14px;
  }

  .company-lead .news-more {
    margin-bottom: 20px;
  }

  .company-slogan {
    padding: 50px 16px 50px;
  }

  .company-slogan-row {
    flex-direction: column;
    gap: 20px;
  }

  .company-slogan-img img {
    width: 150px;
    height: 150px;
  }

  .company-slogan-text {
    text-align: center;
  }

  .company-slogan-title {
    font-size: 22px;
    margin-bottom: 24px;
  }

  .company-slogan-text {
    font-size: 14px;
    line-height: 1.9;
  }
  
  .company-policy {
    padding: 50px 16px;
  }
  
  .company-policy-inner {
    gap: 20px;
  }

  .company-policy-card {
    flex-direction: column;
    padding: 24px 20px;
    gap: 8px;
  }

  .company-policy-head {
    min-width: auto;
  }

  .company-policy-head img {
    width: 60px;
    margin-bottom: 8px;
  }

  .company-policy-head h3 {
    font-size: 18px;
  }

  .company-policy-body p,
  .company-policy-list li {
    font-size: 14px;
  }

  .company-policy-list li {
    padding-left: 16px;
  }
  
  .company-message {
    padding: 60px 16px;
  }

  .company-message-paper {
    padding: 0;
  }

  .company-message-head {
    margin-bottom: 20px;
  }

  .company-message-head h2 {
    font-size: 22px;
  }

  .company-message-body {
    font-size: 14px;
    line-height: 1.9;
  }

  .second-layer p.company-message-lead {
    font-size: 16px;
    margin-bottom: 24px;
    text-align: left;
  }

  .company-message-side {
    float: none;
    width: 60%;
    max-width: 260px;
    margin: 0 auto 24px;
  }

  .company-message-photo {
    width: 100%;
  }

  .company-message-foot {
    text-align: right;
    margin-top: 24px;
  }

  .company-message-foot .company-message-company {
    font-size: 11px !important;
  }
  .company-message-foot .company-message-name {
    font-size: 22px !important;
  }
  .company-message-foot .company-message-name-en {
    font-size: 9px;
  }
  
  .company-profile {
    padding: 50px 16px;
  }
  
  .company-profile-table {
    display: block;
  }
  
  .company-profile-table tbody {
    display: block;
  }
  
  .company-profile-table tr {
    display: block;
    margin-bottom: 0;
    background: #fff;
    border-radius: 0;
    overflow: hidden;
  }

  .company-profile-table th,
  .company-profile-table td {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border-top: none;
    border-bottom: none;
    font-size: 14px;
  }

  .company-profile-table th {
    background: var(--yellow);
    border-bottom: none;
  }
  
  .company-history {
    padding: 50px 16px;
  }

  .company-history-list .news-row {
    grid-template-columns: auto auto 1fr;
  }
  .company-history-list .news-row .title {
    grid-column: auto;
    margin-top: 0;
  }
  .company-history-list .news-row .date {
    font-size: 12px;
    white-space: nowrap;
  }
  .company-history-list .news-row .tag {
    font-size: 10px;
    white-space: nowrap;
  }
  
  .company-access {
    padding: 50px 16px;
  }
  
  .company-access-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .company-access-photo {
    height: 180px;
  }
  
  .company-access-body {
    padding: 20px;
  }

  .company-access-body iframe {
    width: 100%;
    height: 250px;
  }
  
  .company-access-body h3 {
    font-size: 18px;
  }

  .company-access-body p {
    font-size: 14px;
  }
}
