@charset "UTF-8";

/*
  Company page standalone stylesheet.
  This file intentionally redefines all company-page components so the page
  is not dependent on older cached company CSS.
*/

.company-body{
  --cp-green:#004d3a;
  --cp-green-deep:#003c2f;
  --cp-ink:#202522;
  --cp-line:#d9ddd9;
  margin:0;
  color:var(--cp-ink);
  background:#fff;
  font-family:"Noto Sans JP","Yu Gothic","YuGothic","Hiragino Kaku Gothic ProN","Meiryo",sans-serif;
  line-height:1.8;
}
.company-body *,
.company-body *::before,
.company-body *::after{box-sizing:border-box}
.company-body img{display:block;max-width:100%}
.company-body a{color:inherit;text-decoration:none}

/* header */
.cp-header{
  position:sticky;
  top:0;
  z-index:100;
  background:var(--cp-green);
  color:#fff;
}
.cp-header-inner{
  width:min(1180px,calc(100% - 48px));
  min-height:76px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:34px;
}
.cp-brand{
  flex:none;
  font-family:"Yu Mincho","Hiragino Mincho ProN","YuMincho",serif;
  font-size:26px;
  font-weight:700;
  letter-spacing:.04em;
}
.cp-nav{
  display:flex;
  align-items:center;
  gap:34px;
  font-size:14px;
  font-weight:700;
}
.cp-nav a{
  position:relative;
  display:block;
  padding:10px 0;
  white-space:nowrap;
}
.cp-nav a.active::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:2px;
  height:2px;
  background:#fff;
}
.cp-menu-toggle,
.cp-menu-button{display:none}

/* compact hero */
.cp-hero{
  background:#fff;
  border-bottom:1px solid #ecefeb;
}
.cp-hero-inner{
  width:min(1180px,calc(100% - 48px));
  height:268px;
  margin:0 auto;
  display:grid;
  grid-template-columns:40% 60%;
}
.cp-hero-copy{
  position:relative;
  z-index:3;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:20px 30px 20px 10px;
}
.cp-hero-copy h1{
  margin:0;
  color:var(--cp-green);
  font-family:"Yu Mincho","Hiragino Mincho ProN","YuMincho",serif;
  font-size:43px;
  line-height:1.2;
  letter-spacing:.05em;
  font-weight:600;
}
.cp-en{
  margin:8px 0 0;
  color:var(--cp-green);
  font-family:Georgia,"Times New Roman",serif;
  font-size:15px;
  letter-spacing:.03em;
}
.cp-small-rule{
  width:78px;
  height:3px;
  margin:17px 0 17px;
  background:var(--cp-green);
}
.cp-hero-lead{
  margin:0;
  color:#222;
  font-family:"Yu Mincho","Hiragino Mincho ProN","YuMincho",serif;
  font-size:15px;
  line-height:2;
}
.cp-hero-photo{
  position:relative;
  margin:0;
  overflow:hidden;
  height:268px;
}
.cp-hero-photo::before{
  content:"";
  position:absolute;
  z-index:2;
  inset:0 auto 0 0;
  width:26%;
  background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.88) 36%,rgba(255,255,255,.28) 75%,rgba(255,255,255,0) 100%);
}
.cp-hero-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 28%;
}

/* main centered content */
.cp-main{
  padding:54px 0 64px;
  background:#fafbf9;
}
.cp-container{
  width:min(1040px,calc(100% - 64px));
  margin:0 auto;
}
.cp-section{
  background:#fff;
  padding:30px 34px 34px;
  box-shadow:0 2px 12px rgba(0,55,42,.05);
}
.cp-section + .cp-section{margin-top:30px}
.cp-section-heading{
  margin:0 0 26px;
  border-bottom:2px solid var(--cp-green);
}
.cp-section-heading h2{
  margin:0 0 10px;
  color:var(--cp-green);
  font-family:"Yu Mincho","Hiragino Mincho ProN","YuMincho",serif;
  font-size:29px;
  line-height:1.35;
  font-weight:600;
  letter-spacing:.03em;
}

/* greeting + Japan map */
.cp-greeting-layout{
  position:relative;
  min-height:345px;
  overflow:hidden;
}
.cp-greeting-text{
  position:relative;
  z-index:2;
  width:70%;
  margin-left:5%;
  font-family:"Yu Mincho","Hiragino Mincho ProN","YuMincho",serif;
  font-size:15px;
  line-height:2.05;
}
.cp-greeting-text p{margin:0 0 16px}
.cp-map{
  position:absolute;
  z-index:1;
  width:46%;
  right:calc(-1% + 76px);
  top:calc(3% + 76px);
  opacity:.83;
  pointer-events:none;
}
.cp-map img{width:100%;height:auto}

/* profile table */
.cp-table-wrap{width:100%}
.cp-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
  font-family:"Yu Mincho","Hiragino Mincho ProN","YuMincho",serif;
  font-size:15px;
}
.cp-table th,
.cp-table td{
  border-top:1px solid var(--cp-line);
  border-bottom:1px solid var(--cp-line);
  padding:12px 18px;
  text-align:left;
  vertical-align:middle;
}
.cp-table th{
  width:180px;
  background:#f2f4f2;
  text-align:center;
  font-weight:600;
}

/* footer */
.cp-footer{
  background:linear-gradient(90deg,var(--cp-green-deep),#005844);
  color:#fff;
}
.cp-footer-inner{
  width:min(1180px,calc(100% - 48px));
  min-height:118px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:38px;
}
.cp-footer-info strong{
  display:block;
  margin-bottom:5px;
  font-family:"Yu Mincho","Hiragino Mincho ProN","YuMincho",serif;
  font-size:21px;
}
.cp-footer-info p{
  margin:2px 0;
  font-size:12px;
  line-height:1.7;
}
.cp-footer-nav{
  display:flex;
  align-items:center;
  font-size:12px;
  font-weight:700;
}
.cp-footer-nav a{
  padding:0 15px;
  border-left:1px solid rgba(255,255,255,.48);
}
.cp-footer-nav a:last-child{border-right:1px solid rgba(255,255,255,.48)}
.cp-copyright{
  width:min(1180px,calc(100% - 48px));
  margin:0 auto;
  padding:12px 0 15px;
  border-top:1px solid rgba(255,255,255,.28);
  text-align:center;
  font-size:10px;
}

/* tablet */
@media (max-width:900px){
  .cp-nav{gap:18px;font-size:12px}
  .cp-brand{font-size:23px}
  .cp-container{width:min(100% - 42px,1040px)}
  .cp-greeting-text{width:72%;margin-left:2%}
  .cp-map{width:48%;right:calc(-5% + 76px);top:76px}
}

/* smartphone */
@media (max-width:640px){
  .cp-header-inner{
    width:calc(100% - 28px);
    min-height:64px;
    position:relative;
  }
  .cp-brand{
    font-size:20px;
    white-space:nowrap;
  }
  .cp-menu-toggle{
    position:absolute;
    width:1px;
    height:1px;
    opacity:0;
    pointer-events:none;
  }
  .cp-menu-button{
    display:flex;
    width:40px;
    height:40px;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    border:1px solid rgba(255,255,255,.46);
    border-radius:7px;
    cursor:pointer;
  }
  .cp-menu-button span{
    display:block;
    width:19px;
    height:2px;
    background:#fff;
  }
  .cp-nav{
    position:absolute;
    top:64px;
    left:-14px;
    right:-14px;
    z-index:10;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:6px 14px 16px;
    background:var(--cp-green);
    border-top:1px solid rgba(255,255,255,.18);
    box-shadow:0 12px 22px rgba(0,0,0,.14);
  }
  .cp-nav a{
    padding:12px 4px;
    font-size:14px;
    border-bottom:1px solid rgba(255,255,255,.16);
  }
  .cp-nav a.active::after{display:none}
  .cp-menu-toggle:checked ~ .cp-nav{display:flex}

  .cp-hero-inner{
    width:100%;
    height:auto;
    display:block;
  }
  .cp-hero-copy{
    padding:26px 22px 18px;
  }
  .cp-hero-copy h1{font-size:31px}
  .cp-en{font-size:12px}
  .cp-small-rule{
    width:58px;
    height:2px;
    margin:12px 0 12px;
  }
  .cp-hero-lead{
    font-family:"Noto Sans JP","Yu Gothic","YuGothic","Hiragino Kaku Gothic ProN","Meiryo",sans-serif;
    font-size:12px;
    line-height:1.8;
  }
  .cp-hero-photo{
    height:148px;
  }
  .cp-hero-photo::before{
    width:18%;
    background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.56) 45%,rgba(255,255,255,0) 100%);
  }
  .cp-hero-photo img{
    object-position:50% 28%;
  }

  .cp-main{padding:22px 0 32px}
  .cp-container{width:calc(100% - 22px)}
  .cp-section{
    padding:21px 15px 24px;
    box-shadow:0 1px 8px rgba(0,55,42,.045);
  }
  .cp-section + .cp-section{margin-top:16px}
  .cp-section-heading{margin-bottom:18px}
  .cp-section-heading h2{
    margin-bottom:8px;
    font-size:23px;
  }

  .cp-greeting-layout{
    min-height:0;
    overflow:hidden;
  }
  .cp-greeting-text{
    width:92%;
    margin-left:4%;
    font-family:"Noto Sans JP","Yu Gothic","YuGothic","Hiragino Kaku Gothic ProN","Meiryo",sans-serif;
    font-size:13px;
    line-height:1.95;
  }
  .cp-greeting-text p{margin-bottom:14px}
  .cp-map{
    width:76%;
    right:-20%;
    top:auto;
    bottom:-2%;
    opacity:.25;
  }

  .cp-table{
    table-layout:auto;
    font-family:"Noto Sans JP","Yu Gothic","YuGothic","Hiragino Kaku Gothic ProN","Meiryo",sans-serif;
    font-size:12px;
  }
  .cp-table th,
  .cp-table td{
    padding:9px 7px;
    vertical-align:top;
  }
  .cp-table th{
    width:78px;
    white-space:nowrap;
  }

  .cp-footer-inner{
    width:calc(100% - 28px);
    min-height:0;
    padding:22px 0 17px;
    display:block;
  }
  .cp-footer-info strong{font-size:18px}
  .cp-footer-info p{font-size:10.5px}
  .cp-footer-nav{
    display:grid;
    grid-template-columns:1fr 1fr;
    margin-top:16px;
    border-top:1px solid rgba(255,255,255,.22);
  }
  .cp-footer-nav a{
    padding:8px 5px;
    border-left:0;
    border-bottom:1px solid rgba(255,255,255,.16);
  }
  .cp-footer-nav a:last-child{border-right:0}
  .cp-copyright{
    width:calc(100% - 28px);
    font-size:9.5px;
  }
}
