@charset "utf-8";

.l-body {
  display: flex;
  flex-direction: column;
}

.l-body:has(.l-header) {
  min-height: calc(100vh - 100px);
  margin-top: 100px;
}

@media screen and (max-width: 767px) {
  .l-body:has(.l-header) {
    min-height: calc(100vh - 72px);
    margin-top: 72px;
  }
}

.l-header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  padding: 20px 20px;
  background-color: #e7e7d9;
  z-index: 30002;
}

.l-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 1200px;
  height: 60px;
  margin: 0 auto;
}

.l-header__inner__logo {
  width: 200px;
}

.l-header__inner__logo img {
  display: block;
  width: 100%;
}

@media (any-hover: hover) {
  .l-header__inner__logo:hover {
    opacity: 0.6;
  }
}

.l-header__inner__button {
  display: none;
}

.l-header__inner__nav {
  display: flex;
}

.l-header__inner__nav__inner {
  display: flex;
  gap: 20px;
}

.l-header__inner__nav__inner__list {
  display: flex;
  padding: 0 24px;
  background-color: var(--color-gray2);
  border-radius: 8px;
}

.l-header__inner__nav__inner__list__item {
  display: flex;
}

.l-header__inner__nav__inner__list__item>a {
  padding: 20px 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
}

@media (any-hover: hover) {
  .l-header__inner__nav__inner__list__item>a:hover {
    color: var(--main-color);
  }
}

.l-header__inner__nav__inner__button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 16px;
  background-color: var(--accent-color);
  border-radius: 8px;
  box-shadow: 0 4px #4a0f10;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #fff;
  text-shadow: 1px 1px 0 #4a0f10;
  transition: all 0.2s linear;
}

.l-header__inner__nav__inner__button:active {
  box-shadow: none;
  transform: translateY(4px);
}

@media (any-hover: hover) {
  .l-header__inner__nav__inner__button:hover {
    box-shadow: none;
    transform: translateY(4px);
  }
}

@media screen and (max-width: 767px) {
  .l-header {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .l-header__inner {
    height: 40px;
  }

  .l-header__inner__logo {
    width: 140px;
  }

  .l-header__inner__button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--main-color);
    border-radius: 4px;
    cursor: pointer;
    z-index: 2;
  }

  .l-header__inner__button>span,
  .l-header__inner__button>span::before,
  .l-header__inner__button>span::after {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
  }

  .l-header__inner__button>span {
    position: relative;
  }

  .l-header__inner__button>span::before,
  .l-header__inner__button>span::after {
    content: '';
    position: absolute;
    left: 0;
  }

  .l-header__inner__button>span::before {
    top: -8px;
  }

  .l-header__inner__button>span::after {
    top: 8px;
  }

  .l-header__inner__button.js-menu-close>span {
    background-color: transparent;
  }

  .l-header__inner__button.js-menu-close>span::before,
  .l-header__inner__button.js-menu-close>span::after {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .l-header__inner__button.js-menu-close>span::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .l-header__inner__button.js-menu-close>span::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .l-header__inner__nav {
    position: absolute;
    left: 0;
    top: 100%;
    -webkit-overflow-scrolling: touch;
    overflow: hidden;
    width: 0;
    height: 0;
    background-color: var(--main-color);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1;
  }

  .l-header__inner__nav__inner {
    flex-direction: column;
    row-gap: 40px;
    width: 100%;
    padding: 40px 20px 100px;
  }

  .l-header__inner__nav__inner__list {
    flex-direction: column;
    row-gap: 16px;
    padding: 32px;
  }


  .l-header__inner__nav__inner__list__item>a {
    width: 100%;
    padding: 0;
    line-height: unset;
  }

  .l-header__inner__nav__inner__button {
    padding: 24px 16px;
  }

  @media (any-hover: hover) {
    .l-header__inner__nav__inner__button:hover {
      box-shadow: 0 4px #4a0f10;
      transform: none;
    }
  }

  .l-header__inner__nav__inner__button:active {
    box-shadow: none;
    transform: translateY(4px);
  }
}

.l-breadcrumb {
  width: 100%;
  padding: 10px 20px;
}

.l-breadcrumb__list {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.2;
}

.l-breadcrumb__list__item {
  position: relative;
  display: inline-block;
}

.l-breadcrumb__list__item+.l-breadcrumb__list__item {
  padding-left: 1.5em;
}

.l-breadcrumb__list__item+.l-breadcrumb__list__item::before {
  content: '»';
  position: absolute;
  left: 0.5em;
  top: 0;
}

.l-breadcrumb__list__item>a {
  color: var(--main-color);
}

@media (any-hover: hover) {
  .l-breadcrumb__list__item>a:hover {
    text-decoration: underline;
  }
}

.l-contents {
  flex-grow: 1;
  padding: 80px 20px;
}

.l-contents__inner {
  display: grid;
  grid-template-columns: 1fr 28%;
  gap: 80px 40px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .l-contents {
    padding-top: 60px;
    padding-bottom: 120px;
  }

  .l-contents__inner {
    display: flex;
    flex-direction: column;
  }
}

.l-main {
  flex-grow: 1;
}

.l-side {
  display: flex;
  flex-direction: column;
  row-gap: 40px;
}

.l-side-title {
  padding-bottom: 10px;
  border-bottom: 2px solid var(--main-color);
  font-size: 20px;
  font-weight: 700;
  color: var(--main-color);
}

.l-side__search .c-search-form {
  width: 100%;
}

.l-side__post {
  padding: 20px 16px;
  background-color: var(--color-gray2);
  box-shadow: 1px 1px 4px rgb(0 0 0 / 20%);
}

.l-side__post__list {
  margin-top: 8px;
}

.l-side__post__list__item:not(:first-child) {
  border-top: 1px solid var(--color-gray3);
}

.l-side__post__list__item__inner {
  display: grid;
  grid-template-columns: 120px 1fr;
  column-gap: 8px;
  padding: 12px 0;
}

.l-side__post__list__item__inner__thumbnail {
  display: block;
  aspect-ratio: 16 / 9;
}

.l-side__post__list__item__inner__thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.l-side__post__list__item__inner__textarea {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}

.l-side__post__list__item__inner__textarea__title {
  font-size: 14px;
}

.l-side__post__list__item__inner__textarea__date {
  font-size: 12px;
  line-height: 1;
  color: #888;
}

@media (any-hover: hover) {
  .l-side__post__list__item__inner:hover {
    opacity: 0.8;
  }

  .l-side__post__list__item__inner:hover .l-side__post__list__item__inner__textarea__title {
    color: var(--main-color);
  }
}

.l-side__tax {
  padding: 20px 16px;
  background-color: var(--color-gray2);
  box-shadow: 1px 1px 4px rgb(0 0 0 / 20%);
}

.l-side__tax__list {
  margin-top: 8px;
}

.l-side__tax__list__item {
  border-bottom: 1px solid var(--color-gray3);
}

.l-side__tax__list__item>a {
  display: block;
  padding: 12px 4px;
}

@media (any-hover: hover) {
  .l-side__tax__list__item>a:hover {
    opacity: 0.6;
  }
}

.l-side__tax--tag .l-side__tax__list {
  margin-top: 16px;
}

.l-side__tax--tag .l-side__tax__list__item {
  border-bottom: none;
}

.l-side__tax--tag .l-side__tax__list__item>a {
  padding: 4px;
}

.l-side__tax--tag .l-side__tax__list__item>a::before {
  content: '#';
  margin-right: 2px;
}

.l-pagetop {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  right: 20px;
  bottom: 80px;
  width: 60px;
  height: 60px;
  background-color: var(--main-color);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.4s ease;
  z-index: 30001;
}

.l-pagetop::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  border-top: 4px solid #fff;
  border-left: 4px solid #fff;
  transform: translate(-50%, -25%) rotate(45deg);
}

.l-pagetop.js-pagetop-show {
  visibility: visible;
  opacity: 1;
}

@media (any-hover: hover) {
  .l-pagetop:hover {
    opacity: 0.6;
  }
}

@media screen and (max-width: 767px) {
  .l-pagetop {
    width: 48px;
    height: 48px;
  }
}

.l-footer-cta {
  overflow: hidden;
  position: relative;
  padding: 200px 20px 80px;
  background-color: var(--main-color);
  text-shadow: 1px 1px 4px #4a592d;
  color: #fff;
}

.l-footer-cta::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  width: calc(100% + 248px);
  height: 240px;
  background-color: #fff;
  border-bottom-left-radius: 50% 100%;
  border-bottom-right-radius: 50% 100%;
  transform: translateX(-50%);
}

.l-footer-cta__inner {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.l-footer-cta__inner__title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.l-footer-cta__inner__text {
  font-size: 18px;
}

.l-footer-cta__inner__button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 16px 32px;
  background-color: var(--accent-color);
  border-radius: 8px;
  box-shadow: 0 4px #4a0f10;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-shadow: 1px 1px 0 #4a0f10;
  transition: all 0.2s linear;
}

.l-footer-cta__inner__button:active {
  box-shadow: none;
  transform: translateY(4px);
}

@media (any-hover: hover) {
  .l-footer-cta__inner__button:hover {
    box-shadow: none;
    transform: translateY(4px);
  }
}

@media screen and (max-width: 767px) {
  .l-footer-cta {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .l-footer-cta::before {
    top: -40px;
    width: calc(100% + 64px);
    height: 80px;
  }

  .l-footer-cta__inner__title {
    font-size: 32px;
  }
}

.l-footer {
  padding: 40px 20px;
  background-color: #e7e7d9;
}

.l-footer__inner {
  display: flex;
  flex-direction: column;
  row-gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.l-footer__inner__head__address {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
  font-size: 18px;
}

.l-footer__inner__head__address strong {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.l-footer__inner__foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.l-footer__inner__foot__link {
  display: flex;
  justify-content: center;
  gap: 12px 24px;
  font-size: 18px;
}

@media (any-hover: hover) {
  .l-footer__inner__foot__link__item:hover {
    color: var(--main-color);
    text-decoration: underline;
  }
}

.l-footer__inner__foot__copy {
  text-align: center;
}

@media screen and (max-width: 767px) {
  .l-footer__inner {
    row-gap: 40px;
  }

  .l-footer__inner__foot {
    flex-direction: column;
  }

  .l-footer__inner__foot__link {
    flex-direction: column;
  }
}