@charset "UTF-8";

@font-face {
  font-family: 'Local Noto Sans JP';
  src:
    local('Noto Sans JP'),
    /* Windows用 */
    local('Noto Sans CJK JP Regular')
    /* Android用 */
  ;
}

html {
   overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Local Noto Sans JP", "Noto Sans JP", sans-serif;
  background: #110f0c;
  overflow-x: hidden;
}

* {
  color: #fff;
}
p {
    line-height: 1.75;
}
a {
    color: #5488c8;
    transition: 0.3s;
}
a:hover {
  opacity: 0.7;
}
a img {
    transition: 0.3s;
}
a:hover img {
    opacity: 0.8;
}
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.is-active {
  opacity: 1;
  transform: translateY(0);
}

/*--------------------------------------
 * Header
 * -------------------------------------*/
.home header.site-header {
    padding: 0;
    background: none;
}
.home h1.site-logo {
    display: none;
}
.home nav.gl-navi {
    display: none;
}
.site-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 1.875rem 1.245rem;
  gap: 1.8rem;
  background: #111111;
  justify-content: space-between;
}

h1.site-logo {
  max-width: 240px;
  margin: 0;
  line-height: 0;
}

h1.site-logo img {
  width: 100%;
}

/*グローバルナビ*/
ul#menu-gl-navi {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

ul#menu-gl-navi a {
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
    display: block;
    transition: 0.2s;
    padding: 0 1.4rem;
}

ul#menu-gl-navi a span {
  color: #333;
  font-size: 1.125rem;
  display: block;
  transition: 0.2s;
}

ul#menu-gl-navi a:hover {
  opacity: 0.7;
}

ul#menu-gl-navi li:last-child {
  border-right: none;
}

ul#menu-gl-navi li:last-child a {
  padding-right: 0;
}

/*--------------------------------------
 * SP-navi
 * -------------------------------------*/

/* PCナビ */
.gl-navi {
  display: block;
}

/* SPメニューは初期非表示 */
.gl-navi-sp.is-open {
  right: 0;
  overflow-y: auto;
  background: #fff;
  display: flex;
  align-items: center;
}

/* overlay */
.gl-navi-sp {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 40vw;
  height: 100vh;
  background: #fff;
  transition: right .25s ease;
  z-index: 2001;
  /* ←ボタンより下 */
  padding: 0 1.25rem;
  box-sizing: border-box;
}

.sp-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(176, 154, 89, .95);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 2000;
  /* ←一番下 */
}

.sp-menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* body固定（メニュー開いてるとき） */
body.is-fixed {
  overflow: hidden;
}

/* hamburger */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  position: absolute;
  right: 1rem;
  top: 1rem;
  background: #fff;
  z-index: 2002;
  /* ←重要：メニューより上に */
  cursor: pointer;
}

.hamburger span {
  display: block;
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: #333;
  transition: transform .25s ease, top .25s ease;
  transition: 0.2s;
}

.hamburger:hover span {
  background: #aa9b73;
}

ul#menu-gl-navi-sp {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

ul#menu-gl-navi-sp li {
  margin-bottom: 2rem;
}

ul#menu-gl-navi-sp li:last-child {
  margin-bottom: 0;
}

ul#menu-gl-navi-sp a {
  text-align: center;
  color: #aa9b73;
  font-size: 1.55rem;
  text-decoration: none;
  font-family: "Noto Serif JP", serif;
  line-height: 1.7;
  transition: 0.2s;
  display: block;
  width: 100%;
}

ul#menu-gl-navi-sp a span {
  font-size: 1rem;
  display: block;
  color: #333;
}

ul#menu-gl-navi-sp a:hover {
  color: #a0883e;
}

ul#menu-gl-navi-sp a:hover span {
  color: #aa9b73;
}

/* 2本線 */
.hamburger span:nth-child(1) {
  top: 17px;
}

.hamburger span:nth-child(2) {
  top: 25px;
}

/* 開いたら× */
.hamburger.is-open span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  top: 21px;
  transform: rotate(-45deg);
}

/* レスポンシブ：870px以下はSP */
@media (870px > width) {
    .gl-navi {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .gl-navi-sp {
    max-width: 80vw;
  }
  .hamburger {
    top: 2.2rem; 
  }
}

@media (440px > width) {
  h1.site-logo {
    max-width: 11.25rem;
  }
  .gl-navi-sp {
    max-width: 100vw;
  }
  .hamburger {
    top: 1.7rem; 
  }
}
/*--------------------------------------
 * Main
 * -------------------------------------*/
body.wp-singular:not(.home) main {
  max-width: 1200px;
  margin: 0 auto;
}
@media(1240px > width) {
body.wp-singular:not(.home) main {
    padding: 0 1.25rem;
}
}
/*--------------------------------------
 * Footer
 * -------------------------------------*/
.f-access {
    background: #000;
    padding: 2rem 2rem 1rem;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 3rem;
}
.f-access div {
    width: 31%;
    text-align: center;
}

.f-access div {
    width: 31%;
    text-align: center;
}
.f-access h3 {
    margin-bottom: 0.5rem;
}
.f-access a {
    color: #fff;
}
.f-access + p {
    margin: 0;
    background: #000;
    padding: 0 0 2rem;
}
.f-access + p a {
    background: url(https://atowan.com/atelier/wp-content/uploads/2026/02/bg-btn-link.png) no-repeat #aa9b73 right 1.2rem top 0.95rem / 0.4rem;
    color: #fff;
    text-decoration: none;
    padding: 0.4rem 2.3rem 0.4rem 1.5rem;
    margin: 0 auto;
    display: block;
    width: fit-content;
    border-radius: 0.6rem;
    transition: 0.2s;
}
#at-g {
  padding: 2.5rem 0;
  background: #f8f8f8;
}

ul#menu-foot-navi {
  list-style: none;
  margin: 0 0 1.875rem;
  padding: 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

ul#menu-foot-navi li a {
  text-decoration: none;
  color: #333;
  transition: 0.2s;
}

ul#menu-foot-navi li a:hover {
  color: #999;
}

footer p {
  margin: 0 0 1rem;
}

footer p a {
  max-width: 11.25rem;
  display: block;
  margin: 0 auto;
}

footer p a img {
  width: 100%;
  transition: 0.3s;
}

footer p a:hover img {
  opacity: 0.6;
}

footer small {
  display: block;
  text-align: center;
}
footer small {
  color: #333;
}
@media(845px > width) {
.f-access div {
    width: 100%;
}
}

@media(660px > width) {
  ul#menu-foot-navi {
    flex-direction: column;
    gap: 0.6rem;
    text-align: center;
  }
}

@media(440px > width) {
  ul#menu-foot-navi {
    display: none;
  }
}


/*--------------------------------------
 * Index
 * -------------------------------------*/
 .gb-video-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

div#a-fv {
    gap: 0;
}
div#fv-l {
    background: url(https://atowan.com/luvion/wp-content/uploads/2026/02/bg-fv.jpg) no-repeat center center / cover;
    padding: 3rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}
.logo {
    width: 100%;
    padding: 0 2rem;
    box-sizing: border-box;
}
.logo + p {
    width: 100%;
    padding: 0 2rem;
    box-sizing: border-box;
    text-align: center;
    font-family: "Noto Serif JP", serif;
    letter-spacing: 0.2rem;
}
div#fv-navi {
    padding: 0 2rem;
    width: fit-content;
    margin: 0 auto 2rem;
    box-sizing: border-box;
}
div#fv-navi div {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    width: fit-content;
}
div#fv-navi div p a {
    display: block;
    text-decoration: none;
    color: #fff;
    text-align: center;
}
div#fv-navi div p a strong {
    display: block;
    color: #aa9b73;
    font-size: 1.375rem;
    font-family: "Noto Serif JP", serif;
    font-weight: normal;
    letter-spacing: 0.1rem;
}
figure#bnr-tel {
    width: 100%;
    padding: 0 2rem;
    box-sizing: border-box;
}


 figure#snss {
    max-width: 510px;
    margin: 0 auto;
}
.top-cast-wrap {
    padding: 0 2rem;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8%;
    margin-top: 3.5rem;
}
.top-cast-wrap img {
    width: 100%;
}
.top-cast-wrap a {
    width: 24.4%;
    text-decoration: none;
}
.top-cast-meta {
    display: flex;
    align-items: center;
    margin: 0.6rem 0 1.5rem;
}
.top-cast-meta img {
    width: 15%;
    margin-right: 0.4rem;
}
.top-cast-meta div p:first-child {
    font-size: 1.25rem;
    line-height: 1;
    margin: 0;
}
.top-cast-meta div p:last-child {
    line-height: 1;
    margin: 0.5rem 0 0;
}
h2.wp-block-heading {
    font-size: 2.5rem;
    color: #aa9b73;
    font-weight: normal;
    margin-bottom: 0;
    padding: 0 1.25rem;
}
main h2.wp-block-heading {
    padding: 0;
}
main h3.wp-block-heading {
    color: #aa9b73;
    font-size: 1.4rem;
}
p.read {
    padding: 0 1.25rem;
    font-size: 1.25rem;
    margin-top: 0;
}
p.btn-link {
    padding: 0 1.25rem;
}
p.btn-link a {
    background: url(https://atowan.com/atelier/wp-content/uploads/2026/02/bg-btn-link.png) no-repeat #aa9b73 right 1.2rem top 0.95rem / 0.4rem;
    color: #fff;
    text-decoration: none;
    padding: 0.4rem 2.3rem 0.4rem 1.5rem;
    margin: 1.875rem auto 0;
    display: block;
    width: fit-content;
    border-radius: 0.6rem;
    transition: 0.2s;
}
p.btn-link a:hover {
  opacity: 0.75;
}
div#top-system {
  margin: 5.75rem 0;
    padding: 0;
}
div#top-system-block {
    background: #000;
    padding: 1.1rem 3.75rem 2.95rem;
}
div#top-system-block h2 {
    padding: 0;
}
div#top-system-block .read {
    padding: 0;
}
div#top-system-block td {
    border: none;
    vertical-align: top;
    padding: 0.5rem 0;
}
p.table-head {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}
p.cy-link a {
    background: url(https://atowan.com/atelier/wp-content/uploads/2026/02/bg-btn-circle.png) no-repeat right top 0.27rem / 1rem;
    text-decoration: none;
    color: #fff;
    padding: 0 1.4rem 0 0;
    transition: 0.2s;
}
p.cy-link a:hover {
  opacity: 0.7;
}
div#top-system {
    gap: 0;
}
div#top-system-block {
    position: relative;
    left: -3rem;
    top: 2rem;
}
figure#access-photos {
    gap: 0;
}
div#top-access {
    background: #000;
    color: #fff;
    max-width: 1100px;
    padding: 1.7rem 3.75rem 3.75rem;
    margin: 0 auto;
    position: relative;
    top: -5vw;
}
div#top-access h2.wp-block-heading {
  padding: 0;
}
div#top-access p.read {
  padding: 0;
}
p.i-acc {
    background: url(https://atowan.com/luvion/wp-content/uploads/2026/02/bg-ci-acc.png) no-repeat left top 6px / 12px;
    padding-left: 1.4rem;
    margin-bottom: 0.5rem;
}
p.i-time {
    background: url(https://atowan.com/luvion/wp-content/uploads/2026/02/bg-ci-time.png) no-repeat left top 7px / 14px;
    padding-left: 1.4rem;
    margin-top: 0;
}
div#top-access p.i-acc,div#top-access p.i-time {
    width: fit-content;
    margin: 0 auto;
}
div#top-access p.i-time + p {
    text-align: center;
}
div#top-map {
    padding: 0 1.25rem;
}
div#top-recruit {
    background: #000;
    max-width: 900px;
    margin: 3.75rem auto 3.75rem;
    padding: 1.7rem 3.75rem 3.75rem;
}
div#top-recuit-data .wp-block-group__inner-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.t-r-d {
    padding: 1.25rem;
    border-radius: 0.2rem;
    border-right: 1px solid #262626;
}
.t-r-d:last-child {
  border: none;
}
.t-r-d p:first-child {
    margin: 0;
    text-align: center;
    font-size: 1.15rem;
}
.t-r-d p:last-child {
    font-size: 1.5rem;
    margin: 0px;
}
.t-r-d p.money {
    font-size: 1rem;
    display: flex;
    align-items: center;
}
.t-r-d p.money span {
    color: #aa9b73;
    font-size: 1.5rem;
    margin-left: 0.3rem;
}
@media(1220px > width) {
.top-cast-wrap {
    padding: 0 1.25rem;
  }
}
@media(1174px > width) {
div#fv-navi div {
    gap: 0rem;
}
div#fv-navi div p {
    width: 50%;
    margin-bottom: 0;
}
}
@media(1160px > width) {
div#top-system-block .wp-block-columns {
    flex-direction: column;
    gap: 1.2rem;
}
div#top-system-block .wp-block-columns tr td:first-child {
    width: 10rem;
}
p.table-head {
    border-top: 1px dashed #d0c3af;
    border-bottom: 1px dashed #d0c3af;
    padding: 1rem 0;
    margin-bottom: 0.8rem;
}

div#top-system-block .wp-block-columns .wp-block-column:nth-child(2) p.table-head {
    margin-top: 0;
}
div#top-system-block .wp-block-columns .wp-block-column:nth-child(3) p.table-head {
    margin-top: 0;
}
}  
@media(880px > width) {
.t-r-d {
    width: 49%;
    margin-bottom: 1rem;
    box-sizing: border-box;
}
.t-r-d p:last-child {
    text-align: center;
}
.t-r-d p.money {
    justify-content: center;
}
div#top-recuit-data + p {
    margin: 0.4rem 0 0;
}
}
@media(781px > width) {
div#a-fv {
    flex-direction: column-reverse;
}
div#fv-navi div {
    gap: 2rem;
}
div#fv-navi div p {
    width: fit-content;
}
div#top-system {
    margin-bottom: 0;
}
div#div-top-system-photo figure {
    width: 40vw;
}
div#div-top-system-photo img {
    width: 100%;
}
div#top-system-block {
    left: 2rem;
    top: -3rem;
}
}
@media(769px > width) {
.top-cast-wrap a {
    width: 32.6%;
    gap: 1%;
  }
.t-r-d:first-child {
  border-left: 1px solid #262626;
}
.t-r-d:nth-child(3) {
  border-left: 1px solid #262626;
}
.t-r-d:last-child {
  border-right: 1px solid #262626;
}
}
@media(595px > width) {
div#fv-navi div {
    gap: 0rem;
}
div#fv-navi div p {
    width: 50%;
    margin-bottom: 0;
}
}
@media(480px > width) {
h2.wp-block-heading {
    font-size: 2rem;
}
figure#snss {
    width: 45%;
}
figure#snss figure {
    width: 100% !important;
}
.top-cast-wrap {
    gap: 2%;
    margin-top: 1.5rem;
}
.top-cast-wrap a {
        width: 49%;
    }
.top-cast-meta {
    align-items: flex-start;
    margin-top: 0.2rem;
}
.top-cast-meta div p:first-child {
    font-size: 1.05rem;
}
.top-cast-meta div p:last-child {
  font-size: 0.8rem;
}
.t-r-d {
    width: 100%;
    border: none;
}
.t-r-d:last-child p:last-child {
    font-size: 1.2rem;
}
.t-r-d:first-child {
  border-left: none;
}
.t-r-d:nth-child(3) {
  border-left: none;
}
.t-r-d:last-child {
  border-right: none;
}
div#top-access {
    padding: 1.75rem;
}
div#top-access p.i-acc, div#top-access p.i-time {
    width: fit-content;
    margin: 1rem 0;
}
div#top-access p.i-time + p {
    text-align: left;
}
div#top-access p.i-time + p + p.btn-link {
    padding: 0;
}
div#top-access p.i-time + p + p.btn-link a {
    background: url(https://atowan.com/atelier/wp-content/uploads/2026/02/bg-btn-link.png) no-repeat #aa9b73 right 1.2rem center / 0.4rem;
    line-height: 1.4;
}
div#top-system {
  margin: 3.75rem 0;
}
div#div-top-system-photo {
  display: none;
}
    div#top-system-block {
        top: -1rem;
    }
}
/*--------------------------------------
 * POST/SINGLE
 * -------------------------------------*/
article.post-content {
    margin: 0 auto 2rem;
}
.post-category a {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
}
h1.post-title {
  font-family: "Noto Serif JP", serif;
    font-weight: normal;
    letter-spacing: 0.3rem;
    margin: 0.5rem 0 0.5rem;
}
.single h2.wp-block-heading {
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.2rem;
  font-size: 2rem;
}
.single h3.wp-block-heading {
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.2rem;
  font-size: 1.8rem;
}
.single h4.wp-block-heading {
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.2rem;
  font-size: 1.5rem;
}
.single h5.wp-block-heading {
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.2rem;
  font-size: 1.3rem;
}
.single h6.wp-block-heading {
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.2rem;
  font-size: 1rem;
}
.nav-links {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}
/*--------------------------------------
 * NEWS
 * -------------------------------------*/
.post-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
article.post-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: center;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 2rem;
}
article.post-item:last-child {
    margin-bottom: 0;
    border: none;
}
h1.archive-title {
    font-family: "Noto Serif JP", serif;
    font-weight: normal;
    letter-spacing: 0.3rem;
    margin: 0.5rem auto 1.4rem;
    max-width: 1200px;
    padding: 0 1.25rem;
}
.post-list h2.post-title {
    margin: 0.8rem 0 1rem;
    font-family: "Noto Serif JP", serif;
    font-weight: normal;
}
.post-list h2.post-title a {
    color: #333;
    text-decoration: none;
}
.time-cate {
    display: flex;
    gap: 1rem;
}
.post-list .post-category {
    border-left: 1px solid #e9e9e9;
    padding: 0 0 0.2rem 0.6rem;
}
.post-list .post-link {
    margin: 1rem 0 0;
}
.post-thumb img {
  display: block;
  width: 100%;
  height: auto;
}
h1.archive-title a {
    text-decoration: none;
    color: #333;
}
@media(440px > width) {
article.post-item {
  flex-wrap: wrap;
}

}

/*--------------------------------------
 * CAST/SINGLE
 * -------------------------------------*/
h2.cast-title {
    color: #b09a59;
    font-size: 1.5rem;
    text-align: center;
    margin: 2.8rem 0 0.8rem
}

section.cast-profile {
    margin-bottom: 2rem;
}

.cast-info {
    padding: 1rem;
}

h3.cast-name {
    font-size: 3rem;
    margin: 0 0 0.3rem;
    letter-spacing: 0.6rem;
}

p.cast-furigana {
    margin: -0.7rem 0 1rem;
}

.cast-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.cast-main-image {
    max-width: 46%;
    margin: 0;
}

img#mainImage {
    width: 100%;
}

.second-content {
    max-width: 53%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.cast-thumbs {
    display: flex;
    justify-content: flex-start;
    gap: 1%;
    flex-wrap: wrap;
    padding: 0;
    align-items: start;
}

.cast-thumbs img {
    max-width: 32%;
    cursor: pointer;
    transition: 0.2s;
    margin-bottom: 0.8%;
}

.cast-thumbs img:hover {
    opacity: 0.8;
}

.cast-info .pason {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3%;
}

.pason p {
    margin-top: 0;
}

.pason b {
    padding-right: 0.4rem;
}

section.cast-movies.fade-up.is-active {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2%;
    align-items: center;
    background: #000;
    padding: 2rem 100vw 2rem;
    margin: 0 -100vw 0;
}

section.cast-movies.fade-up.is-active .cast-movie {
    max-width: 30%;
}

section.cast-movies.fade-up.is-active .cast-movie video {
    width: 100%;
}

section.cast-qa {
    background: #f2f0ec;
    padding: 2rem 100vw 2rem;
    margin: 0rem -100vw 0;
}

h2.prof-title {
    font-size: 2.125rem;
    color: #b09a59;
    width: fit-content;
    margin: 0 auto 1.4rem;
}

h2.prof-title span {
    display: block;
    font-size: 1rem;
    text-align: center;
    color: #333;
}

.qa-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 1.25rem;
}

.qa-item {
    margin-bottom: 1.5rem;
}

p.qa-q {
    color: #b09a59;
    font-size: 1.25rem;
    margin: 0 0 0.7rem;
}

p.qa-a {
    margin-top: 0;
    font-size: 1.125rem;
    color: #333;
}

.cast-back a {
    display: block;
    background: #b09a59;
    color: #fff;
    text-decoration: none;
    width: fit-content;
    margin: 2.3rem auto 2rem;
    box-sizing: border-box;
    padding: 0.5rem 3rem;
    border-radius: 0.4rem;
    transition: 0.2s;
}

.cast-back a:hover {
    opacity: 0.7;
}

section.cast-qa h2.prof-title {
    text-align: center;
}

p.qa-empty {
    text-align: center;
    width: 100%;
}

p.cast-ins a {
    width: 20px;
    height: 20px;
    background: url(../../images/icon-ins.png) no-repeat center center / contain;
    display: block;
}

p.cast-tik a {
    width: 20px;
    height: 20px;
    background: url(../../images/icon-tik.png) no-repeat center center / contain;
    display: block;
}

@media(769px < width) {
    .cast-info-sp {
        display: none;
    }
}

@media(768px > width) {
    .cast-info {
        display: none;
    }

    .cast-info-sp {
        display: block;
    }

    .cast-info-sp {
        text-align: center;
    }

    .cast-info-sp h3 {
        margin-bottom: 1rem;
    }

    .cast-info-sp .pason {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        align-items: center;
        gap: 5%;
    }

    .cast-thumbs {
        justify-content: left;
        padding: 0;
    }

    .cast-thumbs img {
        max-width: 24%;
        padding: 0;
    }

    .cast-thumbs img:nth-child(4n) {
        padding-right: 0;
    }

    .qa-item {
        width: 100%;
    }

    h2.cast-title {
        padding: 0 1.25rem;
        font-size: 1rem;
        margin-top: 1.4rem;
    }

    .cast-main {
        padding: 0 1.25rem;
    }

    h3.cast-name {
        font-size: 1.75rem;
        line-height: 1;
    }

    .cast-main-image {
        margin-top: 1rem;
        max-width: 100%;
    }

    .second-content {
        max-width: 100%;
    }
    section.cast-movies.fade-up.is-active .cast-movie {
    max-width: 40%;
}
}

@media(480px > width) {
    section.cast-movies.fade-up.is-active .cast-movie {
        max-width: 80%;
    }
}
/*--------------------------------------
 * CAST/ARCHIVE
 * -------------------------------------*/
h2.cast-title span {
    display: block;
    font-size: 1rem;
}
.post-type-archive-cast main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    box-sizing: border-box;
}
.cast-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1%;
    margin-top: 3.5rem;
}
.cast-grid img {
    width: 100%;
}
.cast-grid a {
    width: 24%;
    text-decoration: none;
}
.cast-meta {
    display: flex;
    align-items: center;
    margin: 0.6rem 0 1.5rem;
}
.cast-meta img {
    width: 15%;
    margin-right: 0.4rem;
}
.cast-meta div p:first-child {
    font-size: 1.25rem;
    line-height: 1;
    margin: 0;
}
.cast-meta div p:last-child {
    line-height: 1;
    margin: 0.5rem 0 0;
}
@media(769px > width) {
.cast-grid a {
    width: 32%;
  }
}
@media(480px > width) {
.cast-grid {
    margin-top: 1.5rem;
}
.cast-meta {
    align-items: flex-start;
    margin-top: 0.2rem;
}
.cast-meta div p:first-child {
    font-size: 1.05rem;
}
.cast-meta div p:last-child {
  font-size: 0.8rem;
}
}

/*--------------------------------------
 * Page
 * -------------------------------------*/
figure.wp-block-table.price tr td:first-child {
    width: 9em;
}
figure.wp-block-table.price tr td {
    border: none;
    padding: 0.8rem;
}
figure.wp-block-table.price tr:nth-child(odd) td {
    background: #171717;
}

/* ===========================
   トップページ動画プレイヤー
   ・前面：100vh固定（拡大なし）
   ・背景：ぼかしで余白補完
=========================== */

/* ルート */
.acf-video-player {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000; /* ロード中対策 */
}


/* ===========================
   背景（ぼかし動画）
=========================== */
.acf-video-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.acf-video-bg {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    object-fit: cover;

    /* ぼかし＋少し暗く */
    filter: blur(30px) brightness(0.6);
    transform: scale(1.2);

    opacity: 0;
    transition: opacity 0.8s ease;

    pointer-events: none;
}

.acf-video-bg.is-active {
    opacity: 1;
}


/* ===========================
   前面動画（ここが修正ポイント）
=========================== */
.acf-video-main-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

/* 全動画を重ねる */
.acf-video {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);

    height: 100vh;   /* ←拡大しない主役 */
    width: auto;

    opacity: 0;
    transition: opacity 0.5s ease;

    pointer-events: none;
}

.acf-video.is-active {
    opacity: 1;
}


/* ===========================
   微調整（任意）
=========================== */

/* 動画が小さすぎる場合の保険 */
.acf-video {
    max-width: 100%;
}


/* ===========================
   パフォーマンス最適化
=========================== */
.acf-video,
.acf-video-bg {
    will-change: opacity, transform;
}

/*--------------------------------------
 * GALLERY
 * -------------------------------------*/
 @media (768px < width) {
    .wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image) {
        max-width: calc(33.33333% - var(--wp--style--unstable-gallery-gap, 16px) * .66667);
    }
}
 @media (767px > width) {
    .wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image) {
        max-width: calc(50% - var(--wp--style--unstable-gallery-gap, 16px) / 2);
    }
}

/*--------------------------------------
 * RECRUIT
 * -------------------------------------*/
.page-id-40 h2,
.page-id-40 h3,
.page-id-40 h4 {
    font-family: "Noto Serif JP", serif;
    color: #333;
}
.page-id-40 footer h2,
.page-id-40 footer h3,
.page-id-40 footer h4 {
    color: #fff;
}
div#line-bar {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
}
div#line-bar p {
    margin: 0;
}
div#line-bar a {
    display: block;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 0 10.4px #06c7557a;
    background: #06C755;
    background: linear-gradient(96deg, #06C755, #06c0c7);
    font-size: 1.2rem;
    width: 230px;
    text-align: center;
    padding: 0.7rem;
    border-radius: 100px;
    box-sizing: border-box;
    transition: 0.2s;
}
div#line-bar a:hover {
    letter-spacing: 0.05rem;
    opacity: 1;
    background: #03a846;
    background: linear-gradient(96deg, #8dc706, #06c7b2);
}
div#fv.rec-cover {
    background: #2a2a2a;
    background: linear-gradient(179deg, #111111, #3e3313);
}
.pcsl {
    text-align: center;
}

h2#rec-read-h {
    font-size: 1.6rem;
    margin: 3.2rem 0 1.8rem;
    color: #fff;
}

h2#rec-read-h span {
    display: block;
    color: #b09a59;
    font-size: 1.5em;
    letter-spacing: 0.2rem;
    line-height: 1.1;
}

p#rec-read {
    font-size: 1.3rem;
    line-height: 1.8;
    font-family: "Noto Serif JP", serif;
    color: #fff;
}
p#rec-read span {
    color: #fff;
}
.rec-cover {
    background: #fff;
    padding: 2rem 100vw 4rem;
    margin: 0rem -100vw 0;
}

div#about.rec-cover {
    background: #2a2a2a;
    background: linear-gradient(338deg, #000000, #3e3313);
}

div#consept.rec-cover h2 {
    max-width: 43rem;
    margin-left: auto;
    margin-right: auto;
}

div#about.rec-cover h2 {
    max-width: 43rem;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
}

div#consept.rec-cover p {
    max-width: 43rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 2;
    color: #333;
}

div#about.rec-cover p {
    max-width: 43rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 2;
    color: #fff;
}

div#why .wp-block-group {
    display: flex;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    margin-left: auto;
    max-width: 46rem;
}

div#why .wp-block-group:nth-child(2)::before {
    content: "01";
}

div#why .wp-block-group:nth-child(3)::before {
    content: "02";
}

div#why .wp-block-group:nth-child(4)::before {
    content: "03";
}

div#why .wp-block-group:nth-child(5)::before {
    content: "04";
}

div#why .wp-block-group:nth-child(6)::before {
    content: "05";
}

div#why .wp-block-group:nth-child(7)::before {
    content: "06";
}
div#why .wp-block-group:nth-child(8)::before {
    content: "07";
}

div#why .wp-block-group::before {
    display: block;
    color: #e8e8e8;
    font-size: 3rem;
    font-family: "Noto Serif JP", serif;
    letter-spacing: -0.1rem;
    line-height: 1;
    font-weight: lighter;
}

div#why .wp-block-group h3 {
    font-weight: normal;
    font-size: 1.7rem;
    margin: 0.5rem 0 0 1.2rem;
    color: #b09a59;
}

div#why .wp-block-group p {
    margin: 0.3rem 0 0 1.4rem;
    color: #333;
}

div#support.rec-cover {
    background: #2a2a2a;
    background: linear-gradient(18deg, #000000, #3e3313);
}

div#support.rec-cover h2,
div#support.rec-cover p {
    color: #fff;
}

div#message.rec-cover {
    background: #2a2a2a;
    background: linear-gradient(357deg, #000000, #3e3313);
}

div#message.rec-cover h2 {
    max-width: 43rem;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
}

div#message.rec-cover p {
    max-width: 43rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 2;
    color: #fff;
}

div#income.rec-cover table {
    margin-top: 1.1rem;
}

div#income.rec-cover table th {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #ccc;
    width: 10rem;
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
    color: #333;
}

div#income.rec-cover table td {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #ccc;
    font-size: 1.2rem;
    padding: 1.3rem 1rem;
    color: #333;
}

ul.wp-block-list.benefit {
    list-style: none;
    margin: 1.2rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
ul.wp-block-list.benefit li {
    color: #333;
}
ul.wp-block-list.benefit li::after {
    content: "/";
    display: inline-block;
    padding: 0.3rem 0.9rem;
    color: #ccc;
}

div#flow.rec-cover {
    background: #2a2a2a;
    background: linear-gradient(276deg, #000000, #3e3313);
}

div#flow.rec-cover h2 {
    color: #fff;
    margin-bottom: 3rem;
}

div#flow.rec-cover .wp-block-columns h3 {
    margin-bottom: 0.8rem;
    color: #fff;
    font-weight: lighter;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

div#flow.rec-cover .wp-block-columns h3::before {
    display: block;
    background: #aa9b73;
    color: #2a2a2a;
    width: 1.7rem;
    height: 1.7rem;
    line-height: 1.5;
    font-size: 1.1rem;
    text-align: center;
    border-radius: 50%;
    margin-right: 0.6rem;
    margin-top: 0.2rem;
}

div#flow.rec-cover .wp-block-columns:nth-child(2) h3::before {
    content: "1";
}

div#flow.rec-cover .wp-block-columns:nth-child(3) h3::before {
    content: "2";
}

div#flow.rec-cover .wp-block-columns:nth-child(4) h3::before {
    content: "3";
}

div#flow.rec-cover .wp-block-columns:nth-child(5) h3::before {
    content: "4";
}

div#flow.rec-cover .wp-block-columns:nth-child(6) h3::before {
    content: "5";
}

div#flow.rec-cover .wp-block-columns p {
    color: #fff;
    margin: 0;
}
div#rec-foot {
    max-width: 70%;
    margin: 3rem auto 0;
}
div#sns.rec-cover p {
    color: #333;
}
@media(769px > width) {
    div#support.rec-cover h2 {
        border-bottom: 1px solid;
        padding-bottom: 1rem;
        margin-bottom: 1.3rem;
    }

    div#sns.rec-cover h2 {
        border-bottom: 1px solid;
        padding-bottom: 1rem;
        margin-bottom: 1.3rem;
    }

    div#flow.rec-cover h2 {
        margin-bottom: 0;
    }

    div#flow.rec-cover .wp-block-columns {
        margin-top: 3rem;
    }

    div#flow.rec-cover .is-layout-flex {
        gap: 0;
    }

    div#flow.rec-cover .wp-block-columns h3 {
        margin-top: 0.4rem;
    }
}

@media(481px > width) {
    h2#rec-read-h {
        margin: 1.9rem 0 1.1rem;
    }

    h2#rec-read-h span {
        font-size: 1.2em;
        line-height: 1.4;
    }

    div#why .wp-block-group h3 {
        font-size: 1.3rem;
        margin: 0.5rem 0 0 3.7rem;
    }

    div#why .wp-block-group p {
        margin: 0.3rem 0 0 3.7rem;
    }

    div#income.rec-cover table th {
        width: 7rem;
        font-size: 1.1rem;
    }

    ul.wp-block-list.benefit {
        gap: 2%;
    }

    ul.wp-block-list.benefit li::after {
        display: none;
    }

    ul.wp-block-list.benefit li {
        background: #f3f3f3;
        padding: 0.2rem 0.5rem;
        margin-bottom: 2%;
    }
    div#flow.rec-cover .wp-block-columns h3 {
        margin: 0 0 0.3rem;
    }
    div#income.rec-cover table td {
        font-size: 1rem;
    }
    div#flow.rec-cover .wp-block-columns h3::before {
        line-height: 1.6;
    }
    p#rec-read span {
    display: block;
}
}

/* Instagram全体 */
#sb_instagram #sbi_images{
  display:flex !important;
  flex-wrap:nowrap !important;
  overflow-x:auto;
  gap:20px;
  padding: 1.3rem 0 1.3rem;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* 各投稿 */
#sb_instagram .sbi_item{
  flex:0 0 calc(25% - 15px) !important;

  scroll-snap-align:start;
}

/* 画像 */
#sb_instagram .sbi_photo{
  border-radius:4px;
  overflow:hidden;
}

/* スクロールバー消す */
#sb_instagram #sbi_images::-webkit-scrollbar{
  display:none;
}

/* スマホ */
@media(max-width:767px){

  #sb_instagram .sbi_item{
    flex:0 0 80% !important;
  }

}
@media(max-width:480px){
	#sb_instagram.sbi_width_resp {
		padding-left: 1.25rem;
	}
}
/*404*/
.page-404 {
    max-width: 1200px;
    text-align: center;
    margin: 0 auto;
    padding: 0 2rem;
}

