@charset "utf-8";

/* Common header / footer */

:root{
  --ink:#1c1c1c;
  --ink-2:#666666;
  --green:#5dac5c;
  --line:#ded9cd;
  --paper:#f2efe7;
  --dark:#092207;
  --max:1280px;
  --ease:cubic-bezier(.22,.61,.36,1);
}

/* Base (header / footer only) */
.site-header, .site-footer, .site-header *, .site-footer *{ box-sizing:border-box }
.site-header, .site-footer{
  font-family:"Roboto","Noto Sans JP","Yu Gothic",YuGothic,Meiryo,sans-serif;
  font-feature-settings:"palt" 1;
  -webkit-font-smoothing:antialiased;
  line-height:1.8;
  text-align:left;
}
.site-header a, .site-footer a{ color:inherit; text-decoration:none }
.site-header img{ display:block; height:auto; max-width:none }

.wrap{ width:min(calc(100% - 56px), var(--max)); margin-inline:auto }


/* Header */
.site-header{
  position:sticky; top:0; z-index:40;
  color:var(--ink);
  background:#fff;
  border-bottom:1px solid var(--line);
  box-shadow:0 1px 3px rgba(0,0,0,.04);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  height:74px;
}
.brand{ display:flex; align-items:center; gap:13px }
.brand-logo{ width:48px; flex:none }
.brand-name{
  font-size:16.5px; font-weight:700; letter-spacing:.04em;
  line-height:1.35; white-space:nowrap;
}
.brand-name small{
  display:block; font-style:italic; font-weight:500; font-size:11px;
  color:var(--ink-2); letter-spacing:.06em;
}

.gnav{ display:flex; gap:40px }
.gnav a{
  display:block; text-align:center; white-space:nowrap;
  padding-bottom:3px; border-bottom:2px solid transparent;
}
.gnav .en{
  display:block; font-style:italic; font-weight:500; font-size:9.5px;
  letter-spacing:.18em; color:var(--ink-2);
}
.gnav .jp{
  display:block; font-size:14px; font-weight:500;
  letter-spacing:.08em; margin-top:2px;
}
.gnav a:hover{ border-bottom-color:var(--line) }
.gnav a[aria-current="page"]{ border-bottom-color:var(--green) }
.gnav a[aria-current="page"] .en{ color:var(--green) }


/* Footer */
.site-footer{
  background:linear-gradient(to bottom, var(--dark), #000);
  color:var(--paper);
  padding:44px 0;
}
.site-footer a{ color:#d5ddd1 }
.foot-inner{ display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap }
.foot-brand{ font-size:14px; letter-spacing:.06em }
.foot-brand small{
  display:block; font-style:italic; font-weight:500; color:#a8b4a4;
  font-size:10.5px; letter-spacing:.06em; margin-top:4px;
}
.foot-info{ font-size:11.5px; color:#c3ccbf; margin:16px 0 0; line-height:2 }
.foot-info dt{ float:left; width:5.5em; color:#8d9a89 }
.foot-info dd{ margin:0 0 0 5.5em }
.foot-nav{
  display:flex; gap:28px; justify-content:flex-end;
  font-size:11px; font-style:italic; font-weight:500; letter-spacing:.12em;
}
.foot-copy{ font-size:10px; color:#8d9a89; margin-top:26px }


/* Responsive */
@media (max-width:1060px){
  .gnav{ gap:26px }
  .brand-name{ font-size:15px }
}
@media (max-width:860px){
  .gnav{ gap:18px }
  .gnav .jp{ font-size:13px }
}
@media (max-width:640px){
  .wrap{ width:min(calc(100% - 32px), var(--max)) }
  .header-inner{ height:64px }
  .brand-logo{ width:38px }
  .brand-name{ font-size:13px }
  .brand-name small{ font-size:9.5px }
  .gnav{ gap:14px }
  .gnav .en{ font-size:8.5px; letter-spacing:.12em }
  .gnav .jp{ font-size:11.5px; letter-spacing:.02em }
  .foot-inner{ display:block }
  .foot-nav{ justify-content:flex-start; margin-top:26px }
}
@media (max-width:400px){
  .site-header .wrap{ width:calc(100% - 24px) }
  .brand{ gap:8px }
  .brand-name{ font-size:12.5px }
  .gnav{ gap:8px }
}
@media (max-width:359px){
  .brand{ gap:6px }
  .brand-logo{ width:32px }
  .brand-name{ font-size:12px }
  .brand-name small{ display:none }
  .gnav{ gap:5px }
  .gnav .en{ letter-spacing:.06em }
  .gnav .jp{ font-size:10.5px; letter-spacing:0 }
}

/* Reduced motion */
@media (prefers-reduced-motion:reduce){
  *{ transition-duration:.01ms !important; animation-duration:.01ms !important }
}
