@charset "utf-8";

/* header */
header {
  background: #fff;
  padding: 1rem;
  position: relative;
  width: 100%;
}

.header__logo {
  margin: 0 auto;
  width: 172px;
}

@media screen and (max-width: 960px) {
  header {
    padding: 0.5rem;
  }
  .header__logo {
    width: 144px;
  }
}

/*#header__menu__trigger,
.header__menu__btn {
  display: none;
}

@media screen and (max-width: 960px) {
  .header__menu__btn {
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
  }
  
  .header__menu__btn label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    padding-top: 25px;
    position: relative;
    text-align: center;
  }
  
  .header__menu__btn label::before,
  .header__menu__btn label::after {
    background: #3e362e;
    border-radius: 3px;
    content: "";
    display: block;
    height: 5px;
    position: absolute;
    left: 0;
    width: 100%;
  }
  
  .header__menu__btn label::before {
    top: 0;
  }
  
  .header__menu__btn label::after {
    top: 12px;
    width: 80%;
  }
}

.header__menu {
  background: #a89b8d;
  width: 100%;
}

@media screen and (max-width: 1100px) {
  .header__menu {
    padding: 0 10px;
  }
}

@media screen and (max-width: 960px) {
  .header__menu {
    height: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    transform: translateX(100%);
    transition: transform 0.3s;
    width: 0;
    z-index: 100;
  }
  
  .header__menu label::before {
    color: #3e362e;
    content: "×";
    display: block;
    font-size: 30px;
    font-weight: 700;
    position: absolute;
    top: 8px;
    right: 15px;
  }
  
  #header__menu__trigger:checked ~ .header__menu {
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    padding: 0;
    transform: translateX(0);
    transition: transform 0.3s;
    width: 100%;
  }
}

.header__menu ul {
  margin: 0 auto;
  max-width: 1100px;
}

@media screen and (max-width: 960px) {
  .header__menu ul {
    background: #f6f0eb;
    display: block;
    height: 100vh;
    margin: 0 0 0 calc(100% - 300px);
    padding: 50px 20px 30px;
    width: 300px;
  }
}

.header__menu a {
  color: #fff;
  display: block;
  font-size: 15px;
  font-weight: 400;
  padding: 20px 50px 20px 0;
}

@media screen and (max-width: 960px) {
  .header__menu a {
    border-top: dotted 1px #c8bcb0;
    color: #3e362e;
    font-size: 14px;
    font-weight: 400;
    padding: 15px 10px;
    position: relative;
  }
  
  .header__menu li:last-of-type a {
    border-bottom: dotted 1px #c8bcb0;
  }
}*/

/* ぱんくず */
.pankuzu__top {
  align-items: center;
  background: #fff9f7;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 16px;
  width: 100%;
}
@media screen and (width > 1024px) {
  .pankuzu__top {
    margin-bottom: 24px;
  }
}
.pankuzu__top li,
.pankuzu__top a {
  font-size: 12px;
  white-space: nowrap;
}

.pankuzu__top li:not(:last-of-type) {
  align-items: center;
  display: flex;
  gap: 8px;
}

.pankuzu__top li:not(:last-of-type)::after {
  background: #6d634e;
  border-radius: 1px;
  content: "";
  height: 1px;
  width: 8px;
}

/* main */
.main {
  max-width: 1080px;
  width: 100%;
}

@media screen and (width > 1024px) {
  .main {
    gap: 32px;
    margin: 0 auto 56px;
  }
  .main__contents {
    width: calc(100% - 332px);
  }
  .sidebar {
    width: 300px;
  }
}

@media screen and (width <= 1024px) {
  .main {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
  }
  .main__contents {
    width: 100%;
  }
  .sidebar {
    width: 100%;
  }
} 

/* main__contents */
.main__contents__h1 {
  align-items: flex-start;
  background: #ea7e5b;
  color: #fff;
  display: flex;
  font-weight: 700;
  gap: 12px;
  line-height: 1.3;
  padding: 16px;
}
.main__contents__h1::before {
  background: #fff;
  border-radius: 3px;
  content: "";
  flex-shrink: 0;
  width: 6px;
}

@media screen and (width > 1024px) {
  .main__contents__h1 {
    border-radius: 8px;
    font-size: 26px;
    margin-bottom: 32px;
  }
  .main__contents__h1::before {
    height: 34px;
  }
}
@media screen and (width <= 1024px) {
  .main__contents__h1 {
    font-size: 22px;
    margin-bottom: 24px;
  }
  .main__contents__h1::before {
    height: 30px;
  }
}

.main__contents h2 {
  align-items: flex-start;
  border-bottom: dashed 1px #ea7e5b;
  display: flex;
  font-weight: 700;
  gap: 12px;
  line-height: 1.3;
  padding: 16px;
}
.main__contents h2::before {
  background: #ea7e5b;
  border-radius: 3px;
  content: "";
  flex-shrink: 0;
  width: 6px;
}
@media screen and (width > 1024px) {
  .main__contents h2 {
    font-size: 24px;
    margin-bottom: 32px;
  }
  .main__contents h2::before {
    height: 30px;
  }
}
@media screen and (width <= 1024px) {
  .main__contents h2 {
    font-size: 20px;
    margin-bottom: 24px;
  }
  .main__contents h2::before {
    height: 26px;
  }
}

.main__contents h3 {
  align-items: center;
  display: flex;
  font-weight: 700;
  gap: 12px;
  line-height: 1.3;
  padding: 0 16px;
}
.main__contents h3::before {
  background: #ea7e5b;
  border-radius: 3px;
  content: "";
  flex-shrink: 0;
  width: 6px;
}
@media screen and (width > 1024px) {
  .main__contents h3 {
    font-size: 18px;
    margin-bottom: 24px;
  }
  .main__contents h3::before {
    height: 26px;
  }
}
@media screen and (width <= 1024px) {
  .main__contents h3 {
    font-size: 17px;
    margin-bottom: 16px;
  }
  .main__contents h3::before {
    height: 22px;
  }
}

.main__contents p {
  line-height: 2;
  margin: 1em  0 2.5em 16px;
}
.main__contents p.main__contents__date {
  font-size: 12px;
  line-height: 1;
  text-align: right;
}

@media screen and (width <= 1024px) {
  .main__contents p {
    margin: 1.5em 24px;
  }
  .main__contents p.main__contents__date {
    margin: 0 24px 12px;
  }
}

.main__contents ul {
  list-style-type: disc;
  margin: 1.5em 0 2.5em;
}
.main__contents ul li {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 16px 3.5em;
}
@media screen and (width <= 1024px) {
  .main__contents ul {
    margin: 1.5em 24px;
  }
  .main__contents ul li {
    margin: 0 0 16px 1.5em;
  }
  }

.main__contents--dl {
  background: #f8f7f6;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  gap: 8px;
  padding: 16px;
}
.main__contents--dl dt {
  background: #fff;
  border-radius: 4px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  padding: 8px 12px;
  width: fit-content;
}
.main__contents--dl dd {
  gap: 8px;
  line-height: 1.4;
  margin-bottom: 16px;
  padding-left: 8px;
}
.main__contents--dl dd:not(:last-of-type) {
  border-bottom: dashed 1px #d4cdbe;
  padding-bottom: 16px;
}
@media screen and (width > 768px) {
  .main__contents--dl {
    margin: 24px 0 40px 16px;
  }
}
@media screen and (width <= 768px) {
  .main__contents--dl {
    margin: 16px 16px 24px;
  }
}

.main__contents table {
  width: 100%;
}
.main__contents td,
.main__contents th {
  border: solid 1px #c5c1b8;
}
.main__contents th {
  background: #f0efed;
  font-weight: 700;
}

@media screen and (width > 1024px) {
  .main__contents table {
    margin-bottom:32px;
  }
  .main__contents td,
  .main__contents th {
    font-size: 14px;
    line-height: 1.3;
    padding: 16px;
  }
}
@media screen and (width <= 1024px) {
  .main__contents table {
    margin: 0 24px 24px;
    width: calc(100% - 48px);
  }
  .main__contents td,
  .main__contents th {
    font-size: 14px;
    line-height: 1.3;
    padding: 12px;
  }
}

/* sidebar */
@media screen and (width <= 1024px) {
  .sidebar {
    padding: 0 24px;
  }
}
.sidebar__contents {
  background: #f8f5f4;
  border-radius: 8px;
  margin-bottom: 30px;
  padding: 20px;
}

.sidebar__contents h2 {
  background: #a89b8d;
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 10px;
  padding: 12px 15px;
}

.sidebar__articlelist:not(:last-of-type) {
  margin-bottom: 24px;
}

.sidebar__articlelist li:not(:last-of-type),
.sidebar__categorylist li:not(:last-of-type) {
  border-bottom: dashed 1px #a89b8d;
}

.sidebar__articlelist a {
  display: block;
  min-height: 96px;
  padding: 8px 0 8px 88px;
  position: relative;
}

@media screen and (max-width: 960px) and (min-width: 520px) {
  .sidebar__articlelist a {
    min-height: 80px;
    padding: 8px 0 8px 96px;
  }
}

.sidebar__articlelist img {
  height: 80px;
  object-fit: cover;
  position: absolute;
  top: 8px;
  left: 0;
  width: 80px;
}

@media screen and (max-width: 960px) and (min-width: 520px) {
  .sidebar__articlelist img {
    height: 80px;
    width: 80px;
  }
}

.sidebar__articlelist h3 {
  font-size: 13px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.sidebar__articlelist .category {
  background: #e2dcd6;
  border-radius: 4px;
  display: inline-block;
  font-size: 10px;
  margin-bottom: 8px;
  padding: 4px 6px;
}

.sidebar__articlelist .date {
  font-size: 10px;
  text-align: right;
}

/* footer */
footer {
  background: #8CCDCE;
  padding: 32px 0 40px;
}

@media screen and (width <= 1100px) {
  footer {
    padding: 32px 16px;
  }
}

.footer__nav--pages {
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 24px;
  justify-content: center;
  margin-bottom: 32px;
}

.footer__nav--pages a {
  color: #fff;
}

@media screen and (width <= 768px) {
  .footer__nav--pages {
    font-size: 12px;
    gap: 16px;
  }
  .footer__nav--pages a {
    align-items: center;
    color: #fff;
    font-weight: 700;
    padding: 8px;
  }
}

.copyright {
  color: #fff;
  font-size: 12px;
  text-align: center;
}

