:root {
  --color-site-background: #FAF4E2;
  --color-site-primary: #000;
  --color-site-secondary: #635835;
  --color-site-tertiary: #7B745F;
  --color-site-quinary: #3A6059;
  --color-site-quaternary: #3B6059;
  --color-site-senary: #103931;
  --color-site-septenary: #3A605D;
  --color-link-default: #8E0000;
  --color-link-hover: #8E0000;
  --color-link-active: #8E0000;
  --color-link-visited: #8E0000;
  --color-site-new: #8E0000;
  --color-link-pager: #FDAEBC;
  --color-txt-selection: #7B745F;
  --color-recommend-new: #FFD6CF;
  --color-recommend-kids: #ffe56f;
  --color-recommend-popular: #96f0e9;
}

::selection {
  background-color: var(--color-txt-selection);
}

.top-wrapper {
  position: relative;
  z-index: 3;
  overflow-x: clip;
  container-type: inline-size;
  container-name: topWrapper;
}
.top-wrapper .top-mv {
  display: grid;
  grid-template-rows: repeat(3, 164px);
  row-gap: 16px;
  width: 89.333svw;
  margin: 0 auto 80px;
  padding-top: 80px;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-mv {
    grid-template-rows: auto;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    width: 100%;
    padding-top: 0;
    padding-right: 20px;
    margin-bottom: clamp(50px, 5.2083333333vw, 100px);
  }
}
.top-wrapper .top-mv__item {
  position: relative;
  padding-top: 46px;
  transition: height 0.7s ease-out, padding 0.7s ease-out;
}
@media only screen and (width <= 1024px) {
  .top-wrapper .top-mv__item {
    height: 164px;
  }
  .top-wrapper .top-mv__item.is_open {
    z-index: 5;
    height: 560px;
    padding-top: 0;
    transition: padding 0.7s ease-out, height 0.7s ease-out;
  }
  .top-wrapper .top-mv__item.is_open .top-mv__inner {
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.16);
  }
  .top-wrapper .top-mv__item.is_open .top-mv__category {
    left: 50%;
    translate: -50% 0;
    transition: all 0.7s ease-out;
  }
  .top-wrapper .top-mv__item.is_open .top-mv__lead {
    right: -100%;
    opacity: 0;
    transition: right 0.7s ease-out, opacity 0.6s ease-out;
  }
  .top-wrapper .top-mv__item.is_open .top-mv__open {
    left: -80px;
    transition: left 0.7s ease-out;
  }
  .top-wrapper .top-mv__item.is_open .top-mv__close {
    top: 0;
    transition: top 0.7s ease-out;
  }
  .top-wrapper .top-mv__item.is_open .top-snav {
    opacity: 1;
    top: 0;
    transition: top 0.8s ease-out, opacity 0.9s ease-out;
  }
  .top-wrapper .top-mv__item.is_open .top-mv__img {
    opacity: 0;
    transition: opacity 0.7s ease-out;
  }
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-mv__item {
    height: clamp(816px, 51.6666666667vw, 992px);
    padding-top: clamp(130px, 7.2916666667vw, 140px);
    padding-bottom: clamp(69px, 3.8541666667vw, 74px);
    transition: padding 0.7s ease-out;
    cursor: pointer;
  }
  .top-wrapper .top-mv__item:hover {
    padding-top: 0;
    padding-bottom: 0;
    transition: padding 0.7s ease-out;
  }
  .top-wrapper .top-mv__item:hover .top-mv__inner {
    border-radius: 100px;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.16);
    transition: border-radius 0.7s ease-out;
  }
  .top-wrapper .top-mv__item:hover .top-mv__category {
    scale: 0.8;
    transition: scale 0.6s ease-out;
  }
  .top-wrapper .top-mv__item:hover .top-mv__lead {
    top: 80%;
    opacity: 0;
    transition: top 0.7s, opacity 0.6s ease-out;
  }
  .top-wrapper .top-mv__item:hover .top-snav {
    opacity: 1;
    top: 0;
    transition: top 0.7s ease-out, opacity 0.9s ease-out;
  }
  .top-wrapper .top-mv__item:hover .top-mv__img {
    opacity: 0;
    transition: opacity 0.7s ease-out;
  }
}
.top-wrapper .top-mv__item:nth-child(1) .top-mv__inner {
  background-image: url(../images/top/img_mv01_bg.png);
  background-position: center top;
}
.top-wrapper .top-mv__item:nth-child(2) .top-mv__inner {
  background-image: url(../images/top/img_mv02_bg.png);
  background-position: center top;
}
.top-wrapper .top-mv__item:nth-child(3) .top-mv__inner {
  background-image: url(../images/top/img_mv03_bg.png);
  background-position: center top;
}
.top-wrapper .top-mv__category {
  font-family: "Hina Mincho", serif;
  position: absolute;
  z-index: 3;
  font-size: 44px;
  line-height: 1.45;
}
@media only screen and (width <= 1024px) {
  .top-wrapper .top-mv__category {
    top: 10px;
    left: 0;
    translate: 0 0;
    white-space: nowrap;
    -webkit-text-stroke: 4px #F8F3E1;
    text-stroke: 4px #F8F3E1;
    paint-order: stroke;
    transition: all 0.7s ease-out;
  }
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-mv__category {
    display: grid;
    row-gap: 36px;
    top: 44px;
    left: 50%;
    translate: -50% 0;
    font-size: clamp(80px, 5.1041666667vw, 98px);
    font-weight: 400;
    writing-mode: vertical-rl;
    scale: 1;
    transition: scale 0.3s ease-out;
  }
  .top-wrapper .top-mv__category::before {
    position: absolute;
    top: 2px;
    left: 50%;
    translate: -50% 0;
    rotate: 8deg;
    content: "";
    width: 3px;
    height: 150px;
    background-color: var(--color-site-primary);
  }
}
.top-wrapper .top-mv__lead {
  font-family: "Hina Mincho", serif;
  position: absolute;
  z-index: 3;
  top: 85px;
  right: 5px;
  display: grid;
  row-gap: 6px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  opacity: 1;
  transition: right 0.7s ease-out;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-mv__lead {
    top: min(33.3333333333vw, 640px);
    right: 50%;
    translate: 50% 0;
    writing-mode: vertical-rl;
    font-size: clamp(24px, 1.6666666667vw, 32px);
    line-height: 1;
    transition: top 0.7s ease-out;
  }
}
.top-wrapper .top-mv__lead__inner {
  width: fit-content;
  height: fit-content;
  background-color: #fff;
  padding: 2px 3px;
  white-space: nowrap;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-mv__lead__inner {
    padding: 12px 7px;
  }
}
.top-wrapper .top-mv__inner {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
  padding-bottom: 22px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: border-radius 0.2s;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-mv__inner {
    padding-bottom: 45px;
  }
}
.top-wrapper .top-mv__img {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.7s ease-out;
}
.top-wrapper .top-mv__open {
  position: absolute;
  z-index: 2;
  top: 120px;
  left: 10px;
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  padding: 0;
  margin: 0;
  color: #3b6059;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  background-color: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.4118);
  transition: all 0.7s ease-out;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-mv__open {
    display: none;
  }
}
.top-wrapper .top-mv__close {
  position: relative;
  z-index: 2;
  top: 100%;
  width: 260px;
  height: 35px;
  color: #4c5856;
  font-size: 15px;
  font-weight: 600;
  background-color: transparent;
  border: 1px solid var(--color-site-primary);
  border-radius: 50px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.16);
  transition: top 0.7s ease-out;
}
.top-wrapper .top-mv__close::before, .top-wrapper .top-mv__close::after {
  position: absolute;
  top: 50%;
  left: 20px;
  translate: 0 -50%;
  content: "";
  width: 10px;
  height: 2px;
  background-color: var(--color-site-primary);
  pointer-events: none;
}
.top-wrapper .top-mv__close::before {
  rotate: 45deg;
}
.top-wrapper .top-mv__close::after {
  rotate: -45deg;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-mv__close {
    display: none;
  }
}
.top-wrapper .top-snav {
  position: relative;
  top: calc(100% + 300px);
  z-index: 3;
  display: grid;
  row-gap: 10px;
  width: 260px;
  margin-bottom: 8px;
  opacity: 0;
  transition: top 0.7s ease-out, opacity 0.5s ease-out;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-snav {
    top: 100%;
    width: clamp(220px, 88%, 296px);
    margin-bottom: 0;
  }
}
.top-wrapper .top-snav__item {
  padding: 0 10px 0 20px;
  background-color: rgba(255, 255, 255, 0.78);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1607843137);
  border-radius: 50px;
}
.top-wrapper .top-snav__item:has(.top-snav--sub) {
  border-radius: 22px;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-snav__item {
    padding: 0 0.5208333333vw 0 1.0416666667vw;
  }
}
.top-wrapper .top-snav__link {
  display: block;
  position: relative;
  text-align: center;
  color: #4C5856;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  padding: 6px 23px;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-snav__link {
    padding: 8px clamp(10px, 1.1979166667vw, 23px);
    font-size: clamp(16px, 0.9375vw, 18px);
  }
  .top-wrapper .top-snav__link--small {
    font-size: clamp(15px, 0.8854166667vw, 17px);
  }
}
.top-wrapper .top-snav__link::before {
  position: absolute;
  left: 0;
  top: 50%;
  translate: 0 -50%;
  content: "";
  width: 9px;
  height: 9px;
  background-color: #8E8A5B;
  border-radius: 50%;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-snav__link::before {
    width: 10px;
    height: 10px;
  }
}
.top-wrapper .top-snav--sub {
  padding: 10px 0 5px;
  border-top: 1px solid #949494;
}
.top-wrapper .top-snav--sub__link {
  display: block;
  padding: 5px 0;
  text-align: center;
  color: #4c5856;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-snav--sub__link {
    font-size: 16px;
    line-height: 1.5;
  }
}
.top-wrapper .top-news {
  margin: 0 auto 95px;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-news {
    margin-left: 50px;
    margin-bottom: 180px;
    border-radius: 25px 0 0 25px;
    background-color: rgba(255, 255, 255, 0.5508);
  }
}
.top-wrapper .top-news__primary {
  padding: 0 20px 0 35px;
  display: grid;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-news__primary {
    grid-template-columns: 1fr auto;
    padding: 90px 0 54px 6.361%;
  }
}
.top-wrapper .top-news__title {
  font-family: "Hina Mincho", serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.928;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-news__title {
    grid-column: 1/2;
    grid-row: 1/2;
    font-size: 42px;
    line-height: 1.28;
  }
}
.top-wrapper .top-news__body {
  margin: 12px auto 19px;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-news__body {
    margin: 55px 0 0;
  }
}
.top-wrapper .top-news__toindex {
  text-align: right;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-news__toindex {
    grid-column: 2/3;
    grid-row: 1/2;
    margin-right: 50px;
    align-self: center;
  }
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-news__body {
    grid-column: 1/3;
    grid-row: 2/3;
  }
}
.top-wrapper .top-news__secondary {
  position: relative;
  margin: 35px 0 0 42px;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-news__secondary {
    margin: 65px 0 0 6.361%;
    padding: 0 0 100px;
  }
}
.top-wrapper .top-column {
  position: relative;
  display: grid;
  grid-template-columns: 59.46svw 1fr;
  column-gap: 12.533svw;
  margin: 0 auto 45px;
  padding: 0 20px max(188px, 50.1333333333vw);
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-column {
    grid-template-columns: 61.768% 1fr;
    column-gap: min(15.625vw, 300px);
    margin-bottom: 110px;
    padding: 0 0 142px 50px;
  }
}
.top-wrapper .top-column::before {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  content: "";
  background: url(../images/top/bg_column.png) no-repeat left -9px bottom 0;
  background-size: max(536px, 142.9333333333vw) max(357px, 95.2vw);
  opacity: 0.7;
  pointer-events: none;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-column::before {
    background-position: right -200px bottom 0;
    background-size: max(993px, 51.71875vw) max(662px, 34.4791666667vw);
  }
}
.top-wrapper .top-column__head {
  position: relative;
  z-index: 2;
  grid-column: 2/3;
  grid-row: 1/2;
}
.top-wrapper .top-column__title {
  display: grid;
  grid-template-columns: auto 1fr;
  place-items: center start;
  gap: 12px;
  height: fit-content;
  writing-mode: vertical-rl;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-column__title {
    row-gap: 23px;
  }
}
.top-wrapper .top-column__title__sub {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.125;
  letter-spacing: 0.125em;
  grid-column: 1/2;
  grid-row: 1/2;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-column__title__sub {
    font-size: 18px;
    text-shadow: 0px 0px 6px #FAF4E2, 0px 0px 4px #FAF4E2, 0px 0px 8px #FAF4E2;
  }
}
.top-wrapper .top-column__title__main {
  font-family: "Hina Mincho", serif;
  grid-column: 1/3;
  grid-row: 2/3;
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-column__title__main {
    font-size: 46px;
    letter-spacing: 0.108em;
    text-shadow: 0px 0px 6px #FAF4E2, 0px 0px 4px #FAF4E2, 0px 0px 4px #FAF4E2;
  }
}
.top-wrapper .top-column__title::after {
  grid-column: 2/3;
  grid-row: 1/2;
  content: "";
  width: 1px;
  height: 100%;
  background-color: var(--color-site-primary);
}
.top-wrapper .top-column__body {
  position: relative;
  z-index: 2;
  grid-column: 1/2;
  grid-row: 1/2;
  display: grid;
  row-gap: 15px;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-column__body {
    row-gap: 70px;
    align-self: baseline;
  }
}
.top-wrapper .top-column__item {
  display: grid;
  row-gap: 8px;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-column__item {
    grid-template-columns: max(320px, 36.56%) 1fr;
    column-gap: 4.737%;
  }
}
.top-wrapper .top-column__thumbnail {
  overflow: hidden;
  border-radius: 5px;
}
.top-wrapper .top-column__label {
  display: flex;
  align-items: center;
  column-gap: 6px;
  margin-bottom: 7px;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-column__label {
    column-gap: 16px;
    margin-bottom: 19px;
  }
}
.top-wrapper .top-column__category, .top-wrapper .top-column__new {
  width: fit-content;
  padding: 6px 10px 5px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  border-radius: 5px;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-column__category, .top-wrapper .top-column__new {
    padding: 9px 15px 8px;
    font-size: 16px;
  }
}
.top-wrapper .top-column__category {
  background-color: var(--color-site-primary);
}
.top-wrapper .top-column__new {
  background-color: var(--color-site-new);
}
.top-wrapper .top-column__hd {
  font-family: "Shippori Mincho", serif;
  color: var(--color-site-quaternary);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.47;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-column__hd {
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 1.59;
  }
}
.top-wrapper .top-column__time {
  color: #6e6e6e;
  font-size: 14px;
  font-weight: 400;
  line-height: 2.9;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-column__time {
    font-size: 15px;
  }
}
.top-wrapper .top-column__toindex {
  position: relative;
  display: block;
  padding: 16px;
  text-align: center;
  color: #7B745E;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.285;
  background-color: rgba(255, 255, 255, 0.2431);
  border: 1px solid #707070;
  border-radius: 50px;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-column__toindex {
    padding: 21px;
    color: var(--color-site-quaternary);
    font-size: 18px;
  }
  .top-wrapper .top-column__toindex:hover .top-column__icon {
    background-color: var(--color-site-quaternary);
  }
}
.top-wrapper .top-column__icon {
  display: grid;
  place-items: center;
  position: absolute;
  top: 50%;
  right: 15px;
  translate: 0 -50%;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background-color: #7b745e;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-column__icon {
    right: 20px;
    width: 34px;
    height: 34px;
  }
}
.top-wrapper .top-column__icon::before {
  content: "";
  width: 13px;
  height: 11px;
  background: url(../images/common/icon_arrow.svg) no-repeat left top;
  background-size: 100%;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-column__icon::before {
    width: 17px;
    height: 14px;
  }
}
.top-wrapper .top-recruit {
  display: grid;
  gap: 20px 7.398cqw;
  padding: 0 20px;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-recruit {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 50px;
  }
}
.top-wrapper .top-recruit__thumbnail {
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 5px;
}
.top-wrapper .top-recruit__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-wrapper .top-recruit__title {
  font-family: "Hina Mincho", serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.666;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-recruit__title {
    font-size: 24px;
  }
}
.top-wrapper .top-recruit__link {
  font-family: "Shippori Mincho", serif;
  display: inline flex;
  align-items: center;
  justify-content: end;
  column-gap: 6px;
  position: relative;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-recruit__link {
    font-size: 18px;
  }
  .top-wrapper .top-recruit__link:hover .top-recruit__icon {
    background-color: var(--color-site-quaternary);
  }
}
.top-wrapper .top-recruit__icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #7B745E;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-recruit__icon {
    width: 24px;
    height: 24px;
  }
}
.top-wrapper .top-recruit__icon::before {
  content: "";
  width: 9px;
  height: 7px;
  background: url(../images/common/icon_arrow.svg) no-repeat left top;
  background-size: 100%;
}
@media print, screen and (width > 1024px) {
  .top-wrapper .top-recruit__icon::before {
    width: 12px;
    height: 10px;
  }
}
