@charset "utf-8";

body {
  margin: 0;
}

.contents {
  transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

p {
  line-height: 2.5rem;
}
#navTgl:checked ~ .contents {
  transform: translateX(250px);
}

a {
  color:#4AAFD7;
  text-decoration:none;
}
a:hover {
  color: #6AD5D7;
}
#navTgl {
  display: none;
}

label {
  cursor: pointer;
  position: fixed;
  top: 0;
  left: 0;
  display: none;
}

.open {
  z-index: 2;
  width: 48px;
  height: 48px;
  background: lightSeaGreen;
  transition: background .6s, transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.open::before,
.open::after {
  content: "";
}

.open span,
.open::before,
.open::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  left: 30%;
  width: 40%;
  border-bottom: 2px solid white;
  transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.open::before {
  transform: translateY(-8px);
}

.open::after {
  transform: translateY(8px);
}

.close {
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: background .6s;
}

#navTgl:checked + .open {
  background: indianRed;
  transform: translateX(250px);
}

#navTgl:checked + .open span {
  transform: scaleX(0);
}

#navTgl:checked + .open::before {
  transform: rotate(45deg);
}

#navTgl:checked + .open::after {
  transform: rotate(-45deg);
}

#navTgl:checked ~ .close {
  pointer-events: auto;
  background: rgba(0,0,0,.3);
}

.menu {
  z-index: 1;
  position: fixed;
  overflow: auto;
  top: 0;
  left: 0;
  width: 200px;
  height: 100%;
  margin: 0;
  padding: 10px;
  box-sizing: border-box;
  background: rgba(0,0,0,.6);
  /*transform: translateX(-100%);*/
  transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.menu h2,
.menu a {
  color: white;
}

.menu h2 {
  text-align: center;
}

.menu ul {
  margin: 0;
  padding: 0;
}

.menu li {
  font-size: .8em;
  line-height: 1.4;
}

.menu li:not(:first-child) {
  border-top: 1px solid rgba(255,255,255,.6);
}

.menu a {
  display: block;
  padding: 1em 2em;
  text-decoration: inherit;
  transition: background .6s;
}

.menu a:hover {
  background: black;
}

#navTgl:checked ~ .menu {
  transform: none;
}



header,
footer {
  box-sizing: border-box;
  text-align: center;
}

header .logo,
footer .copyright {
  margin: 0;
  color: #0cc0ab;
  font-family: "Ubuntu Condensed", sans-serif;
  font-weight: 600;
  line-height: 120px;
  letter-spacing: .3em;
}

.logo {
  font-size: 2.25rem;
  color: #0cc0ab;
}
.logo span {
  font-size: 1rem;
  color: #553969;
}
header {
  position: relative;
  margin-bottom: 40px;
}

footer {
  background: rgba(255,255,255,.6);
}

footer small {
  font-size: 1em;
}

.main {
  max-width: 1000px;
margin: 0 auto;
}
.main article {
  max-width: 647px;
  margin: 0 auto 100px 230px;
  padding: 0 10px;
  box-sizing: border-box;
}
article h1 {
  position: relative;
  color: #C0305B;
  display: inline-block;
  font-size: 1.5rem;
  max-width: 647px;
  margin: 47px auto;
}

article h1:before {
  content: "";
  position: absolute;
  background: rgba(0,0,0,.05);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  top: 20%;
  left: 5%;
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  z-index: -1;
}

article h2 {
  position: relative;
  padding: 0.5rem 1rem;
  border-bottom: 6px solid #BDE269;
  font-size: 1.25rem;
}

article h2:before {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 20%;
  height: 6px;
  content: '';
  background: #0cc0ab;
}

article h3 {
  color:#C0305B;
  border-radius:0.5rem;
  border:solid 2px #C0305B;
  padding: 0.5rem;
  margin:2rem 0 1rem;
}
section {
  margin: 4em 0;
}

section h2 {
  margin: 0 0 .6em;
}

figure {
  position: relative;
  margin: 0;
  padding-bottom: 3.6em;
}

figure img {
  max-width: calc(100% - 10px);
  margin-bottom: .8em;
  padding: 5px;
  vertical-align: middle;
  background: rgba(255,255,255,.6);
}

figcaption {
  font-size: .8em;
}

section .btn {
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 1em 2em;
  color: white;
  background: lightSeaGreen;
  text-align: center;
  text-decoration: inherit;
  transition: background .3s;
}

section .btn:hover {
  background: indianRed;
}

/* ########### 767px以下 ########### */
@media (max-width: 767px) {
.menu {
  z-index: 1;
  position: fixed;
  overflow: auto;
  top: 0;
  left: 0;
  width: 250px;
  height: 100%;
  margin: 0;
  padding: 10px;
  box-sizing: border-box;
  background: rgba(0,0,0,.6);
  transform: translateX(-100%);
  transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
label {
  cursor: pointer;
  position: fixed;
  top: 0;
  left: 0;
  display: block;
}
#contents article {
  width: 100%;
  max-width: 647px;
  margin: 0 auto 100px;
  padding: 0 10px;
  box-sizing: border-box;
}

}
/*breadcrumb*/
.breadcrumb {
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li {
  display: inline;
  list-style: none;
  font-size: 0.9rem;
}

.breadcrumb li:after {
  content: '>';
  padding: 0 0.25rem;
  color: #555;
}

.breadcrumb li:last-child:after {
  content: '';
}

.breadcrumb li a {
  text-decoration: none;
  color: #1BAF9B;
}

.breadcrumb li a:hover {
  text-decoration: underline;
  color: #BDE269;
}

/*mokuji*/
#article1 details.mokuji01 {
  margin: 2rem;
  width: 70%;
}

.mokuji01 summary {
  background: #ccc;
  padding: 0.5rem 1rem;
  color: #fff;
}

.mokuji01 ul {
  list-style: none;
  padding: 0.5rem 1rem 1rem;
  background: #F4F0EF;
}

/*PageTop*/
#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 77%;
}
#page-top a {
    background: #666;
    text-decoration: none;
    color: #fff;
    width: 100px;
    padding: 30px 0;
    text-align: center;
    display: block;
    border-radius: 5px;
}
#page-top a:hover {
  background: #BDE269;
}

/*LINK*/
.arrow01 {
  display: block;
  text-align: right;
}
.arrow01:after {
    margin: 0 3px;
    font-family:"Font Awesome 5 Free";
    vertical-align: middle;
    content: '\f0c1';
    color: #4AAFD7;
    font-weight: 900;
}

/*関連記事*/
ul.list {
  margin:0.5rem auto 3rem;
  padding: 1rem;
  font-size: 0.85rem;
}
ul.list li {
    text-align: left;
    line-height: 2rem;
}
ul.list li a {
  padding: 0.5rem;
}
ul.list li a:hover {
  background: #F4F0EF;
}

.relation{
position: relative;
    padding: 1.5rem 0.5rem 0.25rem;
    border-bottom: 3px solid #aaa;
    color:#aaa;
}
.relation:before {
    position: absolute;
    bottom: -14px;
    left: 1em;
    width: 0;
    height: 0;
    content: '';
    border-width: 14px 12px 0 12px;
    border-style: solid;
    border-color: #aaa transparent transparent transparent;
}
.relation:after {
  position: absolute;
  bottom: -10px;
  left: 1em;
  width: 0;
  height: 0;
  content: '';
  border-style: solid;
  border-color: #f9f9f9 transparent transparent transparent;
  border-width: 14px 12px 0 12px;
}