:root{
  --history-ink:#1c1c1b;
  --history-copy:#3a3a38;
  --history-sub:#74746f;
  --history-line:#dcdcd8;
  --history-line-soft:#ebebe7;
  --history-blue:#284a73;
  --history-orange:#e8731c;
  --history-orange-light:#f0954e;
  --history-jp:'Noto Sans JP',sans-serif;
  --history-heading:'Zen Kaku Gothic New','Noto Sans JP',sans-serif;
  --history-en:'Jost',sans-serif;
}
.company-history-archive{
  color:var(--history-ink);
  background:#fff;
  font-family:var(--history-jp);
}
.history-wrap{
  width:min(1180px,100%);
  margin:0 auto;
  padding-right:32px;
  padding-left:32px;
  box-sizing:border-box;
}
.history-site-header{
  position:relative;
  z-index:20;
  background:#fff;
  border-bottom:1px solid var(--history-line-soft);
}
.history-site-header-overlay{
  position:absolute;
  top:0;
  right:0;
  left:0;
  background:transparent;
  border-bottom:0;
}
.history-site-header-overlay .history-header-nav a{
  color:#fff;
  text-shadow:0 1px 10px rgba(0,0,0,.32);
}
.history-site-header-overlay .history-header-logo img{filter:brightness(0) invert(1);}
.history-site-header .glonav{
  margin-bottom:0;
}
.history-site-header .glonav-ul{
  box-sizing:border-box;
}
.history-site-header .glonav:not(.fixed) .glonav-li > a{
  color:#fff;
  text-shadow:0 1px 10px rgba(0,0,0,.32);
}
.history-site-header .glonav:not(.fixed) .glonav-li.logo img{
  filter:none;
}
.history-header-inner{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:38px;
  height:74px;
}
.history-header-nav{
  display:flex;
  align-items:center;
  gap:30px;
}
.history-header-nav a{
  color:var(--history-copy);
  font-family:var(--history-heading);
  font-size:1.35rem;
  font-weight:500;
  letter-spacing:.06em;
  line-height:1.5;
  text-decoration:none;
  white-space:nowrap;
}
.history-header-nav a:hover{color:var(--history-blue);}
.history-header-logo{display:block;flex:none;width:143px;}
.history-header-logo img{display:block;width:100%;height:auto;}
.history-menu-button{display:none;}
.history-hero{
  position:relative;
  min-height:clamp(420px,52vw,650px);
  overflow:hidden;
  background:#70889b;
}
.history-hero-image{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(28,58,96,.46) 0%,rgba(28,58,96,.12) 24%,rgba(28,58,96,0) 46%),
    url('/img/company_history/hero-eco.jpg') center 30%/cover no-repeat;
  transform:scale(1.01);
}
.history-hero-title{
  position:absolute;
  top:clamp(120px,17vw,210px);
  right:0;
  left:0;
  color:#fff;
  text-align:center;
  text-shadow:0 3px 24px rgba(0,0,0,.35);
}
.history-hero-title h1{
  margin:0;
  font-family:var(--history-heading);
  font-size:5.6rem;
  font-weight:600;
  letter-spacing:.5em;
  text-indent:.5em;
}
.history-hero-title p{
  margin:14px 0 0;
  font-family:var(--history-en);
  font-size:2.2rem;
  font-weight:300;
  letter-spacing:.5em;
  text-indent:.5em;
}
.history-hero-widgets{
  position:absolute;
  z-index:6;
  top:clamp(96px,12vw,150px);
  right:clamp(20px,4vw,56px);
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:12px;
  color:#fff;
}
.history-font-size{
  display:flex;
  align-items:center;
  gap:8px;
  padding:7px 12px;
  border:1px solid rgba(255,255,255,.4);
  border-radius:3px;
  background:rgba(255,255,255,.16);
  backdrop-filter:blur(2px);
}
.history-font-size span{font-size:1.1rem;letter-spacing:.06em;}
.history-font-size button{padding:0 1px;border:0;border-bottom:1px solid rgba(255,255,255,.7);background:transparent;color:#fff;font-family:var(--history-en);font-size:1.2rem;line-height:1;}
.history-font-size button.large{font-size:1.7rem;}
.history-contact-box{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:5px;
  padding:12px 22px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:3px;
  background:rgba(28,40,55,.42);
  backdrop-filter:blur(2px);
}
.history-contact-box span,.history-contact-box small{font-size:1.05rem;font-weight:400;letter-spacing:.08em;}
.history-contact-box strong{font-family:var(--history-en);font-size:2.3rem;font-weight:500;letter-spacing:.06em;}
.history-hero-crumbs{
  position:absolute;
  z-index:6;
  bottom:clamp(72px,8vw,104px);
  left:50%;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  width:min(980px,calc(100% - 44px));
  transform:translateX(-50%);
}
.history-hero-crumbs a,.history-hero-crumbs span{color:#fff;font-size:1.25rem;letter-spacing:.06em;text-decoration:none;text-shadow:0 1px 8px rgba(20,40,70,.85);}
.history-hero-crumbs a,.history-hero-crumbs-parent{display:inline-block;padding-bottom:5px;border-bottom:1px solid #fff;opacity:.86;}
.history-hero-crumbs a{transition:opacity .3s ease;}
.history-hero-crumbs a:hover{opacity:.7;}
.history-hero-curve{position:absolute;z-index:4;right:0;bottom:-1px;left:0;display:block;width:100%;height:clamp(56px,7vw,100px);}
.history-hero.top .common-contact{
  top:clamp(120px,15vw,190px);
  right:clamp(20px,8vw,110px);
  bottom:auto;
  padding-right:0;
}
.history-introduction{padding:72px 0;background:#fff;}
.history-introduction-inner{
  display:block;
  text-align:center;
}
.history-introduction-image{display:block;width:auto;height:clamp(120px,14vw,168px);margin:0 auto 22px;}
.history-introduction-copy p{
  max-width:760px;
  margin:0 auto;
  color:var(--history-copy);
  font-size:1.6rem;
  line-height:2.1;
  letter-spacing:.04em;
}
.history-chapters{padding:92px 0 110px;background:#fff;}
.history-section-heading{text-align:center;margin-bottom:64px;}
.history-section-heading h2{
  margin:0;
  font-family:var(--history-heading);
  font-size:4rem;
  font-weight:700;
  letter-spacing:.34em;
  text-indent:.34em;
}
.history-section-heading p{
  margin:10px 0 0;
  color:var(--history-sub);
  font-family:var(--history-en);
  font-size:2rem;
  font-weight:300;
  letter-spacing:.52em;
  text-indent:.52em;
}
.history-section-heading > span{display:block;width:30px;height:2px;margin:26px auto 0;background:var(--history-blue);}
.history-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px;
  align-items:start;
}
.history-card{
  min-width:0;
  overflow:hidden;
  background:var(--history-orange);
  border:1px solid rgba(0,0,0,.08);
  /* 開閉時も常に所属する1カラム内に固定する */
  grid-column:auto;
}
.history-card.is-open{
  grid-column:auto;
  box-shadow:0 22px 60px -26px rgba(120,46,0,.5);
}
.history-card-toggle{
  display:grid;
  grid-template-columns:minmax(0,1fr) 42%;
  width:100%;
  min-height:300px;
  margin:0;
  padding:0;
  overflow:hidden;
  border:0;
  background:transparent;
  color:#fff;
  text-align:left;
  cursor:pointer;
}
.history-card-meta{
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:34px 32px 30px;
}
.history-card-number{
  margin-bottom:10px;
  font-family:var(--history-heading);
  font-size:1.3rem;
  font-weight:500;
  letter-spacing:.18em;
}
.history-card-title{
  display:block;
  margin-bottom:12px;
  font-family:var(--history-heading);
  font-size:2.8rem;
  font-weight:700;
  line-height:1.35;
  letter-spacing:.1em;
}
.history-card-era{
  display:block;
  margin-bottom:12px;
  color:rgba(255,255,255,.82);
  font-family:var(--history-en);
  font-size:1.25rem;
  line-height:1.5;
  letter-spacing:.12em;
}
.history-card-lead{
  display:block;
  color:rgba(255,255,255,.94);
  font-size:1.35rem;
  line-height:1.95;
  letter-spacing:.02em;
}
.history-card-tap{
  display:flex;
  align-items:center;
  gap:10px;
  width:max-content;
  margin-top:auto;
  padding-top:24px;
  font-family:var(--history-en);
  font-size:1.2rem;
  letter-spacing:.32em;
}
.history-card-tap i{
  width:8px;
  height:8px;
  margin-top:-4px;
  border-right:1px solid #fff;
  border-bottom:1px solid #fff;
  transform:rotate(45deg);
  transition:transform .25s;
}
.history-card.is-open .history-card-tap i{margin-top:4px;transform:rotate(-135deg);}
.history-card-cover{position:relative;display:block;min-width:0;background:#333;}
.history-card-cover img,
.history-card-placeholder{display:block;width:100%;height:100%;object-fit:cover;}
.history-card-placeholder{
  background:repeating-linear-gradient(125deg,#3a3a3a 0,#3a3a3a 1px,#242424 1px,#242424 12px);
}
.history-card-panel{background:var(--history-orange-light);}
.history-timeline{position:relative;padding:8px 28px 36px;}
.history-episode{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) 150px;
  gap:22px;
  padding:25px 0 25px 32px;
  color:#fff;
}
.history-episode + .history-episode{
  border-top:1px dashed rgba(255,255,255,.32);
}
.history-episode::before{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:7px;
  width:2px;
  background:rgba(255,255,255,.32);
}
.history-episode-dot{
  position:absolute;
  z-index:1;
  top:32px;
  left:0;
  width:16px;
  height:16px;
  border:2px solid #fff;
  border-radius:50%;
  background:var(--history-orange-light);
}
.history-episode-dot::after{content:"";position:absolute;inset:3px;border-radius:50%;background:#fff;}
.history-episode-year{margin:0 0 5px;font-family:var(--history-en);font-size:1.3rem;font-weight:500;letter-spacing:.14em;}
.history-episode h3{margin:0 0 10px;font-family:var(--history-heading);font-size:1.8rem;font-weight:600;line-height:1.45;letter-spacing:.04em;}
.history-episode-caption{margin:0 0 14px;color:rgba(255,255,255,.94);font-size:1.35rem;line-height:1.9;}
.history-episode a{display:inline-flex;gap:7px;padding-bottom:3px;border-bottom:1px solid transparent;color:#fff;font-size:1.2rem;font-weight:500;letter-spacing:.1em;text-decoration:none;}
.history-episode a:hover{border-bottom-color:#fff;}
.history-episode figure{height:120px;margin:0;overflow:hidden;}
.history-episode figure img{display:block;width:100%;height:100%;object-fit:cover;}
.history-empty{text-align:center;color:var(--history-sub);font-size:1.5rem;}


@media(max-width:900px){
  .history-wrap{padding-right:20px;padding-left:20px;}
  .history-header-nav{display:none;}
  .history-header-inner{justify-content:space-between;height:62px;}
  .history-header-logo{width:112px;}
  .history-menu-button{display:flex;flex-direction:column;gap:4px;padding:8px;border:0;background:transparent;}
  .history-menu-button span{display:block;width:22px;height:1.5px;background:var(--history-ink);}
  .history-site-header-overlay .history-menu-button span{background:#fff;}
  .history-hero-widgets{display:none;}
  .history-hero-title{top:38%;}
  .history-grid{grid-template-columns:1fr;gap:20px;}
  .history-card,.history-card.is-open{grid-column:auto;}
  .history-card-toggle{
    grid-template-columns: repeat(2,1fr);
    min-height:0;
  }
  .history-card-cover{
    /* order:-1; */
    min-height:190px;
  }
  .history-card-meta{min-height:250px;padding:28px 24px 26px;}
}
@media(min-width:769px) and (max-width:1200px){
  .history-hero.top .common-contact{
    top:252px;
    right: 17%;
  }
}
@media(max-width:768px){
  .history-hero-crumbs{display:none;}
}
@media(max-width:600px){
  .history-hero{min-height:380px;}
  .history-hero-title h1{font-size:3rem;}
  .history-hero-title p{font-size:1.5rem;}
  .history-hero-title h1{letter-spacing:.32em;text-indent:.32em;}
  .history-introduction{padding:52px 0;}
  .history-introduction-image{width:auto;margin:0 auto 20px;}
  .history-chapters{padding:64px 0 76px;}
  .history-section-heading{margin-bottom:44px;}
  .history-section-heading h2{font-size:2.8rem;}
  .history-section-heading p{font-size:1.5rem;}
  .history-card-title{font-size:2.2rem;}
  .history-card-cover{
    min-height:190px;
  }
  .history-episode{grid-template-columns:1fr;padding-left:30px;}
  .history-episode figure{height:180px;order:-1;}
}
