/* カテゴリーページ専用。style.css から必要セクションを抽出。 */
body {
  background-color: #FAF6F6;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
}
.search {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 0.875rem;
  margin-top: 34px;
}
.search__title {
  padding-left: 0.5em;
}
.search__title--en {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
}
.search__title--en::before {
  content: "｜";
}
.search__box {
  margin-top: 8px;
  display: flex;
  align-items: center;
}
.search__input {
  color: #000;
  width: 240px;
  background: #FAF6F6;
  border-radius: 16px;
  padding: 6px 30px 6px 16px;
  line-height: 1;
}
.search__input:focus {
  outline-color: #8E2921;
}
.search__input::-moz-placeholder {
  color: #E3C9C7;
}
.search__input::placeholder {
  color: #E3C9C7;
}
.search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.search__submit {
  margin-left: -28px;
}
@media screen and (max-width: 767px) {
  .search {
    order: 1;
    margin: 16px 16px 0;
  }
  .search__title {
    color: #8E2921;
  }
  .search__input {
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    padding: 10px 30px 10px 16px;
    border-radius: 20px;
    outline: solid 1px #8E2921;
    outline-offset: 0;
  }
  .search__input::-moz-placeholder {
    font-size: 1rem;
    font-weight: 500;
  }
  .search__input::placeholder {
    font-size: 1rem;
    font-weight: 500;
  }
  .search__submit {
    margin-left: -36px;
  }
}
.language {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 0.875rem;
  margin: 40px 0;
  position: relative;
  width: 240px;
  height: 32px;
  text-align: center;
}
.language__list,
.language .gt_selector {
  width: 100%;
  height: 100%;
  border: 1px solid #FAF6F6;
  border-radius: 16px;
  outline: 0;
  background-image: url("../images/language-icon.svg");
  background-repeat: no-repeat;
  background-size: 8px auto;
  background-position: right 16px center;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
  font-size: 0.875rem;
  text-align: center;
  -moz-text-align-last: center;
       text-align-last: center;
  -webkit-appearance: none;
}
.language__list > option,
.language .gt_selector > option {
  color: #8E2921;
  background: #FAF6F6;
}
@media screen and (max-width: 767px) {
  .language {
    order: 3;
    width: 100%;
    padding: 0 16px;
    margin: 32px 0 0 0;
    height: 40px;
  }
  .language__list,
  .language .gt_selector {
    border-radius: 20px;
    border: none;
    background-color: #8E2921;
    font-size: 1rem;
  }
}

.gtranslate_wrapper {
  height: 100%;
}
.chatbot-btn {
  position: absolute;
  bottom: 64px;
  right: 304px;
  z-index: 5;
}
.chatbot-btn__inner {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #FAF6F6;
  box-shadow: 3px 3px 6px 0 rgba(91, 91, 91, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}
@media (hover: hover) {
  .chatbot-btn__inner:hover .chatbot-btn__button, .chatbot-btn__inner:hover .chatbot-btn__text {
    opacity: 0.6;
  }
}
.chatbot-btn__button {
  flex-shrink: 0;
}
.chatbot-btn__text {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 1rem;
  color: #8E2921;
  line-height: 1.5;
  white-space: nowrap;
  display: none;
  transform: translateX(-100%);
  transition: all 0.5s ease;
  margin-left: 20px;
}
@media screen and (max-width: 767px) {
  .chatbot-btn {
    right: 26px;
    bottom: 40px;
    position: fixed;
    transition: bottom 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  }
  .chatbot-btn__inner {
    width: 60px;
    height: 60px;
  }
  .chatbot-btn__text {
    font-size: 0.875rem;
    line-height: 1.4285714286;
    margin-left: 11px;
  }
}

/* Chatbot */
.chatbot {
  width: 480px;
  height: 480px;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s ease, transform 0.5s ease;
  background: #FAF6F6;
  border-radius: 8px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
  font-weight: 500;
  color: #311C1C;
  position: absolute;
  right: 304px;
  bottom: 64px;
  box-shadow: 3px 3px 6px 0 rgba(91, 91, 91, 0.5);
  z-index: 5;
  overflow: hidden;
}
.chatbot__hidden {
  opacity: 0;
  transform: scale(0.8);
  visibility: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.chatbot__header {
  position: relative;
  width: 100%;
}
.chatbot__title {
  color: #FAF6F6;
  background: #8E2921;
  font-size: 1rem;
  line-height: 48px;
  text-align: center;
}
.chatbot__title--en::before {
  content: "｜";
}
.chatbot__close-btn {
  width: 48px;
  height: 48px;
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.chatbot__body {
  height: calc(100% - 112px);
  padding: 24px 20px 0;
  overflow-y: auto;
}
.chatbot__chat {
  width: 100%;
  display: flex;
  margin-top: 16px;
}
.chatbot__chat--user {
  flex-direction: row-reverse;
}
.chatbot__icon {
  width: 36px;
  flex-shrink: 0;
}
.chatbot__bubble {
  color: #311C1C;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.5714285714;
  background: #EEDFDE;
  padding: 8px 16px;
  border-radius: 4px;
}
.chatbot__bubble--bot {
  margin-left: 16px;
}
.chatbot__bubble--user {
  margin-right: 16px;
}
.chatbot__footer {
  width: 100%;
  padding: 16px;
  position: absolute;
  bottom: 0;
}
.chatbot__form {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.chatbot__input {
  width: 368px;
  padding: 4px 16px;
  font-size: 0.875rem;
  line-height: 1.5714285714;
  border: 1px solid #D2A9A6;
  border-radius: 16px;
}
.chatbot__input:focus {
  outline-color: #8E2921;
}
.chatbot__input::-moz-placeholder {
  color: #EEDFDE;
}
.chatbot__input::placeholder {
  color: #EEDFDE;
}
.chatbot__submit, .chatbot__refresh {
  flex-shrink: 0;
  cursor: pointer;
}
@media screen and (max-width: 983px) {
  .chatbot {
    width: 416px;
  }
  .chatbot__input {
    width: 304px;
  }
}
@media screen and (max-width: 767px) {
  .chatbot {
    width: calc(100% - 48px);
    height: calc(100svh - 62px);
    top: 24px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
  }
  .chatbot__title {
    line-height: 48px;
  }
  .chatbot__input {
    width: 100%;
    font-size: 0.75rem;
    height: 32px;
  }
}
/* Settings */
/* ============================================ */
/* Common */
/* ============================================ */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-bold {
  font-weight: 700;
}

.pdf-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  max-width: -moz-max-content;
  max-width: max-content;
}

/* PDF link */
.pdf-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: white;
  border-radius: 8px;
  text-decoration: none;
  width: 100%;
  max-width: 600px;
}
.pdf-link__icon {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-shrink: 0;
}
.pdf-link__content {
  flex: 1;
  min-width: 0;
  color: #0765b8;
  overflow-wrap: anywhere;
}
.pdf-link__title {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}
.pdf-link__size {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

/* page height */
.sub {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.content-wrap {
  flex: 1;
  margin-top: 108px;
}
@media screen and (max-width: 767px) {
  .content-wrap {
    margin-top: 88px;
  }
}

.link-hover-effect:hover {
  opacity: 0.6;
  text-decoration: underline;
}

/* header */
.header {
  width: 100%;
  height: 108px;
  background-color: #FAF6F6;
  position: fixed;
  z-index: 5;
}
@media screen and (max-width: 767px) {
  .header {
    height: 88px;
  }
}
.header__inner {
  width: 100%;
  padding: 0 32px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__container--left {
  width: 408px;
  height: 88px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 767px) {
  .header__container--left {
    width: 266px;
  }
}
@media screen and (max-width: 375px) {
  .header__container--left {
    width: 240px;
  }
}
.header__container--sub {
  width: 500px;
}
@media screen and (max-width: 767px) {
  .header__container--sub {
    width: 370px;
  }
}
.header__logo {
  position: relative;
  flex-shrink: 0;
}
.header__logo::after {
  content: url(../images/header_dot.svg);
  width: 2px;
  height: 66px;
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}
@media screen and (max-width: 375px) {
  .header__logo::after {
    right: -16px;
  }
}
.header__town-admin {
  flex-shrink: 0;
}
.header__emigration {
  flex-shrink: 0;
}
@media screen and (max-width: 1090px) {
  .header__emigration img {
    width: 90%;
  }
}
@media screen and (max-width: 767px) {
  .header__emigration img {
    width: 70%;
  }
}
@media screen and (max-width: 375px) {
  .header__emigration img {
    width: 60%;
  }
}
.header__container--right {
  width: 509px;
  height: 56px;
}
@media screen and (max-width: 1090px) {
  .header__container--right {
    width: auto;
    height: auto;
  }
}
.header__menu {
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
}
@media screen and (max-width: 1090px) {
  .header__inner {
    padding: 0 0 0 24px;
    position: relative;
  }
  .header__menu {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
  }
}
@media screen and (max-width: 767px) {
  .header__inner {
    padding: 0 0 0 16px;
  }
}

.town-admin__image {
  width: 168px;
  height: auto;
}
@media screen and (max-width: 375px) {
  .town-admin__image {
    width: 158px;
  }
}

.menu__button {
  display: none;
}
.menu__button span {
  text-transform: uppercase;
}
.menu__block--pc {
  display: block;
  width: 509px;
  height: 56px;
}
.menu__block--pc .search__input--sub {
  width: 300px;
}
@media screen and (max-width: 1090px) {
  .menu__block--pc {
    display: none;
  }
}
.menu__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
@media screen and (max-width: 1090px) {
  .menu__button {
    display: block;
  }
  .menu__block--lower {
    display: none;
    width: 360px;
    height: 100vh;
    background-color: #8E2921;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
  }
  .menu__inner {
    display: block;
    width: 296px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
  }
  .menu__item--sub {
    margin-bottom: 24px;
  }
}
@media screen and (max-width: 1090px) and (max-width: 767px) {
  .menu__block--lower {
    width: 100%;
  }
}
@media screen and (max-width: 767px) {
  .menu__block--lower {
    width: 100%;
  }
  .menu__inner {
    width: 82.9333333333%;
    max-width: 400px;
  }
}

.item__title {
  color: #311C1C;
}

.font-size__list {
  width: 214px;
  height: 26px;
  display: flex;
  justify-content: space-between;
  gap: 5px;
}
.font-size__item {
  width: 68px;
  line-height: 26px;
  text-align: center;
  border-radius: 3px;
  color: #8E2921;
  background-color: #C69490;
}
@media (min-width: 1091px) and (hover: hover) {
  .font-size__item:hover {
    color: #FAF6F6;
    background-color: #8E2921;
    transition: all 0.3s ease;
  }
}
@media (min-width: 768px) and (max-width: 1090px) and (hover: hover) {
  .font-size__item:hover {
    background-color: #FAF6F6;
    transition: all 0.3s ease;
  }
}
.font-size__item--active {
  color: #FAF6F6;
  background: #8E2921;
}

.background-color__list {
  width: 119px;
  display: flex;
  display: flex;
  justify-content: space-between;
  gap: 5px;
}
.background-color__item {
  width: 26px;
  line-height: 26px;
  text-align: center;
  border-radius: 3px;
  color: #8E2921;
  background: #C69490;
}
@media (min-width: 1091px) and (hover: hover) {
  .background-color__item:hover {
    color: #FAF6F6;
    background-color: #8E2921;
    transition: all 0.3s ease;
  }
}
@media (min-width: 768px) and (max-width: 1090px) and (hover: hover) {
  .background-color__item:hover {
    background-color: #FAF6F6;
    transition: all 0.3s ease;
  }
}
.background-color__item--active {
  color: #FAF6F6;
  background: #8E2921;
}

.search--sub {
  margin-top: 0;
}
@media screen and (max-width: 767px) {
  .search--sub {
    margin: 0;
  }
}
.search__title--sub {
  color: #8E2921;
}
.search__input--sub {
  width: 100%;
  border-radius: 20px;
  border: 1px solid #8E2921;
  color: #8E2921;
}
@media screen and (max-width: 1090px) {
  .search__title--sub {
    color: #FAF6F6;
    line-height: 1;
  }
  .search__box--sub {
    margin-top: 10px;
  }
}

.language--sub {
  width: 177px;
  height: 34px;
  margin: 0;
}
.language__title {
  color: #8E2921;
  font-weight: 700;
  text-align: left;
  margin-bottom: 8px;
}
.language__list {
  color: #FAF6F6;
  background-color: #8E2921;
  border-radius: 20px;
}
.language .gt_selector {
  color: #FAF6F6;
  background-color: #8E2921;
  border-radius: 20px;
}
.language .gtranslate_wrapper {
  height: 34px;
}
@media screen and (max-width: 1090px) {
  .language--sub {
    width: 100%;
  }
  .language__title {
    color: #FAF6F6;
  }
}
@media screen and (max-width: 767px) {
  .language--sub {
    padding: 0;
  }
  .language--sub .language__list {
    border: 1px solid #FAF6F6;
  }
  .language--sub .gt_selector {
    border: 1px solid #FAF6F6;
  }
}

/* footer */
.footer {
  width: 100%;
  height: 100%;
  padding: 56px;
  background-color: #8E2921;
}
@media screen and (max-width: 1090px) {
  .footer {
    position: relative;
    padding: 40px;
  }
}
@media screen and (max-width: 767px) {
  .footer {
    padding: 40px 24px;
  }
}
.footer__inner {
  width: 100%;
  height: 167px;
  color: #FAF6F6;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}
@media screen and (max-width: 1090px) {
  .footer__inner {
    height: 169px;
    align-items: flex-start;
    margin-bottom: 104px;
  }
}
@media screen and (max-width: 767px) {
  .footer__inner {
    flex-flow: column;
    height: 100%;
    gap: 32px;
    margin-bottom: 94px;
  }
}
.footer__container--left {
  width: 245px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  flex-shrink: 0;
  height: 100%;
}
@media screen and (max-width: 767px) {
  .footer__container--left {
    width: 180px;
    height: auto;
  }
}
.footer__container--right {
  width: 628px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: flex-end;
}
@media screen and (max-width: 1090px) {
  .footer__container--right {
    flex-direction: row-reverse;
    width: 100%;
  }
}
@media screen and (max-width: 767px) {
  .footer__container--right {
    display: block;
  }
}
@media screen and (max-width: 1090px) {
  .footer__logo {
    width: 180px;
  }
}
.footer__copyright {
  color: #FAF6F6;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
  font-size: 0.625rem;
}
@media screen and (max-width: 1090px) {
  .footer__copyright {
    line-height: 1;
  }
}
@media screen and (max-width: 767px) {
  .footer__copyright {
    width: 100%;
    text-align: center;
    line-height: 1;
    position: absolute;
    left: 0;
    bottom: 40px;
  }
}
.footer__info {
  width: 400px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
}
@media screen and (max-width: 767px) {
  .footer__info {
    width: 100%;
  }
}
.footer__menu {
  width: 200px;
  height: 140px;
}

address > span {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.5714285714;
  display: block;
}

.address__title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1;
  margin-bottom: 10px;
}

@media screen and (max-width: 767px) {
  .biz-hour {
    font-size: 0.625rem;
    line-height: 2.2;
  }
}

@media (min-width: 768px) {
  .tel__link--footer {
    pointer-events: none;
  }
}

.sns--sub {
  width: 380px;
  height: 29px;
  margin-top: 24px;
}
@media screen and (max-width: 767px) {
  .sns--sub {
    width: 100%;
  }
}
.sns__list--sub {
  display: flex;
  flex-flow: row nowrap;
  gap: 16px;
}

@media screen and (max-width: 1090px) {
  .footer__menu {
    display: none;
  }
}
.footer__menu--md {
  display: none;
}
@media screen and (max-width: 1090px) {
  .footer__menu--md {
    width: calc(100% - 80px);
    display: block;
    position: absolute;
    left: 40px;
    bottom: 40px;
  }
  .footer__menu--md .footer-menu__list--sub {
    flex-direction: row;
  }
}
@media screen and (max-width: 767px) {
  .footer__menu--md {
    width: 100%;
    left: 24px;
    bottom: 122px;
    position: static;
  }
  .footer__menu--md .footer-menu__list--sub {
    flex-direction: column;
    gap: 16px;
  }
  .footer__menu--md .footer-menu__item--sub {
    width: 100%;
  }
}

.footer-menu__list--sub {
  width: 100%;
  height: 100%;
  color: #8E2921;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 0.875rem;
  text-align: center;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
}
.footer-menu__item--sub {
  width: 200px;
  height: 40px;
  line-height: 40px;
  background-color: #FAF6F6;
  border-radius: 20px;
  background-image: url(../images/footer-menu__arrow.svg);
  background-repeat: no-repeat;
  background-size: 7px auto;
  background-position: right 16px center;
}
@media (hover: hover) {
  .footer-menu__item--sub:hover {
    color: #FAF6F6;
    background-color: #8E2921;
    border: 1px solid #FAF6F6;
    background-image: url(../images/footer-menu__arrow--hover.svg);
    transition: all 0.3s ease;
  }
}
@media screen and (max-width: 1090px) {
  .footer-menu__item--sub {
    width: 32.2772277228%;
  }
}
.footer-menu__link--sub {
  display: block;
}

/* breadcrumb */
.breadcrumb__wrap {
  width: 100%;
  margin-top: 32px;
}
@media screen and (max-width: 767px) {
  .breadcrumb__wrap {
    margin-top: 24px;
  }
}

.breadcrumb {
  width: 100%;
  padding: 0 32px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
}
@media screen and (max-width: 767px) {
  .breadcrumb {
    justify-content: flex-start;
    padding: 0 24px;
  }
}
.breadcrumb__list {
  display: flex;
  gap: 8px;
}
@media screen and (max-width: 767px) {
  .breadcrumb__list {
    flex-wrap: wrap;
  }
}
.breadcrumb__item {
  color: #8E2921;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 0.6875rem;
  position: relative;
}
@media screen and (max-width: 767px) {
  .breadcrumb__item {
    line-height: 1;
  }
}
.breadcrumb__item--active {
  color: #8E2921;
}
.breadcrumb__item:not(:last-child) {
  padding-right: 17px;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 767px) {
  .breadcrumb__item:not(:last-child) {
    padding-right: 15px;
  }
}
.breadcrumb__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 9px;
  background-image: url(../images/breadcrumb_arrow.svg);
  background-repeat: no-repeat;
  background-size: contain;
}
@media (hover: hover) {
  .breadcrumb__link:hover {
    color: #8E2921;
    transition: color 0.3s ease;
  }
}

/* page title */
.page-title--en {
  color: #C69490;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1;
  text-transform: uppercase;
}
@media screen and (max-width: 767px) {
  .page-title--en {
    font-size: 1rem;
  }
}
.page-title--jp {
  color: #8E2921;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  margin-top: 5px;
}
@media screen and (max-width: 767px) {
  .page-title--jp {
    font-size: 2rem;
  }
}
.page-title__description {
  color: #311C1C;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75;
  margin-top: 24px;
}
@media screen and (max-width: 767px) {
  .page-title__description {
    font-size: 0.875rem;
    line-height: 1.5714285714;
  }
}

/* chatbot button */
.sub {
  position: relative;
}

#chatbot-btn--sub {
  position: fixed;
  right: 32px;
  bottom: 32px;
  width: 80px;
  height: 80px;
}
@media screen and (max-width: 767px) {
  #chatbot-btn--sub {
    width: 60px;
    height: 60px;
  }
}

/* CategoryList */
/* ============================================ */
/* layout */
#category-list .content-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.main--category-list {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.category-list__container {
  width: 100%;
  margin: 64px auto 40px;
  padding: 0 120px 0;
}
@media screen and (max-width: 1090px) {
  .category-list__container {
    width: 100%;
    margin: 50px auto 32px;
    padding: 0 80px;
  }
}
@media screen and (max-width: 767px) {
  .category-list__container {
    margin: 50px auto 32px;
    padding: 0 24px;
  }
}
.category-list__header {
  display: flex;
  gap: 16px;
  height: 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.category-list__header .page-sub-title {
  font-size: 14px;
  line-height: 14px;
  color: #8E2921;
  font-weight: 500;
}
@media screen and (max-width: 767px) {
  .category-list__header .page-sub-title {
    font-size: 13px;
    line-height: 13px;
  }
}
.category-list__header .page-title {
  display: flex;
  gap: 6px;
  flex-direction: column;
}
.category-list__header .page-title--jp {
  font-size: 40px;
  margin: 0;
}
@media screen and (max-width: 767px) {
  .category-list__header .page-title--jp {
    font-size: 32px;
  }
}
@media screen and (max-width: 375px) {
  .category-list__header .page-title--jp {
    font-size: 24px;
  }
}
.category-list__sub-container {
  background: #F4EAE9;
  width: 100%;
  padding: 80px 120px 144px;
  flex: 1;
}
@media screen and (max-width: 1090px) {
  .category-list__sub-container {
    width: 100%;
    padding: 80px 80px 144px;
  }
}
@media screen and (max-width: 767px) {
  .category-list__sub-container {
    padding: 40px 24px 108px;
  }
}
.category-list__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(288px, 1fr));
  row-gap: 80px;
  -moz-column-gap: 40px;
       column-gap: 40px;
}
@media screen and (max-width: 767px) {
  .category-list__grid {
    grid-template-columns: 1fr;
    row-gap: 48px;
  }
}
.category-list__group {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
}
.category-list__title {
  font-size: 20px;
  line-height: 20px;
  color: #8E2921;
  font-weight: 700;
}
@media screen and (max-width: 767px) {
  .category-list__title {
    font-size: 18px;
  }
}
.category-list__card {
  flex: 1;
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 16px;
  box-shadow: 2px 2px 6px 0px rgba(49, 28, 28, 0.1);
  transition: transform 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}
.category-list__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.category-list__item {
  color: #0765b8;
  font-size: 16px;
  line-height: 28px;
  font-weight: 500;
  padding-right: 8px;
  margin-left: 1em;
  text-indent: -1em;
}
@media screen and (max-width: 767px) {
  .category-list__item {
    font-size: 14px;
  }
}
.category-list__item::before {
  content: "・";
  color: #311C1C;
  font-size: 16px;
}
.category-list__link {
  text-decoration: none;
  color: inherit;
}
.category-list__link:hover {
  text-decoration: underline;
}
.category-list__link:hover span {
  text-decoration: none;
}
.category-list__date {
  font-size: 12px;
  color: #988D8D;
  text-decoration: none;
}
.category-list__date:hover {
  text-decoration: none;
}
.category-list__btn {
  display: block;
  color: #FAF6F6;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 14px;
  background-color: #8E2921;
  background-image: url(../images/confirm_arrow.svg);
  background-repeat: no-repeat;
  background-size: 7px auto;
  background-position: right 16px center;
  border-radius: 20px;
  text-align: center;
  padding: 8px 24px;
  height: 32px;
}
@media (hover: hover) {
  .category-list__btn:hover {
    color: #8E2921;
    background-color: transparent;
    border: 1px solid #8E2921;
    background-image: url(../images/confirm_arrow--hover.svg);
    transition: all 0.3s ease;
  }
}

/* SubCategory */
/* ============================================ */
/* layout */
.main--sub-category-list {
  background: #F4EAE9;
  margin: 64px auto 0;
  padding: 0 160px;
  width: 100%;
  flex: 1;
}
@media screen and (max-width: 1090px) {
  .main--sub-category-list {
    padding: 0;
  }
}

.sub-category-list__container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 0 144px;
}
@media screen and (max-width: 1090px) {
  .sub-category-list__container {
    padding: 64px 80px 144px;
  }
}
@media screen and (max-width: 767px) {
  .sub-category-list__container {
    padding: 40px 24px 108px;
  }
}
.sub-category-list__container .page-title--jp {
  font-size: 32px;
  line-height: 32px;
  font-weight: 700;
}
@media screen and (max-width: 767px) {
  .sub-category-list__container .page-title--jp {
    font-size: 24px;
  }
}
.sub-category-list__content {
  margin-top: 32px;
  background-color: #FAF6F6;
  border-radius: 16px;
  padding: 24px 16px 32px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 1090px) {
  .sub-category-list__content {
    width: 100%;
    margin-top: 16px;
    padding: 24px 16px 40px;
  }
}
.sub-category-list__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sub-category-list__item {
  color: #0765b8;
  font-size: 16px;
  line-height: 28px;
  font-weight: 500;
  padding-left: 8px;
  padding-right: 8px;
  margin-left: 1em;
  text-indent: -1em;
}
@media screen and (max-width: 767px) {
  .sub-category-list__item {
    font-size: 14px;
    padding-left: 8px;
  }
}
.sub-category-list__item::before {
  content: "・";
  color: #311C1C;
  font-size: 16px;
}
.sub-category-list__link {
  text-decoration: none;
  color: inherit;
}
.sub-category-list__link:hover {
  text-decoration: underline;
}
.sub-category-list__link:hover span {
  text-decoration: none;
}
.sub-category-list__date {
  font-size: 12px;
  color: #988D8D;
  text-decoration: none;
}
.sub-category-list__date:hover {
  text-decoration: none;
}
.sub-category-list__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  /* 「...」のデザイン */
}
.sub-category-list__pagination-list {
  display: flex;
  align-items: center;
  list-style: none;
  font-weight: 500;
}
.sub-category-list__pagination-item {
  margin: 0 4px;
}
.sub-category-list__pagination-item--active .sub-category-list__pagination-link {
  color: #8E2921;
  font-weight: 700;
}
.sub-category-list__pagination-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  color: #D2A9A6;
  text-decoration: none;
}
.sub-category-list__pagination-link:hover {
  color: #8E2921;
}
.sub-category-list__pagination-item.dots {
  pointer-events: none;
  color: #D2A9A6;
}
.sub-category-list__pagination ul {
  display: flex;
  align-items: center;
  list-style: none;
  font-weight: 500;
  padding-top: 24px;
  padding-bottom: 8px;
}

.prev.page-numbers,
.next.page-numbers,
.page-numbers.dots {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  color: #D2A9A6;
  text-decoration: none;
}
.prev.page-numbers:hover,
.next.page-numbers:hover,
.page-numbers.dots:hover {
  color: #8E2921;
}

.page-numbers.current div {
  color: #8E2921;
}
