@charset "UTF-8";
/* ============================================================
   会社案内ページ  css/company.css
   ============================================================ */

/* 理念 */
.philosophy__inner{
  display:grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(30px, 6vw, 80px);
  align-items:center;
}
.philosophy__en{
  font-family:var(--font-en); font-weight:700; font-size:13px;
  letter-spacing:.4em; color:var(--blue-bright);
  display:flex; align-items:center; gap:1em; margin-bottom:14px;
}
.philosophy__en::before{ content:""; width:3em; height:2px; background:var(--blue-bright); }
.philosophy__text h2{
  font-size: clamp(26px, 4vw, 40px); font-weight:900;
  color:var(--navy); letter-spacing:.12em;
  margin-bottom: 22px;
}
.philosophy__text p:not(.philosophy__en){
  font-size:14.5px; color:#39414f; margin-bottom:14px;
}
.philosophy__photo{ position:relative; }
.philosophy__photo img{
  width:100%; height:auto;
  background: linear-gradient(160deg, #eaf1ff, #cfe0ff);
  padding: 26px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position:relative; z-index:1;
}
.philosophy__photo .frame{
  position:absolute; inset:-16px auto auto -16px;
  width:58%; height:58%;
  border-top:3px solid var(--yellow); border-left:3px solid var(--yellow);
  border-radius:14px 0 0 0;
}
.philosophy__photo::after{
  content:""; position:absolute; right:-16px; bottom:-16px;
  width:58%; height:58%;
  border-bottom:3px solid var(--cyan); border-right:3px solid var(--cyan);
  border-radius:0 0 14px 0;
}

/* 会社概要テーブル */
.profile__table{
  width:100%;
  border-collapse: collapse;
  background:#fff;
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow-sm);
}
.profile__table th, .profile__table td{
  padding: 18px 22px;
  border-bottom:1px solid var(--line);
  font-size:14.5px;
  text-align:left; vertical-align:top;
}
.profile__table tr:last-child th,
.profile__table tr:last-child td{ border-bottom:0; }
.profile__table th{
  width: 180px;
  background: #eef3fc;
  color: var(--blue-deep);
  font-weight:700; letter-spacing:.1em;
  border-right: 3px solid var(--blue-bright);
}
.profile__table td{ color:#39414f; }

/* 沿革タイムライン */
.history__list{
  position:relative;
  padding-left: 30px;
}
.history__list::before{
  content:""; position:absolute; left:9px; top:8px; bottom:8px;
  width:2px;
  background: linear-gradient(180deg, var(--cyan), var(--blue), var(--magenta));
  border-radius:2px;
}
.history__list li{
  position:relative;
  padding: 0 0 26px 18px;
}
.history__list li::before{
  content:""; position:absolute; left:-29px; top:6px;
  width:16px; height:16px; border-radius:50%;
  background:#fff;
  border:4px solid var(--blue-bright);
  box-shadow: 0 0 0 3px #fff;
}
.history__list li:nth-child(4n+2)::before{ border-color: var(--cyan); }
.history__list li:nth-child(4n+3)::before{ border-color: var(--magenta); }
.history__list li:nth-child(4n+4)::before{ border-color: var(--yellow); }
.history__list time{
  display:inline-block;
  font-weight:700; font-size:13.5px; letter-spacing:.08em;
  color:#fff; background: var(--blue);
  border-radius:999px; padding: 4px 16px;
  margin-bottom: 8px;
}
.history__list p{ font-size:14.5px; color:#39414f; }

/* アクセス */
.access__grid{
  display:grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(22px, 4vw, 50px);
  align-items:stretch;
}
.access__map{
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow-sm);
  border:1px solid var(--line);
  min-height: 360px;
}
.access__map iframe{
  width:100%; height:100%; min-height:360px; display:block;
}
.access__info{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(24px, 3vw, 36px);
  display:flex; flex-direction:column;
}
.access__info h3{
  font-size:20px; font-weight:900; color:var(--navy); letter-spacing:.08em;
}
.access__info .addr{
  margin: 10px 0 18px; font-size:14.5px; color:#39414f;
  padding-bottom: 16px; border-bottom: 1px dashed var(--line);
}
.access__info dl{ flex:1; }
.access__info dl > div{
  display:grid; grid-template-columns: 86px 1fr; gap: 12px;
  padding: 12px 0;
  font-size: 13.5px;
}
.access__info dl > div + div{ border-top:1px solid var(--line); }
.access__info dt{
  font-weight:700; color:#fff; text-align:center;
  background: linear-gradient(120deg, var(--cyan), var(--blue-bright));
  border-radius: 8px;
  align-self:start;
  padding: 4px 0;
  font-size:12.5px; letter-spacing:.1em;
}
.access__info dl > div:nth-child(2) dt{ background: linear-gradient(120deg, var(--magenta), #ff5fae); }
.access__info dl > div:nth-child(3) dt{ background: linear-gradient(120deg, #ffb800, var(--yellow)); color:var(--navy); }
.access__info dd{ color:#39414f; }
.access__info .btn{ margin-top: 20px; align-self:flex-start; }

/* レスポンシブ */
@media (max-width: 860px){
  .philosophy__inner{ grid-template-columns: 1fr; }
  .philosophy__photo{ max-width: 440px; margin-inline:auto; }
  .profile__table th{ width: 120px; padding: 14px 14px; font-size:13px; }
  .profile__table td{ padding: 14px 16px; font-size:13.5px; }
  .access__grid{ grid-template-columns: 1fr; }
  .access__map{ min-height: 300px; }
  .access__info .btn{ align-self:stretch; }
}
@media (max-width: 560px){
  .profile__table, .profile__table tbody, .profile__table tr,
  .profile__table th, .profile__table td{ display:block; width:100%; }
  .profile__table th{ border-right:0; border-left: 4px solid var(--blue-bright); }
  .profile__table td{ border-bottom:1px solid var(--line); }
}
