/*
Theme Name: ACE_STANDARD07
*/

/*基本設定*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background: #fff;
  font-size: 14px;
  line-height: 1;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

body,
p {
  font-family:
    "Noto Sans JP", "游ゴシック体", "Yu Gothic", YuGothic, sans-serif;
}

a {
  text-decoration: none;
}

button,
input,
select,
textarea {
  outline: 0;
  font-size: 100%;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a:hover,
a:active {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

#footer_top {
  background: #f4f0ec;
}

.contents {
  width: 1000px;
  margin: 5em auto;
}

@media (max-width: 1100px) {
  .contents {
    width: auto;
    margin: 5em 1.5em;
  }
}

/*パンくずリスト*/
i.fas.fa-home {
  color: #666;
}

.pan1 {
  padding: 0 0.8em;
}

/*固定ページヘッダー*/
@media only screen and (max-width: 600px) {
  #page_header {
    height: calc(35vh - 55px);
  }
}

/*改行*/
br.sp {
  display: none;
}

@media screen and (max-width: 767px) {
  br.sp {
    display: inline;
  }

  br.pc {
    display: none;
  }
}

/* コピーライト */
#copyright {
  width: 100%;
  line-height: 60px;
  height: 60px;
  font-size: 12px;
  z-index: 10;
  text-align: center;
  background: #58330d;
  color: #fff;
  color: #222222;
  background: #f0f0f0;
}

/* 404ページ */
#page_404_header {
  width: 100%;
  height: -webkit-calc(100vh - 151px);
  height: calc(100vh - 151px);
  position: relative;
}

#page_404_header .catch_area {
  position: absolute;
  z-index: 2;
  text-align: center;
  left: 50%;
  top: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#page_404_header .catch {
  font-size: 48px;
  font-weight: 500;
}

#page_404_header .desc {
  font-size: 16px;
  font-weight: 500;
  margin: 20px 0 0 0;
}

#page_404_header .overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
}

/* ページコンテンツ */
.page-content p {
  line-height: 2.5;
  margin: 0 0 2em 0;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
  clear: both;
  line-height: 1.4;
  margin: 0 0 10px 0;
  padding: 10px 0 0 0;
}

.page-content h2 {
  font-size: 24px;
}

.page-content h3 {
  font-size: 22px;
}

/*見出し*/
h2.ace500_m1 {
  text-align: center;
  line-height: 1.6;
  margin: -10px 0 40px 0;
  padding-top: 12px;
  font-size: 38px;
  color: #634f32;
  font-family: "Noto Serif JP", serif;
}

span.ace500_s1 {
  display: block;
  font-size: 50%;
}

@media screen and (max-width: 767px) {
  h2.ace500_m1 {
    font-size: 22px;
    margin: -10px 0 30px 0;
  }
}

/* ----------------------------------------------------------------------
 ヘッダー
---------------------------------------------------------------------- */
h1.ace_m1 {
  text-align: center;
  padding: 1em;
  background: #fff;
  color: #573312;
  font-weight: normal;
  font-family:
    "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho",
    "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E",
    "ＭＳ Ｐ明朝", "MS PMincho", serif;
}

/* ----------------------------------------------------------------------
 ヘッダー/ナビゲーションメニュー
---------------------------------------------------------------------- */
header nav {
  background: #573312;
  text-align: center;
}

header nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0 auto;
  max-width: 1000px;
}

header nav ul li {
  position: relative;
  -ms-flex: 1 1 0%;
  -webkit-flex: 1 1 0%;
  flex: 1 1 0%;
}

header nav ul li a {
  display: block;
  padding: 20px 15px;
  text-decoration: none;
  color: #fff;
  transition: all .3s;
}

header nav ul ul {
  display: block;
}

header nav ul li li a {
  padding: 20px 35px;
}

header nav ul li a:hover {
  color: #bfa898;
}

header nav ul ul li.menu-item-has-children::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 17px;
  width: 6px;
  height: 6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}

header nav li.menu-item-has-children ul {
  position: absolute;
  left: 0;
  top: 54px;
  z-index: 4;
  background: #000;
  width: 240px;
  visibility: hidden;
  opacity: 0;
  transition: all .7s;
  text-align: left;
}

header nav li.menu-item-has-children:hover>ul,
header nav li.menu-item-has-children ul li:hover>ul,
header nav li.menu-item-has-children:active>ul,
header nav li.menu-item-has-children ul li:active>ul {
  visibility: visible;
  opacity: 1;
}

header nav li.menu-item-has-children ul li a {
  color: #fff;
  /* border-bottom: solid 1px rgba(255, 255, 255, 0.6); */
}

header nav li.menu-item-has-children ul li:last-child a {
  border-bottom: none;
}

header nav li.menu-item-has-children ul li a:hover,
header nav li.menu-item-has-children ul li a:active {
  background: #573312;
}

/* ----------------------------------------------------------------------
 フッター
---------------------------------------------------------------------- */
#footer {
  text-align: center;
}

#company_info {
  font-size: 16px;
  line-height: 2;
  margin: 0 0 30px 0;
}

/* ----------------------------------------------------------------------
 ファーストビューのスライダー
---------------------------------------------------------------------- */
.slider {
  position: relative;
  z-index: 1;
  height: 100vh;
}

/*　背景画像設定　*/
.slider-item {
  width: 100%;
  /*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
  height: 100vh;
  /*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
  /* background-repeat: no-repeat; */
  /*背景画像をリピートしない*/
  /* background-position: center; */
  /*背景画像の位置を中央に*/
  /* background-size: cover; */
  /*背景画像が.slider-item全体を覆い表示*/
}

/*矢印の設定*/

.slick-prev,
.slick-next {
  position: absolute;
  z-index: 3;
  top: 42%;
  cursor: pointer;
  /*マウスカーソルを指マークに*/
  outline: none;
  /*クリックをしたら出てくる枠線を消す*/
  border-top: 2px solid #fff;
  /*矢印の色*/
  border-right: 2px solid #fff;
  /*矢印の色*/
  height: 25px;
  width: 25px;
}

.slick-prev {
  /*戻る矢印の位置と形状*/
  left: 2.5%;
  transform: rotate(-135deg);
}

.slick-next {
  /*次へ矢印の位置と形状*/
  right: 2.5%;
  transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
  position: relative;
  z-index: 3;
  text-align: center;
  margin: -50px 0 0 0;
  /*ドットの位置*/
}

.slick-dots li {
  display: inline-block;
  margin: 0 5px;
}

.slick-dots button {
  color: transparent;
  outline: none;
  width: 8px;
  /*ドットボタンのサイズ*/
  height: 8px;
  /*ドットボタンのサイズ*/
  display: block;
  border-radius: 50%;
  background: #fff;
  /*ドットボタンの色*/
}

.slick-dots .slick-active button {
  background: #333;
  /*ドットボタンの現在地表示の色*/
}

/*========= レイアウトのためのCSS ===============*/
.container {
  background: #555;
}

.container p {
  padding: 300px 0;
  text-align: center;
  color: #fff;
}

/***********画像アニメーション***********/
.front-slider {
  .slider-area {
    height: 600px;

    @media (width >=767px) {
      height: 90vh;
    }
  }

  .slider-item {
    width: calc(100% + 200px);
    height: calc(100% + 200px);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .slick-active {
    .slider-item {
      animation: moveRight 25s;
    }
  }

  .slider-item01 {
    background-image: url(https://ace214-demo.com/web/wp-content/uploads/pixta_53151665_M.jpg);
  }

  .slider-item02 {
    background-image: url(https://ace214-demo.com/web/wp-content/uploads/pixta_53151665_M.jpg);
  }

  .slider-item03 {
    background-image: url(https://ace214-demo.com/web/wp-content/uploads/pixta_53151665_M.jpg);
  }

  .caption_inner {
    .catch,
    .desc {
      opacity: 0;
      position: relative;
      font-family:
        "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3",
        "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "MS P明朝",
        "MS PMincho", "Times New Roman", serif;
    }

    .catch {
      font-size: 22px;
      line-height: 1.6;

      @media (width >=767px) {
        font-size: 38px;
      }
    }

    .desc {
      margin-block-start: 6px;
      line-height: 2.3;

      @media (width >=767px) {
        font-size: 16px;
      }
    }
  }

  .slick-active {
    .caption {
      .animate1 {
        animation: slideUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards 2s;
      }

      .animate2 {
        line-height: 2;
        animation: slideUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards 2.8s;
      }
    }
  }

  /*オーバーレイ*/
  .overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    background: rgba(0, 0, 0, 0.2);
  }

  /***********文字アニメーション***********/
  .caption {
    display: grid;
    place-content: center;
    padding-inline: 30px;
    margin: auto;
    position: absolute;
    text-align: center;
    z-index: 4;
    inset: 0;
    color: #ffffff;
  }
}

/* 下から上へスライドアップ (既存のキーフレーム定義) */
@keyframes slideUp {
  0% {
    bottom: -50px;
  }

  100% {
    opacity: 1;
    bottom: 0;
  }
}

/* 下から上へスライドアップ */
@keyframes slideUp {
  0% {
    bottom: -50px;
  }

  100% {
    opacity: 1;
    bottom: 0;
  }
}

/* 右に移動 */
@keyframes moveRight {
  0% {
    transform: translate3d(-200px, 0, 0);
  }

  100% {
    transform: translate3d(0px, 0, 0);
  }
}

/* ----------------------------------------------------------------------
 beauty-menu
---------------------------------------------------------------------- */
/*ブロック*/
.ace500_blok {
  width: 1000px;
  margin: 5em auto 8em;
}

@media (max-width: 1100px) {
  .ace500_blok {
    width: auto;
  }
}

@media (max-width: 767px) {
  .ace500_blok {
    margin-bottom: 5em;
  }
}

/*料金表*/
h3.menu500_m1 {
  background-color: #897559;
  color: #fff;
  text-align: center;
  font-size: 22px;
  padding: 15px;
  margin-bottom: 0;
}

.menu500_c1 {
  background: #fff;
  border: solid 1px #ddd;
  border-bottom: none;
  border-top: none;
}

.menu500_c2 {
  display: flex;
}

.menu500_g1 {
  width: 50%;
}

.menu500_g1 img {
  vertical-align: bottom;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

ul.menu500ul {
  margin: 0;
  list-style: none;
}

.menu500li_item {
  padding: 20px 40px;
  border-bottom: solid 1px #ddd;
}

h4.menu500_m2 {
  margin-bottom: 0;
  color: #bc4a4a;
  font-size: 20px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
}

span.menu500_s1 {
  padding-left: 1em;
  margin-left: auto;
}

p.menu500_t1 {
  margin-bottom: 0;
}

@media screen and (max-width: 1151px) {
  h3.menu500_m1 {
    font-size: 18px;
  }

  h4.menu500_m2 {
    font-size: 16px;
  }
}

@media screen and (max-width: 767px) {
  h3.menu500_m1 {
    padding: 12px;
    font-size: 16px;
  }

  .menu500_c2 {
    flex-direction: column;
  }

  .menu500_g1 {
    width: auto;
  }

  .menu500li_item {
    padding: 20px;
  }

  h4.menu500_m2 {
    font-size: 14px;
    padding-top: 10px;
  }

  p.menu500_t1 {
    margin-bottom: 10px;
    font-size: 12px;
  }

  .menu500_g1:last-of-type {
    display: none;
  }
}

/*ボタン*/
#footer_button a:hover {
  background: #867257;
  border-color: #867257;
}

/* ----------------------------------------------------------------------
 ブログ一覧
 ---------------------------------------------------------------------- */
.posts-blok {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.posts-item {
  border: 1px solid #ddd;
  line-height: 1.5;
}

.posts-item img {
  width: 100%;
  height: auto;
  display: block;
}

.title-area {
  padding: 25px 30px;
  background-color: #fff;

  p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* 表示する行数 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.posts-item .title {
  margin-bottom: 10px;
}

.posts-item .title a {
  color: #000;
  font-size: 18px;
  font-weight: normal;
}

@media screen and (max-width: 767px) {
  .posts-blok {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*ページネーション*/
.nav-links {
  text-align: center;
  margin: 2em;
}

.nav-links span,
.nav-links a {
  color: #000;
  background: #fff;
  border: 1px solid #ddd;
  font-size: 14px;
  width: 45px;
  height: 45px;
  line-height: 45px;
  display: inline-block;
  text-align: center;
  -webkit-box-sizing: border-box;
  transition: all 0.3s;
}

span.page-numbers.current {
  background-color: #573312;
  border-color: #573312;
  color: #fff;
}

.nav-links a:hover {
  background-color: #573312;
  border-color: #573312;
  color: #fff;
}

/* ----------------------------------------------------------------------
 お知らせ一覧
 ---------------------------------------------------------------------- */
/*フロント*/
.news-title a {
  display: flex;
  border: 1px solid #ddd;
  background: #f7f7f7;
  margin: 0 0 -1px 0;
  height: 58px;
  line-height: 58px;
  padding: 0 30px;
}

.news-title p {
  color: #593306;
  margin: 0 30px 0 0;
  font-weight: 600;
}

.news-title h3 {
  font-weight: normal;
  color: #000;
  transition: all 0.3s;
}

.news-title h3:hover {
  color: #999;
}

@media (max-width: 767px) {
  .news-title a {
    flex-direction: column;
    background: #fff;
    height: auto;
    line-height: 1;
    padding: 18px 20px 16px;
  }

  .news-title p {
    float: none;
    font-size: 12px;
    margin: 0 0 10px 0;
  }

  .news-title h3 {
    font-size: 14px;
    line-height: 1.5;
    max-height: 3em;
    overflow: hidden;
    text-overflow: clip;
    white-space: normal;
  }
}

/*シングルページ*/
.single-news-content {
  width: 1000px;
  margin: 100px auto 150px;
  font-size: 16px;
}

.single-news-title-area {
  padding: 25px 30px;
  height: 150px;
  background-color: #fff;
}

/* ----------------------------------------------------------------------
 ブログ/シングルページ
 ---------------------------------------------------------------------- */
#page_header {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

#page_header img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% 70%;
}

.page-content {
  width: min(calc(100% - 32px), 1000px);
  margin: 100px auto 150px;
  font-size: 16px;
}

.post-meta {
  margin: 1em 0 2em;
}

.post-meta,
.post-meta a {
  color: #999;
}

span.post-meta-s1 {
  padding-right: 1em;
}

/* ----------------------------------------------------------------------
 スタッフ一覧
 ---------------------------------------------------------------------- */
.posts-blok .position {
  text-align: center;
}

.staff .title {
  text-align: center;
}

/* ----------------------------------------------------------------------
 ハンバーガーメニュー
 ---------------------------------------------------------------------- */
@media (max-width: 1050px) {
  header nav {
    display: none;
  }
}

:root {
  --color-white: rgb(255 255 255 / 1);
  --color-black: rgb(0 0 0 / 1);
  --color-gray: rgb(51 51 51 / 1);
  --color-red: rgb(204 0 0 / 1);
}

@property --slide-position {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

:root {
  &:has([aria-expanded="true"]) {
    body {
      overflow: hidden;
      position: fixed;
      height: 100svh;
    }

    .gnavi-expanded {
      opacity: 1;
      transform: translateX(0);
    }
  }
}

.header {
  &:has(.btn-gnavi-expanded) {
    position: relative;
  }
}

:where(header) {
  button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    appearance: button;
  }
}

.btn-gnavi-expanded {
  inline-size: 3em;
  block-size: 1.5em;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(calc(-50% + 4px));
  display: none;

  @media screen and (max-width: 1050px) {
    display: grid;
  }

  .hamburger-line {
    width: 45%;
    height: 1px;
    background-color: var(--color-black);
    border-radius: 3px;
    transition: all 0.3s ease;
  }
}

.gnavi-expanded {
  opacity: 0;
  background-color: var(--color-white);
  transform: translateX(100%);
  transition: transform 0.2s;
  width: 100svw;
  height: 100svh;
  overflow-y: auto;
  position: fixed;
  inset: 0;
  z-index: 10;

  @media screen and (min-width: 1051px) {
    display: none;
  }

  ul {
    li {
      a {
        color: var(--color-gray);
        overflow-wrap: anywhere;
        word-break: normal;
        line-break: strict;
      }
    }
  }

  > ul {
    &:not(:has(& .sub-menu)) {
      padding-inline: 16px;
      padding-block: 20px;
    }
  }

  > ul {
    li {
      font-weight: 700;
      border-bottom: solid 1px rgb(213 219 226 / 1);
      background: var(--color-white);

      > a {
        display: block;
        padding-inline: 10px;
        padding-block: 16px;
      }
    }

    :where(.sub-menu) {
      display: none;
      grid-column: 1 / span 3;

      li {
        display: grid;
        grid-template-columns: 1fr 46px;
        align-items: center;
        position: relative;

        &:last-child {
          border-bottom: 0;
        }

        &:after {
          content: "";
          display: inline-block;
          width: 8px;
          height: 8px;
          border-right: 2px solid var(--color-red);
          border-bottom: 2px solid var(--color-red);
          transform: rotate(-45deg);
          margin-inline: auto;
        }

        a {
          color: #333;
        }
      }
    }
  }
}

.btn-gnavi-close {
  position: absolute;
  right: 0;
  top: 0;
  inline-size: 3em;
  aspect-ratio: 1;

  &::before,
  &::after {
    position: absolute;
    inset: 0;
    display: inline-block;
    width: 45%;
    height: 2px;
    margin: auto;
    content: "";
    background-color: var(--color-red);
  }

  &::before {
    rotate: 45deg;
  }

  &::after {
    rotate: -45deg;
  }

  span {
    display: none;
  }
}

.sub-menu-toggle::after {
  font-family: "design_plus";
  content: "\e90e";
}

.menu-item-has-children {
  @media screen and (max-width: 1050px) {
    display: grid;
    grid-template-areas:
      "parent-menu sub-menu-toggle"
      "sub-menu sub-menu";
    grid-template-columns: 1fr 46px;
    position: relative;

    &:has(.sub-menu--active) {
      &::before {
        content: "";
        display: block;
        width: 100%;
        height: 1px;
        background-color: var(--color-red);
        position: absolute;
        top: -1px;
      }
    }
  }
}

.parent-menu {
  grid-area: parent-menu;
}

.sub-menu-toggle {
  grid-area: sub-menu-toggle;

  span {
    display: none;
  }
}

.sub-menu-toggle::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-red);
  border-bottom: 2px solid var(--color-red);
  transform: rotate(45deg);
}

.front-section {
  display: flex;
  flex-direction: column;
  gap: 86px;

  @media screen and (max-width: 767px) {
    gap: 43px;
  }
}

/* ----------------------------------------------------------------------
 サイドバー
 ---------------------------------------------------------------------- */
.page-container {
  .page-content {
    @media screen and (max-width: 767px) {
      margin-block-end: 30px;
      padding-inline: 1.5em;
    }
  }

  .sidebar {
    margin-block-start: 100px;

    @media screen and (max-width: 767px) {
      padding-inline: 1.5em;
      margin-block-start: 0;
    }
  }

  /* ウィジェットがある場合 */
  &:has(.sidebar) {
    display: grid;
    grid-template-columns: 1fr 300px;
    justify-content: center;
    gap: 20px;

    @media screen and (min-width: 767px) {
      padding-inline: 1.5em;
    }

    @media screen and (max-width: 767px) {
      grid-template-columns: 1fr;
    }
  }
}

/* 出勤表 */
.schedule-links {
  padding-block: 68px 26px;
}

.schedule-links__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;

  > li {
    @media (max-width: 767px) {
      width: calc(50% - 10px);
    }

    > a {
      border: solid 1px currentColor;
      color: currentColor;
      display: block;
      padding: 18px 18px;
      transition:
        color 0.4s,
        background-color 0.4s;

      @media (any-hover: hover) {
        &:hover {
          background-color: #000;
          color: #fff;
        }
      }
    }
  }
}

/* キャスト */
.cast-content {
  display: flex;
  justify-content: space-between;
  gap: 30px;

  @media (max-width: 767px) {
    flex-direction: column;
  }

  .cast-profile__sizes {
    border-bottom: dashed 1px #000;
    font-size: 21px;
    margin: 0;
    padding-block-end: 15px;
  }

  .cast-profile {
    flex: 2;
  }

  .cast-profile__name {
    padding-block-end: 10px;
    font-size: 28px;
    border-bottom: solid 1px #000;
  }

  .cast-profile__topics {
    padding-block-end: 60px;
  }

  .cast-profile__topics ul li {
    counter-increment: example-counter;
    border-bottom: dashed 1px #000;
    padding-block: 15px;
    font-size: 21px;

    span::after {
      content: "(" counter(example-counter) ")";
    }
  }

  .cast-gallery {
    flex: 1;
  }

  .cast-message__title {
    padding-block-end: 10px;
    font-size: 28px;
    border-bottom: solid 1px #000;
  }

  .cast-comment__title {
    padding-block-end: 10px;
    font-size: 28px;
    border-bottom: solid 1px #000;
  }
}

.castinfo-schedule {
  @media screen and (max-width: 767px) {
    overflow-x: auto;
  }
}

.castinfo-schedule__table {
  border: solid 1px #000;
  border-collapse: collapse;
  width: stretch;
  margin-block-start: 70px;

  @media screen and (max-width: 767px) {
    white-space: nowrap;
  }

  td {
    border: solid 1px #000;
    padding: 10px;
    text-align: center;
  }
}

.castinfo-schedule__date {
  td {
    background-color: rgba(255, 204, 250, 1);
  }
}

.castinfo-schedule__data {
  td {
    padding-block: 20px;
  }
}

.castinfo-schedule--2 {
  @media screen and (min-width: 768px) {
    display: none;
  }
}

.castinfo-schedule--2__table {
  border: solid 1px #000;
  border-collapse: collapse;
  width: stretch;
  margin-block-start: 70px;

  td {
    padding: 10px;
    text-align: center;
  }
}

.castinfo-schedule--2__data {
  display: flex;
  flex-direction: column;

  th,
  td {
    padding-block: 20px;
  }

  th {
    background-color: rgba(255, 204, 250, 1);
  }
}

.page-content:has(.cast-loop) {
  width: min(calc(100% - 32px), 1100px);
}

.cast-loop {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-block: 44px;

  @media screen and (max-width: 767px) {
    justify-content: center;
  }
}

.cast-loop__item {
  width: 204px;

  @media screen and (max-width: 767px) {
    width: calc(50% - 10px);
  }

  > a {
    color: currentColor;
    text-align: center;
  }
}

.cast-loop_name {
  font-weight: 400;
}

.section-title {
  margin-block-end: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  font-size: 20px;
  font-weight: 400;

  @media screen and (max-width: 767px) {
    font-size: 16px;
  }

  &::before {
    content: attr(data-title--en);
    font-size: 36px;

    @media screen and (max-width: 767px) {
      font-size: 28px;
    }
  }
}

.cast-section-title {
  margin-bottom: 40px !important;
  text-align: center;
  display: flex;
  flex-direction: column;
  font-size: 20px;
  font-weight: 400;

  @media screen and (max-width: 767px) {
    font-size: 16px;
  }

  &::before {
    content: attr(data-title--en);
    font-size: 36px;

    @media screen and (max-width: 767px) {
      font-size: 28px;
    }
  }
}

.btn-link {
  text-align: center;

  a {
    display: inline flex;
    gap: 8px;
    background-color: #4d4d4d;
    color: #fff;
    padding: 20px 30px;
    border-radius: 28px;
    transition: opacity 0.4s;

    @media (any-hover: hover) {
      &:hover {
        opacity: 0.7;
      }
    }

    &::after {
      content: "";
      background-image: url(data:image/svg+xml;charset=utf8,%3Csvg%20width%3D%2210%22%20height%3D%2216%22%20viewBox%3D%220%200%2010%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M1.94409%202.37933L7.91638%208.35168L1.94409%2014.324%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E);
      display: block;
      width: 10px;
      height: 17px;
      background-repeat: no-repeat;
    }
  }
}

.cast-related-posts {
	margin-bottom:40px;
}