html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  min-width: 320px;
  background: #f4f7f1;
  color: #5d675f;
  font-size: 14px;
  line-height: 1.7;
}

a:hover {
  color: #fff;
}

#header_inner,
#main,
#footer {
  width: min(980px, calc(100vw - 2rem));
}

#header {
  height: auto;
  min-height: 104px;
}

#header_inner {
  min-height: 104px;
}

#header_inner h1,
#slogan,
h1,
h2,
h3,
#menu a,
#footer {
  text-transform: none;
}

#header_inner h1 {
  letter-spacing: -1px;
}

#slogan {
  max-width: 26rem;
  text-align: right;
}

#main {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

#lcol {
  width: 235px;
}

#rcol {
  margin-left: 255px;
  width: auto;
  min-height: 40rem;
}

#rcontent {
  padding: 1.75rem 1.75rem 0 2rem;
}

#lcontent {
  padding: 0 1.1rem;
}

#menu a {
  width: 100%;
  min-height: 38px;
  height: auto;
  padding: 0.72rem 2.2rem 0.72rem 1rem;
  font-size: 14px;
  line-height: 1.2;
}

#menu a.is-current {
  color: #fff;
  background-image: url('images/bbg1.gif');
}

#menu a.is-current span {
  background: url('images/x2.gif') no-repeat;
}

h1 {
  font-size: 2rem;
  line-height: 1.15;
}

h3 {
  margin-top: 2rem;
}

p {
  margin-bottom: 1rem;
  text-align: left;
  font-size: 0.97rem;
  line-height: 1.72;
}

#lcol p,
.box p,
.cg-link-desc,
#footer {
  font-size: 0.88rem;
  line-height: 1.6;
}

.box {
  margin-top: 1rem;
}

.box_inner {
  overflow: hidden;
}

.cg-box-copy .summary {
  margin-top: 1rem;
}

.cg-link-list li,
#lcontent ul.divided li {
  padding-bottom: 0.3rem;
}

.cg-link-desc {
  margin-top: 0.35rem;
  color: #7b857d;
}

.cg-note {
  color: #6a6f61;
}

.summary {
  color: #69715d;
}

#footer {
  padding-bottom: 2rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  #header_inner,
  #main,
  #footer {
    width: min(100%, calc(100vw - 1.5rem));
  }

  #header_inner {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 0;
  }

  #header_inner h1,
  #slogan {
    position: static;
    text-align: left;
  }

  #main {
    display: grid;
    gap: 1.5rem;
  }

  #lcol,
  #rcol {
    float: none;
    width: auto;
    margin: 0;
  }

  #rcontent {
    padding: 1.25rem 1rem 0;
  }

  #menu a {
    width: 100%;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 13px;
  }

  #header_inner h1 {
    font-size: 2rem;
  }

  h1 {
    font-size: 1.6rem;
  }

  #rcontent,
  #lcontent {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}
