:root {
  --header-padding-block: 15px;
}

/* font */
@font-face {
	font-family: 'Eulyoo1945';
	font-weight: 400;
	font-display: auto;
	src: local('Eulyoo1945-Regular'), url('../font/Eulyoo1945-Regular.woff2') format('woff2'), url('../font/Eulyoo1945-Regular.woff') format('woff');
}

@font-face {
	font-family: 'Eulyoo1945';
	font-weight: 600;
	font-display: auto;
  src: local('Eulyoo1945-SemiBold'), url('../font/Eulyoo1945-SemiBold.woff2') format('woff2'), url('../font/Eulyoo1945-SemiBold.woff') format('woff');
}

html, body {
  scrollbar-gutter: stable;
  font-family: 'Eulyoo1945', sans-serif;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.5px;
}

body {
  background-image: url(../images/bg.jpg);
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: center top;
}

p, b, span, h1, h2, h3, h4, h5, h6, a {
  transform : rotate(0.03deg)
}

p {
  letter-spacing: -0.7px;
}

.title-img {
  max-width: 60%;
}

@media screen and (max-width: 1024px) {
  html, body {
    font-size: 16px;
  }
}

/* component */
.tag-frame {
  --tag-font-size: 18px;

  position: relative;
  margin-bottom: var(--tag-font-size);
}

.tag-frame img {
  margin: 0;
}

.tag-frame .half-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translateY(var(--tag-font-size));
}

.viewmore {
  display: block;
  margin-bottom: 30px;
  position: relative;
  transition: transform .35s;
  z-index: 2;
}

.viewmore:hover {
  transform: translateX(10px);
}

.half-tag {
  width: fit-content;
  padding: 10px 30px;
  display: block;
  align-content: center;
  border-radius: 0 20vw 20vw 0;
  font-size: var(--tag-font-size);
  font-weight: 600;
  text-align: center;
  background-color: #222;
  color: #fff;
}

/* header */
header {
  width: 100%;
  position: sticky;
  top: 0;
  left: 0;
  transition: transform .25s, opacity .25s;
  font-size: 18px;
  background-image: url(../images/bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 100;
}

header.on {
  transform: translateY(-60px);
}

header .logo_box {
  width: fit-content;
}

header [alt="logo"] {
  max-width: 180px;
}

header * {
  transition: transform .25s, opacity .25s;
}

header .old_link {
  padding-block: var(--header-padding-block);
  border-bottom: 4px solid var(--text-base);
  text-align: right;
}

header .old_link .outer-wrap {
  display: flex;
  justify-content: end;
  gap: 30px;
}

header .old_link .outer-wrap a:hover {
  font-weight: 600;
}

header .sub_old_link .outer-wrap {
  display: none;
  justify-content: end;
  gap: 20px 60px;
  padding-block: 10px;
  border-bottom: 2px solid var(--text-base);
}

header .main_area {
  font-size: 20px;
  border-bottom: 1px solid var(--text-base);
}

header .main_area .outer-wrap {
  padding-block: calc(var(--header-padding-block) * 1.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .main_menu {
  border-bottom: 1px solid var(--text-base);
}

header .main_menu .nav_list {
  width: 100%;
  font-weight: 600;
  justify-content: space-between;
  display: flex;
  align-items: center;
}

header .main_menu .nav_list li {
  width: 100%;
  padding: var(--header-padding-block) 10px;
  border-bottom: 2px solid transparent;
  text-align: center;
}

header .main_menu .nav_list li:hover {
  border-color: var(--text-base);
}

header [class^="mo_"] {
  display: none;
}

@media screen and (max-width: 1280px) {
  header {
    font-size: 16px;
  }

  header.on {
    transform: translateZ(0);
  }

  header .main_area {
    font-size: 16px;
  }

  header [alt="logo"] {
    max-width: 140px;
  }

  header .logo_box {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  header .main_menu,
  header .old_link,
  header .comment,
  header .vol {
    display: none;
  }

  header .main_area .outer-wrap {
    padding-block: 0;
    padding-right: 0;
    justify-content: flex-start;
  }

  header [class^="mo_"] {
    display: flex;
  }

  header .mo_vol {
    flex-direction: column;
    line-height: 1.3;
  }

  header .mo_btn {
    width: 80px;
    min-width: 80px;
    height: 80px;
    justify-content: center;
    justify-self: end;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    /* background-color: var(--text-base);
    color: #fff; */
  }

  header .mo_btn .open {
    display: block;
  }

  header .mo_btn .close {
    display: none;
  }

  body:has(.gnb.on) header .mo_btn .open {
    display: none;
  }

  body:has(.gnb.on) header .mo_btn .close {
    display: block;
  }

  header .sub_old_link .outer-wrap {
    display: flex;
  }
}

@media screen and (max-width: 475px) {
  header .mo_vol {
    font-size: 14px;
  }

  header .logo_box {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  header [alt="logo"] {
    max-width: 120px;
  }

  header .mo_btn {
    min-width: auto;
    height: 100px;
  }

  header .sub_old_link .outer-wrap {
    justify-content: space-around;
    gap: 10px 30px;
  }
}

.gnb {
  width: 100%;
  height: 100vh;
  transition: opacity .35s;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  pointer-events: none;
}

.gnb.on {
  opacity: 1;
  pointer-events: all;
}

body:has(.gnb.on) {
  overflow: hidden;
}

.gnb .sub_menu {
  width: 100%;
  padding: 30px 0;
  position: relative;
  top: 0;
  background-image: url(../images/bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.gnb .sub_menu .left {
  position: absolute;
  bottom: 30px;
  left: var(--outer-gap);
}

.gnb .sub_menu .right {
  position: absolute;
  bottom: 30px;
  right: var(--outer-gap);
}

.gnb .sub_menu ul {
  width: 100%;
  display: grid;
  /* grid-template-columns: repeat(4, 1fr); */
  grid-template-columns: repeat(3, 1fr);
}

.gnb .sub_menu ul .mo {
  display: none;
}

.gnb .sub_menu ul li > div {
  padding: var(--header-padding-block) 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.gnb .sub_menu ul li a {
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.gnb .sub_menu ul li a::before {
  content: "";
  width: 0;
  height: 0.7em;
  display: block;
  position: absolute;
  bottom: 2px;
  left: 0;
  transition: width .25s;
  background-color: var(--neon-yellow);
  z-index: -1;
}

@media screen and (min-width: 1280px) {
  .gnb .sub_menu ul li a:hover::before {
    width: 100%;
  }
}

@media screen and (max-width: 1280px) {
  .gnb {
    padding-right: 0;
    overflow-y: auto;
  }

  .gnb .sub_menu {
    min-height: 100%;
  }

  .gnb .sub_menu .right {
    bottom: 20px;
    transform: none;
  }

  .gnb .sub_menu img {
    opacity: 1;
  }

  .gnb .sub_menu ul {
    grid-template-columns: 1fr;
  }

  .gnb .sub_menu .pc {
    display: none;
  }

  .gnb .sub_menu ul .mo {
    display: block;
  }

  .gnb .sub_menu ul .mo.center {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--text-base);
    font-size: 17px;
  }

  .gnb .sub_menu ul .mo.center .line {
    width: 1px;
    height: 100%;
    padding: 0;
    margin-inline: 40px;
    background-color: #8e8f8e;
  }

  .gnb .sub_menu ul li {
    display: flex;
    font-size: 22px;
    border-bottom: 1px solid #aaa;
    color: #000;
  }

  .gnb .sub_menu ul li:nth-last-of-type(2),
  .gnb .sub_menu ul li:last-of-type {
    border-bottom: none;
  }

  .gnb .sub_menu ul li:last-of-type img {
    max-width: 90%;
    margin-inline: auto;
    margin-bottom: 30px;
  }

  .gnb .sub_menu ul li:not(.center) {
    padding-block: 40px;
  }

  .gnb .sub_menu ul li > div {
    padding-block: 10px;
    padding-right: var(--outer-gap);
    align-items: flex-end;
    text-align: right;
  }

  .gnb .sub_menu ul li:hover a::before {
    display: none;
  }

  .gnb .sub_menu ul h5 {
    padding-left: var(--outer-gap);
    font-size: 40px;
    color: #777;
    white-space: nowrap;
  }

  .gnb .sub_menu .inner-wrap {
    max-width: 1280px;
    padding-inline: 0;
    margin-inline: 0;
  }
}

@media screen and (max-width: 475px) {
  ::-webkit-scrollbar {
    display: none;
  }

  .gnb .sub_menu ul li:not(.center) {
    flex-direction: column;
    padding-block: 30px;
  }

  .gnb .sub_menu ul li > div {
    font-size: 17px;
  }

  .gnb .sub_menu ul h5 {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .gnb .sub_menu ul .mo.center {
    font-size: 17px;
  }
  .gnb .sub_menu ul .mo.center .line {
    margin-inline: 15px;
  }

  .gnb .sub_menu ul li:last-of-type {
    padding-top: 0;
  }

  .gnb .sub_menu ul li:last-of-type img {
    margin-bottom: 0;
  }
}

/* main */
/* visual section */
main .visual_section {
  border-bottom: 1px solid var(--text-base);
}

main .visual_section img {
  margin: 0;
}

main .visual_section .outer-wrap {
  display: flex;
  overflow: hidden;
}

main .visual_section article {
  flex: 1;
}

main .visual_section .main_visual {
  flex: 0.63;
  padding-block: 30px;
  border-right: 1px solid var(--text-base);

}

main .visual_section .main_visual .pd_side {
  padding-right: 30px;
}

main .visual_section .sub_visual {
  flex: 0.37;
  /* border-left: 1px solid transparent; */
}

main .visual_section .sub_visual ul {
  height: 100%;
  display: flex;
  align-items: stretch;
}

main .visual_section .sub_visual li {
  padding-block: 30px;
  border-right: 1px solid var(--text-base);
}

main .visual_section .sub_visual li:last-of-type {
  min-width: fit-content;
  border: none;
}

main .visual_section .main_visual .title {
  margin-top: 1.1em;
  margin-bottom: 10px;
  font-size: 40px;
  font-weight: 600;
}

main .visual_section .main_visual .cont {
  margin-bottom: 2em;
  font-size: 17px;
  word-break: keep-all;
  text-wrap: pretty;
}

main .visual_section .sub_visual .pd_wrap {
  padding-inline: var(--outer-gap);
}

main .visual_section .sub_visual li:last-of-type .pd_wrap {
  padding-right: 0;
}

main .visual_section .sub_visual .title {
  margin-top: 1.1em;
  font-size: 36px;
  font-weight: 600;
}

main .visual_section .sub_visual .subtitle {
  margin-bottom: 1em;
  font-size: 20px;
  font-weight: 600;
  word-break: keep-all;
}

main .visual_section .sub_visual .cont {
  margin-bottom: 2em;
  font-size: 17px;
  word-break: keep-all;
  text-wrap: pretty;
}

main .visual_section .sub_visual .notice {
  margin-top: 10px;
  margin-bottom: 50px;
}

main .visual_section .notice_pc {
  height: 670px;
}

main .visual_section .notice_mo {
  display: none;
}

@media screen and (max-width: 1280px) {
  main .visual_section .outer-wrap {
    flex-direction: column;
    padding-inline: 0;
  }

  /* main .visual_section .main_visual .tag-frame {
    padding-left: var(--outer-gap);
  } */

  /* main .visual_section .main_visual .tag-frame .half-tag {
    left: var(--outer-gap);
  } */

  main .visual_section .main_visual .title {
    font-size: 28px;
  }

  main .visual_section .main_visual .cont,
  main .visual_section .sub_visual .cont {
    font-size: 16px;
  }

  main .visual_section .sub_visual .title {
    font-size: 28px;
  }

  main .visual_section .sub_visual .subtitle {
    font-size: 18px;
  }

  main .visual_section .main_visual .outer-wrap > * {
    padding-inline: var(--outer-gap);
  }

  main .visual_section .main_visual {
    border-bottom: 1px solid var(--text-base);
    border-right: none;
  }

  main .visual_section .main_visual > *:not(.tag-frame) {
    padding-inline: var(--outer-gap);
  }

  main .visual_section .sub_visual li:last-of-type .pd_wrap {
    padding-right: 30px;
  }
}

@media screen and (max-width: 768px) {
  main .visual_section .sub_visual {
    order: 1;
    border-bottom: none;
  }

  main .visual_section .sub_visual ul {
    flex-direction: column;
  }

  main .visual_section .sub_visual li {
    border-right: none;
  }

  main .visual_section .sub_visual li:last-of-type {
    order: 0;
    min-width: auto;
    overflow: hidden;
  }

  main .visual_section .notice_pc {
    display: none;
  }
  
  main .visual_section .notice_mo {
    padding: 30px 0;
    display: block;
    overflow: visible;
    border-bottom: 1px solid var(--text-base);
  }

  main .visual_section .notice_mo img {
    width: 100%;
  }
}

@media screen and (max-width: 475px) {
  main .visual_section .sub_visual li:last-of-type .pd_wrap .flex.flex-col {
    flex-direction: column;
  }

  main .visual_section .sub_visual li:last-of-type .pd_wrap .flex.flex-col img {
    width: 100%;
  }
}

/* wish */
main .wish_section img {
  margin: 0;
}

main .wish_section article {
  border-bottom: 1px solid var(--text-base);
}

main .wish_section .outer-wrap {
  padding-inline: 0;
}

/* main .wish_section .outer-wrap ul {
  margin-left: 31px;
} */

main .wish_section .outer-wrap ul.title_line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

main .wish_section .outer-wrap ul.title_line li {
  padding-top: 100px;
  padding-inline: var(--outer-gap);
  border-right: 1px solid var(--text-base);
}

main .wish_section .outer-wrap ul.title_line li:last-of-type {
  border-right: none;
}

main .wish_section .outer-wrap ul.content_line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

main .wish_section .outer-wrap ul.content_line li {
  padding-top: 40px;
  padding-inline: var(--outer-gap);
  border-right: 1px solid var(--text-base);
  display: flex;
  flex-direction: column;
}

main .wish_section .outer-wrap ul.content_line li:last-of-type {
  border-right: none;
}

main .wish_section .stretch {
  margin-bottom: 30px;
  flex: 1;
  position: relative;
}

main .wish_section .title {
  margin-top: 30px;
  font-size: 22px;
  margin-bottom: 5px;
  word-break: keep-all;
}

main .wish_section .subtitle {
  font-size: 17px;
  word-break: keep-all;
}

@media screen and (max-width: 1280px) {
  main .wish_section article {
    border-bottom: 0;
  }

  main .wish_section .outer-wrap {
    padding-inline: 0;
  }

  main .wish_section .outer-wrap ul {
    margin-left: 0;
  }

  main .wish_section .title {
    font-size: 20px;
  }

  main .wish_section .subtitle {
    font-size: 16px;
  }

  main .wish_section .outer-wrap ul.title_line,
  main .wish_section .outer-wrap ul.content_line {
    grid-template-columns: 1fr 1fr;
  }

  main .wish_section .outer-wrap ul.title_line li {
    padding-top: 50px;
  }

  main .wish_section .outer-wrap ul.title_line li:nth-of-type(3),
  main .wish_section .outer-wrap ul.title_line li:nth-of-type(4) {
    display: none;
  }

  main .wish_section .outer-wrap ul.title_line li:nth-of-type(even),
  main .wish_section .outer-wrap ul.content_line li:nth-of-type(even) {
    border-right: none;
  }

  main .wish_section .outer-wrap ul.content_line li {
    border-bottom: 1px solid var(--text-base);
  }
}

@media screen and (max-width: 640px) {
  main .wish_section .outer-wrap ul.title_line,
  main .wish_section .outer-wrap ul.content_line {
    grid-template-columns: 1fr;
  }


  main .wish_section .outer-wrap ul.title_line li:nth-of-type(2) {
    display: none;
  }

  main .wish_section .outer-wrap ul.title_line li,
  main .wish_section .outer-wrap ul.content_line li {
    border-right: none;
  }
}


/* form */
main .form_section {
  border-bottom: 1px solid var(--text-base);
}

main .form_section img {
  margin: 0;
}

main .form_section .outer-wrap {
  display: flex;
}

main .form_section .outer-wrap article {
  padding-block: 100px;
  padding-inline: 30px;
  flex: 1;
}

main .form_section .outer-wrap article.label_wrap {
  /* padding-left: 60px; */
  padding-left: 0;
  display: flex;
}

main .form_section .outer-wrap article.label_wrap > * {
  flex: 1;
}

.label_list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.label_list [name="submit-radio"] {
  display: none;
}

.label_list label {
  display: flex;
  gap: 20px;
  transition: opacity .35s;
  opacity: 0.4;
  cursor: pointer;
}

.label_list [name="submit-radio"]:checked + label {
  opacity: 1;
}

.label_list label .ico img {
  width: auto;
  min-width: 34px;
}

.label_list label .txt {
  padding-top: 5px;
  display: flex;
  flex-direction: column;
}

.label_list label .txt b {
  margin-bottom: 10px;
  font-size: 20px;
}

.label_list label .txt * {
  word-break: keep-all;
}

main .form_section .outer-wrap article.form_wrap {
  padding-right: 0;
}

@media screen and (max-width: 1600px) {
  main .form_section .outer-wrap article.label_wrap {
    flex-direction: column;
    flex: 0.5;
  }

  main .form_section .outer-wrap article.label_wrap > * {
    flex: auto;
  }
}

@media screen and (max-width: 1280px) {
  main .form_section .outer-wrap {
    flex-direction: column;
  }

  main .form_section .outer-wrap article {
    padding: 50px 0;
  }

  main .form_section .outer-wrap article.label_wrap {
    padding-left: 0;
    padding-bottom: 0;
  }

  main .form_section .outer-wrap article.label_wrap img {
    margin-bottom: 50px;
  }

  .label_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .label_list label .txt b {
    font-size: 17px;
  }

  .label_list label .txt br {
    display: none;
  }
  
}

/* form layout */

form {
  --input-height: 50px;

  width: 100%;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

form textarea, input {
  padding-inline: 20px;
  border: none;
  font-size: 1rem;
}

form textarea::placeholder, input::placeholder {
  font-size: 1rem;
}

form textarea {
  width: 100%;
  padding-block: 20px;
  aspect-ratio: 4 / 1;
  resize: none;
}

form input[type="text"] {
  width: 100%;
  height: var(--input-height);
}

form .half {
  display: flex;
  gap: 10px;
}

form .btns {
  display: flex;
}

form .checks {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 10px;
}

form input[type="checkbox"] {
  width: 1em;
  height: 1em;
  padding-inline: 0;
  cursor: pointer;
  border: 1px solid var(--text-base);
}

form label {
  cursor: pointer;
  word-break: keep-all;
}

form .btn {
  min-width: fit-content;
  background-color: var(--text-base);
  color: #fff;
}

form .text {
  margin-bottom: 20px;
  padding: 20px;
  background-color: #fff;
}

form .text h5 {
  font-size: 20px;
  margin-bottom: 10px;
}

form .text p {
  margin-bottom: 15px;
  line-height: 1.5;
}

form .text p:last-of-type {
  margin-bottom: 0;
}

@media screen and (max-width: 1024px) {
  form .half {
    flex-direction: column;
  }

  .label_list {
    grid-template-columns: 1fr;
  }

  form .text h5 {
    font-size: 18px;
  }
}

@media screen and (max-width: 640px) {
  form .btns {
    flex-direction: column;
    gap: 30px;
  }

  form .btn {
    width: 100%;
  }
}

/* top btn */
.top_btn {
  position: fixed;
  bottom: -25px;
  left: calc(50% + 15px);
  transform: translateX(-50%);
  z-index: 98;
}

.top_btn .rotate {
  animation: rotate 5s linear infinite;
}

.top_btn .arrow {
  position: absolute;
  top: 0;
  left: 0;
}

@keyframes rotate {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 475px) {
  .top_btn {
    left: auto;
    right: 20px;
    bottom: 200px;
    transform: translateZ(0);
  }
}

/* footer */
footer {
  padding: 100px 0;
}

footer .outer-wrap {
  display: flex;
  gap: 60px;
}

footer article:not(.logo_wrap) {
  flex: 1;
}

footer article.logo_wrap {
  flex: 0.27;
  /* padding-left: 60px; */
}

footer article img {
  margin: 0;
}

footer p {
  max-width: 1000px;
  line-height: 1.4;
}

footer p {
  font-size: 16px;
}

footer span {
  white-space: nowrap;
}

footer p.small {
  margin-bottom: 10px;
}

footer p.large {
  margin-bottom: 30px;
}

@media screen and (max-width: 1280px) {
  footer {
    padding: 50px 0;
  }

  footer .outer-wrap {
    flex-direction: column;
    gap: 40px;
  }

  footer article.logo_wrap {
    padding-left: 0;
  }
}

/* sub page */

[data-page-type="sub"] main {
  min-height: 100vh;
}

[data-page-type="sub"] main p {
  text-align: justify;
}

/* [data-page-type="sub"] .sub_top {
  border-bottom: 1px solid var(--text-base);
} */

[data-page-type="sub"] .border {
  border: 1px solid var(--text-base);
}

[data-page-type="sub"] .sub_top .line {
  width: 100%;
  height: 1px;
  background-color: var(--text-base);
}

[data-page-type="sub"] .sub_top .title_box {
  display: flex;
  flex-direction: column;
}

[data-page-type="sub"] .sub_top .title {
  font-size: 48px;
  line-height: 1.3;
  display: inline-block;
}

[data-page-type="sub"] .sub_top .subtitle {
  font-size: 32px;
}

[data-page-type="sub"] .sub_top .intro p,
[data-page-type="sub"] .textbox p {
  font-size: 19px;
}

[data-page-type="sub"] .sub_top .intro .byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1em;
}

[data-page-type="sub"] .sub_top .intro .byline b {
  white-space: nowrap;
}

[data-page-type="sub"] .textbox .title {
  font-size: 32px;
  line-height: 1.4;
}

[data-page-type="sub"] .textbox .title .lg_text {
  font-size: 150%;
}

[data-page-type="sub"] .textbox .title * {
  word-break: keep-all;
}

[data-page-type="sub"] .placebox .section_tit {
  padding-block: 10px;
  border-bottom: 2px solid var(--text-base);
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
}

[data-page-type="sub"] .placebox .box_tit {
  padding-block: 40px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-bottom: 1px solid var(--text-base);
}

[data-page-type="sub"] .placebox .box_tit .title {
  font-size: 36px;
  line-height: 1.4;
}

[data-page-type="sub"] .placebox .box_tit p {
  text-align: right;
}

[data-page-type="sub"] .placebox ul {
  border-bottom: 1px solid var(--text-base);
}

[data-page-type="sub"] .placebox ul li {
  padding: 30px 15px;
  border-bottom: 1px solid var(--text-base);
}

[data-page-type="sub"] .placebox ul li h5 {
  font-size: 28px;
}

[data-page-type="sub"] .placebox ul li h5,
[data-page-type="sub"] .placebox ul li h5 * {
  word-break: keep-all;
}

[data-page-type="sub"] .placebox ul li:nth-of-type(odd) {
  border-right: 1px solid var(--text-base);
}

[data-page-type="sub"] .placebox ul li .location {
  padding-block: 10px;
  border-top: 1px solid var(--text-base);
  border-bottom: 1px solid var(--text-base);
  text-align: left;
}

@media screen and (max-width: 1200px) {
  [data-page-type="sub"] .placebox .box_tit {
    flex-direction: column;
    align-items: flex-start;
  }

  [data-page-type="sub"] .placebox .box_tit p {
    text-align: left;
  }
}

@media screen and (max-width: 1024px) {
  [data-page-type="sub"] .placebox ul li:nth-of-type(odd) {
    border-right: none;
  }

  [data-page-type="sub"] .sub_top .title {
    font-size: 36px;
  }

  [data-page-type="sub"] .sub_top .subtitle {
    font-size: 24px;
  }

  [data-page-type="sub"] .sub_top .inner-wrap > .flex {
    flex-direction: column-reverse;
  }

  [data-page-type="sub"] .sub_top .next {
    display: flex;
    justify-content: end;
    text-align: right;
  }

  [data-page-type="sub"] .sub_top .next img {
    margin-inline: 0;
    margin-bottom: 10px;
  }

  [data-page-type="sub"] .sub_top .intro p, [data-page-type="sub"] .textbox p {
    font-size: 17px;
  }

  [data-page-type="sub"] .textbox .title {
    font-size: 28px;
  }

  [data-page-type="sub"] .placebox .box_tit .title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  [data-page-type="sub"] .placebox ul li h5 {
    font-size: 28px;
  }
}

@media screen and (max-width: 475px) {
  [data-page-type="sub"] .sub_top .title {
    font-size: 28px;
  }

  [data-page-type="sub"] .sub_top .tag {
    margin-bottom: 0;
  }

  [data-page-type="sub"] .placebox .box_tit .title {
    font-size: 28px;
  }

  [data-page-type="sub"] .sub_top .subtitle {
    font-size: 20px;
  }

  [data-page-type="sub"] .placebox ul li h5 {
    font-size: 26px;
  }

  [data-page-type="sub"] .textbox .title {
    font-size: 22px;
  }

  [data-page-type="sub"] .placebox ul li {
    padding-inline: 0;
  }
}

[data-page-type="sub"] .oldlist .section_tit {
  padding-block: 10px;
  border-bottom: 2px solid var(--text-base);
}

[data-page-type="sub"] .oldlist ul {
  gap: 0 20px;
}

[data-page-type="sub"] .oldlist ul li {
  border-bottom: 1px solid var(--text-base);
  padding: 15px;
}

[data-page-type="sub"] .oldlist ul li a {
  display: block;
}

[data-page-type="sub"] .prevnext {
  padding-block: 30px;
  border-top: 1px solid var(--text-base);
}

[data-page-type="sub"] .prevnext > div {
  width: fit-content;
  display: flex;
  font-weight: 600;
}

[data-page-type="sub"] .prevnext .prev a,
[data-page-type="sub"] .prevnext .next a {
  align-items: end;
  font-size: 115%;
}

[data-page-type="sub"] .prevnext .current {
  justify-content: center;
  font-size: 150%;
}

[data-page-type="sub"] .prevnext .next {
  justify-content: end;
}

@media screen and (max-width: 1024px) {
  [data-page-type="sub"] .prevnext .prev a {
    flex-direction: column;
    align-items: start;
    gap: 10px 0;
  }

  [data-page-type="sub"] .prevnext .next a {
    flex-direction: column-reverse;
    gap: 10px 0;
  }

  [data-page-type="sub"] .prevnext .dot {
    width: 8px;
    height: 8px;
    background-color: var(--text-base);
    border-radius: 50%;
  }
}

[data-page-type="sub"] footer {
  border-top: 1px solid var(--text-base);
}

.comment-wrap {
  position: relative;
  z-index: 1;
}

.comment-wrap .inner-wrap {
  flex-direction: column;
  align-items: flex-start;
}

.comment-wrap h3 {
  color: var(--text-base);
}

.comment-wrap h3 i {
  margin-right: 5px;
  transform: rotateY(180deg);
}

.comment-wrap textarea {
  font-size: inherit;
  width: 100%;
  padding: 20px;
  margin-bottom: 1em;
  height: 180px;
  resize: none;
  border: none;
  outline: none;
  border-radius: 5px;
  line-height: 1.5;
}

.comment-wrap .nickname {
  width: 100%;
  padding: 15px 20px;
  outline: none;
  border: none;
  border-radius: 5px;
}

.comment-wrap button {
  align-self: center;
  outline: none;
  border: none;
  background-color: var(--text-base);
  color: #fff;
  cursor: pointer;
}

.comment-page {
  margin-bottom: 5em;
}

.comment-page .inner-wrap {
  padding-inline: 0;
}

.comment-page * {
  color: var(--text-base);
}

.comment-page .nickname {
  margin-bottom: 1em;
  font-weight: 900;
}

.comment-page .comment-cont {
  line-height: 1.5;
}

.comment-page ul li {
  padding: 20px 10px;
  border-bottom: 1px solid var(--text-base);
}

.comment-page ul li:first-of-type {
  border-top: 1px solid var(--text-base);
}

.comment-page .comment-paging {
  gap: 10px;
  margin: 1em 0 2em;
  flex-wrap: wrap;
  justify-content: center;
}

.comment-page .comment-paging a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  font-weight: 900;
  border: 1px solid var(--text-base);
}

.comment-page .comment-paging .page-center.active {
  background-color: var(--text-base);
  border-color: var(--text-base);
  color: #fff;
}

.comment-page .comment-paging :not(.page-center):hover {
  background-color: var(--text-base);
  color: #fff;
}

/* back */
.old-body * {
  color: var(--text-base);
  text-align: center;
}

.old-body .headers__left p {
  text-align: left;
}

.old-body .sub .content.content-top {
  padding-top: 100px;
  padding-bottom: 100px;
}

.old-body .sub .content .inner .old li .text p {
  padding-bottom: 20px;
}

.old {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
}

.old .font-h3 {
  color: var(--text-base);
}

.old li {
  width: 20%;
  box-sizing: border-box;
  margin-right: 6%;
  margin-bottom: 100px;
}

.old li:nth-of-type(4n) {
  margin-right: 0;
}

.old li .img {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #aaa;
  padding: 10px;
  margin-bottom: 20px;
}

.old li .img>img {
  display: block;
  width: 100%;
}

.old .link>a {
  display: block;
  border: 1px solid var(--text-base);
  border-radius: 5px;
  padding: 10px;
  box-sizing: border-box;
  max-width: 150px;
  margin: 0px auto;
  font-weight: bold;
  margin-bottom: 10px;
}

.old .link>a:hover {
  color: #fff;
  background-color: var(--text-base);
  transition: background-color .25s, color .25s;
}

@media (max-width: 580px) {
  .old-body .sub .content.content-top {
      padding-top: 50px;
      padding-bottom: 30px;
  }

  .old li {
      width: 48%;
      margin-right: 4%;
      margin-bottom: 30px;
  }

  .old li:nth-of-type(2n) {
      margin-right: 0;
  }

  .old .link>a {
      font-size: 14px;
  }
}

